/* =========================================
   PRISMA — PAGE-SPECIFIC STYLES
========================================= */

/* ===== HOME PAGE ===== */
.trending-bar {
  background: var(--color-navy-light);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}
.trending-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.trending-inner::-webkit-scrollbar { display: none; }
.trending-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-navy);
  white-space: nowrap;
  flex-shrink: 0;
}
.trending-item {
  font-size: 0.82rem;
  color: var(--color-gray-dark);
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  cursor: pointer;
}
.trending-item:hover { background: var(--color-navy); color: white; border-color: var(--color-navy); }

/* Home big feature */
.home-feature {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 32px;
  align-items: start;
}
.feature-main .card-image { aspect-ratio: 16/9; }
.feature-sidebar { display: flex; flex-direction: column; gap: 20px; }
.feature-mini { display: grid; grid-template-columns: 96px 1fr; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow var(--transition); }
.feature-mini:hover { box-shadow: var(--shadow-md); }
.feature-mini .mini-img { aspect-ratio: 1; overflow: hidden; }
.feature-mini .mini-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-mini .mini-body { padding: 12px 14px; }
.feature-mini .mini-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-emerald); margin-bottom: 4px; }
.feature-mini .mini-title { font-size: 0.85rem; font-weight: 600; color: var(--color-navy-deep); line-height: 1.35; }
.feature-mini .mini-date { font-size: 0.72rem; color: var(--color-text-muted); margin-top: 4px; }

/* Finance ticker */
.finance-ticker {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.ticker-header {
  background: var(--color-navy-deep);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ticker-header span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: white; }
.ticker-body { padding: 0; }
.ticker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--color-border);
}
.ticker-row:last-child { border-bottom: none; }
.ticker-name { font-size: 0.82rem; font-weight: 600; color: var(--color-navy-deep); }
.ticker-index { font-size: 0.72rem; color: var(--color-text-muted); margin-top: 1px; }
.ticker-val { font-size: 0.88rem; font-weight: 700; color: var(--color-navy-deep); text-align: right; }
.ticker-chg-pos { font-size: 0.72rem; font-weight: 600; color: var(--color-emerald); }
.ticker-chg-neg { font-size: 0.72rem; font-weight: 600; color: #c0392b; }

/* Home categories */
.category-strip {
  background: var(--color-bg-alt);
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.category-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.category-pill:hover { background: var(--color-navy); border-color: var(--color-navy); }
.category-pill:hover .cat-icon { background: rgba(255,255,255,0.15); }
.category-pill:hover .cat-icon svg { color: white; }
.category-pill:hover .cat-name { color: white; }
.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.cat-icon svg { width: 22px; height: 22px; color: var(--color-navy); transition: color var(--transition); }
.cat-name { font-size: 0.78rem; font-weight: 600; color: var(--color-navy-deep); text-align: center; }

/* ===== PODCAST PAGE ===== */
.podcast-hero {
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, #0f2d52 100%);
  padding: 60px 0;
  color: white;
}
.podcast-hero h1 { color: white; }
.podcast-hero p { color: rgba(255,255,255,0.65); }
.podcast-featured-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.podcast-featured-card .pf-image { aspect-ratio: auto; }
.podcast-featured-card .pf-image img { width: 100%; height: 100%; object-fit: cover; }
.podcast-featured-card .pf-body { padding: 32px 32px 32px 0; display: flex; flex-direction: column; justify-content: center; }
.episode-list { display: flex; flex-direction: column; gap: 16px; }

/* ===== COURSE / EDUCATION PAGE ===== */
.course-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.course-thumb { aspect-ratio: 16/9; overflow: hidden; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.course-card:hover .course-thumb img { transform: scale(1.04); }
.course-body { padding: 22px; }
.course-level {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  display: inline-block;
}
.level-beginner { background: #e6f4ef; color: var(--color-emerald); }
.level-intermediate { background: #fffbeb; color: #d97706; }
.level-advanced { background: var(--color-navy-light); color: var(--color-navy); }
.course-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.course-body p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.55; }
.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid var(--color-border);
}
.course-meta-item { font-size: 0.78rem; color: var(--color-text-muted); display: flex; align-items: center; gap: 5px; }
.course-meta-item svg { width: 13px; height: 13px; }

/* ===== AUTHORS PAGE ===== */
.author-profile-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}
.author-profile-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.author-profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid var(--color-navy-light);
}
.author-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-profile-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.author-profile-role { font-size: 0.78rem; font-weight: 600; color: var(--color-emerald); margin-bottom: 10px; }
.author-profile-bio { font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.55; margin-bottom: 16px; }
.author-social { display: flex; gap: 8px; justify-content: center; }
.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.social-link:hover { background: var(--color-navy); border-color: var(--color-navy); color: white; }
.social-link svg { width: 14px; height: 14px; }

/* ===== GLOSSARY PAGE ===== */
.glossary-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.glossary-letter {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--color-border);
  color: var(--color-gray-dark);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.glossary-letter:hover, .glossary-letter.active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: white;
}
.glossary-section { margin-bottom: 48px; }
.glossary-section-letter {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-navy-light);
}
.glossary-letter-header {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-navy);
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--color-navy-light);
}
.glossary-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.glossary-item:last-child { border-bottom: none; }
.glossary-term {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  margin-bottom: 7px;
  padding: 0;
  border-bottom: none;
}
.glossary-def {
  font-size: 0.9rem;
  color: var(--color-gray-dark);
  line-height: 1.75;
  margin-bottom: 8px;
}
.glossary-related {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.glossary-related a { color: var(--color-navy); text-decoration: underline; }

/* Alpha nav (glossary) */
.alpha-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.alpha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1.5px solid var(--color-border);
  color: var(--color-navy);
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
}
.alpha-btn:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: white;
}

/* Glossary calc helpers */
.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.calc-result-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.calc-result-label { font-size: 0.78rem; color: var(--color-text-muted); margin-bottom: 4px; }
.calc-result-value { font-size: 1.15rem; font-weight: 700; color: var(--color-navy-deep); }
.calc-disclaimer { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 10px; line-height: 1.5; }

/* Sidebar link list */
.sidebar-links { display: flex; flex-direction: column; gap: 4px; }
.sidebar-link {
  display: block;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: var(--color-gray-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-weight: 500;
  text-decoration: none;
}
.sidebar-link:hover { background: var(--color-navy-light); color: var(--color-navy); }
.sidebar-link.active { background: var(--color-navy-light); color: var(--color-navy); font-weight: 600; }

/* ===== TOOLS PAGE ===== */
.tool-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
}
.tool-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.tool-icon svg { width: 26px; height: 26px; color: var(--color-navy); }
.tool-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tool-card p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.55; margin-bottom: 20px; }
.calc-form { margin-top: 20px; }
.calc-result {
  background: var(--color-navy-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  display: none;
}
.calc-result.show { display: block; }

/* ===== POLICY PAGES ===== */
.policy-wrap { max-width: 820px; margin: 0 auto; }
.policy-content h2 {
  font-size: 1.35rem;
  color: var(--color-navy-deep);
  margin-top: 40px;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.policy-content h2:first-child { border-top: none; margin-top: 0; }
.policy-content h3 { font-size: 1.1rem; color: var(--color-navy); margin: 24px 0 10px; }
.policy-content p { font-size: 0.95rem; color: var(--color-gray-dark); line-height: 1.8; margin-bottom: 16px; }
.policy-content ul, .policy-content ol { padding-left: 22px; margin-bottom: 16px; }
.policy-content ul { list-style: disc; }
.policy-content ol { list-style: decimal; }
.policy-content li { font-size: 0.9rem; color: var(--color-gray-dark); line-height: 1.7; margin-bottom: 6px; }
.policy-content a { color: var(--color-navy); text-decoration: underline; }
.policy-meta {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 36px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.policy-toc {
  background: var(--color-navy-light);
  border: 1px solid rgba(26,58,107,0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 36px;
}
.policy-toc h4 { color: var(--color-navy); margin-bottom: 12px; font-size: 0.9rem; }
.policy-toc ol { padding-left: 20px; margin: 0; list-style: decimal; }
.policy-toc li { margin-bottom: 6px; }
.policy-toc li a { color: var(--color-navy); font-size: 0.875rem; text-decoration: underline; }

/* ===== THANK YOU PAGE ===== */
.thanks-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.thanks-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.thanks-icon {
  width: 72px;
  height: 72px;
  background: var(--color-emerald-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.thanks-icon svg { width: 36px; height: 36px; color: var(--color-emerald); }
.thanks-card h1 { font-size: 1.9rem; margin-bottom: 14px; }
.thanks-card p { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 28px; }

/* ===== REVIEWS PAGE ===== */
.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.reviewer-info { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1rem;
  flex-shrink: 0;
}
.reviewer-name { font-size: 0.9rem; font-weight: 600; color: var(--color-navy-deep); }
.reviewer-role { font-size: 0.78rem; color: var(--color-text-muted); }
.review-text { font-size: 0.9rem; color: var(--color-gray-dark); line-height: 1.7; font-style: italic; }

/* ===== ANALYTICS PAGE ===== */
.chart-placeholder {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.chart-placeholder canvas { display: block; }

.analytics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.analytics-metric {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.analytics-metric-value { font-size: 1.9rem; font-weight: 800; color: var(--color-navy-deep); line-height: 1; }
.analytics-metric-label { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 4px; }
.analytics-metric-change { font-size: 0.78rem; font-weight: 600; margin-top: 8px; }
.change-up { color: var(--color-emerald); }
.change-down { color: #c0392b; }

/* ===== PAGE HEADER VARIANTS ===== */
.page-hero-slim {
  background: var(--color-navy-deep);
  color: var(--color-white);
  padding: 48px 0;
}
.page-hero-slim h1 { color: var(--color-white); }
.page-hero-lead {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-top: 12px;
  max-width: 620px;
}
.page-header-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-top: 10px;
  max-width: 580px;
}

/* ===== ABOUT PAGE ===== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-intro-text {}
.about-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-intro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Value cards */
.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); }
.value-icon {
  width: 48px;
  height: 48px;
  background: var(--color-navy-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.value-icon svg { width: 24px; height: 24px; color: var(--color-navy); }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  padding-top: 4px;
}
.timeline-content h4 { font-size: 1rem; margin-bottom: 6px; color: var(--color-navy-deep); }
.timeline-content p { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; }

/* Methodology bar */
.methodology-bar {
  background: var(--color-navy-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.methodology-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.methodology-inner p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.55;
}
.methodology-inner strong { color: var(--color-navy-deep); }

/* ===== AUTHORS PAGE ===== */
.author-full-grid { display: flex; flex-direction: column; gap: 32px; }
.author-full-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
}
.afc-photo { overflow: hidden; }
.afc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.afc-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; }
.afc-header {}
.afc-header h2 { font-size: 1.35rem; margin-bottom: 4px; }
.afc-role { font-size: 0.85rem; font-weight: 500; color: var(--color-emerald); }
.afc-certs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cert-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--color-navy-light);
  color: var(--color-navy);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(26,58,107,0.15);
}
.afc-stats { display: flex; gap: 24px; }
.afc-stat { text-align: center; }
.afc-stat strong { display: block; font-size: 1.3rem; font-weight: 800; color: var(--color-navy-deep); line-height: 1; }
.afc-stat span { font-size: 0.72rem; color: var(--color-text-muted); margin-top: 3px; display: block; }

/* Author card compact (used in sidebars) */
.author-card { display: flex; align-items: center; gap: 12px; }
.author-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-info {}
.author-name { font-size: 0.875rem; font-weight: 600; color: var(--color-navy-deep); }
.author-role { font-size: 0.78rem; color: var(--color-text-muted); }
.author-bio { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; margin-top: 8px; }

/* Author list item */
.ali-body { flex: 1; min-width: 0; }
.ali-meta { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 4px; }

/* ===== ARTICLE LIST ===== */
.article-list { display: flex; flex-direction: column; gap: 0; }
.article-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background var(--transition);
}
.article-list-item:last-child { border-bottom: none; }
.article-list-item:hover { color: var(--color-navy); }
.article-list-item h4 { font-size: 0.95rem; color: var(--color-navy-deep); transition: color var(--transition); }
.article-list-item:hover h4 { color: var(--color-navy-mid); }

/* ===== FAQ PAGE ===== */
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.faq-nav {
  position: sticky;
  top: 88px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-nav-inner { padding: 8px; }
.faq-nav-link {
  display: block;
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gray-dark);
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
}
.faq-nav-link:hover, .faq-nav-link.active { background: var(--color-navy-light); color: var(--color-navy); }
.faq-main { display: flex; flex-direction: column; gap: 48px; }
.faq-section {}
.faq-section h2 { font-size: 1.25rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--color-border); }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item-card { padding: 0; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy-deep);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
  gap: 16px;
}
.faq-question:hover { background: var(--color-bg); }
.faq-question[aria-expanded="true"] { background: var(--color-navy-light); color: var(--color-navy); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
}
.faq-answer.open {
  max-height: 500px;
  padding: 16px 20px 20px;
}
.faq-answer p { font-size: 0.9rem; color: var(--color-gray-dark); line-height: 1.7; }
.faq-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.faq-cta-box {
  background: var(--color-navy-deep);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  color: white;
  margin-top: 48px;
}
.faq-cta-box h3 { color: white; margin-bottom: 12px; }
.faq-cta-box p { color: rgba(255,255,255,0.65); margin-bottom: 24px; }

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.contact-form-col {}
.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px;
}
.contact-info-col {}
.contact-info-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}
.contact-detail-list { display: flex; flex-direction: column; gap: 0; }
.contact-detail-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-detail-item:last-child { border-bottom: none; }
.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--color-navy-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 16px; height: 16px; color: var(--color-navy); }
.contact-detail-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: 3px; }
.contact-detail-val { font-size: 0.875rem; color: var(--color-navy-deep); font-weight: 500; }
.contact-detail-val a { color: var(--color-navy); }
.contact-detail-val a:hover { color: var(--color-emerald); }
.contact-response-note {
  background: var(--color-emerald-light);
  border: 1px solid rgba(45,122,95,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--color-emerald);
  font-weight: 500;
  margin-top: 20px;
}
.contact-topic-list { display: flex; flex-direction: column; gap: 12px; }
.contact-topic {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: all var(--transition);
  align-items: flex-start;
}
.contact-topic:hover { background: var(--color-navy-light); border-color: var(--color-navy); }
.contact-topic-link {}
.contact-topic-title { font-size: 0.9rem; font-weight: 600; color: var(--color-navy-deep); margin-bottom: 4px; }
.contact-topic-desc { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.5; }
.contact-submit-btn { width: 100%; margin-top: 8px; justify-content: center; }

/* ===== FORM ELEMENTS ===== */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--color-navy-deep); }
.form-optional { font-weight: 400; color: var(--color-text-muted); font-size: 0.8rem; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--color-navy); box-shadow: 0 0 0 3px rgba(26,58,107,0.08); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-checkbox-group { flex-direction: row; align-items: flex-start; gap: 10px; margin-top: 8px; }
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-gray-dark);
  cursor: pointer;
  line-height: 1.5;
}
.form-checkbox-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--color-navy); }

/* ===== NEWSLETTER STRIPE ===== */
.newsletter-stripe {
  background: var(--color-navy-deep);
  padding: 56px 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter-inner h2 { color: var(--color-white); margin-bottom: 8px; }
.newsletter-inner p { color: rgba(255,255,255,0.65); margin: 0; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form .form-input { max-width: 320px; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: white; }
.newsletter-form .form-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form .form-input:focus { border-color: rgba(255,255,255,0.5); }

/* ===== DATA TABLES ===== */
.data-table-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.data-table-header {
  padding: 16px 20px;
  background: var(--color-gray-bg);
  border-bottom: 1px solid var(--color-border);
}
.data-table-header h3 { font-size: 1rem; margin: 0; color: var(--color-navy-deep); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th {
  background: var(--color-navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 11px 16px;
  text-align: left;
}
.data-table td { padding: 11px 16px; border-bottom: 1px solid var(--color-border); color: var(--color-gray-dark); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--color-bg); }
.table-wrap { overflow-x: auto; }
.policy-table-wrap { overflow-x: auto; margin: 20px 0; }
.policy-table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.policy-table-wrap th { background: var(--color-navy-light); color: var(--color-navy-deep); padding: 10px 14px; text-align: left; font-weight: 600; font-size: 0.82rem; }
.policy-table-wrap td { padding: 10px 14px; border-bottom: 1px solid var(--color-border); color: var(--color-gray-dark); }

/* ===== BUDGETING PAGE ===== */
.method-cards { display: flex; flex-direction: column; gap: 20px; }
.method-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
}
.method-num {
  width: 44px;
  height: 44px;
  background: var(--color-navy);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}
.method-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.method-card p { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 14px; }
.method-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.method-pros-cons > div { font-size: 0.82rem; color: var(--color-gray-dark); line-height: 1.55; }

/* Budget bars */
.budget-bars { display: flex; flex-direction: column; gap: 12px; }
.budget-bar-item {}
.bb-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy-deep);
  margin-bottom: 5px;
}
.bb-desc { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 4px; }
.bb-bar {
  height: 10px;
  background: var(--color-gray-light);
  border-radius: 100px;
  overflow: hidden;
}
.bb-fill {
  height: 100%;
  background: var(--color-navy);
  border-radius: 100px;
  transition: width 0.6s ease;
}

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* App list */
.app-list { display: flex; flex-direction: column; gap: 0; }
.app-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}
.app-item:last-child { border-bottom: none; }
.app-item strong { color: var(--color-navy-deep); font-weight: 600; }
.app-item span { color: var(--color-text-muted); font-size: 0.82rem; }

/* ===== CALCULATOR RESULTS ===== */
.result-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.result-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: 8px; }
.result-value { font-size: 2rem; font-weight: 800; color: var(--color-navy-deep); line-height: 1; }
.result-note { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 8px; }
.result-breakdown { margin-top: 16px; }
.rb-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}
.rb-item:last-child { border-bottom: none; }
.rb-item span:first-child { color: var(--color-text-muted); }
.rb-item span:last-child { font-weight: 600; color: var(--color-navy-deep); }
.pos { color: var(--color-emerald) !important; }
.neg { color: #c0392b !important; }

/* ===== COURSES / GUIDES PAGE ===== */
.guide-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.guide-item:last-child { border-bottom: none; }
.guide-icon {
  width: 52px;
  height: 52px;
  background: var(--color-navy-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guide-icon svg { width: 24px; height: 24px; color: var(--color-navy); }
.guide-body {}
.guide-body h3 { font-size: 1rem; margin-bottom: 6px; }
.guide-body p { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; line-height: 1.6; }
.guide-meta { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 6px; }
.course-img { aspect-ratio: 16/9; overflow: hidden; }
.course-img img { width: 100%; height: 100%; object-fit: cover; }
.course-meta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 22px; border-top: 1px solid var(--color-border); }

/* ===== GLOSSARY PAGE ===== */
.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 40px;
  padding: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.alpha-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
  background: var(--color-navy-light);
  text-decoration: none;
  transition: all var(--transition);
}
.alpha-btn:hover { background: var(--color-navy); color: white; }
.glossary-section { margin-bottom: 48px; }
.glossary-letter-header {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  border-bottom: 2px solid var(--color-navy-light);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.glossary-entry {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.glossary-entry:last-child { border-bottom: none; }
.glossary-term { font-size: 1rem; font-weight: 700; color: var(--color-navy-deep); margin-bottom: 6px; }
.glossary-def { font-size: 0.875rem; color: var(--color-gray-dark); line-height: 1.7; }
.glossary-item { display: flex; flex-direction: column; gap: 4px; }
.glossary-related { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 8px; }
.glossary-related a { color: var(--color-navy); text-decoration: underline; }
.glossary-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ===== REVIEWS PAGE ===== */
.reviews-category { margin-bottom: 56px; }
.reviews-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
}
.reviews-cat-header h2 { font-size: 1.3rem; margin: 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.review-brand { font-size: 1.1rem; font-weight: 700; color: var(--color-navy-deep); }
.review-score {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}
.score-num { font-size: 1.5rem; font-weight: 800; color: var(--color-navy); }
.score-label { font-size: 0.78rem; color: var(--color-text-muted); }
.review-stars {
  display: flex;
  gap: 2px;
}
.star-filled { color: #f59e0b; width: 16px; height: 16px; }
.star-half { color: #f59e0b; width: 16px; height: 16px; opacity: 0.6; }
.star-empty { color: var(--color-gray-light); width: 16px; height: 16px; }
.review-stars svg { width: 16px; height: 16px; }
.review-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-pros { }
.review-cons { }
.review-aspect-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: 8px; }
.review-pros ul, .review-cons ul { padding-left: 16px; }
.review-pros li { list-style: disc; font-size: 0.82rem; color: var(--color-gray-dark); margin-bottom: 4px; color: var(--color-emerald); line-height: 1.5; }
.review-cons li { list-style: disc; font-size: 0.82rem; color: #c0392b; margin-bottom: 4px; line-height: 1.5; }
.review-verdict {
  font-size: 0.85rem;
  color: var(--color-gray-dark);
  line-height: 1.65;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  border-left: 3px solid var(--color-emerald);
}

/* ===== THANKS PAGE (extended) ===== */
.thanks-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.thanks-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.thanks-lead { font-size: 1rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 28px; }
.thanks-details {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.thanks-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.thanks-detail-item:last-child { border-bottom: none; }
.thanks-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--color-emerald-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.thanks-detail-icon svg { width: 16px; height: 16px; color: var(--color-emerald); }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== TOOLS PAGE (extended) ===== */
.tool-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
}
.tool-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.tool-header h2 { font-size: 1.15rem; margin: 0; }
.tool-body { padding: 28px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.calc-inputs { display: flex; flex-direction: column; gap: 16px; }
.tool-card-link { text-decoration: none; display: block; }
.tool-mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all var(--transition);
  text-decoration: none;
}
.tool-mini-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-navy); }
.tool-mini-icon {
  width: 40px;
  height: 40px;
  background: var(--color-navy-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tool-mini-icon svg { width: 20px; height: 20px; color: var(--color-navy); }
.tool-mini-card h4 { font-size: 0.9rem; margin-bottom: 2px; color: var(--color-navy-deep); }
.tool-mini-card p { font-size: 0.78rem; color: var(--color-text-muted); margin: 0; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--color-navy-deep);
  color: var(--color-white);
  padding: 48px 0;
}
.page-header h1 { color: var(--color-white); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 20px 0;
  z-index: 500;
  border-top: 2px solid var(--color-emerald);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.875rem; color: rgba(255,255,255,0.75); margin: 0; }
.cookie-btns { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 420px;
}
.search-bar .form-input {
  border: none;
  border-radius: 0;
  padding: 10px 14px;
  flex: 1;
}
.search-bar .form-input:focus { box-shadow: none; }
.search-bar button {
  padding: 10px 16px;
  background: var(--color-navy);
  color: white;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--color-navy-mid); }
.search-bar button svg { width: 16px; height: 16px; display: block; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 48px;
}
.page-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-dark);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.page-num:hover { background: var(--color-navy-light); color: var(--color-navy); border-color: var(--color-navy); }
.page-num.active { background: var(--color-navy); color: white; border-color: var(--color-navy); }

/* ===== FILTER TAG LEVEL ALIASES ===== */
.beginner { background: #e6f4ef; color: var(--color-emerald); }
.intermediate { background: #fffbeb; color: #d97706; }

/* ===== CHART CONTAINERS ===== */
.js-bar-chart,
.js-line-chart {
  width: 100%;
  display: block;
}

/* ===== MISC HELPERS ===== */
.bg-alt { background: var(--color-bg-alt); }
.text-right { text-align: right; }
.intro { font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.75; }
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--color-navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top svg { width: 18px; height: 18px; }
.info-box {
  background: var(--color-navy-light);
  border: 1px solid rgba(26,58,107,0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--color-navy-deep);
  line-height: 1.6;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { position: static; }
  .faq-nav-inner { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; }
  .faq-nav-link { display: inline-block; }
  .contact-layout { grid-template-columns: 1fr; }
  .author-full-card { grid-template-columns: 180px 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-intro-img { max-height: 320px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .home-feature { grid-template-columns: 1fr; }
  .podcast-featured-card { grid-template-columns: 1fr; }
  .podcast-featured-card .pf-image { aspect-ratio: 16/9; }
  .podcast-featured-card .pf-body { padding: 24px; }
  .analytics-grid { grid-template-columns: 1fr 1fr; }
  .thanks-card { padding: 36px 24px; }
  .author-full-card { grid-template-columns: 1fr; }
  .afc-photo { max-height: 220px; }
  .calc-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .method-card { grid-template-columns: 1fr; }
  .method-pros-cons { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .glossary-preview-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .analytics-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .afc-stats { flex-wrap: wrap; gap: 16px; }
  .glossary-preview-grid { grid-template-columns: 1fr; }
}
