/* Values copied from _V2/styles.css and index.html button classes. */
:root{--brand-navy:#0f172a;--brand-gold:#f59e0b;--light-surface:#f5f6f7;--light-surface-hover:#eceff2;--light-card:#edf0f3;--light-border:#c8ced6;--light-border-soft:#d8dee6;--light-text-strong:#2d333a;--light-text:#4f5864;--light-text-soft:#687282;--light-accent:#6b7280;--light-accent-hover:#4b5563;--navy:var(--light-text-strong);--ink:var(--light-text);--muted:var(--light-text-soft);--line:var(--light-border-soft);--surface:var(--light-card);--white:var(--light-surface);--gold:var(--light-accent)}
html{color-scheme:light}body{background:var(--light-surface);font-family:InterVariable,Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;font-feature-settings:"cv11","ss01";font-variation-settings:"opsz" 32;text-rendering:optimizeLegibility}
html[data-theme="light"] body{background:var(--light-surface)}
html[data-theme="light"] .brand-dot,html[data-theme="light"] .eyebrow,html[data-theme="light"] .footer-brand span{color:var(--light-accent)}
html[data-theme="light"] .lead-copy .excerpt,html[data-theme="light"] .rail-excerpt,html[data-theme="light"] .card-excerpt,html[data-theme="light"] .article-deck{color:var(--light-text)}
.button,button.button,.search-form button{border-radius:12px;min-height:44px;padding:12px 20px;font-size:.875rem;font-weight:600;background:var(--light-accent);border:1px solid transparent;color:#fff;transition:background-color .15s}
.button:hover,.search-form button:hover{background:var(--light-accent-hover)}
.button.secondary{background:transparent;border-color:var(--light-border);color:var(--light-text)}.button.secondary:hover{background:var(--light-surface-hover)}
.theme-toggle{width:44px;height:44px;min-width:44px;border-radius:12px;border:1px solid var(--light-border-soft);background:var(--light-card);color:var(--light-text);padding:0;display:inline-flex;align-items:center;justify-content:center}.theme-toggle svg{width:20px;height:20px}.theme-toggle:hover{background:var(--light-surface-hover)}.theme-toggle [data-theme-label]{display:none}
input:not([type=checkbox]):not([type=hidden]),textarea,select{border-radius:12px;border-color:var(--light-border);background:var(--light-card);color:var(--light-text-strong)}
:focus-visible{outline-color:var(--light-accent)}
.footer{background:#0f1118;color:#ffffffb3;border-top-color:#ffffff1a}.footer-brand{color:#ffffffed}.footer-brand span{color:#f59e0b}.footer-links a{color:#ffffffb3}
html[data-theme="dark"]{color-scheme:dark;--navy:#f1f5f9;--ink:#e2e8f0;--muted:#94a3b8;--line:#334155;--surface:#1e293b;--white:#0f172a;--gold:#f59e0b}
html[data-theme="dark"] body{background:#0f172a;color:#e2e8f0}
html[data-theme="dark"] .brand-dot,html[data-theme="dark"] .eyebrow{color:#f59e0b}
html[data-theme="dark"] .lead-copy .excerpt,html[data-theme="dark"] .rail-excerpt,html[data-theme="dark"] .card-excerpt,html[data-theme="dark"] .article-deck{color:#cbd5e1}
html[data-theme="dark"] .button,html[data-theme="dark"] button.button,html[data-theme="dark"] .search-form button{background:#f59e0b;color:#0f172a;border-color:transparent;border-radius:12px}
html[data-theme="dark"] .button:hover,html[data-theme="dark"] .search-form button:hover{background:#fbbf24}
html[data-theme="dark"] .button.secondary{background:transparent;border-color:#475569;color:#e2e8f0}html[data-theme="dark"] .button.secondary:hover{background:#1e293b;border-color:#64748b;color:white}
html[data-theme="dark"] .theme-toggle{background:#1e293b;border-color:#334155;color:#f1f5f9}html[data-theme="dark"] .theme-toggle:hover{background:#334155}
html[data-theme="dark"] input:not([type=checkbox]):not([type=hidden]),html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#1e293b;border-color:#334155;color:#f1f5f9}
html[data-theme="dark"] .footer{background:#0f1118;border-top-color:#ffffff1a;color:#ffffffb3}
html[data-theme="dark"] :focus-visible{outline-color:#f59e0b}
.local-only{font-size:.8rem;padding:10px 20px;border-bottom:1px solid var(--line);background:var(--surface);color:var(--muted)}.local-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.file-import{display:inline-block}.file-import input{display:none}.editor-list{margin-top:20px}.editor-list article{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:16px;justify-content:space-between;align-items:center}.editor-list article strong{display:block}.editor-list article small{color:var(--muted)}.editor-list .actions{flex-shrink:0}.editor-status{white-space:pre-wrap}.editor-panel fieldset{border:0;padding:0;margin:0}.local-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:28px;align-items:start}.local-editor-grid>aside{position:sticky;top:16px}.inline-preview{border-top:3px solid var(--gold);padding-top:25px;margin-top:35px}.image-row{display:flex;gap:12px;align-items:center;margin:12px 0}.image-row img{width:100px;height:70px;object-fit:cover}.image-row>div{flex:1;min-width:0}.image-row input{margin:5px 0}.section-heading .button{letter-spacing:0}
@media(max-width:900px){.local-editor-grid{grid-template-columns:1fr}.local-editor-grid>aside{position:static}}@media(max-width:440px){.masthead{gap:12px}.brand-title,.news-label{font-size:1.05rem}.wordmark{gap:7px}.editor-list article{align-items:start;flex-direction:column}}

/* Keep NEWS and the main wordmark typographically aligned at every size. */
.wordmark{flex-wrap:wrap;row-gap:2px;min-width:0}
.wordmark .brand-title,.wordmark .news-label{font-family:inherit;font-size:1.7rem;font-weight:750;letter-spacing:-.065em;line-height:1.6}
.footer-links a[href^="mailto:"]{overflow-wrap:anywhere}
@media(max-width:760px){.wordmark .brand-title,.wordmark .news-label{font-size:1.4rem}}
@media(max-width:440px){.wordmark .brand-title,.wordmark .news-label{font-size:1.05rem}.wordmark .news-label{padding-left:7px}}

.news-grid.with-thoughts{grid-template-columns:repeat(3,minmax(0,1fr))}.thoughts-card{grid-column:3;grid-row:1;align-self:start}.thoughts-card iframe{display:block;border:0;width:100%;aspect-ratio:2/3;height:auto;box-sizing:content-box;padding-bottom:44px;margin-top:18px}.thoughts-card .back-link{margin-bottom:0}@media(max-width:760px){.news-grid.with-thoughts{grid-template-columns:repeat(2,minmax(0,1fr))}.news-grid.with-thoughts .thoughts-card{grid-column:auto;grid-row:auto}.news-grid.with-thoughts .news-card:nth-child(n){padding:20px;border-left:0}.news-grid.with-thoughts .news-card:nth-child(2n+1){padding-left:0}}@media(max-width:440px){.news-grid.with-thoughts{grid-template-columns:1fr}.news-grid.with-thoughts .news-card:nth-child(n){padding:20px 0}.thoughts-card iframe{max-width:320px;margin-inline:auto}}

.thoughts-frame{position:relative;padding-top:150%;height:44px;box-sizing:content-box;margin-top:18px}.thoughts-frame iframe{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;max-width:none;aspect-ratio:auto}

.thoughts-live{margin-top:18px}.thoughts-slides{border-radius:12px;overflow:hidden}.thoughts-slides img{width:100%;height:auto;display:block;aspect-ratio:2/3;object-fit:cover}.thoughts-slides [hidden]{display:none}.thoughts-dots{display:flex;justify-content:center;gap:4px;min-height:44px;align-items:center}.thoughts-dots button{width:28px;height:28px;padding:0;border:0;border-radius:50%;background:radial-gradient(circle,#94a3b8 4px,transparent 5px)}.thoughts-dots button[aria-current="true"]{background:radial-gradient(circle,var(--gold) 5px,transparent 6px)}

/* The slideshow reserves the right column across two story rows. */
@media(min-width:761px){
 .news-grid.with-thoughts{column-gap:24px;row-gap:24px;align-items:stretch}
 .news-grid.with-thoughts>.news-card:nth-child(n){padding:0 0 24px;border-left:0}
 .news-grid.with-thoughts>.thoughts-card{grid-column:3;grid-row:1 / span 2;align-self:stretch}
}

/* Dividers follow visual columns, including the two-row slideshow. */
@media(min-width:761px){
 .news-grid.with-thoughts>.news-card:nth-child(n){position:relative}
 .news-grid.with-thoughts>.news-card:nth-child(2)::before,
 .news-grid.with-thoughts>.news-card:nth-child(3)::before,
 .news-grid.with-thoughts>.news-card:nth-child(5)::before,
 .news-grid.with-thoughts>.news-card:nth-child(3n+7)::before,
 .news-grid.with-thoughts>.news-card:nth-child(3n+8)::before{
  content:"";position:absolute;left:-12px;top:0;bottom:0;width:1px;background:var(--line);pointer-events:none
 }
}
