/* ==========================================================================
   Resources pages: research hub, blog, articles, engineering, newsroom,
   reports & guides, AEO report / guide, Flowgen Index, research articles
   ========================================================================== */

/* Hub scaffolding */
.page-hero .hero-cta { flex-wrap: wrap; }
.hub-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px dashed var(--line-dash); border-bottom: 1px dashed var(--line-dash); margin-bottom: 32px; }
.hub-bar .pill-tabs { padding: 0; border: 0; }
.hub-count { font-size: 13px; color: var(--fg-3); }
.hub-section { padding-bottom: 96px; }
.hub-section + .hub-section { border-top: 1px dashed var(--line-dash); padding-top: 64px; }
.hub-section .section-head { padding-top: 0; }

/* Research hub cards (reuses .rcard from styles.css) */
.research-grid--hub { padding-bottom: 8px; }
.rcard .rmeta { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.rcard[hidden] { display: none; }
.featured-research { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px 0; border-top: 1px dashed var(--line-dash); border-bottom: 1px dashed var(--line-dash); margin-bottom: 48px; }
.featured-research .rcard-sheet { max-width: 360px; }
.featured-research .kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.featured-research h2 { font-size: 34px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin-top: 12px; }
.featured-research blockquote { margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--green); color: var(--fg-2); font-size: 16px; }
.featured-research .byline { margin-top: 18px; color: var(--fg-3); font-size: 14px; }
.featured-research .btn { margin-top: 22px; }

/* Post cards additions */
.post-card .meta { display: flex; gap: 10px; align-items: center; margin-top: 10px; color: var(--fg-3); font-size: 13px; flex-wrap: wrap; }
.post-card .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-4); }
.post-card .thumb { position: relative; overflow: hidden; }
.post-card .thumb::after { content: ""; position: absolute; inset: auto 14% -30% 14%; height: 70%; border-radius: 10px 10px 0 0; background: hsl(var(--hue, 200) 60% 50% / .35); border: 1px solid rgba(255,255,255,.12); }
.post-card .thumb.thumb--news::after { display: none; }
.post-card .thumb .src { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; color: rgba(255,255,255,.85); }
.post-card[hidden] { display: none; }
.post-card .excerpt { margin-top: 8px; color: var(--fg-2); font-size: 14px; line-height: 1.5; }

/* Featured blog post */
.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-1); margin-bottom: 32px; }
.featured-post .thumb { min-height: 320px; background: linear-gradient(135deg, hsl(var(--hue, 200) 30% 18%), hsl(calc(var(--hue, 200) + 40) 30% 10%)); position: relative; }
.featured-post .thumb::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 55%; border-radius: 10px 10px 0 0; background: hsl(var(--hue, 200) 60% 50% / .35); border: 1px solid rgba(255,255,255,.12); }
.featured-post .body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featured-post .tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); }
.featured-post h2 { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin-top: 12px; }
.featured-post p { color: var(--fg-2); margin-top: 14px; }
.featured-post .meta { margin-top: 18px; color: var(--fg-3); font-size: 13px; }

/* Newsletter band */
.newsletter { padding: 64px 0; border-top: 1px dashed var(--line-dash); }
.newsletter .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.newsletter h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.newsletter p { color: var(--fg-2); margin-top: 8px; }
.newsletter form { display: flex; gap: 8px; max-width: 460px; justify-self: end; width: 100%; }
.newsletter input { flex: 1; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-1); color: var(--fg); font: inherit; font-size: 14px; min-width: 0; }
.newsletter input:focus { outline: none; border-color: #555; }
.newsletter .card { width: 100%; max-width: 460px; justify-self: end; }

/* Newsroom */
.news-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 150px 1fr 110px; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-soft); transition: background .15s; }
.news-row:hover { background: rgba(255,255,255,.02); }
.news-row[hidden] { display: none; }
.news-row .src { font-weight: 600; font-size: 14px; color: var(--fg-2); }
.news-row .src.is-featured { color: var(--green); }
.news-row h3 { font-size: 16px; font-weight: 500; line-height: 1.35; }
.news-row time { color: var(--fg-3); font-size: 13px; text-align: right; }
.news-row .kind { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); margin-top: 4px; display: block; }
.press-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.press-box .card a { color: var(--fg); text-decoration: underline; }

/* Reports & guides */
.report-card { display: grid; grid-template-columns: 180px 1fr; gap: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); overflow: hidden; transition: border-color .15s; }
.report-card:hover { border-color: #3a3a3a; }
.report-card[hidden] { display: none; }
.report-cover { background: linear-gradient(160deg, hsl(var(--hue, 200) 30% 20%), hsl(calc(var(--hue, 200) + 40) 30% 8%)); padding: 20px; display: flex; align-items: flex-end; min-height: 200px; }
.report-cover span { font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.2; color: #fff; }
.report-card .body { padding: 22px 22px 22px 0; }
.report-card .tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); }
.report-card h3 { font-size: 18px; font-weight: 500; margin-top: 8px; line-height: 1.3; }
.report-card p { color: var(--fg-2); margin-top: 8px; font-size: 14px; }
.report-card small { display: block; margin-top: 10px; color: var(--fg-3); }
.report-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 96px; }
.report-list .report-card--wide { grid-column: 1 / -1; grid-template-columns: 280px 1fr; }

/* AEO Report page */
.aeo-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 80px 0 64px; }
.aeo-hero h1 { font-size: 52px; font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; }
.aeo-hero > div > p { color: var(--fg-2); font-size: 17px; margin-top: 18px; max-width: 520px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; font-size: 14px; color: var(--fg-2); }
.check-list li { display: flex; gap: 8px; align-items: center; }
.check-list li::before { content: "✓"; color: var(--green); }
.form-card { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); padding: 28px; }
.form-card h2 { font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.form-card > p { color: var(--fg-3); font-size: 13px; margin-bottom: 18px; }
.form-card .form { max-width: none; }
.form-card .btn { width: 100%; margin-top: 4px; }
.form-card .fine { font-size: 12px; color: var(--fg-4); margin-top: 8px; }
.engine-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.engine-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--fg-2); background: var(--bg-2); }
.engine-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.report-preview { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); padding: 20px; display: grid; gap: 14px; }
.report-preview .rp-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--fg-3); }
.report-preview .rp-score { display: flex; align-items: baseline; gap: 8px; }
.report-preview .rp-score strong { font-size: 44px; font-weight: 500; letter-spacing: -0.03em; }
.report-preview .rp-score span { color: var(--green); font-size: 13px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps .card strong { display: block; font-size: 12px; color: var(--fg-3); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }

/* AEO Guide */
.guide-authors { display: flex; gap: 16px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.author-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.author-chip i { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, hsl(var(--hue, 200) 60% 50%), hsl(calc(var(--hue, 200) + 60) 60% 35%)); }
.author-chip small { display: block; color: var(--fg-3); font-size: 11px; }
.author-chip b { font-weight: 500; display: block; }
.chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 32px; }
.chapter { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); padding: 24px; display: grid; grid-template-columns: 56px 1fr; gap: 16px; transition: border-color .15s; }
.chapter:hover { border-color: #3a3a3a; }
.chapter .num { font-size: 32px; font-weight: 500; letter-spacing: -0.03em; color: var(--fg-4); line-height: 1; }
.chapter h3 { font-size: 18px; font-weight: 500; }
.chapter p { color: var(--fg-2); margin-top: 8px; font-size: 14px; }
.chapter ul { margin-top: 12px; display: grid; gap: 4px; font-size: 13px; color: var(--fg-3); }
.chapter li::before { content: "– "; }
.guide-body { max-width: 760px; margin: 0 auto; padding: 24px 0 64px; }
.guide-body .faq { padding-top: 0; }
.chapter-panel h2 { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.chapter-panel p { color: var(--fg-2); line-height: 1.7; font-size: 16px; }
.chapter-panel p + p { margin-top: 14px; }
.chapter-panel h3 { font-size: 18px; font-weight: 500; margin: 26px 0 8px; }
.chapter-panel ul { list-style: disc; padding-left: 20px; color: var(--fg-2); display: grid; gap: 6px; margin-top: 8px; }
.chapter-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px dashed var(--line-dash); }

/* Flowgen Index */
.index-controls { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.index-controls input { padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-1); color: var(--fg); font: inherit; font-size: 14px; width: 240px; max-width: 100%; }
.index-controls input:focus { outline: none; border-color: #555; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); }
.table-wrap .table th { white-space: nowrap; cursor: pointer; user-select: none; }
.table-wrap .table th:hover { color: var(--fg); }
.table-wrap .table th .sort { font-size: 10px; margin-left: 4px; color: var(--fg-4); }
.table-wrap .table th.is-sorted { color: var(--fg); }
.table-wrap .table tr[hidden] { display: none; }
.table .rank { color: var(--fg-3); width: 48px; }
.table .brand { font-weight: 500; display: flex; align-items: center; gap: 10px; }
.table .brand i { width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, hsl(var(--hue, 200) 60% 50%), hsl(calc(var(--hue, 200) + 60) 60% 35%)); flex: none; }
.table .bar { display: inline-block; width: 90px; height: 6px; border-radius: 3px; background: var(--bg-3); vertical-align: middle; margin-right: 8px; position: relative; overflow: hidden; }
.table .bar::after { content: ""; position: absolute; inset: 0; width: var(--p); background: var(--fg); border-radius: 3px; }
.table .delta { font-size: 13px; }
.table .delta.up { color: var(--green); }
.table .delta.down { color: var(--red); }
.table .delta.flat { color: var(--fg-3); }
.table-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; color: var(--fg-3); font-size: 13px; flex-wrap: wrap; gap: 8px; }
.index-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.index-features .card .card-visual { display: flex; align-items: flex-end; gap: 6px; padding: 16px; }
.index-features .card .card-visual b { flex: 1; background: var(--bg-4); border-radius: 4px 4px 0 0; height: var(--h); }
.index-features .card .card-visual b.hi { background: var(--green); }
.index-features .card .card-visual.heat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; align-items: stretch; }
.index-features .card .card-visual.heat b { height: auto; border-radius: 4px; background: hsl(160 90% 50% / var(--a)); }
.index-features .card .card-visual.cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.index-features .card .card-visual.cloud b { flex: none; height: auto; background: var(--bg-3); padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 400; color: var(--fg-2); border: 1px solid var(--line); }
.index-cta-form { display: flex; gap: 8px; max-width: 520px; margin: 24px auto 0; }
.index-cta-form input, .index-cta-form select { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-1); color: var(--fg); font: inherit; font-size: 14px; }

/* Articles (research posts) */
.article-head { padding: 64px 0 0; max-width: 820px; margin: 0 auto; text-align: left; }
.article-head .eyebrow { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 18px; }
.article-head h1 { font-size: 48px; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.article-head .lede { margin-top: 18px; color: var(--fg-2); font-size: 18px; line-height: 1.55; }
.article-head .article-meta { flex-wrap: wrap; }
.article-head .article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-4); }
.article-hero-img { position: relative; overflow: hidden; }
.article-hero-img::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 60%; border-radius: 12px 12px 0 0; background: hsl(var(--hue, 200) 60% 50% / .3); border: 1px solid rgba(255,255,255,.12); }
.article-hero-img .caption { position: absolute; left: 24px; bottom: 20px; z-index: 1; font-family: Georgia, "Times New Roman", serif; font-size: clamp(20px, 3vw, 34px); color: #fff; max-width: 60%; line-height: 1.15; }
.article-body { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; justify-content: center; padding: 48px 0 80px; }
.article-body .prose { margin: 0; padding: 0; max-width: 720px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: 13px; }
.toc strong { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 1px solid var(--line); color: var(--fg-3); line-height: 1.35; }
.toc a:hover { color: var(--fg); border-color: var(--fg-2); }
.toc .share { margin-top: 22px; display: flex; gap: 8px; }
.toc .share a { padding: 0; border: 0; }
.prose h2 { scroll-margin-top: 90px; }
.prose h3 { scroll-margin-top: 90px; }
.prose ol { padding-left: 20px; margin: 12px 0; display: grid; gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 18px 0; }
.prose th { text-align: left; font-weight: 500; color: var(--fg-3); padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); color: var(--fg); }
.prose td:first-child { color: var(--fg-2); }
.prose strong { color: var(--fg); font-weight: 500; }
.prose blockquote { margin: 20px 0; padding: 14px 20px; border-left: 2px solid var(--green); background: var(--bg-1); border-radius: 0 10px 10px 0; color: var(--fg); font-size: 17px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--bg-2); padding: 2px 6px; border-radius: 5px; color: var(--fg); }
.key-findings { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); padding: 22px 24px; margin: 28px 0; }
.key-findings h2 { margin: 0 0 12px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.key-findings ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; color: var(--fg); }
.key-findings li { display: flex; gap: 10px; }
.key-findings li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-top: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.stat-grid div { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: var(--bg-1); }
.stat-grid strong { display: block; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; color: var(--fg); }
.stat-grid span { font-size: 13px; color: var(--fg-3); }
.stat-grid--2 { grid-template-columns: 1fr 1fr; }
.stat-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Charts (CSS / SVG mocks) */
.chart { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); padding: 20px; margin: 24px 0; font-size: 13px; }
.chart .chart-title { font-weight: 500; color: var(--fg); font-size: 14px; }
.chart .chart-sub { color: var(--fg-3); font-size: 12px; margin-top: 2px; }
.chart .chart-src { color: var(--fg-4); font-size: 11px; margin-top: 12px; }
.chart svg { width: 100%; height: auto; margin-top: 14px; }
.chart svg text { font-family: var(--font); font-size: 11px; fill: var(--fg-3); }
.chart svg .grid { stroke: var(--line); stroke-dasharray: 3 4; }
.chart svg .axis { stroke: var(--line); }
.hbars { display: grid; gap: 10px; margin-top: 16px; }
.hbars li { display: grid; grid-template-columns: 170px 1fr 56px; gap: 12px; align-items: center; color: var(--fg-2); }
.hbars li b { height: 10px; border-radius: 5px; background: var(--bg-3); position: relative; overflow: hidden; }
.hbars li b::after { content: ""; position: absolute; inset: 0; width: var(--p); background: var(--c, var(--fg)); border-radius: 5px; }
.hbars li em { font-style: normal; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.hbars--stack li b { display: flex; background: var(--bg-3); }
.hbars--stack li b::after { display: none; }
.hbars--stack li b i { display: block; height: 100%; width: var(--w); background: var(--c); }
.hbars--stack li b i + i { border-left: 1px solid #000; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; color: var(--fg-3); font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--c); }
.vbars { display: flex; align-items: flex-end; gap: 10px; height: 180px; margin-top: 18px; padding-bottom: 24px; position: relative; border-bottom: 1px solid var(--line); }
.vbars > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; min-width: 0; }
.vbars b { width: 100%; max-width: 48px; background: var(--c, var(--fg)); border-radius: 4px 4px 0 0; height: var(--h); }
.vbars em { position: absolute; bottom: -22px; font-style: normal; font-size: 11px; color: var(--fg-3); white-space: nowrap; }
.vbars small { font-size: 11px; color: var(--fg); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.vbars--pair > div { flex-direction: row; align-items: flex-end; gap: 4px; }
.vbars--pair b { max-width: 28px; }
.vbars--pair > div > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.heat { width: 100%; border-collapse: separate; border-spacing: 4px; margin-top: 14px; font-size: 12px; }
.heat th { font-weight: 400; color: var(--fg-3); padding: 4px; text-align: center; }
.heat th:first-child, .heat td:first-child { text-align: left; color: var(--fg-2); }
.heat td { text-align: center; padding: 10px 6px; border-radius: 6px; background: hsl(var(--hh, 160) 80% 50% / var(--a, .1)); color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
.timeline div { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: var(--bg-1); }
.timeline strong { display: block; color: var(--fg); font-size: 13px; }
.timeline em { display: block; font-style: normal; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--fg); margin: 6px 0; }
.timeline span { font-size: 12px; color: var(--fg-3); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.compare div { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: var(--bg-1); font-size: 14px; }
.compare strong { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.compare .bad strong { color: var(--red); }
.compare .good strong { color: var(--green); }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 20px 0; align-items: stretch; }
.flow div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--bg-1); font-size: 12px; color: var(--fg-2); position: relative; }
.flow div strong { display: block; color: var(--fg); font-size: 13px; margin-bottom: 4px; }
.flow div + div::before { content: "→"; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); color: var(--fg-4); font-size: 12px; }
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.flow--4 div + div::before { display: none; }
.flow div { min-width: 0; overflow-wrap: anywhere; }
.related { padding: 64px 0 32px; border-top: 1px dashed var(--line-dash); }
.related .section-head { padding-top: 0; }
.related .list-grid { padding-bottom: 0; }
.author-box { display: flex; gap: 14px; align-items: center; margin-top: 40px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); }
.author-box i { width: 44px; height: 44px; border-radius: 50%; flex: none; background: linear-gradient(135deg, hsl(var(--hue, 200) 60% 50%), hsl(calc(var(--hue, 200) + 60) 60% 35%)); }
.author-box b { display: block; font-weight: 500; color: var(--fg); }
.author-box span { font-size: 13px; color: var(--fg-3); }

/* Responsive */
@media (max-width: 980px) {
  .featured-research, .featured-post, .newsletter .inner, .press-box, .report-list, .aeo-hero, .chapters, .steps, .index-features { grid-template-columns: 1fr; }
  .report-list .report-card--wide { grid-template-columns: 180px 1fr; }
  .article-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .toc strong { width: 100%; }
  .toc a { border: 0; padding: 4px 0; }
  .toc .share { width: 100%; }
  .newsletter form, .newsletter .card { justify-self: start; }
  .stat-grid--4 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow div + div::before { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .report-card, .report-list .report-card--wide { grid-template-columns: 1fr; }
  .report-card .body { padding: 0 20px 20px; }
  .report-cover { min-height: 140px; }
  .news-row { grid-template-columns: 1fr; gap: 6px; }
  .news-row time { text-align: left; }
  .article-head h1 { font-size: 34px; }
  .aeo-hero h1 { font-size: 36px; }
  .stat-grid, .stat-grid--4, .compare, .timeline, .flow { grid-template-columns: 1fr; }
  .hbars li { grid-template-columns: 110px 1fr 48px; }
  .featured-research h2 { font-size: 26px; }
  .featured-post h2 { font-size: 24px; }
  .featured-post .body { padding: 24px; }
  .check-list { grid-template-columns: 1fr; }
  .vbars em { font-size: 9px; }
  .heat { font-size: 11px; }
  .heat td { padding: 8px 3px; }
  .article-hero-img .caption { max-width: 80%; left: 16px; }
  .prose table, .chart .heat { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .chart, .key-findings, .stat-grid div { min-width: 0; }
  .index-cta-form { flex-direction: column; }
  .newsletter form { flex-direction: column; }
}
