/* tastemaker: threat Editorial Index + split editorial reading; approved masthead/footer retained.
 * Existing photos, source categories and dates; no fabricated urgency or severity.
 * Critique: ShowTell 5, Philosophy 5, Hierarchy 5, Specificity 5, Restraint 4, Variety 5.
 * Existing WP/PHP components extended, no registry or motion dependency.
 */
.threat-page{--threat-accent:var(--coral);--threat-surface:var(--burgundy);--threat-on-surface:var(--rose);--threat-button-ink:var(--ink);--threat-hover:var(--rose);overflow-wrap:anywhere}
[data-theme=light] .threat-page{--threat-accent:#9b302b;--threat-surface:var(--rose);--threat-on-surface:var(--ink);--threat-button-ink:var(--cream);--threat-hover:var(--burgundy)}
.threat-page :is(.threat-actions,.threat-support) .button{background:var(--threat-accent);color:var(--threat-button-ink)}
.threat-page :is(.threat-actions,.threat-support) .button::before{background:var(--threat-hover)}
.threat-page .text-link{color:var(--threat-accent)}
.threat-page .text-link span{border-color:currentColor}
.threat-page :is(a,button,input):focus-visible{outline:2px solid var(--threat-accent);outline-offset:4px}
.threat-page .input-icon:focus-within{box-shadow:inset 0 0 0 1px var(--threat-accent)}
.threat-page .input-icon input:focus-visible{outline:0}
.threat-masthead,.threat-story-header{background:var(--threat-surface);color:var(--threat-on-surface)}
.threat-masthead__inner{display:grid;gap:28px;padding-block:36px}
.threat-masthead h1{font-size:clamp(36px,4.5vw,60px);line-height:1.08;margin-bottom:20px;letter-spacing:-1.5px}
.threat-masthead p{max-width:58ch;font-size:18px;line-height:1.55}
.threat-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px 28px}
.threat-actions .button{white-space:nowrap}
.threat-archive__content{padding-bottom:0}
.threat-filters{--nav-line-color:var(--threat-accent);position:relative;display:flex;flex-wrap:wrap;gap:0 26px;border-bottom:1px solid var(--line);margin-block:24px 36px}
.threat-filters a{position:relative;padding-block:16px;font-size:15px;line-height:1.3;color:var(--silver);white-space:nowrap;border-bottom:1px solid transparent;margin-bottom:-1px}
.threat-filters a[aria-current]{color:var(--threat-accent);border-bottom-color:currentColor;font-weight:600}
.threat-filters.has-floating-line a[aria-current]{border-bottom-color:transparent}
.threat-filters .nav-hover-line{bottom:-1px}
.threat-results-title{font-size:28px;line-height:1.2;margin-bottom:28px}
.threat-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:40px 30px}
.threat-card{min-width:0}
.threat-card .article-image{border-bottom:2px solid var(--threat-accent)}
.threat-card .article-image>img{aspect-ratio:1.9;width:100%;height:auto;object-fit:cover}
.threat-card__body{padding-top:20px}
.threat-card__meta{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:12px;font-size:13px;line-height:1.4}
.threat-card__meta time{color:var(--grey)}
.threat-category{font-size:13px;font-weight:600;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;color:var(--threat-accent)}
.threat-card :is(h2,h3){font-size:24px;line-height:1.28;letter-spacing:-.4px;margin:0;text-wrap:pretty}
.threat-card--lead{background:var(--threat-surface);color:var(--threat-on-surface);margin-bottom:40px;display:grid}
.threat-card--lead .article-image{border-bottom:0}
.threat-card--lead .article-image>img{height:100%;min-height:100%;aspect-ratio:1.6}
.threat-card--lead .threat-card__body{padding:28px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.threat-card--lead .threat-card__meta{width:100%;margin-bottom:20px}
.threat-card--lead .threat-card__meta time{color:inherit}
.threat-card--lead h2{font-size:clamp(26px,2.5vw,34px);line-height:1.18}
.threat-card--lead p{font-size:16px;line-height:1.6;margin-top:20px}
.threat-card--lead .text-link{margin-top:24px;font-size:15px}
.threat-page .navigation.pagination{margin-top:40px}
.threat-page .page-numbers.current{background:var(--threat-accent);color:var(--threat-button-ink)}
.threat-empty{padding:32px;background:var(--charcoal)}
.threat-empty p{margin-bottom:24px}
.threat-story-header{padding-block:28px 40px}
.threat-story-header .breadcrumbs{color:var(--threat-on-surface);margin-bottom:32px}
.threat-story-heading{display:grid;gap:28px}
.threat-story-heading__copy{align-self:center;min-width:0}
.threat-story-heading .threat-category{margin-bottom:20px}
.threat-story-heading h1{font-size:clamp(32px,3.5vw,48px);line-height:1.13;letter-spacing:-1px;text-wrap:pretty;margin-bottom:28px;max-width:26ch}
.threat-story-meta{font-size:14px;line-height:1.6}
.threat-story-author{display:block;margin-top:8px}
.threat-story-photo{margin:0;min-width:0}
.threat-story-photo img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.threat-reading{padding-top:48px}
.threat-lede{font-size:21px;line-height:1.6;margin-bottom:36px;padding-left:24px;border-left:2px solid var(--threat-accent)}
.threat-reading .prose{max-width:76ch}
.threat-reading .contents-nav{border-top-color:var(--threat-accent)}
.threat-support{background:var(--threat-surface);color:var(--threat-on-surface);padding:28px;border-top:2px solid var(--threat-accent)}
.threat-support h2{font-size:24px;line-height:1.2;margin-bottom:20px}
.threat-support p{font-size:16px;line-height:1.55;margin-bottom:24px}
.threat-support .text-link{font-size:15px;margin-top:24px;gap:16px}
.threat-reading .prose blockquote{border-left:2px solid var(--threat-accent);padding-left:24px}
.threat-story-bottom{padding-bottom:0}
.threat-story-bottom .section-heading::after{background:var(--threat-accent)}
.threat-story-bottom .section-heading h2{font-size:32px;line-height:1.2}
.threat-story-bottom .section-heading{margin-bottom:32px}
.threat-page .reading-progress span{background:var(--threat-accent)}
@media(hover:hover) and (pointer:fine){
 .threat-filters a:hover,.threat-card :is(h2,h3) a:hover,.threat-reading .contents-nav a:hover{color:var(--threat-accent)}
}
@media(min-width:768px){
 .threat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:992px){
 .threat-masthead__inner{grid-template-columns:minmax(0,1fr) auto;gap:64px;align-items:center;padding-block:40px}
 .threat-actions{align-items:flex-start;flex-direction:column;gap:20px;border-left:1px solid var(--threat-accent);padding-left:40px}
 .threat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .threat-card--lead:has(>.article-image){grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
 .threat-card--lead .threat-card__body{padding:36px}
 .threat-story-heading.has-photo{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px}
 .threat-story-photo{align-self:stretch}
 .threat-story-photo img{max-height:560px}
 .threat-reading.editorial-layout{grid-template-columns:minmax(0,820px) minmax(280px,1fr);gap:72px}
}
@media(max-width:479px){
 .threat-filters{gap:0 20px;margin-block:12px 28px}
 .threat-filters a{font-size:14px;padding-block:14px}
 .threat-card--lead .threat-card__body,.threat-support{padding:24px}
 .threat-card__meta{font-size:12px}
 .threat-category{font-size:12px}
 .threat-lede{font-size:19px;padding-left:20px}
 .threat-masthead h1{letter-spacing:-1px}
}

.threat-directory__content{padding-block:36px 80px}
.threat-directory .directory-search,.threat-report .portal-form{--field-focus:var(--threat-accent)}
.threat-directory .directory-search .button,.threat-report .portal-form .button{background:var(--threat-accent);color:var(--threat-button-ink)}
.threat-directory .directory-summary{border-bottom-color:var(--threat-accent)}
.threat-directory .directory-summary a{color:var(--threat-accent)}
.threat-directory .directory-card--warning{align-items:flex-start;background:var(--threat-surface);color:var(--threat-on-surface);border-top:2px solid var(--threat-accent);transition:background-color .2s ease}
.threat-directory .directory-card--warning>div:nth-child(2){flex:1}
.threat-directory .directory-card--warning h2{color:inherit}
.threat-directory .directory-card--warning p{color:inherit;opacity:.78;margin-bottom:0}
.threat-directory .directory-card--warning .directory-symbol,.threat-directory .directory-card__arrow{color:var(--threat-accent)}
.threat-directory .directory-card__arrow{align-self:flex-end;flex:0 0 24px;transition:transform .2s ease}
.threat-directory .directory-card--warning:hover .directory-card__arrow,.threat-directory .directory-card--warning:focus-visible .directory-card__arrow{transform:translateX(4px)}
.threat-directory .directory-card--warning:hover{background:#60302e}
.threat-directory .page-numbers.current{background:var(--threat-accent);color:var(--threat-button-ink)}
[data-theme=light] .threat-directory .directory-card--warning:hover{background:#f4dbd3}
.threat-report .page-block--page-title{background:var(--threat-surface);color:var(--threat-on-surface)}
.threat-report .page-block--page-title .breadcrumbs,.threat-report .page-intro>p{color:inherit;opacity:.85}
.threat-report .page-block--page-title .section-heading::after{background:var(--threat-accent)}
.threat-report .page-block--contact-form .contact-layout>.prose{padding-left:24px;border-left:2px solid var(--threat-accent)}
.threat-report .page-block--contact-form .contact-layout>.prose h2{color:var(--threat-accent)}
.threat-report .contact-form-column{background:var(--threat-surface);color:var(--threat-on-surface);padding:28px;border-top:2px solid var(--threat-accent)}
.threat-report .portal-form .form-field :is(input,textarea,select){border-color:var(--line)}
.threat-report .portal-form .form-field :is(input,textarea,select):focus{border-color:var(--threat-accent)}
.threat-report .portal-form .form-privacy{color:inherit;opacity:.8}
@media(max-width:767px){.threat-report .contact-form-column{padding:20px}}
