/*
Theme Name: Bra Size Calculator — bra-size-calculator-theme-v1
Theme URI: https://bra-sizecalculator.com
Author: WP-Flash | SerpZenith
Author URI: https://wpflash.com
Description: Bespoke bra-sizing tools & fit-education authority theme. Built with WP-Flash v4.0.
Version: 1.0.0
License: Private
Text Domain: bra-size-calculator-theme-v1
*/

/* =====================
   CSS VARIABLES (from Visual Identity — config/visual-identity.json)
   ===================== */
:root {
  --color-primary: #1D6E86;
  --color-secondary: #17576A;
  --color-accent: #E8623A;
  --color-accent-dark: #C9522F;
  --color-bg: #FCFAF8;
  --color-surface: #FFFFFF;
  --color-border: #E8E2DD;
  --color-text: #22303A;
  --color-text-muted: #6B7280;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --primary-rgb: 29,110,134;
  --accent-rgb: 232,98,58;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-btn: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --spacing-2xl: 120px;

  --container: 1200px;
  --container-sm: 760px;
  --container-article: 780px;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-secondary); }
ul, ol { padding-left: 1.4em; margin-bottom: 1.2em; }
li { margin-bottom: 0.4em; }

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(22px, 3vw, 30px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; font-weight: 600; }
p { margin-bottom: 1.2em; color: var(--color-text); }
p:last-child { margin-bottom: 0; }

/* =====================
   CONTAINER
   ===================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }
.container-article { max-width: var(--container-article); margin: 0 auto; padding: 0 24px; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { filter: brightness(0.92); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-secondary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 18px 36px; font-size: 18px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* =====================
   CARDS
   ===================== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-title { font-size: 20px; font-weight: 700; margin-bottom: var(--spacing-xs); }
.card-icon {
  width: 56px; height: 56px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--spacing-sm);
  font-size: 26px;
}

/* =====================
   SECTIONS
   ===================== */
.section { padding: var(--spacing-xl) 0; }
.section-lg { padding: var(--spacing-2xl) 0; }
.section-alt { background: var(--color-surface); }
.section-label {
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: var(--spacing-sm);
}
.section-title { margin-bottom: var(--spacing-sm); }
.section-subtitle { color: var(--color-text-muted); font-size: 18px; max-width: 620px; }
.section-header { margin-bottom: var(--spacing-lg); }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* =====================
   HEADER / MEGA MENU
   ===================== */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--container); margin: 0 auto; gap: 24px; }
.site-logo { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--color-text); text-decoration: none; white-space: nowrap; }
.site-logo span { color: var(--color-primary); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--color-text); text-decoration: none; border-radius: 999px; transition: all 0.2s; }
.nav-links > li > a:hover { color: var(--color-primary); background: rgba(var(--primary-rgb), 0.08); }

.mega-panel { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; min-width: 640px; margin-top: 8px; }
.nav-links > li:hover .mega-panel, .nav-links > li:focus-within .mega-panel { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); font-size: 14px; font-weight: 600; color: var(--color-text); transition: all 0.2s; }
.mega-link:hover { background: rgba(var(--primary-rgb), 0.08); color: var(--color-primary); }
.mega-link .emoji { font-size: 18px; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.mobile-only-link { display: none; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); padding: 12px 24px 20px; gap: 4px; max-height: 70vh; overflow-y: auto; }
  .nav-links.open > li > a { padding: 12px 4px; min-height: 44px; display: flex; align-items: center; }
  .nav-links.open .mega-panel { display: block; position: static; box-shadow: none; border: none; padding: 8px 0 8px 16px; min-width: 0; margin-top: 0; }
  .nav-links.open .mega-grid { grid-template-columns: 1fr; }
  .nav-links.open .mobile-only-link { display: block; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--color-border); }
  .nav-links.open .mobile-only-link a { background: var(--color-primary); color: #fff; border-radius: var(--radius); justify-content: center; font-weight: 700; }
  .header-cta .btn { display: none; }
  .hamburger { display: block; }
}

/* =====================
   HERO
   ===================== */
.hero { background: linear-gradient(135deg, var(--color-bg) 0%, #E4EEF1 100%); padding: var(--spacing-2xl) 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--spacing-xl); align-items: center; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(var(--primary-rgb), 0.1); color: var(--color-primary); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: var(--spacing-sm); }
.hero-title { font-size: clamp(38px, 5.5vw, 60px); margin-bottom: var(--spacing-sm); line-height: 1.05; }
.hero-title span { color: var(--color-primary); }
.hero-subtitle { font-size: 18px; color: var(--color-text-muted); margin-bottom: var(--spacing-md); max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--spacing-md); }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--color-text-muted); }
.trust-item .icon { color: var(--color-success); }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 768px) { .hero-inner { grid-template-columns: 1fr; } .hero-image { order: -1; } }

/* =====================
   TOOL / CATEGORY GRID (homepage + hubs)
   ===================== */
.category-grid, .tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.category-card { text-align: left; }
.category-card img { border-radius: var(--radius); margin-bottom: var(--spacing-sm); aspect-ratio: 4/3; object-fit: cover; }
.category-card .card-title { display: flex; align-items: center; gap: 8px; }
.tool-card .card-title { display: flex; align-items: center; gap: 8px; }
.tool-card .tool-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); margin-bottom: 6px; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* =====================
   STATS BAR
   ===================== */
.stats-bar { background: var(--color-primary); color: #fff; padding: 40px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.stat-number { font-family: var(--font-heading); font-size: 42px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 14px; opacity: 0.85; margin-top: 4px; }
@media (max-width: 600px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* =====================
   SVG ICON SYSTEM (replaces emoji)
   ===================== */
.bsc-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.hero-badge .bsc-icon, .trust-item .bsc-icon { color: var(--color-success); }
.mega-link .bsc-icon { color: var(--color-primary); }

/* Simplified stats bar (3-up) */
.stats-inner--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .stats-inner--3 { grid-template-columns: repeat(3, 1fr); gap: 12px; } }

/* Simplified tool pills (homepage "More Calculators") */
.tool-grid--simple { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tool-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  color: var(--color-text);
  transition: all 0.2s ease;
}
.tool-pill-icon { color: var(--color-primary); display: flex; }
.tool-pill:hover { border-color: var(--color-primary); background: rgba(var(--primary-rgb), 0.06); color: var(--color-primary); transform: translateY(-2px); }

/* Simplified "why" section — plain list, no heavy cards */
.why-grid--simple { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--spacing-lg); text-align: center; }
.why-item .card-icon { margin: 0 auto var(--spacing-sm); background: rgba(var(--primary-rgb), 0.08); color: var(--color-primary); }
.why-item h3 { font-size: 18px; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* =====================
   CALCULATOR WIDGET
   ===================== */
.calc-widget { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--spacing-lg); margin: var(--spacing-lg) 0; }
.calc-widget h2, .calc-widget h3 { margin-bottom: var(--spacing-xs); }
.calc-unit-toggle { display: inline-flex; border: 1px solid var(--color-border); border-radius: 999px; padding: 3px; margin-bottom: var(--spacing-md); }
.calc-unit-toggle button { border: none; background: transparent; padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--color-text-muted); }
.calc-unit-toggle button.active { background: var(--color-primary); color: #fff; }
.calc-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--spacing-sm); margin-bottom: var(--spacing-md); }
.calc-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--color-text); }
.calc-field input, .calc-field select { width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 16px; font-family: var(--font-body); background: var(--color-bg); }
.calc-field input:focus, .calc-field select:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.calc-hint { font-size: 12.5px; color: var(--color-text-muted); margin-top: 4px; }
.calc-result-card { display: none; background: rgba(var(--primary-rgb), 0.06); border: 1px solid rgba(var(--primary-rgb), 0.25); border-radius: var(--radius-lg); padding: var(--spacing-md); margin-top: var(--spacing-md); }
.calc-result-card.show { display: block; }
.calc-result-size { font-family: var(--font-heading); font-size: 40px; font-weight: 800; color: var(--color-primary); line-height: 1; margin-bottom: 6px; }
.calc-result-label { font-size: 13px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--spacing-sm); }
.calc-result-table { width: 100%; border-collapse: collapse; margin-top: var(--spacing-sm); font-size: 14px; }
.calc-result-table th, .calc-result-table td { padding: 8px 10px; border-bottom: 1px solid var(--color-border); text-align: left; }
.calc-result-table th { color: var(--color-text-muted); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.calc-error { color: var(--color-accent-dark); font-size: 14px; margin-top: var(--spacing-sm); display: none; }
.calc-error.show { display: block; }
.calc-privacy-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-text-muted); margin-top: var(--spacing-sm); }
.calc-privacy-line .icon { color: var(--color-success); }
.calc-work-toggle { background: none; border: none; color: var(--color-primary); font-weight: 700; font-size: 13px; cursor: pointer; margin-top: var(--spacing-sm); padding: 0; }
.calc-work-detail { display: none; margin-top: var(--spacing-sm); font-size: 14px; color: var(--color-text-muted); background: var(--color-bg); border-radius: var(--radius); padding: var(--spacing-sm); }
.calc-work-detail.show { display: block; }

/* =====================
   ARTICLE / GUIDE / ANSWER LAYOUT
   ===================== */
.article-hero { padding: var(--spacing-lg) 0 var(--spacing-md); }
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--color-text-muted); margin: var(--spacing-sm) 0; }
.article-body { font-size: 18px; line-height: 1.8; }
.article-body h2 { margin-top: var(--spacing-lg); margin-bottom: var(--spacing-sm); }
.article-body h3 { margin-top: var(--spacing-md); margin-bottom: var(--spacing-xs); }
.article-body p { margin-bottom: 1.3em; }
.article-body ul, .article-body ol { margin-bottom: 1.3em; }
.article-body img { border-radius: var(--radius-lg); margin: var(--spacing-md) 0; }
.direct-answer { background: rgba(var(--primary-rgb), 0.06); border-left: 4px solid var(--color-primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin-bottom: var(--spacing-md); font-size: 18px; }

/* Notice / disclaimer box (fit disclaimer, not-medical-advice, etc.) */
.notice-box { background: #FFF8ED; border: 1px solid #F1DDB0; border-radius: var(--radius); padding: 14px 18px; font-size: 13.5px; color: #6B5A2E; margin-bottom: var(--spacing-md); }
.notice-box a { color: #6B5A2E; text-decoration: underline; }

/* Author box */
.author-box { display: flex; gap: 16px; align-items: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 20px; margin: var(--spacing-lg) 0; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box .author-name { font-weight: 700; font-size: 16px; }
.author-box .author-role { font-size: 13px; color: var(--color-text-muted); margin-bottom: 4px; }
.author-box .author-bio { font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* Comparison table (cup/band X vs Y pages, brand size charts) */
.compare-table-wrap { overflow-x: auto; margin: var(--spacing-md) 0; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.compare-table th { background: var(--color-primary); color: #fff; text-align: left; padding: 14px 16px; font-family: var(--font-heading); }
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: rgba(var(--primary-rgb), 0.03); }

/* Pick card (best-bras-for-X buying guides) */
.pick-card { display: grid; grid-template-columns: 160px 1fr; gap: 22px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 18px; align-items: center; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.pick-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(var(--primary-rgb), 0.25); }
.pick-card .pick-img-wrap { width: 160px; height: 160px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; background: rgba(var(--primary-rgb), 0.05); border: 1px solid var(--color-border); }
.pick-card img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.pick-rank { display: inline-flex; align-items: center; gap: 4px; background: var(--color-accent); color: #fff; font-weight: 700; font-size: 11.5px; letter-spacing: 0.02em; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.pick-card h4 { margin-bottom: 8px; font-size: 18px; line-height: 1.3; }
.pick-card p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 14px; line-height: 1.55; }
@media (max-width: 560px) { .pick-card { grid-template-columns: 1fr; text-align: center; padding: 20px; } .pick-card .pick-img-wrap { width: 150px; height: 150px; margin: 0 auto; } }

/* Related links */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related-link { display: block; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius); font-weight: 700; font-size: 14px; transition: all 0.2s; }
.related-link:hover { border-color: var(--color-primary); background: rgba(var(--primary-rgb), 0.04); }

/* =====================
   EDITORIAL BITS (Mode B touches — kicker + manifesto, used sparingly)
   ===================== */
.ed-kicker { display: inline-block; font-family: 'Courier New', monospace; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 20px; }
.manifesto-section { padding: var(--spacing-2xl) 0; background: var(--color-surface); }
.manifesto-list { max-width: 720px; margin: 0 auto; }
.manifesto-item { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--color-border); opacity: 0.35; transition: opacity 0.4s ease; }
.manifesto-item:first-child { border-top: 1px solid var(--color-border); }
.manifesto-item.in-view { opacity: 1; }
.manifesto-number { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--color-primary); letter-spacing: 0.06em; padding-top: 6px; }
.manifesto-body h3 { font-size: clamp(20px, 3vw, 28px); font-weight: 700; margin-bottom: 12px; }
.manifesto-body p { color: var(--color-text-muted); line-height: 1.7; margin: 0; }
@media (prefers-reduced-motion: reduce) { .manifesto-item { opacity: 1; } }

/* =====================
   CTA SECTION
   ===================== */
.cta-section { background: var(--color-primary); color: #fff; text-align: center; padding: var(--spacing-xl) 0; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 560px; margin: 0 auto var(--spacing-md); }
.cta-section .btn-primary { background: #fff; color: var(--color-primary); }
.cta-section .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* =====================
   FAQ (details/summary — zero JS)
   ===================== */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; gap: 16px; }
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron { font-size: 22px; color: var(--color-primary); flex-shrink: 0; transition: transform 0.2s ease; font-weight: 400; }
details[open] .faq-chevron, .faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; color: var(--color-text-muted); line-height: 1.7; }
.faq-answer p { margin: 0; }
/* Legacy JS-toggled variant (used by bsc_faq_accordion) */
.faq-item .faq-answer { display: none; }
.faq-item.open .faq-answer { display: block; padding-top: 4px; }
.faq-icon { font-size: 20px; color: var(--color-primary); transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* =====================
   BREADCRUMB
   ===================== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-muted); margin-bottom: var(--spacing-md); flex-wrap: wrap; }
.breadcrumb a { color: var(--color-primary); }
.breadcrumb span { color: var(--color-text-muted); }

/* =====================
   FOOTER
   ===================== */
.site-footer { background: #16232B; color: rgba(255,255,255,0.8); padding: var(--spacing-xl) 0 var(--spacing-md); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--spacing-lg); padding-bottom: var(--spacing-lg); border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: var(--spacing-md); }
.footer-brand .site-logo { color: #fff; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 14px; opacity: 0.7; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: 0.6; flex-wrap: wrap; gap: 8px; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.footer-disclaimer { font-size: 12px; opacity: 0.55; max-width: var(--container); margin: 0 auto 16px; padding: 0 24px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================
   404
   ===================== */
.error-404 { text-align: center; padding: var(--spacing-2xl) 0; }
.error-404 .code { font-size: 100px; font-weight: 900; color: var(--color-primary); line-height: 1; }

/* =====================
   SCHEMA (hidden)
   ===================== */
.schema-hidden { display: none !important; }

/* =====================
   MOBILE REFINEMENTS
   ===================== */
@media (max-width: 768px) {
  :root { --spacing-lg: 32px; --spacing-xl: 48px; --spacing-2xl: 64px; }
  .container, .container-sm, .container-article { padding: 0 18px; }
  .hero-inner { padding: 0 18px; }
  .category-grid, .tool-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
  .why-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
  .article-body { font-size: 17px; }
  .author-box { flex-direction: column; text-align: center; }
  .calc-form-grid { grid-template-columns: 1fr 1fr; }
  .compare-table-wrap::after { content: "← swipe to see more →"; display: block; text-align: center; font-size: 12px; color: var(--color-text-muted); padding: 6px 0 2px; }
}
@media (max-width: 380px) {
  .container, .container-sm, .container-article, .hero-inner { padding: 0 14px; }
  .hero-title { font-size: 32px !important; }
  .stat-number { font-size: 30px; }
  .stats-inner { gap: 14px; }
  .btn-lg { padding: 14px 24px; font-size: 16px; }
  .calc-form-grid { grid-template-columns: 1fr; }
}

.article-body, .faq-answer, .direct-answer { overflow-wrap: anywhere; }
