/* Mamenza Cross-Cutting Components
   Herbruikbaar op alle templates. Imports tokens.css. */

/* ——————————————————————————————————
   HEADER / GLOBAL NAV (C12)
   —————————————————————————————————— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 28px;
  letter-spacing: -0.04em; color: var(--ink);
}
.logo .dot { color: var(--warm-orange); }
.nav-links { display: flex; gap: 34px; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 0;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a .chev { opacity: 0.5; font-size: 10px; }
.nav-actions { display: flex; gap: 18px; align-items: center; color: var(--ink); }
.nav-actions button {
  background: transparent; border: none; cursor: pointer;
  color: var(--ink); padding: 8px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-actions button:hover { background: rgba(31,31,31,0.05); }

/* ——————————————————————————————————
   BREADCRUMB (C7)
   —————————————————————————————————— */
.breadcrumb {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--stone);
  padding: 18px 0; font-family: var(--font-display); font-weight: 500;
}
.breadcrumb a { color: var(--stone); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb .sep { opacity: 0.45; font-size: 10px; }
.breadcrumb .current { color: var(--ink); }

/* ——————————————————————————————————
   SECTION HEAD
   —————————————————————————————————— */
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 32px; gap: 20px;
}
.section-head h2 { max-width: 720px; }
.section-head .sh-link {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600; color: var(--terracotta);
  display: inline-flex; gap: 6px; align-items: center; white-space: nowrap;
}
.section-head .sh-link:hover { gap: 10px; }

/* ——————————————————————————————————
   PILLAR CARD
   —————————————————————————————————— */
.pillar-card {
  background: var(--cream); border-radius: var(--r-2xl); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-card .pc-visual {
  aspect-ratio: 1/1; background: var(--peach-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  position: relative;
}
.pillar-card .pc-body { padding: 18px 22px 24px; }
.pillar-card h3 { margin-bottom: 6px; }
.pillar-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.5; margin-bottom: 14px; }
.pillar-card .pc-link {
  font-size: 14px; font-weight: 600; color: var(--terracotta);
  display: inline-flex; gap: 6px; align-items: center;
}
.pillar-card:hover .pc-link { gap: 10px; }

/* ——————————————————————————————————
   ARTICLE CARD (Related Content Grid — C6)
   —————————————————————————————————— */
.article {
  background: white; border-radius: var(--r-xl); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-soft);
  display: flex; flex-direction: column;
}
.article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article .img {
  aspect-ratio: 16/10; background: var(--peach-soft); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta); font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.article .img.img-sage { background: var(--sage-soft); color: var(--color-success); }
.article .img.img-cream { background: var(--cream-warm); }
.article .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.article .cat {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px;
}
.article h3 { font-size: 18px; line-height: 1.3; margin-bottom: 12px; }
.article .meta { display: flex; gap: 14px; font-size: 12px; color: var(--stone); margin-top: auto; }
.article .meta .dot { opacity: 0.5; }

.article-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.article-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ——————————————————————————————————
   PRODUCT BOX (eigen, natural) — C2
   —————————————————————————————————— */
.product-box {
  background: var(--cream-warm); border-radius: var(--r-2xl);
  padding: 28px; display: grid; grid-template-columns: 160px 1fr auto;
  gap: 24px; align-items: center; margin: 32px 0;
}
.product-box .pb-img {
  width: 160px; height: 160px; border-radius: var(--r-xl);
  background: var(--peach-soft); display: flex; align-items: center; justify-content: center;
  color: var(--terracotta); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.product-box .pb-body { min-width: 0; }
.product-box .pb-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 6px;
}
.product-box h3 { font-size: 22px; margin-bottom: 8px; }
.product-box p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; max-width: 440px; }
.product-box .pb-price {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  margin-top: 10px;
}
.product-box .pb-price .old { color: var(--stone); font-size: 15px; text-decoration: line-through; margin-left: 8px; font-weight: 500; }
.product-box .pb-cta { align-self: center; }

/* ——————————————————————————————————
   AFFILIATE BOX — C3 (onderscheidend, met disclaimer)
   —————————————————————————————————— */
.affiliate-box {
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 22px 24px;
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 20px; align-items: center; margin: 24px 0;
  background: white; position: relative;
}
.affiliate-box::before {
  content: 'Partner-Link'; position: absolute; top: -10px; left: 20px;
  background: var(--color-affiliate); color: white;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--r-sm);
}
.affiliate-box .ab-img {
  width: 100px; height: 100px; border-radius: var(--r-md);
  background: var(--peach-soft); display: flex; align-items: center; justify-content: center;
  color: var(--stone); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
}
.affiliate-box h4 { font-size: 16px; margin-bottom: 4px; }
.affiliate-box .ab-brand { font-size: 12px; color: var(--stone); margin-bottom: 6px; }
.affiliate-box .ab-price {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
}
.affiliate-box .ab-disclaimer {
  font-size: 11px; color: var(--stone); font-style: italic; margin-top: 4px;
}

/* ——————————————————————————————————
   TOOL CTA CARD — C4
   —————————————————————————————————— */
.tool-cta {
  background: linear-gradient(135deg, var(--sage-soft) 0%, var(--peach-soft) 100%);
  border-radius: var(--r-2xl); padding: 28px;
  display: flex; gap: 20px; align-items: center; margin: 28px 0;
}
.tool-cta .tc-icon {
  width: 54px; height: 54px; border-radius: var(--r-lg);
  background: white; display: flex; align-items: center; justify-content: center;
  color: var(--terracotta); flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.tool-cta .tc-body { flex: 1; min-width: 0; }
.tool-cta .tc-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 4px;
}
.tool-cta h4 { font-size: 18px; margin-bottom: 4px; }
.tool-cta p { font-size: 13px; color: var(--ink-muted); }

/* ——————————————————————————————————
   REVIEWER BYLINE — C5 (schema.org Person)
   —————————————————————————————————— */
.reviewer-byline {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 20px; border-radius: var(--r-xl);
  background: var(--cream); border: 1px solid var(--border-soft);
}
.reviewer-byline .rb-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--peach); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta); font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
}
.reviewer-byline .rb-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-medical);
  display: inline-flex; gap: 4px; align-items: center; margin-bottom: 2px;
}
.reviewer-byline .rb-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.reviewer-byline .rb-meta { font-size: 12px; color: var(--stone); margin-top: 2px; }
.reviewer-byline .rb-meta a { color: var(--terracotta); }

/* ——————————————————————————————————
   TOC STICKY — C8
   —————————————————————————————————— */
.toc {
  position: sticky; top: 100px;
  padding: 20px 22px; border-left: 2px solid var(--border-soft);
}
.toc h5 {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 14px;
}
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: block; font-size: 14px; color: var(--ink-muted);
  line-height: 1.4; padding-left: 28px; position: relative;
  transition: color .15s ease;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  color: var(--stone-light); letter-spacing: 0.05em;
}
.toc a:hover { color: var(--terracotta); }
.toc a.active { color: var(--terracotta); font-weight: 600; }
.toc a.active::before { color: var(--terracotta); }

/* ——————————————————————————————————
   PREV/NEXT PAGINEERDER — C9
   —————————————————————————————————— */
.prev-next {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 48px 0;
}
.prev-next a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 22px; border-radius: var(--r-xl);
  border: 1px solid var(--border-soft); background: var(--cream);
  transition: transform .15s ease, box-shadow .15s ease;
}
.prev-next a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.prev-next .pn-dir {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--stone);
}
.prev-next .pn-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.prev-next .next { text-align: right; }

/* ——————————————————————————————————
   SHARING — C10
   —————————————————————————————————— */
.sharing {
  display: flex; gap: 10px; align-items: center;
  padding: 20px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  margin: 32px 0;
}
.sharing .sh-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--stone); margin-right: 8px;
}
.sharing button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-soft); background: white;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); cursor: pointer; transition: all .15s ease;
}
.sharing button:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ——————————————————————————————————
   SCHEMA BADGES — C11
   —————————————————————————————————— */
.schema-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-sm);
  background: var(--sage-soft); color: var(--color-success);
}
.schema-badge.schema-medical { background: #E0EAEF; color: var(--color-medical); }
.schema-badge.schema-article { background: var(--peach-soft); color: var(--warm-orange-hover); }
.schema-badge.schema-product { background: var(--cream-warm); color: var(--terracotta); }

/* ——————————————————————————————————
   LAST REVIEWED BADGE — C18
   —————————————————————————————————— */
.review-badge {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 12px; color: var(--stone);
}
.review-badge span { display: inline-flex; gap: 6px; align-items: center; }
.review-badge svg { color: var(--sage); }
.review-badge strong { color: var(--ink); font-weight: 600; }

/* ——————————————————————————————————
   WARM-LINK PLACEHOLDER — C19
   —————————————————————————————————— */
.warm-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--stone); font-style: italic;
  padding: 2px 8px; background: var(--peach-soft); border-radius: var(--r-sm);
}

/* ——————————————————————————————————
   COST-TRANSPARENCY CALLOUT — C20
   —————————————————————————————————— */
.cost-callout {
  border: 1.5px solid var(--sage); border-radius: var(--r-xl);
  padding: 20px 24px; background: var(--sage-soft);
  display: flex; gap: 14px; align-items: flex-start; margin: 24px 0;
}
.cost-callout .cc-icon {
  color: var(--color-success); flex-shrink: 0; margin-top: 2px;
}
.cost-callout h5 { font-size: 14px; margin-bottom: 4px; font-family: var(--font-display); font-weight: 700; }
.cost-callout p { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }

/* ——————————————————————————————————
   EMAIL OPT-IN — C1
   —————————————————————————————————— */
.newsletter {
  background: var(--cream-warm);
  border-radius: var(--r-2xl); padding: 28px 36px;
  display: grid; grid-template-columns: 120px 1fr auto;
  gap: 28px; align-items: center; margin-top: 20px;
}
.newsletter .nl-illust {
  width: 120px; height: 90px;
  background: transparent; display: flex; align-items: center; justify-content: center;
}
.newsletter .nl-illust img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.nl-copy h3 { font-size: 22px; margin-bottom: 6px; }
.nl-copy p { font-size: 14px; color: var(--ink-muted); max-width: 420px; }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-input-row { display: flex; gap: 8px; align-items: stretch; }
.nl-input-row input {
  padding: 12px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: white;
  font-family: var(--font-body); font-size: 14px; min-width: 260px;
}
.nl-input-row .btn { border-radius: var(--r-pill); padding: 12px 22px; }
.nl-input-row input:focus { outline: none; border-color: var(--terracotta); }
.nl-meta { display: flex; gap: 16px; font-size: 11px; color: var(--stone); }
.nl-meta span { display: inline-flex; gap: 5px; align-items: center; }
.nl-meta svg { color: var(--sage); }

/* ——————————————————————————————————
   SEASONAL BANNER — C14
   —————————————————————————————————— */
.seasonal-banner {
  background: var(--ink); color: white;
  padding: 10px 20px; display: flex; justify-content: center; gap: 14px;
  font-size: 13px; font-family: var(--font-display); font-weight: 500;
}
.seasonal-banner .sb-label {
  font-weight: 700; color: var(--warm-orange); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px;
}
.seasonal-banner a { text-decoration: underline; text-underline-offset: 3px; }

/* ——————————————————————————————————
   FOOTER — C13
   —————————————————————————————————— */
.site-footer {
  padding: 56px 0 32px; margin-top: 24px;
  border-top: 1px solid rgba(31,31,31,0.08);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px; margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 14px; color: var(--ink-muted); max-width: 280px; margin-bottom: 18px; }
.footer-brand .tagline {
  font-family: var(--font-script); font-size: 22px; color: var(--terracotta);
}
.footer-col h5 {
  font-family: var(--font-display); font-size: 13px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-muted); }
.footer-col a:hover { color: var(--terracotta); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(31,31,31,0.08);
  font-size: 12px; color: var(--stone);
}
.footer-bottom .legals { display: flex; gap: 20px; }

/* ——————————————————————————————————
   IMAGE PLACEHOLDER HELPER
   —————————————————————————————————— */
.img-placeholder {
  background: var(--peach-soft);
  color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 11px;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; padding: 16px;
}
.img-placeholder.sage { background: var(--sage-soft); color: var(--color-success); }
.img-placeholder.cream { background: var(--cream-warm); color: var(--stone); }

/* ——————————————————————————————————
   RESPONSIVE DEFAULTS
   —————————————————————————————————— */
@media (max-width: 1100px) {
  h1 { font-size: 52px; }
  .article-grid-3, .article-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; text-align: center; }
  .newsletter .nl-illust { margin: 0 auto; }
  .product-box { grid-template-columns: 1fr; text-align: center; }
  .product-box .pb-img { margin: 0 auto; }
}
@media (max-width: 720px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .nav-links { display: none; }
  .article-grid-3, .article-grid-4, .article-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .affiliate-box { grid-template-columns: 1fr; text-align: center; }
  .affiliate-box .ab-img { margin: 0 auto; }
  .tool-cta { flex-direction: column; text-align: center; }
}

/* Breadcrumbs hidden site-wide (per Mark, 2026-04-25) */
nav.breadcrumb, .breadcrumb { display: none !important; }

/* NAV DROPDOWNS */
.nav-links { position: relative; }
.nav-links > li { position: relative; }
.nav-links > li > a { cursor: pointer; }
.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: -12px;
  min-width: 280px; background: white;
  border: 1px solid #e8e3d7; border-radius: 14px;
  box-shadow: 0 20px 48px -16px rgba(45,47,52,0.18), 0 4px 12px -4px rgba(45,47,52,0.08);
  padding: 10px;
  opacity: 0; transform: translateY(-4px); visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 100;
}
.nav-links > li:hover > .nav-dropdown,
.nav-links > li:focus-within > .nav-dropdown { opacity: 1; transform: translateY(0); visibility: visible; }
.nav-dropdown a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 500; line-height: 1.3;
  transition: background .1s ease;
}
.nav-dropdown a:hover { background: #FAF7F2; color: var(--terracotta); }
.nav-dropdown a .dd-sub { display: block; font-size: 12px; font-weight: 500; color: var(--stone); margin-top: 2px; }
