/* Insights hub, article and author pages (builds on site.css tokens) */
.page-head { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); padding: 44px 0 36px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 54px); max-width: 22ch; }
.page-head .lede { font-size: 18px; color: var(--muted); max-width: 62ch; margin-top: 16px; line-height: 1.6; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline a { color: var(--navy); font-weight: 600; text-decoration: none; }

/* split layout */
.article-wrap { padding-top: 40px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; gap: 32px; } .side-col .sticky { position: static; } }
.side-col { display: grid; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.side-card.sticky { position: sticky; top: 92px; }
.side-card h3 { font-size: 22px; margin: 6px 0 8px; }
.side-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.side-card .btn { width: 100%; margin-bottom: 8px; }
.side-facts { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; color: var(--navy); }
.side-facts li { display: flex; gap: 8px; align-items: center; }
.side-facts .i { width: 16px; height: 16px; color: var(--teal); }
.side-links { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.side-links a { font-size: 14px; color: var(--navy); text-decoration: none; line-height: 1.4; display: block; }
.side-links a:hover { text-decoration: underline; }

/* prose */
.prose { font-size: 17.5px; line-height: 1.7; color: var(--ink); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 2em; margin-bottom: 0.5em; line-height: 1.15; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose p.lead { font-size: 20px; color: var(--navy); font-family: var(--display); line-height: 1.5; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--navy); }
.prose b { color: var(--navy); }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--sky); padding: 1px 6px; border-radius: 6px; color: var(--navy); }
.prose blockquote { margin: 1.4em 0; padding: 0 0 0 20px; border-left: 2px solid var(--rose); font-family: var(--display); font-size: 1.15em; color: var(--navy); font-style: italic; }
.prose table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.4em 0; }
.prose table.tbl th { text-align: left; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.prose table.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .tbl-wrap, .prose table { display: block; overflow-x: auto; }
.prose table.tbl { display: table; min-width: 100%; }
@media (max-width: 640px) { .prose table.tbl { display: block; overflow-x: auto; white-space: nowrap; } }
.art-photo { margin: 0 0 32px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.art-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.answer-box { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--rose); border-radius: 0 var(--r-lg) var(--r-lg) 0; padding: 22px 26px; margin: 1.6em 0 !important; }
.answer-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; }
.answer-box p { font-size: 17px; margin: 0; color: var(--navy); }
.art-video { margin: 2em 0; }
.yt-inline { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; background: var(--navy); box-shadow: var(--shadow); }
.yt-inline img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.yt-inline:hover img { transform: scale(1.02); }
.yt-inline .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); display: grid; place-items: center; color: var(--navy); }
.yt-inline .play .i { width: 28px; height: 28px; margin-left: 3px; }
.yt-inline iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.art-video figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.art-video figcaption b { color: var(--navy); }
.inline-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 30px 32px; margin: 2.4em 0 !important; }
.inline-cta .eyebrow { color: rgba(255, 255, 255, 0.6); margin-bottom: 8px; }
.inline-cta .eyebrow::before { background: var(--rose); }
.inline-cta h3 { color: #fff; font-size: 26px; margin: 0 0 8px; }
.inline-cta p { color: rgba(255, 255, 255, 0.78); font-size: 15px; margin: 0; }
.inline-cta-actions { display: grid; gap: 10px; }
.inline-cta .btn-primary { background: #fff; color: var(--navy); }
.inline-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
@media (max-width: 720px) { .inline-cta { grid-template-columns: 1fr; padding: 24px 20px; } }
.prose details.faq { border-top: 1px solid var(--line); margin: 0 !important; }
.prose details.faq:last-of-type { border-bottom: 1px solid var(--line); }
.prose details.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--navy); position: relative; }
.prose details.faq summary::-webkit-details-marker { display: none; }
.prose details.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: translateY(-70%) rotate(45deg); }
.prose details.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.prose details.faq p { margin: 0 0 18px; font-size: 16px; color: var(--muted); }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin-top: 3em !important; }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-box h3 { font-size: 24px; margin: 4px 0 8px; }
.author-box h3 a { text-decoration: none; }
.author-box p { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.author-box .row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
@media (max-width: 560px) { .author-box { grid-template-columns: 1fr; } }
.article-cta { border-radius: var(--r-lg); }
.article-cta .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-light:hover { border-color: #fff; }

/* cards + hub */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.sec-head .eyebrow { display: flex; width: 100%; margin-bottom: 8px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; gap: 14px; } }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.post:hover { border-color: var(--line-2); transform: translateY(-2px); }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); }
.post h3 { font-size: 20px; line-height: 1.25; }
.post p { font-size: 14px; color: var(--muted); flex: 1; }
.post-meta { font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .post { flex-direction: row; } .post img { width: 120px; aspect-ratio: 1; } .post p { display: none; } .post h3 { font-size: 16px; } .post-body { padding: 12px 14px; } }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }

/* search */
.hub-head { padding-bottom: 28px; }
.search { position: relative; max-width: 640px; margin-top: 26px; }
.search-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 4px 6px 4px 16px; box-shadow: var(--shadow); }
.search-box .i { color: var(--muted); width: 20px; height: 20px; }
.search-box input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 12px 0; background: transparent; color: var(--ink); min-width: 0; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box .clear { border: 0; background: var(--sky); color: var(--navy); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 18px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 30; overflow: hidden; }
.suggest a { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px 12px; text-decoration: none; color: inherit; border-top: 1px solid var(--line); }
.suggest a:first-child { border-top: 0; }
.suggest a:hover, .suggest a.active { background: var(--sky-2); }
.suggest img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; }
.suggest b { display: block; font-size: 14px; color: var(--navy); font-weight: 600; line-height: 1.3; }
.suggest small { color: var(--muted); font-size: 12px; }
.suggest mark { background: #fde8ef; color: var(--rose); padding: 0 1px; border-radius: 3px; }
.suggest .hint { padding: 10px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); background: var(--sky-2); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip-btn { border: 1px solid var(--line-2); background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.chip-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.no-results { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.no-results b { color: var(--navy); }

/* author page */
.author-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.author-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .author-grid { grid-template-columns: 1fr; gap: 24px; } .author-photo { max-width: 260px; } }
.prose blockquote.pull cite { display: block; font-style: normal; font-family: var(--body); font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose ul.facts { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.prose ul.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; color: var(--navy); margin: 0; }
.prose ul.facts .i { width: 18px; height: 18px; color: var(--teal); margin-top: 3px; flex: none; }
@media (max-width: 600px) { .prose ul.facts { grid-template-columns: 1fr; } }

/* buttons inside prose must not inherit link styling */
.prose a.btn { text-decoration: none; }
.prose a.btn-dark, .author-box a.btn-dark { color: #fff; }
.prose a.btn-dark:hover { color: #fff; }
