/* ════════════════════════════════════════════
   Lezen met Goesting — global stylesheet
   ════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --navy:      #1b3a6b;
  --orange:    #e85d04;
  --green:     #1a7a4a;
  --red:       #c0392b;
  --roos:       #de3876;
  --geel:       #f7be15;
  --felblauw:       #23a6b8;
  --donkerblauw:       #0e7887;
  --framboos:       #a12151;
  --cream:     #f5f1e8;
  --white:     #ffffff;
  --muted:     #5b6a7f;
  --border:    rgba(27,58,107,0.1);
  --font-body: 'Nunito', sans-serif;
  --font-head: 'Nunito', sans-serif;
    --radius-pill:  100px;
  --radius-card:  14px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); color: var(--navy); background: var(--framboos); }

#body-nieuwe-toppers  {background: var(--donkerblauw); }
#body-nieuws  {background: var(--framboos); }

/* ════ NAVBAR ════ */
.site-nav {
  background: var(--geel); padding: 0.85rem 3rem;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  border-bottom: 3px solid var(--geel);
}
.site-nav-brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; flex-shrink: 0;
}
.site-nav-brand img  { height: 48px; width: auto; }
.site-nav-brand span {
  font-weight: 900; font-size: 1.05rem; color: var(--red);
  line-height: 1.1; white-space: nowrap;
}
.site-nav-links { display: flex; align-items: center; gap: 2rem; }
.site-nav-links a {
  font-weight: 800; font-size: 1rem; color: var(--white);
  text-decoration: none; transition: color 0.15s;
}
.site-nav-links a:hover,
.site-nav-links a.active { color: var(--roos); }

.site-nav-mobile {
  display: none; padding: 0.85rem 1.5rem;
  justify-content: space-between; align-items: center;
 
}
.nav-toggler { background: none; border: none; cursor: pointer; font-size: 1.8rem; color: var(--navy); }

.mobile-menu { background: var(--cream); display: none; flex-direction: column; border-top: 2px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-weight: 800; font-size: 1rem; color: var(--navy);
  text-decoration: none; padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--roos); }

@media (max-width: 640px) {
  .site-nav        { display: none; }
  .site-nav-mobile { display: flex; }
}

a { color: var(--donkerblauw); }
a:hover { color: var(--felblauw); }


/* ════ SHARED PAGE HEADER ════ */
#page-header { background: var(--white); padding: 3rem 3rem 4rem; }
.page-header { padding: 3rem 3rem 2.5rem; color: var(--white);   }
.page-header-inner { max-width: 1100px; margin: 0 auto; }
.page-header h1 {
  font-family: var(--font-head);
  font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1; margin-bottom: 0.6rem; text-align: center;
}
.page-header p { font-size: 1rem; color: rgba(255,255,255,0.78); line-height: 1.75; max-width: 760px; text-align: center; margin: 0 auto; }

.page-header--green { background: var(--green); }
.page-header--navy  { background: var(--navy);  }
.page-header--red   { background: var(--red);   }
.page-header--white   { background: white;   }

.page-header-inner--white h1 { color: var(--roos);   }
.page-header-inner--white p { color: var(--muted);   }

/* ════ SHARED FOOTER ════ */
footer {
  background: var(--roos); color: rgb(255, 255, 255);
  text-align: center; padding: 1.5rem; font-size: 0.82rem;
}
footer a { color: var(--geel); text-decoration: none; }
footer a:hover { text-decoration: underline; }


.btn-section {
  font-family: var(--font-display); font-size: 1.15rem;
  text-decoration: none; color: var(--bg-dark);
  background: var(--c-yellow);
  padding: 0.65rem 1.85rem; border-radius: var(--radius-pill);
  display: inline-block;
  transition: transform 0.18s ease, filter 0.18s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-section:hover { transform: translateY(-3px) rotate(-0.8deg); filter: brightness(1.08); color: var(--bg-dark); }
.btn-section--blue { background: var(--donkerblauw); color: #fff; }
.btn-section--blue:hover { color: #fff; }
.btn-section--framboos { background: var(--framboos); color: #fff; }
.btn-section--framboos:hover { color: #fff; }
.btn-section--geel { background: var(--geel); color: #fff; }
.btn-section--geel:hover { color: #fff; }
.btn-section--felblauw { background: var(--felblauw); color: #fff; }
.btn-section--felblauw:hover { color: #fff; }





/* ════ SCROLL REVEAL ════ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }


/* ════ INDEX — HERO ════ */
#hero { background: var(--white); padding: 3rem 3rem 4rem; }

.hero-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 70fr 30fr;
  gap: 3rem; align-items: center;
}
.hero-left h1 {
  font-family: var(--font-head);
  font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--roos); line-height: 1.15; margin-bottom: 1.5rem; text-align: center;
}
.hero-left h2 {
  font-family: var(--font-head);
  font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--navy); line-height: 1.45; margin-bottom: 1.6rem; text-align: center;
}
.hero-left p { font-size: 0.96rem; color: var(--muted); line-height: 1.82; text-align: center; }

.hero-right { display: flex; justify-content: center; align-items: center; }
.hero-right img {
  width: 100%; max-width: 370px; height: auto;
}
img.hero-right-small  {
  width: 70%; max-width: 250px; height: auto;
}



/* ════ INDEX — HERO SOCIAL LINKS ════ */
.hero-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.social-link:hover { transform: translateY(-3px) rotate(-0.5deg); filter: brightness(1.08); }
.social-link--facebook  { background: #1877F2; color: #fff; }
.social-link--instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); color: #fff; }

/* ════ INDEX — ONTDEKKERS SECTION ════ */
#ontdekkers { background: var(--felblauw); padding: 4.5rem 3rem; }

.ontdekkers-text {
  display: flex;
  flex-direction: column;
  align-items: center; /* This centers the items horizontally */
  text-align: center;    /* This centers the text inside the H2 and P */
}
.ontdekkers-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 35fr 65fr;
  gap: 4rem; align-items: center;
}
.ontdekkers-text h2 {
  font-family: var(--font-head);
  font-weight: 700; font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white); line-height: 1.15; margin-bottom: 1.5rem; text-align: center;
}
.ontdekkers-text p {
  font-size: 0.97rem; color: rgba(255,255,255,0.88);
  line-height: 1.84; text-align: center; margin-bottom: 1.4rem;
}
.link-italic-orange {
  display: block; text-align: center; font-weight: 700; font-style: italic;
  font-size: 1.02rem; color: var(--orange); text-decoration: none; transition: opacity 0.15s;
}
.link-italic-orange:hover { opacity: 0.72; text-decoration: underline; }


/* ════ INDEX — TOPPERS SECTION ════ */
#toppers { background: var(--white); padding: 4.5rem 3rem; }

.toppers-text {
  display: flex;
  flex-direction: column;
  align-items: center; /* This centers the items horizontally */
  text-align: center;    /* This centers the text inside the H2 and P */
}
.toppers-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 65fr 35fr;
  gap: 4rem; align-items: center;
}
.toppers-text h2 {
  font-family: var(--font-head);
  font-weight: 700; font-size: clamp(2rem, 4vw, 3rem);
  color: var(--framboos); line-height: 1.15; margin-bottom: 1.5rem; text-align: center;
}
.toppers-text p {
  font-weight: 400; font-size: 0.97rem; color: var(--muted);
  line-height: 1.84; text-align: center; margin-bottom: 1.5rem;
}
.link-bold-orange {
  display: block; text-align: center; font-weight: 800; font-size: 1.02rem;
  color: var(--orange); text-decoration: none; transition: opacity 0.15s;
}
.link-bold-orange:hover { opacity: 0.72; text-decoration: underline; }

@media (max-width: 768px) {
  #hero, #ontdekkers, #toppers { padding: 2.5rem 1.5rem; }
  .hero-grid, .ontdekkers-grid, .toppers-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right img { max-width: 260px; }
  .toppers-img  { order: 2; }
  .toppers-text { order: 1; }
}


/* ════ SEARCH BAR ════ */
.search-bar {
  background: var(--white); border-bottom: 2px solid var(--border);
  padding: 0.85rem 3rem; position: sticky; top: 0; z-index: 40;
  box-shadow: 0 2px 10px rgba(27,58,107,0.06);
}
.search-bar-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; }
.search-wrap { position: relative; flex: 1; max-width: 320px; }
.search-wrap svg {
  position: absolute; left: 0.9rem; top: 50%;
  transform: translateY(-50%); pointer-events: none; color: var(--muted);
}
.search-input {
  width: 100%; border: 2px solid var(--border); border-radius: 30px;
  padding: 0.52rem 1rem 0.52rem 2.5rem;
  font-family: var(--font-body); font-size: 0.88rem; color: var(--navy);
  outline: none; background: var(--cream); transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--orange); background: var(--white); }
.result-count { font-size: 0.82rem; color: var(--muted); font-weight: 700; margin-left: auto; }
.result-count strong { color: var(--navy); }


/* ════ BOOK CARD GRID ════ */
.grid-wrap {
  max-width: 1100px; margin: 2rem auto 4rem; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.5rem;
}
.no-results {
  text-align: center; padding: 4rem 1rem; color: var(--muted);
  display: none; max-width: 1100px; margin: 0 auto;
}


/* ════ BOOK CARD ════ */
.book-card {
  cursor: pointer; display: flex; flex-direction: column;
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(27,58,107,0.09);
  transition: transform 0.2s, box-shadow 0.2s;
}
.book-card:hover        { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(27,58,107,0.18); }
.book-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.cover-wrap {
  width: 100%; padding-top: 141.18%;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.cover-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform 0.3s ease;
}
.book-card:hover .cover-wrap img { transform: scale(1.04); }

.cover-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1rem 0.75rem; text-align: center;
}
.cover-fallback .fb-spine  { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: rgba(0,0,0,0.2); }
.cover-fallback .fb-emoji  { font-size: 2.4rem; margin-bottom: 0.55rem; opacity: 0.8; }
.cover-fallback .fb-title  { font-family: var(--font-head); font-size: 0.74rem; font-weight: 700; color: rgba(255,255,255,0.95); line-height: 1.3; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.cover-fallback .fb-author { font-size: 0.62rem; color: rgba(255,255,255,0.65); margin-top: 0.3rem; }

.card-info  { padding: 0.75rem 0.85rem 1rem; flex: 1; }
.card-title { font-weight: 800; font-size: 0.82rem; color: var(--navy); line-height: 1.3; margin-bottom: 0.25rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-maker { font-size: 0.73rem; color: var(--muted); font-weight: 600; margin-bottom: 0.45rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.age-badge  { display: inline-block; background: var(--felblauw); color: white; font-weight: 800; font-size: 0.68rem; padding: 0.18rem 0.6rem; border-radius: 20px; }

/* ── Card meta row (age + crown) ── */
.card-meta  { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }

.crown-badge-inline {
  font-size: 0.88rem; line-height: 1;
  cursor: default;
}

/* ── Crown + prize row in modal ── */
.modal-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; margin-top: 0.85rem; }

.modal-pill-row { display: flex; align-items: center; gap: 0.5rem; }

.modal-icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255); border-radius: 50%;
  width: 26px; height: 26px;
  font-size: 0.78rem; color: var(--donkerblauw);
  cursor: default;
}

.modal-prize {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255); border-radius: 16px;
  padding: 0.35rem 0.65rem;
}
.modal-prize-crown { font-size: 1rem; line-height: 1; }
.modal-prize-text  {
  font-size: 0.68rem; font-weight: 700;
  color: var(--donkerblauw); line-height: 1.3;
}

@media (max-width: 700px) {
  .search-bar, .grid-wrap { padding-left: 1rem; padding-right: 1rem; }
  .page-header             { padding: 2rem 1.5rem; }
  .grid-wrap               { gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
@media (max-width: 420px) {
  .grid-wrap { grid-template-columns: repeat(2, 1fr); }
}


/* ════ MODAL ════ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10,20,40,0.6); z-index: 200;
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--white); border-radius: 14px;
  width: 100%; max-width: 600px; max-height: 92vh; overflow-y: auto;
  box-shadow: 0 24px 70px rgba(10,20,40,0.28);
  animation: modalIn 0.22s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.modal-top { display: flex; border-radius: 14px 14px 0 0; overflow: hidden; background: var(--donkerblauw); }

.modal-cover-side {
  width: 150px; flex-shrink: 0;
  aspect-ratio: 425 / 600; position: relative; overflow: hidden;
}
.modal-cover-side img { width: 100%; height: 100%; object-fit: cover; display: block; }

.modal-cover-fallback {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1rem; text-align: center;
}
.modal-cover-fallback .fb-emoji { font-size: 2.8rem; margin-bottom: 0.5rem; opacity: 0.7; }
.modal-cover-fallback .fb-title { font-family: var(--font-head); font-size: 0.7rem; color: rgba(255,255,255,0.85); font-weight: 700; line-height: 1.3; }

.modal-meta-side {
  flex: 1; padding: 1.6rem 1.6rem 1.4rem; color: var(--donkerblauw);
  display: flex; flex-direction: column; justify-content: flex-end; position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.15); border: none; border-radius: 50%;
  width: 34px; height: 34px; font-size: 1.1rem; color: var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover  { background: rgba(255,255,255,0.28); }
.modal-title-text   { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.28; margin-bottom: 0.35rem; padding-right: 2.5rem; color: var(--white);}
.modal-maker        { font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 700; margin-bottom: 0.75rem; }
.modal-month-tag    { font-size: 0.75rem; color: rgba(255,255,255,0.55); font-weight: 700; margin-bottom: 0.75rem; }
.modal-age-pill     { display: inline-block; background: var(--geel); color: var(--donkerblauw); font-weight: 800; font-size: 0.78rem; padding: 0.25rem 0.85rem; border-radius: 20px; }

.modal-body  { padding: 1.6rem 1.75rem; }
.modal-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.modal-desc  { font-size: 0.96rem; line-height: 1.82; color: var(--muted); }

.modal-footer    { padding: 1rem 1.75rem 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; }
.btn-close-modal {
  background: var(--donkerblauw); color: var(--white); border: none;
  border-radius: 30px; padding: 0.6rem 1.75rem;
  font-family: var(--font-body); font-weight: 800; font-size: 0.88rem;
  cursor: pointer; transition: background 0.15s;
}
.btn-close-modal:hover { background: var(--felblauw); }

@media (max-width: 700px) {
  .modal-cover-side { width: 120px; }
}


/* ════ NIEUWE TOPPERS — MONTHS ════ */
.months-wrap { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem 4rem; }
.month-section { margin-bottom: 3.5rem; }

.month-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem; padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--geel);
}
.month-label { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: white; line-height: 1; }
.month-year  {
  font-weight: 700; font-size: 0.88rem; color: white;
  background: var(--framboos); border-radius: 20px; padding: 0.22rem 0.85rem;
}
.month-new-badge {
  background: var(--framboos); color: white;
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: 20px;
  padding: 0.22rem 0.75rem; margin-left: auto;
}
.month-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }

@media (max-width: 900px) { .month-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .months-wrap { padding: 1.5rem 1rem 3rem; }
  .month-grid  { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
}


/* ════ NIEUWS ════ */
.news-wrap {
  max-width: 900px; margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: flex; flex-direction: column; gap: 3rem;
}

.news-item {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 3px 18px rgba(27,58,107,0.09);
  display: grid; grid-template-columns: 1fr;
  transition: box-shadow 0.2s;
}
.news-item:hover            { box-shadow: 0 8px 32px rgba(27,58,107,0.15); }
.news-item.side-by-side     { grid-template-columns: 300px 1fr; }

.news-img { position: relative; overflow: hidden; background: var(--navy); }
.news-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.news-item:hover .news-img img { transform: scale(1.04); }

.news-item.featured     .news-img { height: 380px; }
.news-item.side-by-side .news-img { min-height: 240px; }

.news-cat {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--felblauw); color: var(--white);
  font-weight: 800; font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 20px; padding: 0.28rem 0.85rem;
}

.news-body { padding: 1.75rem 2rem 2rem; display: flex; flex-direction: column; }

.news-date {
  font-size: 0.78rem; font-weight: 700; color: var(--donkerblauw);
  margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem;
}
.news-date::before {
  content: ""; display: inline-block;
  width: 14px; height: 2px; background: var(--donkerblauw); border-radius: 2px;
}

.news-title {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  color: var(--donkerblauw); line-height: 1.3; margin-bottom: 0.85rem;
}
.news-item.featured .news-title { font-size: 1.6rem; }

.news-text { font-size: 0.96rem; color: #3a3a3a; line-height: 1.82; flex: 1; }

.news-read-more {
  display: inline-block; margin-top: 1.25rem; font-weight: 800; font-size: 0.88rem;
  color: var(--geel); text-decoration: none; transition: opacity 0.15s;
}
.news-read-more:hover  { opacity: 0.7; text-decoration: underline; }
.news-read-more::after { content: " →"; }

.news-divider { border: none; border-top: 2px dashed var(--border); margin: 0; }

@media (max-width: 700px) {
  .news-wrap { padding: 2rem 1rem 3.5rem; gap: 2rem; }
  .news-item.side-by-side { grid-template-columns: 1fr; }
  .news-item.side-by-side .news-img,
  .news-item.featured     .news-img { height: 220px; }
  .news-body  { padding: 1.25rem 1.25rem 1.5rem; }
  .news-title { font-size: 1.1rem !important; }
}

/* ════ COOKIE CONSENT BANNER ════ */
#lmg-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--donkerblauw); color: rgba(255,255,255,0.92);
  border-top: 3px solid var(--geel);
  padding: 1rem 1.5rem;
  box-shadow: 0 -6px 30px rgba(0,0,0,0.35);
  animation: cbSlideUp 0.35s ease;
}
#lmg-cookie-banner.lmg-cb--hidden { animation: cbSlideDown 0.35s ease forwards; }
@keyframes cbSlideUp   { from { transform: translateY(100%); } to { transform: none; } }
@keyframes cbSlideDown { from { transform: none; } to { transform: translateY(100%); } }
.lmg-cb-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.lmg-cb-text { flex: 1; min-width: 240px; }
.lmg-cb-text strong { font-weight: 900; font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--geel); }
.lmg-cb-text p { font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.82); margin: 0; }
.lmg-cb-link { color: var(--geel); text-decoration: underline; }
.lmg-cb-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.lmg-cb-btn {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 800;
  border: none; border-radius: var(--radius-pill);
  padding: 0.48rem 1.2rem; cursor: pointer;
  transition: filter 0.18s, transform 0.18s; white-space: nowrap;
}
.lmg-cb-btn:hover { filter: brightness(1.12); transform: translateY(-2px); }
.lmg-cb-btn--accept  { background: var(--geel); color: #fff; }
.lmg-cb-btn--decline { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.lmg-cb-btn--settings { background: transparent; color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.lmg-cb-toggle {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-top: 0.5rem; font-size: 0.84rem; color: rgba(255,255,255,0.78); cursor: pointer;
}
.lmg-cb-toggle input { margin-top: 0.2rem; accent-color: var(--green); }
footer a { color: var(--geel); text-decoration: none; }
footer a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .lmg-cb-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .lmg-cb-actions { width: 100%; }
}

/* ════ JONGERENAMBASSADEUR GRID ════ */
.jc-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
}

.jc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .jc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .jc-grid { grid-template-columns: 1fr; }
  .jc-wrap { padding: 1.5rem 1rem 3.5rem; }
}

/* ════ ARTICLE CARD ════ */
.jc-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(27,58,107,0.10);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.18s;
  border: 2px solid transparent;
}
.jc-card:hover {
  box-shadow: 0 10px 36px rgba(27,58,107,0.18);
  transform: translateY(-3px);
  border-color: var(--geel);
}
.jc-card:focus {
  outline: 3px solid var(--felblauw);
  outline-offset: 2px;
}

/* ════ CARD IMAGE ════ */
.jc-card-img-wrap {
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 16 / 12;
  background: linear-gradient(135deg, var(--framboos), var(--roos));
  display: flex;
  align-items: center;
  justify-content: center;
}
.jc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.jc-card:hover .jc-card-img { transform: scale(1.04); }
.jc-card-img-placeholder { font-size: 2.8rem; }

.jc-modal-img {
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}
.jc-modal-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--framboos), var(--roos));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border-radius: 16px 16px 0 0;
}

.jc-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jc-date {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--donkerblauw);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.jc-date::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--framboos);
  border-radius: 2px;
}

.jc-author {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--framboos);
  margin-bottom: 0.5rem;
}

.jc-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.jc-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jc-read-more {
  margin-top: 1.1rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--donkerblauw);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s;
}
.jc-card:hover .jc-read-more { color: var(--framboos); }

/* ════ MODAL — ARTICLE ════ */
.jc-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,0.62);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.jc-modal-overlay.open { display: flex; }

.jc-modal-box {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(10,20,40,0.28);
  animation: modalIn 0.22s ease;
  display: flex;
  flex-direction: column;
}

.jc-modal-header {
  background: linear-gradient(135deg, var(--donkerblauw), var(--roos));
  padding: 2rem 2rem 1.6rem;
  border-radius: 16px 16px 0 0;
  position: relative;
}

.jc-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.jc-modal-close:hover { background: rgba(255,255,255,0.32); }

.jc-modal-date {
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.jc-modal-author {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--geel);
  margin-bottom: 0.75rem;
}

.jc-modal-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--white);
  line-height: 1.25;
  padding-right: 2.5rem;
}

.jc-modal-body {
  padding: 2rem 2.25rem 1.5rem;
  font-size: 0.97rem;
  color: #3a3a3a;
  line-height: 1.85;
  flex: 1;
}
.jc-modal-body p { margin-bottom: 1.1rem; }
.jc-modal-body p:last-child { margin-bottom: 0; }

.jc-modal-footer {
  padding: 1rem 2rem 1.6rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

.jc-btn-close {
  background: var(--framboos);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s;
}
.jc-btn-close:hover { background: var(--roos); }

/* ════ EMPTY STATE ════ */
.jc-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--white);
  font-size: 1.1rem;
  opacity: 0.8;
  display: none;
}
