/* ============================================================
   bijdre.nl — style.css
   Design: Radically Approachable. Warm. Celebratory.
   Birthday-gift energy for parents & grandparents.
   ============================================================ */


/* ============================================================
   1. RESET + CUSTOM PROPERTIES
   ============================================================ */

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

:root {
  /* Color palette */
  --pink:    #D63B6A;
  --pink2:   #B52858;
  --teal:    #4ECDC4;
  --gold:    #FFB822;
  --bg:      #FFF7F0;
  --surface: #FFFFFF;
  --border:  #EEE2D6;
  --text:    #1A1008;
  --text2:   #6B4A35;
  --muted:   #9E836C;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(26, 16, 8, .07);
  --shadow-md: 0 4px 16px rgba(26, 16, 8, .10);
  --shadow-lg: 0 8px 32px rgba(26, 16, 8, .13);

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-full: 100px;
}


/* ============================================================
   2. BASE STYLES
   ============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.78;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  transition: color .15s;
}

button {
  font-family: inherit;
}

/* Webkit scrollbar — thin, warm */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* Selection */
::selection {
  background: rgba(214, 59, 106, .20);
  color: var(--text);
}


/* ============================================================
   3. LAYOUT
   ============================================================ */

/* Wide layout — for nav, hero, footer */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Narrow layout — for article content, category pages — max 800px per spec */
.content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================================
   4. ACCENT BAR
   ============================================================ */

.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--teal));
}


/* ============================================================
   5. HEADER
   ============================================================ */

header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

header .header-inner,
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo-tagline {
  font-size: .82em;
  font-weight: 600;
  color: var(--muted);
  display: none; /* hidden on small screens */
}

@media (min-width: 600px) {
  .logo-tagline {
    display: inline;
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--pink);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.1em;
  flex-shrink: 0;
  line-height: 1;
}

.logo-text {
  font-weight: 800;
  font-size: 1.15em;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1;
}

.logo-text em {
  color: var(--pink);
  font-style: normal;
}

.logo:hover .logo-text {
  color: var(--pink2);
}


/* ============================================================
   6. NAVIGATION
   ============================================================ */

nav.site-nav {
  background: var(--surface);
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
}

.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  /* Hide scrollbar while keeping scrollability */
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.nav-wrap::-webkit-scrollbar {
  display: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  color: var(--text2);
  font-size: .88em;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.nav-link:hover {
  background: rgba(214, 59, 106, .08);
  color: var(--pink);
}

.nav-link.active {
  background: rgba(214, 59, 106, .12);
  color: var(--pink);
}

/* Nav items with dropdowns */
.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

.nav-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  color: var(--text2);
  font-size: .88em;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-top:hover,
.nav-item:hover .nav-top,
.nav-item.dd-open .nav-top {
  background: rgba(214, 59, 106, .08);
  color: var(--pink);
}

.nav-item.active .nav-top {
  background: rgba(214, 59, 106, .12);
  color: var(--pink);
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  z-index: 200;
  overflow: hidden;
}

.nav-item:hover .nav-dropdown,
.nav-item.dd-open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: .88em;
  font-weight: 700;
  color: var(--text2);
  text-decoration: none;
  white-space: nowrap;
  transition: background .12s, color .12s;
}

.nav-dropdown a:hover {
  background: rgba(214, 59, 106, .07);
  color: var(--pink);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s;
}


/* ============================================================
   7. HOME HERO (hero-new — the beautiful new one)
   ============================================================ */

@keyframes hero-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes p-float {
  0%   { transform: translateY(0) rotate(0deg) scale(0); opacity: 0; }
  10%  { opacity: .8; transform: translateY(-20px) rotate(45deg) scale(1); }
  80%  { opacity: .5; }
  100% { transform: translateY(-200px) rotate(360deg) scale(.5); opacity: 0; }
}

.hero-new {
  background: linear-gradient(135deg, #6B0F30 0%, #B01845 30%, #D63B6A 60%, #E8556A 100%);
  background-size: 200% 200%;
  animation: hero-gradient 12s ease infinite;
  padding: 68px 0 60px;
  overflow: hidden;
  position: relative;
}

/* Floating particles container */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Individual particles */
.hero-particles .p {
  position: absolute;
  bottom: 10%;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: p-float linear infinite;
  will-change: transform, opacity;
}

/* Star particles */
.hero-particles .p-star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Ribbon/confetti particles — slim rectangle with rotation */
.hero-particles .p-ribbon {
  clip-path: none;
  border-radius: 2px;
  animation-name: p-ribbon-float !important;
}

@keyframes p-ribbon-float {
  0%   { transform: translateY(0) rotate(0deg) scaleY(1);   opacity: 0; }
  10%  { opacity: .75; }
  50%  { transform: translateY(-100px) rotate(180deg) scaleY(.8); }
  80%  { opacity: .4; }
  100% { transform: translateY(-220px) rotate(360deg) scaleY(.5); opacity: 0; }
}

/* 12 particles with varied positions, sizes, colors, delays */
.hero-particles .p:nth-child(1)  { left: 5%;  width: 10px; height: 10px; background: var(--gold);            animation-duration: 9s;  animation-delay: 0s;   }
.hero-particles .p:nth-child(2)  { left: 12%; width: 8px;  height: 8px;  background: rgba(255,255,255,.85);  animation-duration: 7s;  animation-delay: 1s;   }
.hero-particles .p:nth-child(3)  { left: 22%; width: 14px; height: 14px; background: var(--teal);            animation-duration: 11s; animation-delay: 2.5s; }
.hero-particles .p:nth-child(4)  { left: 33%; width: 6px;  height: 6px;  background: var(--gold);            animation-duration: 8s;  animation-delay: 0.5s; }
.hero-particles .p:nth-child(5)  { left: 42%; width: 9px;  height: 9px;  background: rgba(255,184,34,.8);    animation-duration: 12s; animation-delay: 3s;   }
.hero-particles .p:nth-child(6)  { left: 51%; width: 7px;  height: 7px;  background: rgba(255,255,255,.7);   animation-duration: 6s;  animation-delay: 1.5s; }
.hero-particles .p:nth-child(7)  { left: 60%; width: 12px; height: 12px; background: var(--teal);            animation-duration: 10s; animation-delay: 4s;   }
.hero-particles .p:nth-child(8)  { left: 68%; width: 8px;  height: 8px;  background: var(--gold);            animation-duration: 8s;  animation-delay: 0.8s; }
.hero-particles .p:nth-child(9)  { left: 75%; width: 11px; height: 11px; background: rgba(255,255,255,.6);   animation-duration: 9s;  animation-delay: 2s;   }
.hero-particles .p:nth-child(10) { left: 82%; width: 6px;  height: 6px;  background: rgba(255,184,34,.9);    animation-duration: 7s;  animation-delay: 5s;   }
.hero-particles .p:nth-child(11) { left: 88%; width: 13px; height: 13px; background: var(--teal);            animation-duration: 11s; animation-delay: 3.5s; }
.hero-particles .p:nth-child(12) { left: 95%; width: 8px;  height: 8px;  background: rgba(255,255,255,.75);  animation-duration: 6s;  animation-delay: 6s;   }

.hero-inner,
.hero-new-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

/* Decorative gift box — absolutely positioned right side */
.hero-gift-deco {
  position: absolute;
  right: -30px;
  bottom: -20px;
  opacity: .7;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .hero-gift-deco {
    right: -60px;
    opacity: .4;
    transform: scale(.8);
    transform-origin: bottom right;
  }
}

@media (max-width: 600px) {
  .hero-gift-deco {
    display: none;
  }
}

/* Hero "more links" bar below age grid */
.hero-more-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 24px;
}

.hero-more-links span {
  font-size: .82em;
  color: rgba(255, 255, 255, .6);
  font-weight: 600;
}

.hero-more-links a {
  font-size: .82em;
  font-weight: 700;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  padding: 5px 12px;
  background: rgba(255, 255, 255, .12);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: all .18s;
  white-space: nowrap;
}

.hero-more-links a:hover {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

/* Hero badge — small pill label */
.hero-badge {
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .82em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

/* Hero heading */
.hero-new h1 {
  font-size: clamp(2.2em, 5.5vw, 3.6em);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 14px;
  animation: hero-entrance .8s cubic-bezier(.16,1,.3,1) both;
}

@keyframes hero-entrance {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-new h1 em {
  color: var(--gold);
  font-style: normal;
}

/* Hero subtitle */
.hero-sub {
  font-size: 1.1em;
  color: rgba(255, 255, 255, .85);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 40px;
  font-weight: 600;
  animation: hero-entrance .8s .15s cubic-bezier(.16,1,.3,1) both;
}

/* Age picker label */
.hero-label {
  font-size: .9em;
  font-weight: 700;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.hero-label-icon {
  margin-right: 6px;
  display: inline-block;
  animation: bounce-gentle 2s ease-in-out infinite;
}

@keyframes bounce-gentle {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

.h1-br { display: none; }

@media (min-width: 700px) {
  .h1-br { display: inline; }
}

/* Hero badge row */
.hero-badge-row {
  margin-bottom: 24px;
}

/* Age picker grid */
.age-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  animation: hero-entrance .8s .3s cubic-bezier(.16,1,.3,1) both;
}

/* Individual age cards */
.age-card {
  background: rgba(255, 255, 255, .95);
  border-radius: 16px;
  padding: 24px 20px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all .2s;
  border: 2px solid rgba(255, 255, 255, .6);
}

.age-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
  background: #fff;
  border-color: var(--gold);
  text-decoration: none;
}

/* ── Colored age card variants ── */

/* Baby & Peuter — warm lavender/purple */
.age-card.age-baby {
  background: rgba(255, 255, 255, .97);
  border-color: rgba(255, 255, 255, .7);
}
.age-card.age-baby .age-range { color: #9B5DE5; }
.age-card.age-baby .age-arr   { color: #9B5DE5; }
.age-card.age-baby:hover       { border-color: #9B5DE5; box-shadow: 0 12px 32px rgba(155,93,229,.2); }

/* Kleuter & Schoolkind — teal/green */
.age-card.age-kleuter {
  background: rgba(255, 255, 255, .97);
  border-color: rgba(255, 255, 255, .7);
}
.age-card.age-kleuter .age-range { color: #2BB5AA; }
.age-card.age-kleuter .age-arr   { color: #2BB5AA; }
.age-card.age-kleuter:hover       { border-color: #4ECDC4; box-shadow: 0 12px 32px rgba(78,205,196,.2); }

/* Pre-tiener — blue/indigo */
.age-card.age-preteen {
  background: rgba(255, 255, 255, .97);
  border-color: rgba(255, 255, 255, .7);
}
.age-card.age-preteen .age-range { color: #4169E1; }
.age-card.age-preteen .age-arr   { color: #4169E1; }
.age-card.age-preteen:hover       { border-color: #6495ED; box-shadow: 0 12px 32px rgba(100,149,237,.2); }

/* Tiener — warm pink (matches site primary) */
.age-card.age-tiener {
  background: rgba(255, 255, 255, .97);
  border-color: rgba(255, 255, 255, .7);
}
.age-card.age-tiener .age-range { color: #D63B6A; }
.age-card.age-tiener .age-arr   { color: #D63B6A; }
.age-card.age-tiener:hover       { border-color: var(--pink); box-shadow: 0 12px 32px rgba(214,59,106,.2); }

.age-emoji {
  font-size: 2.2em;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.age-name {
  font-size: 1em;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.age-range {
  font-size: .82em;
  font-weight: 700;
  color: var(--pink);
  margin-top: 2px;
}

.age-tip {
  font-size: .78em;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 6px;
}

.age-arr {
  font-size: .9em;
  color: var(--teal);
  font-weight: 700;
  margin-top: auto;
  padding-top: 10px;
}


/* ============================================================
   OLD HERO — .hero (keep minimal, home.php hides it inline)
   ============================================================ */

.hero {
  background: linear-gradient(135deg, var(--pink2), var(--pink));
  color: #fff;
  padding: 64px 0;
  position: relative;
}

.hero h1 {
  font-size: clamp(1.8em, 4vw, 2.6em);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero .hero-intro,
.hero .subtitle {
  color: rgba(255, 255, 255, .88);
  max-width: 540px;
  line-height: 1.65;
  font-size: 1.08em;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta a {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1em;
  transition: all .2s;
  text-decoration: none;
}

.btn-w {
  background: #fff;
  color: var(--pink);
}

.btn-w:hover {
  background: var(--bg);
}

.btn-g {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .4);
}

.btn-g:hover {
  background: rgba(255, 255, 255, .25);
}


/* ============================================================
   8. SECTIONS
   ============================================================ */

.s {
  padding: 64px 0 0;
}

.s-head {
  margin-bottom: 8px;
}

.s-head h2 {
  font-size: 1.75em;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.s-head p {
  color: var(--muted);
  font-size: 1.02em;
  margin-top: 8px;
  line-height: 1.6;
  max-width: 560px;
}

.s-line {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--teal));
  border-radius: 2px;
  margin: 16px 0 32px;
}

/* Smaller divider variant */
.s-line-sm {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--teal));
  border-radius: 2px;
  margin: 10px 0 16px;
}


/* ============================================================
   9. SILO / CATEGORY CARDS
   ============================================================ */

.silo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 48px;
}

.silo {
  display: block;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  color: var(--text);
  text-decoration: none;
  transition: box-shadow .2s, transform .15s, border-color .15s;
}

.silo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--pink);
  text-decoration: none;
}

.silo-icon {
  color: var(--pink);
  margin-bottom: 10px;
  font-size: 1.4em;
}

.silo h3 {
  color: var(--text);
  font-weight: 700;
  font-size: .98em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.silo p {
  color: var(--muted);
  font-size: .83em;
  line-height: 1.55;
}

.silo .cnt {
  color: var(--teal);
  font-weight: 700;
  font-size: .8em;
  display: block;
  margin-top: 8px;
}

/* Quick-links inside silo card */
.silo .quick-links {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.silo .quick-links a {
  display: block;
  font-size: .8em;
  color: var(--text2);
  padding: 3px 0;
  text-decoration: none;
  transition: color .12s;
}

.silo .quick-links a:hover {
  color: var(--pink);
}


/* ============================================================
   10. ENTRY CARDS
   ============================================================ */

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.entry-card {
  display: block;
  background: var(--surface);
  border-radius: 16px;
  padding: 28px;
  border: 1.5px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow .2s, transform .15s, border-color .15s;
}

.entry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--pink);
  text-decoration: none;
}

.entry-card .icon {
  color: var(--pink);
  margin-bottom: 14px;
  font-size: 1.6em;
}

.entry-card h3 {
  font-size: 1.05em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.entry-card p {
  font-size: .88em;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.entry-card .go {
  display: inline-block;
  font-size: .86em;
  font-weight: 700;
  color: var(--pink);
}

.entry-card:hover .go {
  text-decoration: underline;
}


/* ============================================================
   11. POPULAR GRID
   ============================================================ */

.popular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.pop-card {
  display: block;
  background: var(--surface);
  border-radius: 14px;
  padding: 20px 24px;
  border: 1.5px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}

.pop-card:hover {
  border-color: var(--pink);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.pop-card h4 {
  font-size: .95em;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}

.pop-meta {
  font-size: .77em;
  color: var(--muted);
}

.rec-type {
  font-size: .72em;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}


/* ============================================================
   12. TRUST / AUTHOR SECTION
   ============================================================ */

.trust {
  background: linear-gradient(135deg, #FFF0F5, #F0FFFE);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.trust-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  font-size: 1.4em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-name {
  font-weight: 800;
  font-size: 1.1em;
  color: var(--text);
  margin-bottom: 2px;
}

.trust-role {
  color: var(--muted);
  font-size: .84em;
  margin-bottom: 10px;
}

.trust p {
  color: var(--text2);
  font-size: .92em;
  line-height: 1.7;
  margin: 0;
}

.trust-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.badge {
  background: rgba(78, 205, 196, .12);
  color: var(--pink2);
  border: 1px solid rgba(78, 205, 196, .2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .78em;
  font-weight: 700;
}


/* ============================================================
   13. FAQ
   ============================================================ */

.faq-list {
  margin-bottom: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: .95em;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

/* Remove default Firefox marker */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '＋';
  color: var(--muted);
  transition: transform .2s, color .2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--pink);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: .9em;
  color: var(--text2);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--pink);
}


/* ============================================================
   14. ARTICLE STYLES
   ============================================================ */

article {
  padding: 40px 0 32px;
}

/* Article h1 — page title */
h1 {
  font-size: clamp(1.6em, 4vw, 2.2em);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

article h2 {
  font-size: 1.4em;
  font-weight: 800;
  margin: 48px 0 18px;
  color: var(--text);
  letter-spacing: -.01em;
}

article h3 {
  font-size: 1.15em;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}

article p {
  margin-bottom: 20px;
  color: var(--text2);
  line-height: 1.8;
}

article ul,
article ol {
  margin: 0 0 20px 20px;
}

article li {
  margin-bottom: 10px;
  color: var(--text2);
  line-height: 1.7;
}

article a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

article a:hover {
  color: var(--pink2);
}

article strong {
  font-weight: 800;
  color: var(--text);
}

article blockquote {
  border-left: 3px solid var(--teal);
  padding: 16px 24px;
  background: rgba(78, 205, 196, .07);
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  font-style: normal;
  color: var(--text2);
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .93em;
}

article th,
article td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

article th {
  font-weight: 700;
  background: var(--bg);
  color: var(--text);
}

/* Article author block */
.author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info {
  line-height: 1.35;
}

.author-name {
  font-size: .9em;
  font-weight: 700;
  color: var(--text);
}

.author-role {
  font-size: .8em;
  color: var(--muted);
}

/* Meta bar */
.meta {
  color: var(--muted);
  font-size: .84em;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* Affiliate disclosure */
.affiliate-disclosure {
  background: rgba(78, 205, 196, .08);
  border: 1px solid rgba(78, 205, 196, .2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: .83em;
  color: var(--text2);
  line-height: 1.55;
  margin-bottom: 24px;
}

.affiliate-disclosure strong {
  color: var(--text);
}

/* Table of contents */
.toc {
  border-left: 3px solid var(--pink);
  background: var(--bg);
  padding: 22px 28px;
  margin-bottom: 36px;
  border-radius: 0 14px 14px 0;
}

.toc .toc-title {
  font-size: .9em;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.toc ol {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: decimal;
}

.toc li {
  margin-bottom: 6px;
  font-size: .88em;
  color: var(--text2);
}

.toc a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 700;
}

.toc a:hover {
  text-decoration: underline;
}

/* Related articles */
.related {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin: 36px 0 24px;
}

.related h2 {
  font-size: 1.05em;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text);
}

.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.related li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--muted);
}

.related a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 700;
}

.related a:hover {
  text-decoration: underline;
}

/* Next step CTA */
.next-step {
  background: linear-gradient(135deg, var(--pink), var(--pink2));
  color: #fff;
  padding: 28px 32px;
  border-radius: 16px;
  margin: 24px 0 32px;
}

.next-step .ns-label {
  font-size: .78em;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 8px;
  font-weight: 700;
}

.next-step .ns-title {
  font-size: 1.1em;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.next-step a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .5);
  text-underline-offset: 2px;
  font-weight: 700;
}

.next-step a:hover {
  text-decoration-color: #fff;
}

/* Newsletter */
.newsletter {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
  margin: 0 0 32px;
}

.newsletter .nl-head {
  font-size: 1.1em;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.newsletter .nl-sub {
  font-size: .9em;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.newsletter form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter input[type="email"] {
  flex: 1;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: .9em;
  font-family: inherit;
  outline: none;
  background: var(--bg);
  color: var(--text);
  transition: border-color .15s;
}

.newsletter input[type="email"]:focus {
  border-color: var(--pink);
}

.newsletter button {
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 22px;
  font-size: .9em;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
  white-space: nowrap;
}

.newsletter button:hover {
  background: var(--pink2);
}

.newsletter .nl-privacy {
  font-size: .75em;
  color: var(--muted);
  margin-top: 10px;
}

/* Captcha row */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84em;
  color: var(--text2);
}

.captcha-row label {
  white-space: nowrap;
}

.captcha-input {
  width: 50px;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .9em;
  font-family: inherit;
  text-align: center;
  outline: none;
  background: var(--bg);
}

.captcha-input:focus {
  border-color: var(--pink);
}

/* Inline link block */
.inline-link {
  background: var(--bg);
  border-left: 3px solid var(--teal);
  padding: 10px 16px;
  margin: 20px 0;
  font-size: .93em;
  border-radius: 0 8px 8px 0;
}

.inline-link a {
  color: var(--pink);
  font-weight: 700;
  text-decoration: none;
}

.inline-link a:hover {
  text-decoration: underline;
}

/* Section divider */
.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--teal));
  margin: 40px 0;
  border-radius: 2px;
}


/* ============================================================
   15. CATEGORY PAGE
   ============================================================ */

.category-header {
  padding: 48px 0 20px;
}

.cat-intro {
  font-size: .95em;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.category-header h1 {
  font-size: clamp(1.7em, 4vw, 2.4em);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.cat-desc {
  color: var(--text2);
  font-size: 1.05em;
  margin-top: 12px;
  line-height: 1.75;
  max-width: 600px;
}

.cat-stats {
  font-size: .88em;
  color: var(--muted);
  margin: 14px 0 32px;
}

/* Featured entries grid */
.featured {
  margin-bottom: 36px;
}

.featured-label {
  font-size: .78em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 12px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.featured-card {
  display: block;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  color: var(--text);
  text-decoration: none;
  transition: box-shadow .2s, transform .15s, border-color .15s;
}

.featured-card:hover {
  border-color: var(--pink);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  text-decoration: none;
}

.fc-title {
  font-weight: 700;
  font-size: 1em;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
}

.fc-go {
  font-size: .84em;
  color: var(--pink);
  font-weight: 700;
}

.featured-card:hover .fc-go {
  text-decoration: underline;
}

/* Cat sections — grouped link lists */
.cat-section {
  margin-bottom: 36px;
}

.cat-section-head {
  font-weight: 800;
  font-size: 1.1em;
  color: var(--text);
  margin-bottom: 6px;
}

.cat-section-sub {
  font-size: .84em;
  color: var(--muted);
  margin-bottom: 14px;
}

.cat-list {
  list-style: none;
  padding: 0;
}

.cat-list li {
  margin-bottom: 2px;
}

.cat-list a {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: .94em;
  font-weight: 600;
  transition: background .15s, color .15s;
}

.cat-list a:hover {
  background: rgba(214, 59, 106, .06);
  color: var(--pink);
}

.cl-title {
  flex: 1;
  line-height: 1.4;
}

.cl-arr {
  color: var(--muted);
  font-size: .85em;
  margin-left: auto;
  flex-shrink: 0;
  transition: color .15s;
}

.cat-list a:hover .cl-arr {
  color: var(--pink);
}


/* ============================================================
   16. AUTHOR BIO
   ============================================================ */

.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin: 0 0 32px;
}

.author-bio .bio-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio .bio-name {
  font-size: 1em;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.author-bio .bio-role {
  font-size: .84em;
  color: var(--muted);
  margin-bottom: 8px;
}

.author-bio p {
  font-size: .9em;
  color: var(--text2);
  line-height: 1.65;
  margin: 0;
}


/* ============================================================
   17. BREADCRUMB
   ============================================================ */

nav.breadcrumb {
  padding: 16px 0;
  font-size: .84em;
  color: var(--muted);
}

nav.breadcrumb a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 700;
}

nav.breadcrumb a:hover {
  text-decoration: underline;
}

nav.breadcrumb span {
  margin: 0 6px;
  color: var(--muted);
}


/* ============================================================
   18. MODAL
   ============================================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 300;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: 20px;
  padding: 36px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
  position: relative;
}

.modal h3 {
  font-size: 1.15em;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.modal p {
  font-size: .9em;
  color: var(--text2);
  margin-bottom: 20px;
  line-height: 1.55;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal input[type="email"] {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: .9em;
  font-family: inherit;
  outline: none;
  text-align: center;
  background: var(--bg);
  transition: border-color .15s;
}

.modal input[type="email"]:focus {
  border-color: var(--pink);
}

.modal button {
  padding: 12px 22px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .95em;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}

.modal button:hover {
  background: var(--pink2);
}

.modal .close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4em;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  line-height: 1;
  font-family: inherit;
  transition: color .15s;
}

.modal .close:hover {
  color: var(--text);
}

.modal .nl-privacy {
  font-size: .75em;
  color: var(--muted);
  margin: 4px 0 0;
}

.modal .captcha-row {
  justify-content: center;
}


/* ============================================================
   19. PDF STICKY BUTTON
   ============================================================ */

.pdf-sticky {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text2);
  border: 1.5px solid var(--border);
  padding: 11px 20px;
  border-radius: 100px;
  font-size: .85em;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: all .2s;
  text-decoration: none;
}

.pdf-sticky:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--pink);
  color: var(--pink);
}

.pdf-sticky svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}


/* ============================================================
   20. FOOTER
   ============================================================ */

footer {
  background: var(--text);
  color: rgba(255, 255, 255, .6);
  padding: 48px 0 32px;
  margin-top: 80px;
}

footer .wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* New footer layout */
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 1.4em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.footer-logo em {
  color: var(--pink);
  font-style: normal;
}

.footer-desc {
  color: rgba(255, 255, 255, .5);
  font-size: .87em;
  line-height: 1.65;
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78em;
  color: rgba(255, 255, 255, .35);
  flex-wrap: wrap;
  gap: 8px;
}

/* Legacy footer classes — keep for compat */
.footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.1em;
  margin-bottom: 8px;
}

.footer-author {
  color: rgba(255, 255, 255, .5);
  font-size: .85em;
  margin: 4px 0 24px;
}

.footer-silo-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 24px;
  margin-bottom: 32px;
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-silo-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-silo-links a {
  color: rgba(255, 255, 255, .55);
  font-size: .85em;
  text-decoration: none;
  padding: 3px 0;
  transition: color .15s;
  font-weight: 600;
}

.footer-silo-links a:hover {
  color: #fff;
}

.footer-links {
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--teal);
  text-decoration: none;
  margin: 0 10px;
  font-size: .88em;
  font-weight: 700;
  transition: color .15s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: .78em;
  color: rgba(255, 255, 255, .4);
}


/* ============================================================
   21. HERO STATS (used in old hero)
   ============================================================ */

.hero-stats {
  display: flex;
  gap: 20px;
  margin: 16px 0 24px;
  flex-wrap: wrap;
}

.hero-stats span {
  font-size: .95em;
  color: rgba(255, 255, 255, .85);
}

.hero-stats strong {
  color: #fff;
  font-size: 1.1em;
  font-weight: 800;
}


/* ============================================================
   22. RESPONSIVE BREAKPOINTS
   ============================================================ */

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

  .entry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .trust {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- Mobile / 700px --- */
@media (max-width: 700px) {
  /* Hero */
  .hero-new {
    padding: 56px 0;
  }

  .age-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Silos */
  .silo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Entry grid */
  .entry-grid {
    grid-template-columns: 1fr;
  }

  /* Footer grid */
  .footer-silo-links {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hamburger */
  .hamburger {
    display: flex;
  }

  nav.site-nav {
    flex-wrap: wrap;
  }

  .nav-wrap {
    flex-basis: 100%;
    order: 2;
    flex-direction: column;
    display: none;
    padding: 0 16px 12px;
    gap: 0;
    overflow-x: visible;
  }

  .nav-wrap.open {
    display: flex;
  }

  .nav-link,
  .nav-top {
    padding: 13px 8px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    border-radius: 0;
    justify-content: flex-start;
  }

  .nav-item {
    flex-direction: column;
    width: 100%;
    flex-shrink: unset;
  }

  .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: none;
    background: rgba(214, 59, 106, .04);
  }

  .nav-item.mob-open .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  /* Category header */
  .category-header {
    padding: 32px 0 12px;
  }

  /* Newsletter form stacks */
  .newsletter form {
    flex-direction: column;
  }

  /* PDF sticky */
  .pdf-sticky {
    bottom: 16px;
    right: 16px;
    padding: 9px 16px;
    font-size: .8em;
  }

  /* Author bio */
  .author-bio {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 22px 20px;
  }

  /* Trust */
  .trust {
    padding: 24px 20px;
  }
}

/* --- Small mobile / 480px --- */
@media (max-width: 480px) {
  .age-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .age-card {
    padding: 18px 14px;
  }

  .age-emoji {
    font-size: 1.8em;
  }

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

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

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

  .hero-new h1 {
    letter-spacing: -.02em;
  }

  .hero-sub {
    font-size: 1em;
  }

  .next-step {
    padding: 22px 20px;
  }

  .newsletter {
    padding: 22px 20px;
  }

  .related {
    padding: 20px;
  }

  .footer-silo-links {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   23. PRINT STYLES
   ============================================================ */

@media print {
  /* Hide everything non-essential */
  nav.site-nav,
  .accent-bar,
  header,
  nav.breadcrumb,
  .toc,
  .related,
  .next-step,
  .newsletter,
  .pdf-sticky,
  .modal-overlay,
  footer,
  .author,
  .affiliate-disclosure,
  .hero,
  .hero-new,
  .hero-particles,
  .trust-badges,
  .faq-list {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
    line-height: 1.6;
  }

  article {
    padding: 0;
  }

  .content-wrap,
  .wrap {
    max-width: none;
    padding: 0;
  }

  h1 {
    font-size: 18pt;
    margin-bottom: 12pt;
  }

  article h2 {
    font-size: 14pt;
    margin: 24pt 0 10pt;
  }

  article h3 {
    font-size: 12pt;
  }

  article a {
    color: #000;
    text-decoration: none;
  }

  article blockquote {
    border-left: 2pt solid #ccc;
    background: none;
    padding: 8pt 16pt;
  }

  article p {
    color: #000;
    margin-bottom: 10pt;
  }
}
