/* OfferHound — shared stylesheet */
/* Brand: charcoal #2D3436, amber #E17055, gold #FDCB6E, bg #FAFAF8, success #00B894 */

:root {
  --charcoal: #2D3436;
  --charcoal-light: #636e72;
  --amber: #E17055;
  --amber-dark: #c0392b;
  --gold: #FDCB6E;
  --bg: #FAFAF8;
  --white: #FFFFFF;
  --success: #00B894;
  --success-dark: #00a381;
  --border: #e8e4df;
  --shadow: 0 2px 16px rgba(45,52,54,0.08);
  --shadow-lg: 0 8px 40px rgba(45,52,54,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --nav-height: 68px;
  --max-width: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Skip to content link */
.skip-link { position: absolute; top: -100%; left: 0; background: var(--charcoal); color: white; padding: 12px 20px; z-index: 99999; font-weight: 600; border-radius: 0 0 8px 0; }
.skip-link:focus { top: 0; }

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--charcoal); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
p { font-size: 1.0625rem; line-height: 1.7; color: var(--charcoal-light); }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); line-height: 1.65; color: var(--charcoal-light); }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 128px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .container { padding: 0 16px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: all 0.2s ease; text-decoration: none; }
.btn-primary { background: var(--amber); color: var(--white); border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(225,112,85,0.35); }
.btn-secondary { background: transparent; color: var(--charcoal); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--white); }
.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-success:hover { background: var(--success-dark); border-color: var(--success-dark); transform: translateY(-1px); }
.btn-lg { padding: 18px 36px; font-size: 1.125rem; border-radius: var(--radius); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-ghost { background: rgba(255,255,255,0.15); color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }

/* Cards */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.card-sm { padding: 20px 24px; }
.card-hover { transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Badges */
.badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-amber { background: rgba(225,112,85,0.12); color: var(--amber); }
.badge-success { background: rgba(0,184,148,0.12); color: var(--success); }
.badge-charcoal { background: rgba(45,52,54,0.08); color: var(--charcoal); }
.badge-gold { background: rgba(253,203,110,0.2); color: #9a6f00; }

/* Tags */
.tag { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 0.78rem; font-weight: 500; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,250,248,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); height: var(--nav-height); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-text { font-size: 1.25rem; font-weight: 800; color: var(--charcoal); letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 6px; font-size: 0.9375rem; font-weight: 500; color: var(--charcoal-light); transition: color 0.15s, background 0.15s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--charcoal); background: rgba(45,52,54,0.06); }
.nav-cta { margin-left: 8px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all 0.2s; }
.nav-mobile { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px; z-index: 99; flex-direction: column; gap: 4px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; color: var(--charcoal); }
.nav-mobile a:hover { background: rgba(45,52,54,0.06); }
.nav-mobile .btn { margin-top: 8px; justify-content: center; }
.nav-spacer { height: var(--nav-height); }
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* Dropdown nav */
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); min-width: 200px; padding: 8px; z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 0.9rem; color: var(--charcoal-light); white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--bg); color: var(--charcoal); }

/* Footer */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }
.footer-logo-text { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Hero */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--charcoal) 0%, #3d4a4c 100%); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,0.8); }

/* URL input */
.url-form { display: flex; gap: 0; max-width: 640px; background: var(--white); border-radius: var(--radius); padding: 6px 6px 6px 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.url-input { flex: 1; border: none; outline: none; font-size: 1rem; color: var(--charcoal); background: transparent; min-width: 0; }
.url-input::placeholder { color: #aaa; }
.url-form button { flex-shrink: 0; }
@media (max-width: 600px) {
  .url-form { flex-direction: column; padding: 12px; gap: 8px; border-radius: var(--radius); }
  .url-form button { width: 100%; justify-content: center; }
}

/* Section headers */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .badge { margin-bottom: 12px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Steps */
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-number { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--amber); color: var(--white); font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.step h3 { margin-bottom: 6px; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { padding: 14px 20px; background: var(--charcoal); color: var(--white); font-size: 0.9rem; text-align: left; }
.compare-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; text-align: center; }
.compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.compare-table td:last-child { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: rgba(250,250,248,0.5); }
.check { color: var(--success); font-size: 1.2rem; }
.cross { color: #d63031; font-size: 1.2rem; }

/* Pricing card */
.pricing-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.pricing-header { background: var(--charcoal); color: var(--white); padding: 32px; text-align: center; }
.pricing-price { font-size: 3.5rem; font-weight: 800; line-height: 1; }
.pricing-price sup { font-size: 1.5rem; vertical-align: super; }
.pricing-original { text-decoration: line-through; opacity: 0.5; font-size: 1.1rem; margin-right: 8px; }
.pricing-body { background: var(--white); padding: 32px; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.pricing-feature::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Stats / numbers */
.stat { text-align: center; }
.stat-value { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: var(--charcoal); letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.95rem; color: var(--charcoal-light); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; font-size: 1.0625rem; font-weight: 600; color: var(--charcoal); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--charcoal-light); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; }
.faq-a p { color: var(--charcoal-light); }
.faq-item.open .faq-a { display: block; }

/* Testimonials */
.testimonial { background: var(--white); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); }
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-size: 1rem; color: var(--charcoal); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-detail { font-size: 0.8rem; color: var(--charcoal-light); }

/* Alert / notice */
.alert { padding: 16px 20px; border-radius: var(--radius-sm); font-size: 0.9375rem; display: flex; gap: 10px; align-items: flex-start; }
.alert-amber { background: rgba(225,112,85,0.1); border-left: 3px solid var(--amber); color: var(--charcoal); }
.alert-success { background: rgba(0,184,148,0.1); border-left: 3px solid var(--success); color: var(--charcoal); }
.alert-info { background: rgba(45,52,54,0.06); border-left: 3px solid var(--charcoal); color: var(--charcoal); }

/* Sample report styles */
.report-section { background: var(--white); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; box-shadow: var(--shadow); }
.report-score { display: flex; align-items: center; gap: 16px; }
.score-badge { font-size: 1.8rem; font-weight: 800; }
.score-bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 4px; }
.score-red { background: #d63031; }
.score-amber { background: var(--amber); }
.score-green { background: var(--success); }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--charcoal-light); padding: 16px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--charcoal-light); }
.breadcrumb a:hover { color: var(--charcoal); }
.breadcrumb-sep { opacity: 0.4; }

/* Page hero (non-homepage) */
.page-hero { background: var(--charcoal); color: var(--white); padding: 80px 0 60px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero .lead { color: rgba(255,255,255,0.75); }
.page-hero .badge { margin-bottom: 16px; }

/* Blog card */
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 24px; }
.blog-card-meta { font-size: 0.8rem; color: var(--charcoal-light); margin-bottom: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.blog-card-body h3 { margin-bottom: 8px; font-size: 1.1rem; }
.blog-card-body p { font-size: 0.9rem; }

/* Inline icon helpers */
.icon-check { color: var(--success); }
.icon-x { color: #d63031; }
.icon-warn { color: var(--amber); }

/* Highlight box */
.highlight-box { background: linear-gradient(135deg, rgba(225,112,85,0.08), rgba(253,203,110,0.08)); border: 1px solid rgba(225,112,85,0.2); border-radius: var(--radius); padding: 28px 32px; }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.data-table th { text-align: left; padding: 12px 16px; background: var(--charcoal); color: var(--white); font-size: 0.85rem; font-weight: 600; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(250,250,248,0.6); }

/* Utility */
.text-amber { color: var(--amber); }
.text-success { color: var(--success); }
.text-charcoal { color: var(--charcoal); }
.text-muted { color: var(--charcoal-light); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.gap-2 { gap: 8px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.hidden-mobile { }
@media (max-width: 640px) { .hidden-mobile { display: none; } }

/* Easter offer banner */
.offer-banner { background: linear-gradient(90deg, var(--amber), #FDCB6E); color: var(--white); text-align: center; padding: 10px 16px; font-size: 0.9rem; font-weight: 600; }
.offer-banner a { color: var(--white); text-decoration: underline; }

/* SDLT calculator */
.calc-input { width: 100%; border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 1rem; color: var(--charcoal); background: var(--white); transition: border-color 0.15s; }
.calc-input:focus { outline: none; border-color: var(--amber); }
.calc-result { background: var(--charcoal); color: var(--white); border-radius: var(--radius); padding: 28px; margin-top: 24px; }
.calc-result-main { font-size: 2.5rem; font-weight: 800; color: var(--gold); }
.calc-breakdown { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.calc-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* Report page hero numbers */
.verdict-card { background: var(--charcoal); color: var(--white); border-radius: var(--radius); padding: 32px; }
.verdict-main { font-size: 3rem; font-weight: 800; color: var(--amber); }
.verdict-label { font-size: 0.9rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }

/* Progress meter for sub-scores */
.sub-score { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sub-score:last-child { border-bottom: none; }
.sub-score-label { font-size: 0.9375rem; color: var(--charcoal); }
.sub-score-bar { flex: 1; margin: 0 16px; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.sub-score-fill { height: 100%; border-radius: 3px; background: var(--success); }
.sub-score-val { font-weight: 700; font-size: 0.9rem; min-width: 36px; text-align: right; }

/* === Blog post enhancements === */

/* Author bio card */
.author-bio { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); margin-top: 40px; }
.author-bio-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--amber); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.author-bio p { font-size: 0.9rem !important; line-height: 1.6 !important; margin-bottom: 0 !important; color: var(--charcoal-light) !important; }

/* Social share buttons */
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.share-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--charcoal-light); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 6px; font-size: 0.85rem; font-weight: 500; color: var(--charcoal); background: var(--white); border: 1px solid var(--border); cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s; font-family: var(--font); }
.share-btn:hover { border-color: var(--charcoal-light); background: var(--bg); color: var(--charcoal); }

/* Mid-article CTA */
.mid-cta { background: rgba(225,112,85,.04); border: 1px solid rgba(225,112,85,.18); border-radius: var(--radius-sm); padding: 13px 18px; margin: 32px 0; font-size: 0.9rem; color: var(--charcoal-light); line-height: 1.6; }
.mid-cta a { color: var(--amber); font-weight: 600; }

/* Desktop fixed TOC — only shown at very wide viewports */
.toc-desktop { display: none; }
@media (min-width: 1600px) {
  .toc-desktop { display: block; position: fixed; left: calc((100vw - 1200px) / 2 - 190px); top: 100px; width: 165px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; }
  .toc-desktop .toc-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; font-weight: 700; color: var(--charcoal-light); margin-bottom: 10px; }
  .toc-desktop ol { list-style: none; padding: 0; margin: 0 !important; }
  .toc-desktop li { margin-bottom: 2px !important; }
  .toc-desktop a { font-size: 0.78rem; line-height: 1.5; color: var(--charcoal-light); display: block; padding: 3px 8px; border-left: 2px solid transparent; transition: all .15s; text-decoration: none; }
  .toc-desktop a:hover, .toc-desktop a.toc-active { color: var(--amber); border-left-color: var(--amber); }
}

/* Mobile inline TOC */
.toc-mobile { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 28px; background: var(--white); overflow: hidden; }
.toc-mobile-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 16px; cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--charcoal); background: none; border: none; font-family: var(--font); }
.toc-mobile-toggle::after { content: '\25BE'; font-size: .75rem; transition: transform .2s; }
.toc-mobile-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.toc-mobile-list { padding: 4px 16px 12px; }
.toc-mobile-list ol { list-style: decimal; padding-left: 20px; margin: 0; }
.toc-mobile-list li { margin-bottom: 6px; }
.toc-mobile-list a { font-size: .875rem; color: var(--amber); text-decoration: none; }
.toc-mobile-list a:hover { text-decoration: underline; }
@media (min-width: 768px) { .toc-mobile { display: none; } }

/* Responsive post grid (overrides inline style) */
@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .post-grid > div:last-child { position: static !important; }
  .post-body { max-width: 100% !important; }
}

/* Responsive comparison table (blog post) */
@media (max-width: 768px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table tr { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; padding: 12px; }
  .compare-table td { border-bottom: none !important; padding: 4px 0 !important; font-size: .875rem; }
  .compare-table td:first-child { font-weight: 600; color: var(--charcoal) !important; padding-bottom: 8px !important; border-bottom: 1px solid var(--border) !important; margin-bottom: 4px; }
}
