/* ========================================
   BVH PLUS - Vakbond Website Stylesheet
   ======================================== */

:root {
  --primary-color: #1e40af;
  --secondary-color: #3b82f6;
  --accent-color: #1e40af;
  --text-dark: #000000;
  --text-light: #4b5563;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-color: #e5e7eb;
  --black: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  /* Subtiele geometrische achtergrond */
  background-image: url("../images/bg-pattern.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  /* Mobile optimizations */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: -1;
  pointer-events: none;
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* ========== Container ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* ========== Header & Navigation ========== */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3px 0;
  font-size: 0.9rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar a {
  color: var(--white);
  font-size: 0.9rem;
}

.top-bar i {
  margin-right: 5px;
}

header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: var(--black);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

header.scrolled nav ul li a {
  color: var(--white);
}

header.scrolled .logo-text h1 {
  color: var(--white);
}

header.scrolled .logo-text p {
  color: rgba(255, 255, 255, 0.8);
}

header.scrolled .mobile-menu-toggle {
  color: var(--white);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 1.5rem;
}

.logo-text h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--primary-color);
}

.logo-text p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  /* Touch-friendly */
  display: block;
  min-height: 44px;
  line-height: 28px;
  -webkit-tap-highlight-color: transparent;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
  /* Touch-friendly */
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

/* ========== Hero Section with Slider ========== */
.hero {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.85) 0%,
    rgba(59, 130, 246, 0.85) 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/hero-pattern.svg");
  opacity: 0.05;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Slider Navigation Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: var(--white);
  width: 30px;
  border-radius: 6px;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  /* Touch-friendly */
  min-height: 44px;
  min-width: 44px;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #000000;
  border-color: #000000;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* ========== Section Styling ========== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
}

.section-bg {
  background-color: var(--bg-light);
}

/* ========== Cards ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.card h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
}

.card p {
  color: var(--text-light);
}

/* ========== Features Section ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* ========== Footer ========== */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  display: block;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { margin: 0; }
.footer-credit a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit a:hover { color: #fff; }
.footer-credit .fa-heart { color: #f43f5e; }
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* ========== Responsive Design ========== */

/* Tablet & Small Desktop */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .main-nav {
    flex-wrap: wrap;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding: 20px 0;
    background: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    padding: 60px 0;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .card-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .top-bar-content {
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .top-bar-left,
  .top-bar-right {
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .logo-img {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .logo img {
    height: 60px !important;
  }

  .logo-text h1 {
    font-size: 1.3rem;
  }

  .logo-text p {
    font-size: 0.75rem;
  }
}

/* Mobile Landscape & Large Phones */
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 40px 0;
    min-height: 350px;
  }

  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .card {
    padding: 25px;
  }

  .card-icon,
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  h4 {
    font-size: 1.1rem;
  }

  .slider-dots {
    bottom: 15px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  .slider-dot.active {
    width: 25px;
  }

  .top-bar {
    font-size: 0.85rem;
  }

  .top-bar a {
    font-size: 0.85rem;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 30px 0;
    min-height: 300px;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .section {
    padding: 30px 0;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .card {
    padding: 20px;
  }

  .logo {
    gap: 10px;
  }

  .logo-img {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .logo img {
    height: 50px !important;
  }

  .logo-text h1 {
    font-size: 1.1rem;
  }

  .logo-text p {
    display: none;
  }

  .top-bar {
    padding: 8px 0;
    font-size: 0.8rem;
  }

  .main-nav {
    padding: 15px 0;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .footer-content {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* Extra Small Screens */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.3rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .card-icon,
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* ========== Google Maps Responsive ========== */
@media (max-width: 768px) {
  iframe[title*="BVH PLUS"] {
    height: 350px !important;
  }
}

@media (max-width: 480px) {
  iframe[title*="BVH PLUS"] {
    height: 300px !important;
  }
}

/* ========== Utility Classes ========== */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.mb-5 {
  margin-bottom: 3rem;
}

/* ========================================
   Nieuws Pagina – Premium Corporate Stijl
   ======================================== */

/* ---- Pagina Hero Banner ---- */
.page-hero-banner {
  position: relative;
  background-image: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(59, 130, 246, 0.85) 100%),
    url("../images/hero-bg-2.jpg");
  background-size: cover;
  background-position: center;
  padding: 70px 0 60px;
  text-align: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 60, 0.35);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-content h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb i {
  font-size: 0.65rem;
  opacity: 0.7;
}

.breadcrumb span {
  color: var(--white);
  font-weight: 600;
}

/* ---- Tab Filter ---- */
.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  margin-bottom: 50px;
  border-bottom: 2px solid var(--border-color);
}

.news-tab {
  padding: 12px 22px;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
}

.news-tab i {
  font-size: 0.85rem;
}

.news-tab:hover {
  color: var(--primary-color);
}

.news-tab.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* ---- Featured Artikel ---- */
.news-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(30, 64, 175, 0.12);
  margin-bottom: 50px;
  transition: box-shadow 0.3s ease;
}

.news-featured:hover {
  box-shadow: 0 16px 55px rgba(30, 64, 175, 0.2);
}

.news-featured-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-featured:hover .news-featured-image img {
  transform: scale(1.04);
}

/* Floating datum badge op featured */
.news-featured-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.1;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
  z-index: 2;
}

.news-featured-date .date-day {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}

.news-featured-date .date-month {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-featured-date .date-year {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
}

.news-featured-content {
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured-title {
  font-size: 1.55rem;
  line-height: 1.35;
  margin: 14px 0 18px;
  color: var(--text-dark);
  transition: color 0.2s;
}

.news-featured-title:hover {
  color: var(--primary-color);
  cursor: pointer;
}

.news-featured-excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 28px;
}

.news-featured-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ---- Categorie Badges ---- */
.news-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 5px 14px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.badge-lonen      { background: #1e40af; color: #fff; }
.badge-voordelen  { background: #047857; color: #fff; }
.badge-educatie   { background: #6d28d9; color: #fff; }
.badge-oproep     { background: #b45309; color: #fff; }
.badge-overlijden { background: #374151; color: #fff; }
.badge-algemeen   { background: #0e7490; color: #fff; }

/* ---- Nieuws Grid ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* ---- Nieuws Kaart ---- */
.news-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(30, 64, 175, 0.15);
}

.news-card-image {
  position: relative;
  overflow: hidden;
  height: 210px;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.06);
}

/* Floating datum op kaart */
.news-card-date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 7px 11px;
  border-radius: 6px;
  line-height: 1.1;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(30, 64, 175, 0.4);
}

.news-card-date .date-day {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
}

.news-card-date .date-month {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.news-card-content {
  padding: 22px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Blauwe accentlijn boven content */
.news-card-content::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  margin-bottom: 14px;
}

/* Meta rij */
.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 11px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.news-meta i {
  margin-right: 4px;
  color: var(--primary-color);
}

.news-card-title {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text-dark);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.news-card:hover .news-card-title {
  color: var(--primary-color);
}

.news-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

/* Kaart footer */
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  margin-top: auto;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: gap 0.2s ease, color 0.2s;
}

.news-read-more:hover {
  gap: 10px;
  color: var(--secondary-color);
}

.news-share {
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.news-share:hover {
  color: var(--primary-color);
}

/* ---- Geen Resultaten ---- */
.news-no-results {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-light);
}

.news-no-results i {
  font-size: 3.5rem;
  margin-bottom: 18px;
  display: block;
  color: var(--border-color);
}

/* ---- Paginering ---- */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.pagination-btn {
  padding: 9px 16px;
  border: 2px solid var(--border-color);
  background: var(--white);
  color: var(--text-dark);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pagination-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.pagination-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.pagination-next {
  padding: 9px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---- Nieuwsbrief Banner ---- */
.news-newsletter-section {
  position: relative;
  background-image: linear-gradient(135deg, #1e3a8a 0%, #1e40af 60%, #3b82f6 100%);
  padding: 70px 0;
  overflow: hidden;
}

.news-newsletter-overlay {
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-pattern.jpg");
  background-size: cover;
  opacity: 0.06;
  pointer-events: none;
}

.news-newsletter-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.news-newsletter-text h2 {
  color: var(--white);
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.news-newsletter-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0;
}

.news-newsletter-form {
  flex: 1;
  min-width: 280px;
  max-width: 480px;
}

.newsletter-input-group {
  display: flex;
  gap: 10px;
}

.newsletter-input-group input[type="email"] {
  flex: 1;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transition: background 0.3s;
}

.newsletter-input-group input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.newsletter-input-group input[type="email"]:focus {
  background: rgba(255, 255, 255, 0.22);
}

/* ---- Actieve nav link ---- */
nav ul li a.active {
  color: var(--secondary-color);
  font-weight: 700;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero-content h1 {
    font-size: 1.9rem;
  }

  .news-featured {
    grid-template-columns: 1fr;
  }

  .news-featured-image {
    min-height: 240px;
  }

  .news-featured-content {
    padding: 30px 25px;
  }

  .news-featured-title {
    font-size: 1.25rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-newsletter-inner {
    flex-direction: column;
    text-align: center;
  }

  .news-newsletter-form {
    max-width: 100%;
    width: 100%;
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  .newsletter-input-group .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .news-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .news-tab {
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-hero-content h1 {
    font-size: 1.5rem;
  }

  .news-pagination {
    flex-wrap: wrap;
  }
}

/* ========================================
   Evenementen Kalender & Lijst
   ======================================== */

.events-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 30px;
  align-items: flex-start;
}

/* ---- Kalender widget ---- */
.calendar-widget {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 24px;
  position: relative;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cal-month-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cal-nav {
  width: 34px; height: 34px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  transition: all 0.2s;
  font-size: 0.8rem;
}

.cal-nav:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
}

.cal-weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 4px 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 6px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-dark);
  cursor: default;
  transition: background 0.15s;
  position: relative;
}

.cal-day span {
  font-size: 0.85rem;
  line-height: 1;
}

.cal-day.other-month { opacity: 0; pointer-events: none; }

.cal-day.today {
  background: var(--primary-color);
  color: var(--white);
  font-weight: 700;
}

.cal-day.today .cal-dot { background: rgba(255,255,255,0.8); }

.cal-day.has-event {
  cursor: pointer;
  font-weight: 700;
}

.cal-day.has-event:not(.today):hover {
  background: #dbeafe;
}

.cal-dots {
  display: flex;
  gap: 2px;
  margin-top: 3px;
}

.cal-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
}

/* Event type colors */
.cal-dot.evt-lonen,      .evt-lonen .cal-dot-color      { background: #1e40af; }
.cal-dot.evt-voordelen,  .evt-voordelen .cal-dot-color  { background: #059669; }
.cal-dot.evt-educatie,   .evt-educatie .cal-dot-color   { background: #7c3aed; }
.cal-dot.evt-oproep,     .evt-oproep .cal-dot-color     { background: #d97706; }
.cal-dot.evt-overlijden, .evt-overlijden .cal-dot-color { background: #6b7280; }
.cal-dot.evt-algemeen,   .evt-algemeen .cal-dot-color   { background: #0891b2; }

/* Event popup */
.cal-event-popup {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  padding: 14px;
  z-index: 20;
  min-width: 220px;
  max-width: 280px;
}

.cal-popup-event {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.cal-popup-event:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.cal-popup-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.cal-popup-type.evt-lonen      { color: #1e40af; }
.cal-popup-type.evt-voordelen  { color: #059669; }
.cal-popup-type.evt-educatie   { color: #7c3aed; }
.cal-popup-type.evt-oproep     { color: #d97706; }
.cal-popup-type.evt-overlijden { color: #6b7280; }
.cal-popup-type.evt-algemeen   { color: #0891b2; }

.cal-popup-event strong {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.cal-popup-event span {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}
.cal-popup-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  display: block !important;
  margin-top: 4px;
  line-height: 1.4;
}

/* ---- Aankomende evenementen ---- */
.events-upcoming {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.events-upcoming-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.events-upcoming-title i {
  color: var(--primary-color);
}

.event-item {
  background: var(--white);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-left: 4px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}

.event-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

/* Border color per type */
.event-item:has(.evt-lonen)      { border-left-color: #1e40af; }
.event-item:has(.evt-voordelen)  { border-left-color: #059669; }
.event-item:has(.evt-educatie)   { border-left-color: #7c3aed; }
.event-item:has(.evt-oproep)     { border-left-color: #d97706; }
.event-item:has(.evt-overlijden) { border-left-color: #6b7280; }
.event-item:has(.evt-algemeen)   { border-left-color: #0891b2; }

.event-date-badge {
  min-width: 52px;
  text-align: center;
  border-radius: 8px;
  padding: 8px 10px;
  color: white;
  line-height: 1.1;
}

.event-date-badge.evt-lonen      { background: #1e40af; }
.event-date-badge.evt-voordelen  { background: #059669; }
.event-date-badge.evt-educatie   { background: #7c3aed; }
.event-date-badge.evt-oproep     { background: #d97706; }
.event-date-badge.evt-overlijden { background: #6b7280; }
.event-date-badge.evt-algemeen   { background: #0891b2; }

.event-date-badge .date-day   { display: block; font-size: 1.4rem; font-weight: 800; }
.event-date-badge .date-month { display: block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.event-info { flex: 1; }

.event-type-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.event-type-tag.evt-lonen      { color: #1e40af; }
.event-type-tag.evt-voordelen  { color: #059669; }
.event-type-tag.evt-educatie   { color: #7c3aed; }
.event-type-tag.evt-oproep     { color: #d97706; }
.event-type-tag.evt-overlijden { color: #6b7280; }
.event-type-tag.evt-algemeen   { color: #0891b2; }

.event-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.event-meta i {
  color: var(--primary-color);
  margin-right: 3px;
}

/* ---- Responsive evenementen ---- */
@media (max-width: 1024px) {
  .events-layout {
    grid-template-columns: 1fr;
  }

  .calendar-widget {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .cal-day { font-size: 0.78rem; }
  .calendar-widget { padding: 16px; }
}

/* ============================================================
   Artikel Detail Modal
   ============================================================ */
.article-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.article-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.article-modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 820px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.35s ease;
  margin-bottom: 40px;
}

.article-overlay.open .article-modal {
  transform: translateY(0);
}

.article-modal-cover {
  position: relative;
  overflow: hidden;
}

.article-modal-cover img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.article-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.article-modal-close:hover {
  background: rgba(0,0,0,0.80);
}

.article-modal-body {
  padding: 36px 40px 48px;
}

.article-modal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 14px;
}

.article-modal-meta i {
  color: var(--primary-color);
  margin-right: 4px;
}

.article-modal-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 24px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 18px;
}

/* Prose styles voor Quill/HTML artikel inhoud */
.article-modal-content {
  font-size: 1rem;
  line-height: 1.85;
  color: #374151;
}

.article-modal-content p {
  margin-bottom: 16px;
}

.article-modal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 12px;
}

.article-modal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 22px 0 10px;
}

.article-modal-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 18px 0;
  display: block;
}

.article-modal-content ul,
.article-modal-content ol {
  margin: 12px 0 16px 26px;
}

.article-modal-content li {
  margin-bottom: 6px;
}

.article-modal-content blockquote {
  border-left: 4px solid var(--primary-color);
  margin: 20px 0;
  padding: 14px 20px;
  background: #f0f4ff;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4b5563;
}

.article-modal-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .article-overlay { padding: 0; }
  .article-modal { border-radius: 0; min-height: 100vh; margin-bottom: 0; }
  .article-modal-body { padding: 24px 20px 40px; }
  .article-modal-title { font-size: 1.3rem; }
  .article-modal-cover img { height: 220px; }
}
