:root {
  --bg: #0f172a;
  --bg-2: #172554;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #e2e8f0;
  --surface-4: #eff6ff;
  --text: #0f172a;
  --muted: #475569;
  --white: #ffffff;
  --primary: #0ea5e9;
  --primary-700: #0369a1;
  --accent: #f59e0b;
  --success: #22c55e;
  --radius: 24px;
  --radius-lg: 32px;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 10px 20px rgba(15, 23, 42, 0.08);
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--surface-2);
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
iframe { width: 100%; border: 0; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 900px); }
.text-center { text-align: center; }
.site-main { min-height: 60vh; }
.top-strip { background: linear-gradient(90deg, var(--primary-700), var(--bg-2)); color: var(--white); overflow: hidden; }
.top-strip-inner { display: flex; gap: 16px; align-items: center; padding: 8px 0; }
.top-strip-label { background: rgba(255,255,255,.14); padding: 4px 10px; border-radius: 999px; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.ticker-track { overflow: hidden; white-space: nowrap; flex: 1; }
.ticker-track span { display: inline-block; padding-inline-start: 100%; animation: ticker 20s linear infinite; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px); background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(226,232,240,.85); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 16px 0; }
.site-title { font-size: 1.6rem; font-weight: 800; }
.site-tagline { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.brand-wrap .custom-logo { max-height: 72px; width: auto; }
.menu, .footer-menu { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; margin: 0; padding: 0; }
.menu a, .footer-menu a { font-weight: 700; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; padding: 0; width: 44px; height: 44px; }
.menu-toggle span { display:block; width:26px; height:3px; background: var(--text); margin:5px auto; border-radius: 999px; }
.header-actions { display:flex; align-items:center; gap:10px; }
.header-search { width: 42px; height: 42px; border-radius: 999px; display:inline-flex; align-items:center; justify-content:center; background: var(--surface-4); }
.header-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 20px; font-weight: 800; transition: .25s ease;
}
.header-cta, .btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-700)); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-secondary { background: var(--white); border: 1px solid var(--surface-3); }
.btn-secondary.invert { background: transparent; border-color: rgba(255,255,255,.24); color: var(--white); }
.btn.full { width: 100%; }
.hero-section { background: radial-gradient(circle at top left, #1d4ed8 0%, #172554 45%, #0f172a 100%); color: var(--white); padding: 76px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch; }
.eyebrow, .section-kicker { display: inline-block; padding: 7px 12px; border-radius: 999px; font-size: .9rem; font-weight: 800; }
.eyebrow { background: rgba(255,255,255,.12); margin-bottom: 14px; }
.section-kicker { background: rgba(14,165,233,.12); color: var(--primary-700); margin-bottom: 10px; }
.on-dark { background: rgba(255,255,255,.12); color: var(--white); }
.hero-copy h1 { font-size: clamp(2rem, 4.5vw, 4.4rem); line-height: 1.08; margin: 0 0 14px; }
.hero-copy p { max-width: 60ch; color: rgba(255,255,255,.88); }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top: 24px; }
.hero-badges { display:flex; gap:10px; flex-wrap:wrap; margin-top: 18px; }
.hero-badges span { background: rgba(255,255,255,.1); border-radius: 999px; padding: 8px 12px; font-size: .92rem; }
.hero-media-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.stream-embed-wrap, .stream-placeholder { overflow: hidden; border-radius: 24px; background: rgba(255,255,255,.08); margin-bottom: 16px; }
.stream-embed-wrap iframe { aspect-ratio: 16/9; }
.stream-placeholder { padding: 22px; }
.stream-placeholder strong { display:block; font-size: 1.2rem; }
.stream-placeholder p { color: rgba(255,255,255,.82); }
.quick-link-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quick-link-grid a { display:flex; align-items:center; justify-content:center; min-height: 62px; padding:12px; border-radius: 18px; background: rgba(255,255,255,.1); font-weight: 700; text-align:center; }
.section { padding: 64px 0; }
.page-hero { background: linear-gradient(180deg, #eef6ff 0%, rgba(238,246,255,0) 100%); }
.centered { text-align: center; }
.section-heading { margin-bottom: 24px; }
.section-heading h1, .section-heading h2 { margin: 0 0 10px; line-height: 1.2; font-size: clamp(1.8rem, 4vw, 2.9rem); }
.section-heading p { margin: 0; color: var(--muted); }
.cards-grid { display:grid; gap: 20px; }
.cards-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card, .post-card, .feature-box, .single-post-card, .submit-box, .featured-story, .category-module, .mini-surface {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--surface-3); box-shadow: var(--shadow-sm);
}
.info-card { padding: 24px; min-height: 180px; }
.info-card h3 { margin: 0 0 10px; }
.info-card p, .feature-box p, .post-card-body p, .submit-box p, .category-module p, .mini-surface p { color: var(--muted); margin: 0; }
.accent-1 { border-top: 4px solid #0ea5e9; }
.accent-2 { border-top: 4px solid #8b5cf6; }
.accent-3 { border-top: 4px solid #f59e0b; }
.accent-4 { border-top: 4px solid #22c55e; }
.spotlight-grid { display:grid; grid-template-columns: 1.3fr .8fr; gap: 20px; }
.featured-story { overflow:hidden; }
.featured-thumb img { width:100%; aspect-ratio: 16/9; object-fit:cover; }
.featured-story-body, .submit-box, .mini-surface, .feature-box, .category-module, .single-post-card { padding: 24px; }
.stacked-side-boxes { display:grid; gap:20px; }
.placeholder-box { min-height: 220px; display:flex; align-items:center; justify-content:center; }
.dark-band { background: linear-gradient(135deg, #0f172a, #1e293b); color: var(--white); }
.split-band { display:grid; grid-template-columns: 1.35fr auto; gap: 18px; align-items: center; }
.band-actions { display:flex; gap: 12px; flex-wrap:wrap; }
.post-card { overflow:hidden; }
.post-thumb img { width:100%; aspect-ratio: 16/9; object-fit:cover; }
.post-card-body h2, .post-card-body h3, .featured-story-body h3 { margin: 8px 0 10px; line-height:1.3; }
.post-card-body { padding: 22px; }
.post-meta { color: var(--primary-700); font-size: .92rem; font-weight: 800; }
.light-surface { background: #eff6ff; }
.split-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:20px; }
.category-module-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom: 12px; }
.mini-posts { display:grid; gap: 12px; }
.mini-post { display:grid; grid-template-columns: 88px 1fr; gap:12px; align-items:center; padding: 10px 0; border-top:1px solid var(--surface-3); }
.mini-post:first-child { border-top:0; padding-top:0; }
.mini-post img, .thumb-fallback { width:88px; height:64px; object-fit:cover; border-radius: 14px; background: var(--surface-4); display:block; }
.link-arrow { display:inline-flex; margin-top: 16px; color: var(--primary-700); font-weight: 800; }
.page-content, .entry-content { font-size: 1.05rem; }
.entry-content img { border-radius: 20px; }
.featured-image { margin-bottom: 18px; overflow:hidden; border-radius: 24px; }
.pagination-wrap { margin-top: 24px; }
.site-footer { background: #0b1220; color: var(--white); padding: 56px 0 20px; }
.footer-grid { display:grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; }
.footer-grid a { color: #fff; opacity: .92; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 24px; padding-top: 20px; }

@media (max-width: 1100px) {
  .cards-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display:inline-block; }
  .main-nav { display:none; grid-column: 1 / -1; }
  .main-nav.is-open { display:block; }
  .menu { flex-direction: column; padding-top: 10px; }
  .hero-grid, .spotlight-grid, .split-band, .split-grid, .footer-grid, .cards-grid.two, .cards-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cards-grid.four { grid-template-columns: 1fr; }
  .header-cta { display:none; }
  .hero-copy h1 { font-size: 2rem; }
  .quick-link-grid { grid-template-columns: 1fr; }
  .mini-post { grid-template-columns: 72px 1fr; }
  .mini-post img, .thumb-fallback { width:72px; height:54px; }
}
