:root,
html[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #f3f3f0;
  --bg-panel: #f7f7f4;
  --ink: #121212;
  --mute: #5a5a5a;
  --line: #e4e4de;
  --accent: #b8860b;
  --on-accent: #111111;
  --hero-overlay: linear-gradient(transparent, rgba(18,18,18,.78));
  --ticker-bg: #111111;
  --ticker-fg: #ffffff;
  --chip-bg: #111111;
  --chip-fg: #f5d76e;
  --shadow: 0 8px 28px rgba(0,0,0,.06);
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --wrap: min(1180px, calc(100% - 40px));
}

html[data-theme="dark"] {
  --bg: #0b0b0c;
  --bg-soft: #121214;
  --bg-panel: #17171a;
  --ink: #f4f4f2;
  --mute: #a3a3a0;
  --line: #2c2c30;
  --accent: #e0b43a;
  --on-accent: #0b0b0c;
  --hero-overlay: linear-gradient(transparent, rgba(0,0,0,.82));
  --ticker-bg: #e0b43a;
  --ticker-fg: #111111;
  --chip-bg: #e0b43a;
  --chip-fg: #111111;
  --shadow: 0 8px 28px rgba(0,0,0,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.wso-theme {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .2s ease, color .2s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
.wso-wrap { width: var(--wrap); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}
.wso-skip {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: var(--on-accent); padding: 8px 12px; z-index: 100;
}
.wso-skip:focus { left: 12px; top: 12px; }

.wso-logo-dark { display: none; }
html[data-theme="dark"] .wso-logo-light { display: none; }
html[data-theme="dark"] .wso-logo-dark { display: block; }

.wso-utility {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.wso-utility-inner { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.wso-utility-left { display: flex; align-items: center; gap: 14px; }
.wso-domain { color: var(--accent); font-weight: 700; letter-spacing: 0.12em; }
.wso-live { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.wso-live i {
  width: 7px; height: 7px; border-radius: 50%; background: #d0021b;
  box-shadow: 0 0 0 0 rgba(208, 2, 27, 0.55);
  animation: wsoPulse 1.6s infinite;
}
@keyframes wsoPulse { 70% { box-shadow: 0 0 0 8px rgba(208, 2, 27, 0); } }
.wso-utility-menu { display: flex; gap: 16px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.wso-utility-social { display: flex; gap: 12px; margin-left: auto; }

.wso-header {
  background: var(--bg);
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
}
.wso-header-inner { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.wso-brand { display: flex; align-items: center; gap: 16px; }
.wso-logo img, .custom-logo-link img { height: 58px; width: auto; }
.wso-tagline {
  display: none; color: var(--mute); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; border-left: 1px solid var(--line); padding-left: 16px;
}
.wso-nav { margin-left: auto; }
.wso-menu {
  display: flex; gap: 22px; list-style: none; margin: 0; padding: 0;
  font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px;
}
.wso-menu .sub-menu {
  display: none; position: absolute; background: var(--bg); min-width: 180px;
  padding: 10px 0; list-style: none; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.wso-menu > li { position: relative; }
.wso-menu > li:hover > .sub-menu { display: block; }
.wso-menu .sub-menu a { display: block; padding: 8px 14px; }
.wso-header-tools { display: flex; align-items: center; gap: 4px; }
.wso-nav-toggle, .wso-search-toggle, .wso-theme-toggle {
  background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px;
}
.wso-theme-toggle {
  border: 1px solid var(--line); border-radius: 999px; min-width: 52px;
  display: inline-flex; justify-content: space-between; gap: 6px; padding: 6px 10px;
}
html[data-theme="light"] .wso-theme-moon { opacity: .35; }
html[data-theme="dark"] .wso-theme-sun { opacity: .35; }
.wso-nav-toggle { display: none; }
.wso-nav-toggle-bars,
.wso-nav-toggle-bars::before,
.wso-nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
}
.wso-nav-toggle-bars::before,
.wso-nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.wso-nav-toggle-bars::before { top: -6px; }
.wso-nav-toggle-bars::after { top: 6px; }
.wso-search-panel { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 16px 0; }
.wso-search-panel form, .wso-searchform { display: flex; gap: 8px; }
.wso-search-panel input, .wso-searchform input {
  flex: 1; background: var(--bg); border: 1px solid var(--line); color: var(--ink); padding: 12px 14px;
}
.wso-search-panel button, .wso-searchform button, .wso-btn {
  background: var(--accent); color: var(--on-accent); border: 0;
  padding: 12px 18px; text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-display); cursor: pointer;
}
.wso-btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }

.wso-ticker { background: var(--ticker-bg); color: var(--ticker-fg); overflow: hidden; }
.wso-ticker-inner { display: flex; align-items: center; min-height: 36px; gap: 16px; }
.wso-ticker-label { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; flex: none; }
.wso-ticker-track { overflow: hidden; white-space: nowrap; }
.wso-ticker-track p { margin: 0; display: inline-block; animation: wsoMarquee 22s linear infinite; }
@keyframes wsoMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.wso-main { padding-bottom: 40px; }
.wso-kicker {
  color: var(--accent); font-family: var(--font-display); letter-spacing: 0.2em;
  font-size: 12px; margin: 0 0 6px; text-transform: uppercase;
}
.wso-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin: 48px 0 22px; border-bottom: 2px solid var(--ink); padding-bottom: 10px;
}
.wso-section-head h2 { margin: 0; font-size: 32px; }
.wso-more { color: var(--mute); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.wso-chip {
  display: inline-block; background: var(--chip-bg); color: var(--chip-fg) !important;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 8px; margin-bottom: 8px; font-weight: 700;
}
.wso-meta { display: flex; gap: 12px; color: var(--mute); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.wso-ph { background: linear-gradient(135deg, var(--bg-soft), var(--line)); min-height: 90px; }
.wso-ph-lead { min-height: 420px; }
.wso-ph-wide { min-height: 280px; }
.wso-ph-poster { min-height: 320px; }

.wso-featured { padding: 28px 0 10px; }
.wso-featured-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; }
.wso-lead-media img, .wso-lead-media .wso-ph { width: 100%; height: 460px; object-fit: cover; }
.wso-lead-title { font-size: 42px; margin: 10px 0; }
.wso-side-stack { display: flex; flex-direction: column; gap: 16px; }
.wso-side-card { display: grid; grid-template-columns: 140px 1fr; gap: 14px; }
.wso-side-media img, .wso-side-card .wso-ph { width: 140px; height: 96px; object-fit: cover; }
.wso-side-card h3 { font-size: 18px; }

.wso-latest { background: var(--bg-soft); padding: 8px 0 36px; }
.wso-latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.wso-latest-item { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); background: var(--bg); }
.wso-index { font-family: var(--font-display); color: var(--accent); font-size: 28px; line-height: 1; }
.wso-latest-item h3 { font-size: 18px; }

.wso-ent-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.wso-ent-hero { position: relative; }
.wso-ent-hero img, .wso-ent-hero .wso-ph { width: 100%; height: 460px; object-fit: cover; }
.wso-ent-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px;
  background: var(--hero-overlay); color: #fff;
}
.wso-ent-overlay h3 { font-size: 30px; color: #fff; }
.wso-ent-list { display: flex; flex-direction: column; gap: 16px; }
.wso-row-card { display: grid; grid-template-columns: 120px 1fr; gap: 14px; }
.wso-row-card img, .wso-row-card .wso-ph { width: 120px; height: 80px; object-fit: cover; }
.wso-row-card h3 { font-size: 18px; }
.wso-row-card p { color: var(--mute); font-size: 14px; margin: 0; }

.wso-film { background: var(--bg-soft); padding: 8px 0 48px; }
html[data-theme="dark"] .wso-film { background: #14110a; }
.wso-film-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wso-poster { position: relative; overflow: hidden; }
.wso-poster img, .wso-poster .wso-ph { width: 100%; height: 340px; object-fit: cover; }
.wso-poster-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.88)); color: #fff;
}
.wso-poster h3 { font-size: 18px; color: #fff; }

.wso-gossip { background: #f6f1e4; color: #111; padding: 12px 0 48px; }
html[data-theme="dark"] .wso-gossip { background: #1b1812; color: var(--ink); }
.wso-gossip .wso-section-head { border-bottom-color: currentColor; }
.wso-gossip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wso-gossip-img img, .wso-gossip-img .wso-ph { width: 100%; height: 220px; object-fit: cover; }
.wso-gossip-body { padding-top: 12px; }
.wso-gossip-body p { color: var(--mute); }

.wso-world-grid { display: grid; grid-template-columns: 1.6fr 0.8fr; gap: 36px; }
.wso-world-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.wso-world-row img, .wso-world-row .wso-ph { width: 200px; height: 124px; object-fit: cover; }
.wso-world-row h3 { font-size: 22px; }
.wso-world-row p { color: var(--mute); margin: 6px 0; }
.wso-trend {
  background: var(--bg-panel); padding: 22px; border-top: 4px solid var(--accent);
  align-self: start; position: sticky; top: 100px;
}
.wso-trend h2 { font-size: 22px; margin-bottom: 16px; }
.wso-trend ol { list-style: none; margin: 0; padding: 0; }
.wso-trend li {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); text-transform: uppercase;
}
.wso-trend li span { color: var(--accent); font-size: 20px; }

.wso-watch { padding-bottom: 20px; }
.wso-watch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wso-watch-card { position: relative; }
.wso-watch-card img, .wso-watch-card .wso-ph { width: 100%; height: 180px; object-fit: cover; }
.wso-watch-card h3 { font-size: 16px; margin-top: 10px; }
.wso-play {
  position: absolute; left: 12px; top: 12px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent);
}
.wso-play::after {
  content: ""; position: absolute; left: 14px; top: 11px;
  border-style: solid; border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--on-accent);
}

.wso-newsletter { background: var(--accent); color: var(--on-accent); padding: 42px 0; }
.wso-newsletter-inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.wso-newsletter h2 { font-size: 34px; max-width: 520px; }
.wso-newsletter .wso-kicker { color: inherit; opacity: .8; }
.wso-newsletter-form { display: flex; flex-wrap: wrap; gap: 8px; min-width: 320px; }
.wso-newsletter-form input { flex: 1; min-width: 220px; padding: 14px; border: 0; background: #fff; color: #111; }
.wso-newsletter-form button {
  background: #111; color: #fff; border: 0; padding: 14px 20px;
  text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; font-family: var(--font-display);
}
.wso-form-note { width: 100%; margin: 6px 0 0; font-size: 13px; }

.wso-footer { background: var(--bg-soft); padding: 48px 0 0; border-top: 1px solid var(--line); }
.wso-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 36px; }
.wso-footer h3 { font-size: 14px; letter-spacing: 0.14em; }
.wso-footer-menu { list-style: none; margin: 0; padding: 0; }
.wso-footer-menu li { margin: 8px 0; }
.wso-footer-menu a { color: var(--mute); }
.wso-author { color: var(--mute); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.wso-footer-base { border-top: 1px solid var(--line); }
.wso-footer-base-inner {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; color: var(--mute); font-size: 12px;
}

.wso-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: var(--bg); border-top: 3px solid var(--accent);
  padding: 16px 0; box-shadow: var(--shadow);
}
.wso-cookie-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.wso-cookie p { margin: 0; color: var(--mute); }
.wso-cookie-actions { display: flex; gap: 8px; flex: none; }

.wso-archive-layout, .wso-article-layout {
  display: grid; grid-template-columns: 1.7fr 0.7fr; gap: 36px; padding: 36px 0;
}
.wso-page-layout { padding: 36px 0; max-width: 820px; }
.wso-archive-head h1 { font-size: 40px; }
.wso-stream-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.wso-stream-media img, .wso-stream-card .wso-ph { width: 240px; height: 150px; object-fit: cover; }
.wso-article-head h1 {
  font-size: 44px; text-transform: none; font-family: var(--font-sans);
  letter-spacing: -0.02em; font-weight: 800;
}
.wso-article-hero img { width: 100%; max-height: 520px; object-fit: cover; margin: 18px 0; }
.wso-prose { font-size: 18px; color: var(--ink); }
.wso-prose p { margin: 0 0 1.1em; }
.wso-prose a { color: var(--accent); text-decoration: underline; }
.wso-sidebar .wso-widget { background: var(--bg-panel); padding: 18px; margin-bottom: 18px; }
.wso-widget-title { font-size: 16px; border-bottom: 2px solid var(--accent); padding-bottom: 8px; }
.wso-sidebar ul { list-style: none; margin: 0; padding: 0; }
.wso-sidebar li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.wso-empty { padding: 80px 0; text-align: center; }
.wso-comments { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.wso-tags a {
  display: inline-block; border: 1px solid var(--line);
  padding: 4px 10px; margin: 4px 6px 0 0; font-size: 12px;
}
.nav-links { display: flex; gap: 12px; padding: 24px 0; }

@media (min-width: 960px) { .wso-tagline { display: inline-block; } }

@media (max-width: 960px) {
  .wso-featured-grid, .wso-ent-grid, .wso-world-grid, .wso-archive-layout,
  .wso-article-layout, .wso-footer-grid, .wso-newsletter-inner, .wso-latest-grid,
  .wso-film-grid, .wso-gossip-grid, .wso-watch-grid { grid-template-columns: 1fr; }
  .wso-nav-toggle { display: block; }
  .wso-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); padding: 16px 20px; border-bottom: 1px solid var(--line);
  }
  body.wso-nav-open .wso-nav { display: block; }
  .wso-menu { flex-direction: column; gap: 12px; }
  .wso-lead-title { font-size: 30px; }
  .wso-lead-media img { height: 240px; }
  .wso-stream-card, .wso-world-row, .wso-side-card, .wso-row-card { grid-template-columns: 1fr; }
  .wso-stream-media img, .wso-world-row img { width: 100%; height: 200px; }
  .wso-cookie-inner { flex-direction: column; align-items: flex-start; }
  .wso-trend { position: static; }
  .wso-utility-menu { display: none; }
}
