/* Security Connect: public theme */
/* Self-hosted fonts (latin + latin-ext). Served from this site, nothing is requested from Google. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-serif-4-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-serif-4-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-serif-4-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-serif-4-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-serif-4-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-serif-4-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #ffffff;
  --bg-alt: #f3f3f1;
  --surface: #ffffff;
  --text: #0b0b0b;
  --text-2: #2b2b2b;
  --muted: #666663;
  --line: #e2e2de;
  --line-strong: #0b0b0b;
  --accent: #e10a17;
  --accent-ink: #ffffff;
  --ink: #0b0b0b;
  --ink-text: #f5f5f3;
  --ink-muted: #a4a4a0;
  --ink-line: #2a2a2a;
  --focus: #e10a17;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 4px;
  --wrap: 1280px;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0a; --bg-alt: #141414; --surface: #111111; --text: #f2f2f0; --text-2: #d6d6d2; --muted: #9d9d98;
    --line: #262626; --line-strong: #f2f2f0; --accent: #ff2e3b; --ink: #161616; --ink-text: #f2f2f0; --ink-muted: #9d9d98; --ink-line: #2c2c2c;
    --shadow: 0 10px 30px rgba(0,0,0,.5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0a0a; --bg-alt: #141414; --surface: #111111; --text: #f2f2f0; --text-2: #d6d6d2; --muted: #9d9d98;
  --line: #262626; --line-strong: #f2f2f0; --accent: #ff2e3b; --ink: #161616; --ink-text: #f2f2f0; --ink-muted: #9d9d98; --ink-line: #2c2c2c;
  --shadow: 0 10px 30px rgba(0,0,0,.5); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--accent); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.ic { flex: none; vertical-align: middle; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--text); color: var(--bg); padding: 11px 20px; font-weight: 700; border-radius: var(--radius); border: 0; }
.btn:hover { background: var(--accent); color: #fff; }

/* ---------- admin bar ---------- */
.adminbar { background: #000; color: #ddd; font-size: 13px; }
.adminbar .wrap { display: flex; gap: 18px; align-items: center; min-height: 32px; overflow-x: auto; white-space: nowrap; }
.adminbar a { color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.adminbar a:hover { color: #ff5a63; }
.adminbar-user { margin-left: auto; color: #999; }

/* ---------- top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.topbar-in { display: flex; align-items: center; gap: 20px; min-height: 36px; }
.topbar-date { font-weight: 600; color: var(--text); white-space: nowrap; }
.topbar-nav { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.topbar-nav a { white-space: nowrap; font-weight: 500; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.social { display: inline-grid; place-items: center; width: 26px; height: 26px; color: var(--text); }
.theme-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; margin-left: 6px; }
.theme-switch button { border: 0; background: none; width: 28px; height: 24px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.theme-switch button:hover { color: var(--text); }
html[data-theme-pref="light"] .theme-switch [data-theme-set="light"],
html[data-theme-pref="dark"] .theme-switch [data-theme-set="dark"],
html[data-theme-pref="system"] .theme-switch [data-theme-set="system"],
html:not([data-theme-pref]) .theme-switch [data-theme-set="system"] { background: var(--text); color: var(--bg); }
@media (max-width: 899px) { .topbar { display: none; } }

/* ---------- masthead ---------- */
.masthead { background: var(--bg); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.masthead-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--text); color: var(--bg); font: 900 17px/1 var(--font-head); letter-spacing: -.04em; position: relative; border-radius: 2px; }
.logo-mark::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 12px; height: 12px; background: var(--accent); }
.logo-word { display: flex; flex-direction: column; font: 800 21px/0.95 var(--font-head); text-transform: uppercase; letter-spacing: -.02em; }
.logo-word b { font-weight: 900; color: var(--accent); }
.logo-img { height: 44px; width: auto; }
.logo-img--dark { display: none; }
html[data-theme="dark"] .logo-img--light { display: none; }
html[data-theme="dark"] .logo-img--dark { display: block; }
.masthead-tag { margin: 0; color: var(--muted); font-size: 13px; display: none; }
.masthead-actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.icon-btn { border: 0; background: none; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--text); }
.icon-btn:hover { background: var(--bg-alt); color: var(--text); }
.masthead-search { display: none; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 4px 0 16px; background: var(--bg-alt); }
.masthead-search input { border: 0; background: none; outline: none; color: var(--text); font: inherit; font-size: 14px; width: 220px; height: 38px; }
.masthead-search button { border: 0; background: none; width: 34px; height: 34px; display: grid; place-items: center; color: var(--text); }
.theme-cycle .t-dark { display: none; }
html[data-theme="dark"] .theme-cycle .t-dark { display: inline; }
html[data-theme="dark"] .theme-cycle .t-light { display: none; }
.menu-btn { margin-left: -8px; }
@media (max-width: 899px) {
  .masthead-in { grid-template-columns: 42px 1fr 84px; min-height: 58px; }
  .logo { justify-self: center; }
  .logo-mark { width: 34px; height: 34px; font-size: 15px; }
  .logo-word { font-size: 17px; }
}
@media (min-width: 900px) {
  .menu-btn, .search-btn, .theme-cycle { display: none; }
  .masthead-in { grid-template-columns: auto 1fr auto; min-height: 84px; }
  .masthead-tag { display: block; padding-left: 20px; border-left: 1px solid var(--line); max-width: 360px; }
  .masthead-search { display: flex; }
  .logo-mark { width: 48px; height: 48px; font-size: 20px; }
  .logo-word { font-size: 26px; }
}

/* ---------- main nav ---------- */
.mainnav { border-top: 1px solid var(--line); display: none; }
@media (min-width: 900px) { .mainnav { display: block; } }
.mainnav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.mainnav-list > li { position: relative; }
.mainnav-list > li > a { display: flex; align-items: center; gap: 4px; padding: 0 14px; height: 46px; font: 700 14px/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; border-bottom: 3px solid transparent; }
.mainnav-list > li:first-child > a { padding-left: 0; }
.mainnav-list > li.is-active > a, .mainnav-list > li > a:hover { border-bottom-color: var(--accent); color: var(--text); }
.mainnav-list .ic-chevron { opacity: .6; transition: transform .2s; }
.mainnav-list .sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; z-index: 60; }
.mainnav-list > li:first-child .sub { left: -14px; }
.mainnav-list .has-sub:hover .sub, .mainnav-list .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.mainnav-list .has-sub:hover .ic-chevron { transform: rotate(180deg); }
.mainnav-list .sub a { display: block; padding: 9px 18px; font-weight: 600; font-size: 14px; }
.mainnav-list .sub a:hover { background: var(--bg-alt); }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: var(--ink-text); }
.ticker-in { display: flex; align-items: center; gap: 14px; min-height: 42px; overflow: hidden; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font: 800 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; padding: 8px 12px; border-radius: 2px; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent); }
.ticker-track ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; width: max-content; animation: ticker 60s linear infinite; }
.ticker-track:hover ul { animation-play-state: paused; }
.ticker-track li { display: flex; gap: 10px; align-items: baseline; white-space: nowrap; font-size: 14px; font-weight: 500; }
.ticker-track time { color: #ff6b73; font-weight: 700; font-size: 12.5px; }
.ticker-track a:hover { color: #ff6b73; }
.ticker-track .tk-hot { align-self: center; background: var(--accent); color: #fff; font: 800 10px/1 var(--font-head); text-transform: uppercase; letter-spacing: .05em; padding: 3px 6px; border-radius: 2px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track ul { animation: none; } .ticker-track { overflow-x: auto; } }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 1.6s ease-out infinite; }
.sec-head .pulse, .side-h .pulse { color: var(--accent); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(2.8); opacity: 0; } }

/* ---------- common blocks ---------- */
.main { min-height: 50vh; }
.sec-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; border-top: 3px solid var(--line-strong); padding-top: 12px; margin-bottom: 20px; }
.sec-head h2 { font-size: 24px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 10px; }
.sec-head h2 a:hover { color: var(--accent); }
.sec-head--sm { border-top-width: 2px; margin-bottom: 12px; }
.sec-head--sm h2 { font-size: 16px; }
.sec-head > a:last-child, .sec-more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.sec-kids { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--muted); }
@media (max-width: 699px) { .sec-kids { display: none; } }
.catblock { padding: 36px 0; }
.catblock .sec-head { border-top-color: var(--cat, var(--line-strong)); }
.band { padding: 40px 0; }
.band--ink { background: var(--ink); color: var(--ink-text); }
.band--ink .sec-head { border-top-color: var(--ink-text); }
.band--ink .catblock .sec-head, .catblock.band--ink .sec-head { border-top-color: var(--cat, var(--ink-text)); }
.band--ink .meta, .band--ink .sec-kids { color: var(--ink-muted); }
.band--ink a:hover { color: #ff6b73; }
.band--alt { background: var(--bg-alt); }
.grid-3, .grid-4 { display: grid; gap: 28px 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- badges & kicker ---------- */
.kick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.kicker { font: 800 11.5px/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--cat, var(--accent)); }
.band--ink .kicker { color: var(--cat, #ff6b73); filter: brightness(1.25); }
.badge { display: inline-block; font: 800 10.5px/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; padding: 4px 7px 3px; border: 1.5px solid currentColor; border-radius: 2px; }
.badge--hot { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-media { position: relative; display: block; overflow: hidden; background: var(--bg-alt); aspect-ratio: 16 / 10; border-radius: var(--radius); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-ph { display: grid; place-items: center; width: 100%; height: 100%; }
.card-gal { position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; background: rgba(0,0,0,.78); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 2px; }
.card-title { font-size: 18px; font-weight: 800; line-height: 1.18; }
.card-title a:hover { color: var(--accent); }
.card-sub { margin: 8px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.band--ink .card-sub { color: var(--ink-muted); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.meta-author { font-weight: 700; color: var(--text-2); }
.band--ink .meta-author { color: var(--ink-text); }
.meta-gal { display: inline-flex; align-items: center; gap: 4px; }
.card--lead .card-title { font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.card--lead .card-sub { font-size: 17px; margin-top: 12px; }
.card--lead .card-media { aspect-ratio: 16 / 9; }
.card--big .card-title { font-size: clamp(22px, 2.3vw, 30px); font-weight: 900; }
.card--h { flex-direction: row; gap: 14px; align-items: flex-start; }
.card--h .card-media { flex: 0 0 38%; max-width: 200px; aspect-ratio: 4 / 3; }
.card--h .card-body { flex: 1; min-width: 0; }
.card--h .card-title { font-size: 16px; }
.card--h .card-sub { display: none; }
.card--mini .card-title { font-size: 15px; }
.card--overlay { position: relative; gap: 0; }
.card--overlay .card-media { aspect-ratio: 4 / 3; }
.card--overlay .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.88)); }
.card--overlay .card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; pointer-events: none; }
.card--overlay .card-body a { pointer-events: auto; }
.card--overlay .card-title { font-size: 18px; }
.card--overlay .card-title a:hover { color: #fff; text-decoration: underline; }
.card--overlay .meta, .card--overlay .meta-author { color: #d8d8d8; }
.card--overlay .kicker { color: #fff; }
.card--overlay .card-gal { top: 12px; bottom: auto; left: auto; right: 12px; z-index: 2; }
.card--inv .card-title a:hover { color: #ff6b73; }
@media (min-width: 700px) { .list-cards .card--h .card-sub { display: block; } .list-cards .card--h .card-title { font-size: 20px; } .list-cards .card--h .card-media { max-width: 280px; } }

/* ---------- front page ---------- */
.front { display: grid; gap: 28px; padding-top: 24px; padding-bottom: 12px; grid-template-columns: 1fr; }
.front-second { display: grid; gap: 24px; }
@media (min-width: 700px) { .front-second { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .front { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .front-second { grid-template-columns: 1fr; align-content: start; }
  .front-lead { padding-right: 4px; }
}
.front-live { min-width: 0; }
@media (min-width: 1000px) { .front-live { border-left: 1px solid var(--line); padding-left: 24px; } }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); position: relative; }
.timeline > li:last-child { border-bottom: 0; }
.timeline time { font: 800 13px/1.35 var(--font-head); color: var(--accent); font-variant-numeric: tabular-nums; }
.tl-cat { display: block; font: 800 10.5px/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 5px; }
.tl-title { font: 700 15px/1.3 var(--font-head); }
.front-live .timeline { max-height: 620px; overflow-y: auto; scrollbar-width: thin; }
.timeline--big > li { grid-template-columns: 56px 1fr; padding: 18px 0; }
.timeline--big time { font-size: 15px; }
.strip { padding: 24px 0 36px; border-top: 1px solid var(--line); margin-top: 16px; }
@media (min-width: 700px) { .strip { padding-top: 28px; } }

.toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: t; }
@media (min-width: 700px) { .band .toplist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .band .toplist { grid-template-columns: repeat(5, 1fr); } }
.toplist li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; }
.toplist-n { font: 900 44px/0.9 var(--font-head); color: var(--accent); letter-spacing: -.04em; }
.toplist-t { font: 700 16px/1.28 var(--font-head); display: block; }
.toplist--side { gap: 16px; }
.toplist--side li { grid-template-columns: 34px 1fr; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.toplist--side li:last-child { border: 0; padding-bottom: 0; }
.toplist--side .toplist-n { font-size: 30px; }
.toplist--side .toplist-t { font-size: 15px; }

.cb-std { display: grid; gap: 28px; }
@media (min-width: 900px) { .cb-std { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.cb-list { display: grid; gap: 18px; align-content: start; }
.cb-list .card--h { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cb-list .card--h:last-child { border: 0; padding-bottom: 0; }
.photo-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .photo-grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; } .photo-grid .card--wide { grid-row: span 2; } .photo-grid .card--wide .card-media { aspect-ratio: auto; height: 100%; min-height: 420px; } .photo-grid .card--wide .card-title { font-size: 28px; } }
.photo-grid > :nth-child(4) { display: none; }
@media (min-width: 1000px) { .photo-grid > :nth-child(4) { display: flex; grid-column: 2 / span 2; } .photo-grid > :nth-child(4) .card-media { aspect-ratio: 21 / 9; } }

.opinions { gap: 0; }
.op { padding: 22px 22px 24px; border-left: 1px solid var(--line); position: relative; }
@media (max-width: 599px) { .op { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0; } }
.op-q { font: 900 72px/0.6 var(--font-body); color: var(--cat, var(--accent)); display: block; height: 30px; }
.op h3 { font: italic 600 21px/1.3 var(--font-body); letter-spacing: 0; }
.op-a { margin: 14px 0 0; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- article ---------- */
.preview-bar { background: #ffd400; color: #000; text-align: center; font-weight: 700; padding: 10px; font-size: 14px; }
.article-wrap, .listing-wrap { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .article-wrap, .listing-wrap { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.article { max-width: 820px; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 16px; }
.crumbs a:last-child { color: var(--cat, var(--accent)); }
.article-head h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; line-height: 1.04; letter-spacing: -.025em; }
.standfirst { font: 400 clamp(18px, 2vw, 22px)/1.45 var(--font-body); color: var(--text-2); margin: 18px 0 0; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline-author { display: inline-flex; align-items: center; gap: 10px; }
.byline-author span { display: flex; flex-direction: column; line-height: 1.2; }
.byline-author small { color: var(--muted); font-size: 12px; }
.byline-dates { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.byline-dates span { display: inline-flex; gap: 5px; align-items: center; }
.avatar { border-radius: 50%; object-fit: cover; flex: none; }
.avatar--txt { display: inline-grid; place-items: center; background: var(--text); color: var(--bg); font: 800 14px/1 var(--font-head); }
.article-hero { margin: 24px 0 0; }
.article-hero img { width: 100%; border-radius: var(--radius); }
.article-hero figcaption, .prose figcaption { font-size: 13px; color: var(--muted); padding: 10px 0 0; line-height: 1.4; }
.credit { opacity: .8; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.share-label { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; color: var(--muted); }
.share-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); transition: .15s; }
.share-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.share-facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.share-linkedin:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.share-telegram:hover { background: #229ed9; border-color: #229ed9; color: #fff; }
.share-native { display: none; }
.has-native-share .share-native { display: inline-grid; }
.share--end { margin: 32px 0; padding: 18px 0; border-top: 3px solid var(--line-strong); }

.prose { font: 400 19px/1.7 var(--font-body); color: var(--text); margin-top: 28px; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: 28px; font-weight: 800; margin-top: 1.6em; }
.prose h3 { font-size: 22px; font-weight: 800; margin-top: 1.4em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent); font: italic 400 23px/1.45 var(--font-body); color: var(--text); }
.prose blockquote p + p { margin-top: .6em; }
.prose img { border-radius: var(--radius); }
.prose figure { margin: 1.6em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose .ql-video { width: 100%; aspect-ratio: 16/9; height: auto; }
.prose pre { background: var(--bg-alt); padding: 16px; overflow-x: auto; font-size: 14px; border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.4 var(--font-ui); }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose > p:first-child::first-letter { font: 900 3.4em/0.8 var(--font-head); float: left; margin: .08em .1em 0 0; color: var(--accent); }
.prose--page > p:first-child::first-letter { all: unset; }
@media (max-width: 600px) { .prose { font-size: 18px; } }

.gallery { margin-top: 36px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--bg-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery-open { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.8); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 32px; font-size: 14px; }
.tags span { font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.tags a { background: var(--bg-alt); padding: 6px 12px; border-radius: 999px; font-weight: 600; }
.tags a:hover { background: var(--text); color: var(--bg); }
.authorbox { display: flex; gap: 18px; padding: 22px; background: var(--bg-alt); border-radius: var(--radius); }
.authorbox p { margin: 0 0 6px; font-size: 15px; color: var(--text-2); }
.authorbox-name { font: 800 18px/1.2 var(--font-head) !important; color: var(--text) !important; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- sidebar ---------- */
.sidebar { min-width: 0; }
.sticky { position: sticky; top: 150px; display: grid; gap: 32px; }
.side-box { border-top: 3px solid var(--line-strong); padding-top: 12px; }
.side-h { font: 900 16px/1 var(--font-head); text-transform: uppercase; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.timeline--side > li { grid-template-columns: 42px 1fr; }
.timeline--side .tl-title { font-size: 14.5px; }

/* ---------- listing pages ---------- */
.page-head { padding: 32px 0 24px; border-bottom: 1px solid var(--line); background: var(--bg); }
.page-head .wrap { border-left: 0; }
.page-kicker { margin: 0 0 8px; font: 800 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--cat, var(--accent)); }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.page-intro { margin: 12px 0 0; color: var(--muted); font-size: 17px; max-width: 720px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chips a { border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.chips a:hover, .chips a.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.author-head { display: flex; gap: 20px; align-items: center; }
.listing-lead { padding-bottom: 28px; margin-bottom: 8px; border-bottom: 3px solid var(--line-strong); }
.list-cards { display: grid; }
.list-cards .card { padding: 20px 0; border-bottom: 1px solid var(--line); }
.empty { padding: 40px 0; color: var(--muted); font-size: 17px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; align-items: center; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; font-size: 14px; }
.pager .is-current { background: var(--text); color: var(--bg); border-color: var(--text); }
.pager a:hover { border-color: var(--text); color: var(--text); }
.pager .pager-gap { border: 0; min-width: 0; }
.big-search { display: flex; gap: 8px; margin-top: 18px; max-width: 640px; }
.big-search input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 2px solid var(--text); background: var(--surface); color: var(--text); font: inherit; font-size: 17px; border-radius: var(--radius); outline: none; }
.big-search button { display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; background: var(--text); color: var(--bg); border: 0; font-weight: 800; border-radius: var(--radius); }
.big-search button:hover { background: var(--accent); color: #fff; }
.authors-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding: 32px 0 56px; }
.author-card { border: 1px solid var(--line); padding: 24px; border-radius: var(--radius); display: grid; gap: 8px; justify-items: start; }
.author-card:hover { border-color: var(--text); color: var(--text); }
.author-card h2 { font-size: 20px; }
.author-card p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.notfound { text-align: center; padding: 64px 16px; max-width: 680px; }
.notfound-code { font: 900 120px/1 var(--font-head); color: var(--accent); margin: 0; letter-spacing: -.05em; }
.notfound h1 { font-size: 36px; margin: 8px 0 12px; }
.notfound p { color: var(--muted); }
.notfound .big-search { margin: 24px auto; }
.maint .logo { margin-bottom: 32px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--ink-text); padding: 48px 0 24px; margin-top: 24px; }
html[data-theme="dark"] .footer { border-top: 1px solid var(--line); background: #050505; }
.footer .logo { color: var(--ink-text); }
.footer .logo-mark { background: var(--ink-text); color: var(--ink); }
.footer-top { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer-brand p { color: var(--ink-muted); font-size: 14.5px; max-width: 380px; margin: 16px 0; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--ink-line); border-radius: 50%; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-col h2 { font: 800 13px/1 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-weight: 600; font-size: 15px; }
.footer a:hover { color: #ff6b73; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; border-top: 1px solid var(--ink-line); margin-top: 40px; padding-top: 20px; font-size: 13px; color: var(--ink-muted); }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom nav a { display: inline-flex; gap: 4px; align-items: center; }
.demo-note { font-size: 12px; color: var(--ink-muted); margin: 16px 0 0; opacity: .8; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 380px); background: var(--bg); overflow-y: auto; transform: translateX(-100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); padding: 0 0 32px; display: flex; flex-direction: column; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 1; }
.logo--sm .logo-mark { width: 32px; height: 32px; font-size: 14px; }
.logo--sm .logo-word { font-size: 16px; }
.drawer-search { display: flex; margin: 16px; border: 2px solid var(--text); border-radius: var(--radius); }
.drawer-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); padding: 0 12px; height: 44px; font: inherit; outline: none; }
.drawer-search button { border: 0; background: var(--text); color: var(--bg); width: 46px; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav > ul > li { border-bottom: 1px solid var(--line); }
.drawer-row { display: flex; align-items: center; }
.drawer-row a { flex: 1; padding: 14px 16px; font: 800 17px/1.2 var(--font-head); text-transform: uppercase; }
.drawer-toggle { border: 0; background: none; width: 52px; height: 50px; display: grid; place-items: center; border-left: 1px solid var(--line); }
.drawer-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.drawer-sub { background: var(--bg-alt); padding: 6px 0 !important; }
.drawer-sub a { display: block; padding: 10px 28px; font-weight: 600; }
.drawer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 20px 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.drawer-theme { padding: 8px 16px 16px; }
.drawer-theme > span { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); padding: 3px; gap: 3px; }
.seg button { border: 0; background: none; padding: 9px 4px; font-size: 13px; font-weight: 600; display: inline-flex; gap: 5px; justify-content: center; align-items: center; border-radius: 2px; }
html[data-theme-pref="light"] .seg [data-theme-set="light"], html[data-theme-pref="dark"] .seg [data-theme-set="dark"], html[data-theme-pref="system"] .seg [data-theme-set="system"], html:not([data-theme-pref]) .seg [data-theme-set="system"] { background: var(--text); color: var(--bg); }
.drawer-social { display: flex; gap: 8px; padding: 8px 16px; }
.drawer-social a { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
body.no-scroll { overflow: hidden; }

/* ---------- search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 210; background: color-mix(in srgb, var(--bg) 96%, transparent); padding-top: 12vh; }
.search-overlay form { display: flex; align-items: center; gap: 10px; border-bottom: 3px solid var(--text); padding-bottom: 8px; }
.search-overlay input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 800 clamp(24px, 6vw, 44px)/1.2 var(--font-head); color: var(--text); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.95); display: flex; align-items: center; justify-content: center; color: #fff; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lb-fig img { max-width: 92vw; max-height: 78vh; object-fit: contain; }
.lb-fig figcaption { padding: 12px 8px 0; font-size: 14px; color: #ccc; text-align: center; max-width: 820px; }
.lb-fig [data-lb-count] { font-weight: 800; color: #fff; margin-right: 8px; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.08); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (max-width: 700px) { .lb-nav { top: auto; bottom: 16px; } }

/* ---------- misc ---------- */
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--text); color: var(--bg); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s; box-shadow: var(--shadow); }
.to-top .ic { transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: 0; transition: .25s; pointer-events: none; z-index: 400; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media print {
  .adminbar, .topbar, .masthead, .ticker, .footer, .sidebar, .share, .to-top, .band, .drawer, .gallery, .tags, .authorbox { display: none !important; }
  body { background: #fff; color: #000; }
  .article-wrap { display: block; }
  .prose { font-size: 12pt; }
}

/* attribution block on imported articles */
.prose .sc-source { margin-top: 2em; padding-top: 14px; border-top: 1px solid var(--line); font: 14px/1.5 var(--font-ui); color: var(--muted); }
.prose .sc-source a { color: var(--text); }

/* ---------- cookie consent + embed gate ---------- */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 780px; margin: 0 auto; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: var(--shadow); padding: 18px 20px; display: grid; gap: 14px; font: 400 14px/1.55 var(--font-ui); }
.cc p { margin: 0; color: var(--text-2); }
.cc a, .cc-modal a { text-decoration: underline; text-underline-offset: 2px; }
.cc-title { font: 800 17px/1.2 var(--font-head); margin: 0 0 6px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-btn { appearance: none; -webkit-appearance: none; cursor: pointer; flex: 1 1 140px; min-height: 44px; padding: 11px 16px; border: 2px solid var(--text); border-radius: var(--radius); background: var(--text); color: var(--bg); font: 700 14px/1.1 var(--font-ui); text-align: center; }
.cc-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cc-btn--ghost { background: transparent; color: var(--text); }
.cc-btn--ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.cc-btn:focus-visible, .cc-close:focus-visible, .cc-switch:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cc-overlay { position: fixed; inset: 0; z-index: 1001; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cc-modal { position: relative; width: 100%; max-width: 580px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: var(--shadow); padding: 24px; font: 400 14px/1.55 var(--font-ui); }
.cc-modal .cc-title { font-size: 20px; padding-right: 36px; }
.cc-intro { margin: 0 0 14px; color: var(--text-2); }
.cc-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: var(--radius); background: transparent; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
.cc-close:hover { background: var(--bg-alt); }
.cc-cat { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.cc-cat h3 { margin: 0; font: 700 15px/1.3 var(--font-ui); }
.cc-cat p { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); }
.cc-always { margin-left: 8px; font: 600 11px/1 var(--font-ui); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cc-switch { appearance: none; -webkit-appearance: none; position: relative; width: 46px; height: 26px; margin: 0; border-radius: 13px; border: 2px solid var(--text); background: var(--bg-alt); cursor: pointer; transition: background .15s; }
.cc-switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform .15s; }
.cc-switch:checked { background: var(--text); }
.cc-switch:checked::before { transform: translateX(20px); background: var(--bg); }
.cc-switch:disabled { opacity: .55; cursor: not-allowed; }
.cc-actions--modal { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.embed-gate { display: grid; place-items: center; aspect-ratio: 16 / 9; margin: 1.2em 0; padding: 16px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.embed-gate-box { max-width: 460px; font-family: var(--font-ui); font-size: 14px; line-height: 1.5; color: var(--text-2); }
.embed-gate-box p { margin: 0 0 10px; }
.embed-gate-title { font: 800 16px/1.2 var(--font-head); color: var(--text); }
.embed-gate-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; align-items: center; }
.embed-gate-actions a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) { .cc { left: 8px; right: 8px; bottom: 8px; padding: 16px; } .cc-modal { padding: 20px 16px; } .embed-gate { aspect-ratio: auto; min-height: 200px; } }
@media (max-width: 720px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } .prose th, .prose td { min-width: 120px; } }

/* Subpages: breadcrumb above the title and the list of pages in the same section */
.page-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font: 600 13px/1.4 var(--font-head); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.page-crumbs a { color: var(--accent); text-decoration: none; }
.page-crumbs a:hover { text-decoration: underline; }
.page-crumbs span { color: var(--muted, #888); }
.subpages { margin: 32px 0 20px; padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.subpages h2 { font: 800 15px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 10px; }
.subpages ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.subpages a { font-weight: 600; text-decoration: none; }
.subpages a:hover { text-decoration: underline; }

/* Front page: keep the two side stories compact so the column lines up with the lead story */
.card--sub .card-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.card--sub .card-sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font-size: 14.5px; }
.card--lead .card-sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.card--sub .card-media { aspect-ratio: 16 / 9; }
@media (min-width: 1000px) { .front-second { gap: 20px; } }

/* Click-to-play video preview (thumbnail served from this site; the player loads on play) */
.embed-gate--play { position: relative; display: block; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; background: #000; border: 0; }
.embed-gate--play .embed-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.embed-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35)); cursor: pointer; }
.embed-play svg { width: 76px; height: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); transition: transform .15s ease; }
.embed-play-bg { fill: #e10a17; fill-opacity: .92; }
.embed-play:hover svg, .embed-play:focus-visible svg { transform: scale(1.08); }
.embed-play:hover .embed-play-bg, .embed-play:focus-visible .embed-play-bg { fill-opacity: 1; }
.embed-play:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.embed-note { position: absolute; right: 10px; bottom: 8px; z-index: 1; padding: 3px 8px; font: 600 12px/1.4 var(--font-ui, sans-serif); color: #fff; background: rgba(0,0,0,.6); border-radius: 3px; text-decoration: none; }
.embed-note:hover { text-decoration: underline; color: #fff; }
@media (max-width: 560px) { .embed-gate--play { aspect-ratio: 16 / 9; min-height: 0; } .embed-play svg { width: 60px; } }
