/* Shared header/mast rules extracted from existing Cowen chrome. Cached once. */

/* clean17 */
/* Wordmark and header layout */
.mast .mast-in a.wordmark{font-size:24px!important;line-height:1.15!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;flex:1 0 100%!important;width:100%!important;max-width:100%!important;min-width:100%!important;display:block!important;order:1!important}
@media(min-width:720px){.mast .mast-in a.wordmark{font-size:30px!important}}
.mast .mast-in nav.nav{flex:1 1 auto!important;order:2!important;margin-top:0!important}
.mast .mast-in button[data-marginal]{flex:0 0 auto!important;order:3!important}
.mast .mast-in a.nb-hub{font-size:15px!important;font-weight:500!important;color:var(--fg-2)!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:3px!important;text-decoration-color:currentColor!important;padding:4px 0!important}
.mast .mast-in a.nb-hub:hover{color:var(--fg)!important}
@media(min-width:720px){.mast .mast-in a.nb-hub{font-size:16px!important}}
/* A1: Equal gap before Random button - match nav tab gaps */
@media(min-width:390px){.mast .mast-in{gap:10px clamp(16px,1.8vw,24px)!important}}
@media(min-width:1280px){.mast .mast-in{gap:10px 24px!important}}
/* A2: Tighten vertical space around header and search */
.mast .mast-in{padding-block:3px!important;min-height:auto!important}
.seek{padding-block:clamp(10px,1.4vw,16px) 2px!important;border-top:0!important;box-shadow:none!important}
.seek + .hh > .wrap{padding-top:clamp(12px,1.6vw,18px)!important}
/* A4: Remove double dividers - fix border stacking */
.seek-search{border-top:0!important}
.mast{border-bottom:1px solid var(--line)!important}
#questions .bq{border-top:1px solid var(--line)!important}
#questions .bq::before{display:none!important;border:0!important}
/* A5: Subtle focus on search - gold bottom border only */
.search:focus-within,.seek-search:focus-within{border-color:var(--accent)!important;border-bottom:2px solid var(--accent)!important;outline:0!important;box-shadow:none!important}
.search input:focus,.seek-search input:focus{outline:0!important;box-shadow:none!important}
/* D: Dark neutral backgrounds (not navy) */
#topics{background:#111113!important}
#questions{background:#111113!important}
#latest{background:#111113!important}
#start{background:#0f0f10!important}
#gems{background:#0f0f10!important}
#people{background:#0f0f10!important}
#collection{background:#0f0f10!important}
#more{background:#0d0d0e!important}
section[aria-labelledby="yb-h"]{background:#0f0f10!important}
/* E: Big questions video entries - lighter/tighter, partial toward morning */
.bq-list a{display:block!important;font-weight:600!important;font-size:1.0625rem!important;line-height:1.3!important}
.bq-list .bq-m{display:block!important;margin-left:0!important;margin-top:3px!important;font-size:0.875rem!important;line-height:1.3!important;font-weight:400!important;color:var(--fg-3)!important}
.bq-list .bq-r{margin-top:4px!important;font-size:0.875rem!important;line-height:1.45!important;font-weight:400!important;color:var(--fg-3)!important}
.bq-list>li{padding:clamp(12px,1.6vw,16px) 0!important;border-bottom:1px solid var(--line-2)!important;border-top:0!important}
/* Random button styling */
.mast .mast-in button.textlink[data-marginal]{font:400 15px/1.3 var(--font-text)!important;letter-spacing:.01em!important;color:var(--fg)!important;opacity:.58!important;text-decoration:none!important;padding:4px 0!important}
.mast .mast-in button.textlink[data-marginal]:hover,.mast .mast-in button.textlink[data-marginal]:focus-visible{opacity:1!important}
/* Insights page section backgrounds (dark neutral) */
.ins #books{background:#111113!important}
.ins #people{background:#111113!important}
.ins #ideas{background:#111113!important}
.ins #questions{background:#0f0f10!important}
.ins #facts{background:#0f0f10!important}
.ins .hh>.wrap{padding-block:clamp(22px,3.2vw,40px) clamp(10px,1.4vw,18px)}
.ins .hh h1{margin:0!important;max-width:none!important;color:var(--fg)!important;font-family:var(--font-display)!important;font-size:clamp(2.2rem,8.5vw,3.5rem)!important;font-weight:600!important;font-stretch:112%!important;letter-spacing:-.03em!important;line-height:1.05!important}
.ins .lede{color:var(--fg-3)}
.ins .sec-bar h2{margin:0!important;font-family:var(--font-display)!important;font-size:clamp(1.5rem,4.4vw,2.05rem)!important;font-weight:600!important;font-stretch:108%!important;letter-spacing:-.02em!important;line-height:1.15!important;text-transform:none!important;color:var(--fg)!important}
.ins .sec{padding-bottom:clamp(28px,4vw,52px)}
.ins #books .sec-bar h2{color:color-mix(in srgb,var(--c-a) 55%,var(--fg))!important}
.ins #people .sec-bar h2{color:color-mix(in srgb,var(--c-b) 50%,var(--fg))!important}
.ins #ideas .sec-bar h2{color:color-mix(in srgb,var(--c-c) 55%,var(--fg))!important}
.ins #questions .sec-bar h2{color:color-mix(in srgb,var(--accent) 50%,var(--fg))!important}
.ins #facts .sec-bar h2{color:color-mix(in srgb,var(--c-b) 40%,var(--fg))!important}
#topics-h{color:color-mix(in srgb,var(--c-a) 50%,var(--fg))}
#questions-h{color:color-mix(in srgb,var(--c-b) 50%,var(--fg))}
#latest-h{color:color-mix(in srgb,var(--c-c) 50%,var(--fg))}
#start-h{color:color-mix(in srgb,var(--accent) 45%,var(--fg))}
#gems-h{color:color-mix(in srgb,var(--c-b) 50%,var(--fg))}
#people-h{color:color-mix(in srgb,var(--c-a) 50%,var(--fg))}
#coll-h{color:color-mix(in srgb,var(--c-c) 50%,var(--fg))}
#yb-h{color:color-mix(in srgb,var(--c-b) 45%,var(--fg))}
#topics .tgroup:nth-of-type(3n+1) .tgroup-l{color:color-mix(in srgb,var(--c-a) 70%,var(--fg))}
#topics .tgroup:nth-of-type(3n+2) .tgroup-l{color:color-mix(in srgb,var(--c-b) 70%,var(--fg))}
#topics .tgroup:nth-of-type(3n+3) .tgroup-l{color:color-mix(in srgb,var(--c-c) 70%,var(--fg))}

.mast{padding-top:14px!important;padding-bottom:10px!important}.mast .mast-in{gap:4px 22px!important;row-gap:4px!important;align-items:baseline!important}.mast .mast-in>*{margin-top:0!important;margin-bottom:0!important}.mast .nav{margin:0!important;gap:22px!important}.mast .nav a,.mast .mast-in button.textlink[data-marginal]{padding:2px 0!important;margin:0!important}

.mast{padding-bottom:14px!important;min-height:0!important}.mast .mast-in{padding-bottom:0!important;margin-bottom:0!important;min-height:0!important}.mast h1,.mast .wordmark{margin-bottom:0!important}

@media(min-width:900px){:root{--max:1180px;--wrap:1180px;--cmax:1180px}html body .wrap,html body .mast .mast-in{max-width:1180px!important}}

/* mast-mobile */
@media(max-width:719px){
.mast .mast-in{gap:2px 12px!important;padding-block:8px 0!important}
.mast .mast-in nav.nav{gap:0 12px!important;flex:0 1 auto!important}
.mast .mast-in nav.nav a{font-size:14px!important;padding:6px 0!important}
.mast .mast-in button[data-marginal]{min-height:0!important;height:auto!important;padding:6px 0!important;font-size:14px!important;margin:0!important}
}

/* mast-gap-fix: Random wrapped to its own row under the nav, stacking min-heights/padding */
html body .mast{padding-block:10px 12px!important;min-height:0!important;height:auto!important}
html body .mast .mast-in{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:0 10px!important;padding-block:0!important;margin-block:0!important;min-height:0!important;height:auto!important}
html body .mast .mast-in a.nb-hub{padding:0!important;line-height:1.3!important}
html body .mast .mast-in a.wordmark{margin:0!important;padding:0!important;min-height:0!important;line-height:1.15!important}
html body .mast .mast-in nav.nav{flex:0 1 auto!important;gap:0 10px!important;margin:0!important;padding:0!important;min-height:0!important;flex-wrap:nowrap!important}
html body .mast .mast-in nav.nav a{font-size:14px!important;line-height:1.2!important;padding:4px 0!important;margin:0!important;min-height:0!important;white-space:nowrap!important}
html body .mast .mast-in button[data-marginal]{margin:0 0 0 auto!important;padding:4px 0!important;min-height:0!important;height:auto!important;line-height:1.2!important;font-size:14px!important;white-space:nowrap!important}

@media (min-width:900px){.mast .mast-in{display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:auto auto!important;align-items:end!important;row-gap:4px!important;column-gap:28px!important}.mast .mast-in>:first-child{grid-column:1!important;grid-row:1!important}.mast .mast-in>:nth-child(2){grid-column:1!important;grid-row:2!important}.mast .nav{grid-column:2!important;grid-row:2!important;align-self:end!important;margin:0!important;padding-bottom:6px!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important}.mast .mast-in button.textlink[data-marginal]{grid-column:2!important;grid-row:2!important;justify-self:end!important;align-self:end!important}}.mast{padding-bottom:14px!important}

.mast{padding-top:10px!important;padding-bottom:10px!important}.mast .mast-in{row-gap:2px!important}.mast .mast-in>:nth-child(2),.mast h1,.mast .wordmark{margin:0!important}.mast .mast-in>:first-child{margin:0!important}@media (min-width:900px){.mast .nav{padding-bottom:3px!important}}

.mast .mast-in>:nth-child(2),.mast h1,.mast .wordmark,.mast .mast-in>:nth-child(2) a{font-weight:900!important;letter-spacing:-0.015em}

@media (max-width:560px){.mast .mast-in button.textlink[data-marginal]{display:none!important}.mast .nav{flex-wrap:wrap!important;gap:4px 12px!important;justify-content:flex-start!important}}

html body header.mast .mast-in a.nb-hub{font-size:18px!important;margin-bottom:.56px!important}@media(min-width:720px){html body header.mast .mast-in a.nb-hub{font-size:19.2px!important;margin-bottom:.68px!important}}

html body header.mast .mast-in a.nb-hub{margin-bottom:6.56px!important}html body header.mast .mast-in a.wordmark{font-size:25.5px!important}@media(min-width:720px){html body header.mast .mast-in a.nb-hub{margin-bottom:6.68px!important}html body header.mast .mast-in a.wordmark{font-size:32.4px!important}}

html body header.mast .mast-in a.wordmark{font-size:25.6px!important}@media(min-width:720px){html body header.mast .mast-in a.wordmark{font-size:35.6px!important}}@media(max-width:560px){html body header.mast .mast-in a.wordmark{font-size:calc((100vw - 32px) * .0742)!important;white-space:nowrap!important}html body header.mast .mast-in nav.nav{gap:0 5px!important;flex-wrap:wrap!important}html body header.mast .mast-in nav.nav a{font-size:14px!important}}

/* Appearance, subject, catalog, and hub pages */
.seo-page{padding:0 0 clamp(40px,6vw,80px)}
.seo-sec .wrap{padding-top:clamp(24px,4vw,48px);padding-bottom:clamp(12px,2vw,24px)}
.seo-sec .wrap>*{max-width:68ch}
.seo-kicker{font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-3);margin:0 0 .7rem}
.seo-kicker a{color:inherit;text-decoration:none}
.seo-kicker a:hover{color:var(--fg);text-decoration:underline}
.seo-page h1,.seo-h{font-family:var(--font-display,var(--font-text));font-weight:800;font-size:clamp(1.8rem,5.5vw,2.8rem);line-height:1.08;letter-spacing:-.02em;margin:0 0 14px;color:var(--fg)}
.seo-meta,.seo-with,.seo-related{color:var(--fg-3);margin:0 0 10px;font-size:1.02rem;line-height:1.55}
.seo-page p{font-size:1.0625rem;line-height:1.6;margin:0 0 14px;color:var(--fg-2)}
.seo-page a{color:var(--fg);text-decoration:underline;text-underline-offset:3px}
.seo-page h2{font-family:var(--font-display,var(--font-text));font-weight:700;font-size:clamp(1.2rem,3vw,1.55rem);margin:2rem 0 .75rem;color:var(--fg);line-height:1.2}
.seo-outline{margin:0 0 1.5rem;padding-left:1.2rem;color:var(--fg-2)}
.seo-outline li{margin:0 0 .4rem;line-height:1.45}
.seo-quote{margin:1.15rem 0 1.45rem;padding:0 0 0 1.15em;border:0}
.seo-quote blockquote p{text-indent:-.42em;text-wrap:pretty}
.seo-quote blockquote p::before{content:'\201C'}
.seo-quote blockquote p::after{content:'\201D'}
.seo-quote blockquote{margin:0}
.seo-quote blockquote p{margin:0;color:var(--fg);font-size:1.12rem;line-height:1.5}
.seo-quote figcaption{margin-top:.55rem;font-size:.92rem;color:var(--fg-3)}
.seo-list{list-style:none;padding:0;margin:0 0 1.6rem}
.seo-list li{margin:0 0 1.05rem}
.seo-list .d{color:var(--fg-3);font-size:.92rem;display:block}
.seo-index{list-style:none;padding:0;margin:0;display:grid;gap:.45rem 1.5rem}
@media(min-width:720px){.seo-index.cols{grid-template-columns:1fr 1fr}}
.seo-index a{text-decoration:none}
.seo-index a:hover{text-decoration:underline}
.seo-thumb{display:block;width:min(100%,320px);margin:0 0 1.25rem;text-decoration:none}
.seo-thumb img{width:100%;height:auto;border-radius:4px;display:block;aspect-ratio:16/9;object-fit:cover;background:#111}
.seo-count{color:var(--fg-3);font-weight:500;margin-left:.35em;font-size:.9em}
