/*
 * AIPro 2026 Resources: hub, articles, open-source picks, FAQ, glossary.
 * Figma nodes 38:866, 25:660, 38:1193, 40:1076, 40:1377, 41:1205, 41:1397, 42:1332, 42:1642, 66:1736.
 */

/* ---------- Shared bits ---------- */
.pill--soft { background: var(--color-soft-blue); color: var(--color-brand-blue); }
.pill--outline { border: 1px solid var(--color-border); background: var(--color-white); color: var(--color-text-secondary); }
.pill--navy { background: var(--color-brand-navy); color: var(--color-white); }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--color-brand-navy); color: var(--color-white); font-size: 15px; font-weight: 800; }
.avatar--lg { width: 40px; height: 40px; }
.avatar--xl { width: 52px; height: 52px; font-size: 18px; }
.sec-head--compact { margin-bottom: 40px; }
.sec-head--compact .section-title { font-size: 34px; line-height: 42px; letter-spacing: -.6px; }
.sec-head--compact .eyebrow-label { margin-bottom: 12px; }
.empty-state, .list-note { margin: 0; color: var(--color-text-secondary); font-size: 15px; }
.filter-empty { margin: 0; padding: 16px 20px; border-radius: 12px; background: var(--color-soft-blue); color: var(--color-text-secondary); font-size: 15px; }
.filter-pill { color: var(--color-text-secondary); font-weight: 600; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; line-height: 15px; white-space: nowrap; }
.status-pill::before { content: "●"; font-size: 9px; }
.status-pill--active { background: rgba(18, 183, 106, .12); color: var(--color-success); }
.status-pill--changed { background: rgba(8, 127, 245, .12); color: var(--color-brand-blue); }
.status-pill--archived { background: rgba(220, 229, 239, .6); color: var(--color-text-secondary); }

/* ---------- List pages ---------- */
.res-list { padding: 56px 0 96px; }
.res-list > .aipro-container { display: flex; flex-direction: column; gap: 40px; }
.list-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.list-search { display: flex; align-items: center; gap: 10px; width: 260px; height: 44px; padding: 0 16px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-soft-blue); color: var(--color-text-secondary); }
.list-search input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--color-text-primary); font-size: 14px; outline: none; }
.list-search:focus-within { border-color: var(--color-brand-blue); box-shadow: var(--focus-ring); }
.input--select { width: 180px; min-height: 42px; padding: 0 36px 0 14px; border-radius: 10px; background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235D6B7C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--color-text-secondary); font-size: 14px; font-weight: 500; appearance: none; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding-top: 8px; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-white); color: var(--color-text-primary); font-size: 14px; font-weight: 600; }
.pager .page-numbers.current { border-color: var(--color-brand-blue); background: var(--color-brand-blue); color: var(--color-white); }
.pager .page-numbers.prev, .pager .page-numbers.next { border: 0; background: none; color: var(--color-text-secondary); }
.pager .page-numbers.next { color: var(--color-brand-blue); }
.pager .page-numbers.dots { border: 0; }
.cta-panel--compact { padding: 40px 48px; }
.cta-panel--compact h2 { font-size: 28px; line-height: 34px; letter-spacing: -.4px; }
.cta-panel--compact p { font-size: 16px; line-height: 24px; }
.cta-panel--soft.cta-panel--row { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
.cta-panel--soft.cta-panel--row .cta-panel-text { align-items: flex-start; gap: 8px; }
.cta-panel--soft.cta-panel--row .button-row { padding-top: 0; }

/* ---------- Articles list ---------- */
.featured-article { position: relative; display: grid; grid-template-columns: 580px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-panel); background: var(--color-white); }
.featured-article-visual { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 380px; padding: 40px; background: var(--gradient-card-visual); }
.featured-article-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-badge { position: relative; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--color-white); color: var(--color-brand-blue); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.featured-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 24px; background: var(--color-white); color: var(--color-brand-blue); }
.featured-article-visual img ~ .featured-icon { display: none; }
.featured-article-content { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 44px 48px; }
.featured-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; color: var(--color-text-secondary); font-size: 13px; }
.featured-article .featured-article-title { margin: 0; font-size: 32px; font-weight: 700; line-height: 40px; letter-spacing: -.6px; }
.featured-article .featured-article-title a::after { content: ""; position: absolute; inset: 0; }
/* Home "latest articles": one large card, then the others (handoff: three articles, no empty slot). */
.hub-latest .featured-article { margin-bottom: var(--gap-card); }
/* Article end: call to action and external sources (launch articles 2026-10-25). */
.article-cta { margin-top: 40px; padding: 28px 32px; border-left: 4px solid var(--color-brand-blue); border-radius: 16px; background: var(--color-soft-blue); }
.article-cta h2 { margin: 0 0 8px; color: var(--color-brand-navy); font-size: 22px; line-height: 32px; }
.article-cta p { margin: 0; color: var(--color-text-secondary); line-height: 26px; }
.article-cta .service-links { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; }
.article-sources { margin-top: 32px; }
.article-sources h2 { margin: 0 0 10px; font-size: 18px; line-height: 28px; }
.article-sources ul { margin: 0; padding-left: 20px; color: var(--color-text-secondary); font-size: 15px; line-height: 24px; }
.article-sources a { color: var(--color-brand-blue); word-break: break-word; }
.prose .wp-block-table { overflow-x: auto; margin-inline: 0; }
.prose .wp-block-table table { min-width: 520px; }
.featured-article-excerpt { margin: 0; color: var(--color-text-secondary); font-size: 16px; line-height: 26px; }
.author-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding-top: 8px; color: var(--color-text-secondary); font-size: 14px; }
.author-name { color: var(--color-text-primary); font-weight: 600; }

.newsletter-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 56px; border: 1px solid var(--color-border); border-radius: var(--radius-panel); background: var(--color-soft-blue); }
.newsletter-text { display: flex; flex-direction: column; gap: 10px; }
.newsletter-text .eyebrow-label { margin: 0; letter-spacing: 2px; }
.newsletter-text h2 { margin: 0; font-size: 30px; font-weight: 700; line-height: 36px; letter-spacing: -.5px; }
.newsletter-text p { margin: 0; color: var(--color-text-secondary); font-size: 16px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; max-width: 470px; }
.newsletter-row { display: flex; gap: 10px; }
.newsletter-row .input { width: 320px; min-height: 50px; background: var(--color-white); }
.newsletter-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--color-text-secondary); font-size: 12px; line-height: 18px; }
.newsletter-consent input { flex-shrink: 0; margin-top: 2px; accent-color: var(--color-brand-blue); }
.newsletter-consent a { color: var(--color-brand-blue); text-decoration: underline; }
.newsletter-success { display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 18px; border-radius: 10px; background: rgba(18, 183, 106, .1); }
.newsletter-success p { margin: 0; color: var(--color-text-secondary); font-size: 14px; }
.newsletter-success .newsletter-success-title { margin-bottom: 2px; color: var(--color-brand-navy); font-size: 15px; font-weight: 700; }

/* ---------- Article detail ---------- */
.article-header { padding-top: 56px; background: linear-gradient(180deg, var(--color-soft-blue) 0%, var(--color-white) 100%); }
.article-header-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: min(100% - 2 * var(--page-gutter), 860px); margin-inline: auto; }
.article-header h1 { margin: 0; font-size: 48px; font-weight: 800; line-height: 58px; letter-spacing: -1px; }
.article-lead { max-width: 820px; margin: 0; color: var(--color-text-secondary); font-size: 19px; line-height: 30px; }
.author-row { display: flex; align-items: center; gap: 14px; padding-top: 4px; }
.author-row p { margin: 0; }
.author-row-name { color: var(--color-text-primary); font-size: 14px; font-weight: 600; }
.author-row-meta { color: var(--color-text-secondary); font-size: 13px; }
.article-cover { width: min(100% - 2 * var(--page-gutter), var(--container)); margin: 0 auto; padding-top: 24px; }
.article-cover img { width: 100%; height: 340px; border-radius: 24px; object-fit: cover; }
.article-body { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; width: min(100% - 2 * var(--page-gutter), var(--container)); margin: 0 auto; padding: 64px 0; }
.article-aside .page-toc ul { padding-top: 10px; }
.share { padding-top: 24px; }
.share-list { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin: 0; padding: 10px 0 0; list-style: none; }
.share-list a, .share-list button { display: inline-flex; padding: 6px 10px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-white); color: var(--color-text-secondary); font-size: 12px; font-weight: 500; line-height: 15px; }
.share-list a:hover, .share-list button:hover { border-color: var(--color-brand-blue); color: var(--color-brand-blue); }
.article-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.takeaways { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px; border: 1px solid rgba(8, 127, 245, .25); border-radius: var(--radius-card); background: var(--color-soft-blue); scroll-margin-top: 112px; }
.takeaways .eyebrow-label { margin: 0; }
.takeaways ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.takeaways li { position: relative; padding-left: 20px; color: var(--color-text-primary); font-size: 16px; font-weight: 500; line-height: 25px; }
.takeaways li::before { content: "•"; position: absolute; left: 0; color: var(--color-brand-blue); font-weight: 700; }
.prose { color: var(--color-text-primary); font-size: 18px; line-height: 31px; }
.prose > * { margin-block: 0 24px; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 8px; font-size: 28px; font-weight: 700; line-height: 36px; letter-spacing: -.4px; scroll-margin-top: 112px; }
.prose h3 { font-size: 21px; line-height: 29px; }
.prose a { color: var(--color-brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose pre, .prose .wp-block-code { overflow-x: auto; padding: 20px 24px; border-radius: 12px; background: var(--color-brand-navy); color: rgba(255, 255, 255, .9); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 22px; }
.prose pre code { background: none; color: inherit; }
.prose :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--color-soft-blue); font-size: .88em; }
.prose blockquote, .prose .is-style-aipro-tip { box-sizing: border-box; width: 100%; max-width: none; margin-left: 0; margin-right: 0; padding: 22px 24px; border: 1px solid var(--color-brand-blue); border-left-width: 4px; border-radius: 14px; background: var(--color-white); color: var(--color-text-secondary); font-size: 15px; line-height: 24px; }
.prose blockquote p, .prose .is-style-aipro-tip p { margin: 0; }
.prose blockquote p + p, .prose .is-style-aipro-tip p + p { margin-top: 6px; }
.prose blockquote strong:first-child, .prose .is-style-aipro-tip strong:first-child { display: block; margin-bottom: 6px; color: var(--color-brand-navy); }
.prose figure img { border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 23px; }
.prose th, .prose td { padding: 12px 16px; border: 1px solid var(--color-border); text-align: left; }
.prose th { background: var(--color-soft-blue); }
.glossary-link { text-decoration-style: solid; }
.article-faq { scroll-margin-top: 112px; }
.article-faq h2 { margin: 8px 0 24px; font-size: 28px; font-weight: 700; line-height: 36px; letter-spacing: -.4px; }
.qa-list { border-top: 1px solid var(--color-border); }
.qa-item { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--color-border); }
.qa-item h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 24px; }
.qa-item p { margin: 0; color: var(--color-text-secondary); font-size: 15px; line-height: 24px; }
.author-box { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 14px; background: var(--color-soft-blue); }
.author-box-text { flex: 1; }
.author-box-text p { margin: 0; color: var(--color-text-secondary); font-size: 14px; line-height: 22px; }
.author-box .author-box-title { margin-bottom: 4px; color: var(--color-brand-navy); font-size: 15px; font-weight: 700; }
.related-strip { padding: 80px 0 104px; }

/* ---------- Resource detail layout (pick, FAQ, term) ---------- */
.detail-hero, .pick-hero { padding: 56px 0; }
.detail-hero .page-hero-inner { gap: 18px; }
.detail-hero h1 { max-width: 900px; font-size: 46px; line-height: 56px; letter-spacing: -1px; }
.detail-meta { margin: 0; color: var(--color-text-secondary); font-size: 13px; font-weight: 500; }
.pick-hero-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.pick-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pick-title-row { display: flex; align-items: center; gap: 18px; }
.pick-title-row h1 { margin: 0 0 6px; font-size: 48px; line-height: 56px; letter-spacing: -1px; }
.pick-logo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; background: var(--color-brand-blue); color: var(--color-white); }
.pick-hero-actions { flex-shrink: 0; gap: 12px; }
.pick-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pick-hero .pick-tags { gap: 8px; }
.detail-body { padding: 48px 0 88px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 780px) 372px; justify-content: space-between; gap: 48px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.detail-main > h2 { margin: 6px 0 0; font-size: 24px; font-weight: 700; line-height: 32px; letter-spacing: -.3px; }
.pick-detail .detail-main { gap: 28px; }
.pick-detail .detail-main > h2 { font-size: 26px; line-height: 34px; letter-spacing: -.4px; }
.prose--detail { font-size: 17px; line-height: 29px; }
.prose--detail > * { margin-bottom: 18px; }
.detail-text { margin: 0; color: var(--color-text-primary); font-size: 17px; line-height: 29px; }
.detail-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 112px; }
.admin-bar .detail-side { top: 144px; }
.notice { display: flex; gap: 14px; padding: 18px 22px; border: 1px solid rgba(8, 127, 245, .3); border-radius: 12px; background: rgba(8, 127, 245, .06); }
.notice p { margin: 0; color: var(--color-text-primary); font-size: 14px; line-height: 22px; }
.notice .mini-label { margin-bottom: 4px; color: var(--color-brand-blue); }
.notice-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--color-brand-blue); color: var(--color-white); font-size: 12px; font-weight: 800; }
.notice--warning { border-color: rgba(192, 54, 44, .35); background: var(--color-error-soft); }
.notice--warning .mini-label { color: var(--color-error); }
.notice--warning .notice-icon { background: var(--color-error); }
.update-notes { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 22px; }
.update-notes time { font-weight: 600; }
.dot-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dot-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 26px; }
.dot-list li::before { content: "•"; position: absolute; left: 0; color: var(--color-brand-blue); font-weight: 700; }
.code-block { padding: 20px 24px; border-radius: 12px; background: var(--color-brand-navy); }
.code-block-label { margin: 0 0 6px; color: rgba(255, 255, 255, .5); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.code-block pre { margin: 0; overflow-x: auto; color: var(--color-white); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 22px; white-space: pre-wrap; word-break: break-word; }
.note-box { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 14px; background: var(--color-soft-blue); }
.note-box p { margin: 0; font-size: 15px; line-height: 24px; }
.data-table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 21px; }
.data-table th, .data-table td { padding: 14px 20px; text-align: left; vertical-align: top; }
.data-table thead th { background: var(--color-soft-blue); color: var(--color-text-secondary); font-weight: 600; }
.data-table tbody tr { border-top: 1px solid var(--color-border); }
.data-table tbody th { color: var(--color-brand-navy); font-weight: 600; }
.side-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius-card); }
.side-card p { margin: 0; }
.side-card--outline { padding: 20px 24px 8px; border: 1px solid var(--color-border); }
.side-card--outline .text-link { padding-bottom: 14px; }
.side-card--navy { background: var(--color-brand-navy); color: var(--color-white); }
.side-card--navy .mini-label { color: rgba(255, 255, 255, .55); }
.side-card--navy p:not(.mini-label):not(.side-card-title) { color: rgba(255, 255, 255, .75); font-size: 14px; line-height: 22px; }
.side-card--navy .button { align-self: flex-start; }
.side-card-title { font-size: 20px; font-weight: 700; line-height: 24px; }
.side-card-link-title { color: var(--color-brand-navy); font-size: 17px; font-weight: 700; line-height: 24px; }
.side-card--soft { padding: 20px 24px; background: var(--color-soft-blue); }
.fact-list { margin: 0; }
.fact-list div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.fact-list div:last-child { border-bottom: 0; }
.fact-list dt { color: var(--color-text-secondary); }
.fact-list dd { margin: 0; color: var(--color-brand-navy); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.fact-list a:hover { color: var(--color-brand-blue); }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-white); color: var(--color-brand-navy); font-size: 12px; font-weight: 600; line-height: 15px; }
.chip:hover { color: var(--color-brand-blue); }
.answer-box { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 26px; border-left: 4px solid var(--color-brand-blue); border-radius: var(--radius-card); background: var(--color-soft-blue); }
.answer-box .eyebrow-label { margin: 0; }
.answer-box p:not(.eyebrow-label) { margin: 0; color: var(--color-brand-navy); font-size: 18px; font-weight: 500; line-height: 30px; }
.answer-box--lg p:not(.eyebrow-label) { font-size: 19px; line-height: 31px; }
.link-rows { margin: 0; padding: 0; border-top: 1px solid var(--color-border); list-style: none; }
.link-rows li { border-bottom: 1px solid var(--color-border); }
.link-rows a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.link-row-text { display: flex; flex-direction: column; gap: 6px; }
.link-row-title { color: var(--color-brand-navy); font-size: 17px; font-weight: 600; line-height: 24px; }
.link-row-sub { color: var(--color-text-secondary); font-size: 14px; line-height: 22px; }
.link-row-arrow { flex-shrink: 0; color: var(--color-brand-blue); font-size: 18px; font-weight: 600; }
.link-rows a:hover .link-row-title { color: var(--color-brand-blue); }
.link-rows--compact a { padding: 16px 0; }
.link-rows--compact .link-row-title { font-size: 16px; }
.helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 8px; }
.helpful p { margin: 0; color: var(--color-text-secondary); font-size: 15px; font-weight: 500; }
.helpful button { padding: 8px 14px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-white); color: var(--color-text-primary); font-size: 14px; font-weight: 500; }
.helpful button:hover:not(:disabled) { border-color: var(--color-brand-blue); }
.helpful button:disabled { opacity: .5; cursor: default; }
.helpful .helpful-thanks { color: var(--color-success); }

/* ---------- Open Source Picks ---------- */
.status-filter { display: flex; gap: 8px; }
.policy-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 24px; border-radius: 12px; background: var(--color-soft-blue); }
.policy-note p { margin: 0; color: var(--color-text-primary); font-size: 14px; line-height: 22px; }
.policy-legend { display: flex; flex-shrink: 0; gap: 8px; }
.pick-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 24px 24px 22px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-white); transition: box-shadow .15s ease; }
.pick-card:hover { box-shadow: var(--shadow-card); }
.pick-card-body { display: flex; flex-direction: column; gap: 14px; }
.pick-card-top { display: flex; align-items: center; justify-content: space-between; }
.pick-card h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 24px; }
.pick-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pick-card p { margin: 0; color: var(--color-text-secondary); font-size: 14px; line-height: 22px; }
.pick-card-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--color-border); color: var(--color-text-secondary); font-size: 13px; }
.pick-card-foot .text-link { font-size: 13px; }

/* ---------- FAQ hub ---------- */
.faq-search { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 20px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-white); color: var(--color-text-secondary); }
.faq-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--color-text-primary); font-size: 15px; outline: none; }
.faq-search:focus-within { border-color: var(--color-brand-blue); box-shadow: var(--focus-ring); }
.topic-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.topic-layout .page-toc a { padding-top: 10px; padding-bottom: 10px; }
.topic-groups { display: flex; flex-direction: column; gap: 48px; }
.topic-group { scroll-margin-top: 112px; }
.topic-group h2 { margin: 0 0 12px; font-size: 24px; font-weight: 700; letter-spacing: -.3px; }

/* ---------- Glossary ---------- */
.az-bar ul { display: flex; justify-content: space-between; gap: 4px; margin: 0; padding: 8px; border-radius: 12px; background: var(--color-soft-blue); list-style: none; }
.az-bar a, .az-bar span { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.az-bar a { background: var(--color-white); color: var(--color-brand-navy); }
.az-bar a:hover { background: var(--color-brand-blue); color: var(--color-white); }
.az-bar span { color: rgba(93, 107, 124, .4); }
.letter-groups { display: flex; flex-direction: column; gap: 36px; }
.letter-group { display: flex; gap: 32px; padding-top: 28px; border-top: 1px solid var(--color-border); scroll-margin-top: 112px; }
.letter-group-letter { flex: 0 0 64px; margin: 0; color: var(--color-brand-blue); font-size: 40px; font-weight: 800; line-height: 1; }
.term-grid { display: grid; flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.term-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-white); transition: box-shadow .15s ease; }
.term-card:hover { box-shadow: var(--shadow-card); }
.term-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.term-card h3 { margin: 0; font-size: 20px; font-weight: 700; }
.term-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.term-card p { margin: 0; }
.term-card-full { color: var(--color-text-secondary); font-size: 13px; font-weight: 500; }
.term-card-def { color: var(--color-text-primary); font-size: 15px; line-height: 24px; }
.term-card .text-link { font-size: 13px; }
.term-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.detail-hero .term-title { font-size: 64px; line-height: 1.1; letter-spacing: -1.5px; }
.term-title-full { color: var(--color-text-secondary); font-size: 24px; font-weight: 600; letter-spacing: 0; }
.step-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.step-strip li { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 12px; background: var(--color-soft-blue); }
.step-strip p { margin: 0; color: var(--color-text-secondary); font-size: 14px; line-height: 21px; }
.step-strip .step-strip-title { color: var(--color-brand-navy); font-size: 15px; font-weight: 700; }
.step-strip .step-strip-title span { margin-right: 6px; }
.step-strip li.is-dark { background: var(--color-brand-navy); }
.step-strip li.is-dark p { color: rgba(255, 255, 255, .8); }
.step-strip li.is-dark .step-strip-title { color: var(--color-white); }
.example-box { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; border: 1px solid var(--color-border); border-radius: 14px; }
.example-box p { margin: 0; font-size: 15px; line-height: 25px; }
.example-box .example-box-title { color: var(--color-brand-navy); font-weight: 700; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 12px; }
.prev-next-link { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--color-border); border-radius: 12px; }
.prev-next-link span { color: var(--color-text-secondary); font-size: 12px; font-weight: 600; }
.prev-next-link strong { color: var(--color-brand-navy); font-size: 16px; }
.prev-next-link--next { align-items: flex-end; text-align: right; }
.prev-next-link:hover { border-color: var(--color-brand-blue); }
.reading-list { margin: 0; padding: 0; list-style: none; }
.reading-list li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.reading-list li:last-child { border-bottom: 0; }
.reading-type { color: var(--color-brand-blue); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.reading-list a { color: var(--color-brand-navy); font-size: 15px; font-weight: 600; line-height: 22px; }
.reading-list a:hover { color: var(--color-brand-blue); }

/* ---------- Resources hub ---------- */
.hub-sections { padding: 64px 0 24px; }
.hub-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-white); }
.hub-card h2 { margin: 0; font-size: 20px; font-weight: 700; }
.hub-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hub-card p { margin: 0; color: var(--color-text-secondary); font-size: 14px; line-height: 22px; }
.hub-card .text-link { margin-top: auto; }
.hub-card.is-highlighted { border-color: var(--color-brand-navy); background: var(--color-brand-navy); }
.hub-card.is-highlighted .icon-box { background: var(--color-brand-blue); color: var(--color-white); }
.hub-card.is-highlighted h2, .hub-card.is-highlighted .text-link { color: var(--color-white); }
.hub-card.is-highlighted p { color: rgba(255, 255, 255, .75); }
.hub-latest { padding: 64px 0; }
.hub-latest.sec--soft { padding: 80px 0; }
.hub-faq-glossary { padding: 88px 0 64px; }
.hub-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.hub-two-col .sec-head { margin-bottom: 20px; }
.az-mini { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.az-mini a, .az-mini span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--color-soft-blue); color: var(--color-brand-navy); font-size: 13px; font-weight: 600; }
.az-mini span { color: rgba(93, 107, 124, .4); }
.az-mini a:hover { background: var(--color-brand-blue); color: var(--color-white); }
.term-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 16px 0 0; list-style: none; }
.term-chips a { display: inline-flex; padding: 8px 14px; border: 1px solid var(--color-border); border-radius: 8px; color: var(--color-brand-navy); font-size: 14px; font-weight: 600; }
.term-chips a:hover { border-color: var(--color-brand-blue); color: var(--color-brand-blue); }

/* ---------- ≤1200px ---------- */
@media (max-width: 1200px) {
	.featured-article { grid-template-columns: 1fr; }
	.featured-article-visual { min-height: 240px; }
	.article-body { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
	.detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
	.pick-hero-grid { flex-direction: column; align-items: flex-start; }
}

/* ---------- Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
	.article-body { grid-template-columns: 1fr; }
	.article-aside .page-toc { display: block; position: static; }
	.article-aside .page-toc > ul, .article-aside .page-toc > .mini-label { display: none; }
	.article-aside .share { padding-top: 0; }
	.detail-layout { grid-template-columns: 1fr; }
	.detail-side { position: static; }
	.topic-layout { grid-template-columns: 1fr; }
	.topic-layout .page-toc { display: none; }
	.hub-two-col { grid-template-columns: 1fr; }
	.az-bar ul { flex-wrap: wrap; justify-content: flex-start; }
	.newsletter-panel { flex-direction: column; align-items: flex-start; }
	.policy-note { flex-direction: column; align-items: flex-start; }
	.term-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {
	.res-list { padding: 32px 0 64px; }
	.res-list > .aipro-container { gap: 28px; }
	.list-toolbar { flex-direction: column; align-items: stretch; }
	.list-toolbar .filter-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.list-toolbar .filter-pill { white-space: nowrap; }
	.list-search, .input--select { width: 100%; }
	.featured-article-visual { min-height: 180px; padding: 24px; }
	.featured-icon { width: 64px; height: 64px; border-radius: 16px; }
	.featured-icon .icon { width: 32px; height: 32px; }
	.featured-article-content { padding: 24px; }
	.featured-article .featured-article-title { font-size: 24px; line-height: 31px; }
	.newsletter-panel { padding: 28px 22px; }
	.newsletter-text h2 { font-size: 24px; line-height: 30px; }
	.newsletter-row { flex-direction: column; }
	.newsletter-row .input { width: 100%; }
	.article-header { padding-top: 32px; }
	.article-header h1 { font-size: 32px; line-height: 39px; letter-spacing: -.6px; }
	.article-lead { font-size: 17px; line-height: 27px; }
	.article-cover img { height: 200px; border-radius: 16px; }
	.article-body { padding: 40px 0 56px; }
	.prose { font-size: 17px; line-height: 29px; }
	.prose h2, .article-faq h2 { font-size: 24px; line-height: 31px; }
	.takeaways { padding: 20px; }
	.author-box { flex-direction: column; align-items: flex-start; }
	.related-strip { padding: 56px 0 72px; }
	.detail-hero, .pick-hero { padding: 36px 0 40px; }
	.detail-hero h1, .pick-title-row h1 { font-size: 32px; line-height: 39px; letter-spacing: -.6px; }
	.detail-hero .term-title { font-size: 44px; }
	.term-title-full { font-size: 18px; }
	.pick-title-row { align-items: flex-start; }
	.pick-logo { width: 48px; height: 48px; border-radius: 12px; }
	.pick-hero-actions, .pick-hero-actions .button { width: 100%; }
	.detail-body { padding: 32px 0 64px; }
	.answer-box { padding: 20px; }
	.answer-box p:not(.eyebrow-label), .answer-box--lg p:not(.eyebrow-label) { font-size: 17px; line-height: 28px; }
	.step-strip { grid-template-columns: 1fr; }
	.prev-next { grid-template-columns: 1fr; }
	.letter-group { flex-direction: column; gap: 16px; }
	.letter-group-letter { flex: none; font-size: 32px; }
	.az-bar a, .az-bar span { width: 32px; height: 32px; }
	.cta-panel--soft.cta-panel--row { flex-direction: column; align-items: flex-start; }
	.hub-sections { padding-top: 40px; }
	.hub-latest, .hub-latest.sec--soft { padding: 56px 0; }
	.hub-faq-glossary { padding: 56px 0 40px; }
	.data-table th, .data-table td { padding: 12px 14px; }
}
