/* ═══════════════════════════════════════════════
   PULSE 24 — BROADCAST NEWS TEMPLATE
   Main Stylesheet v1.0
   ═══════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --red: #D92D24;
  --red-dark: #B91F1A;
  --blue: #0A1628;
  --blue-mid: #132238;
  --blue-light: #1B3250;
  --cyan: #E5202E;
  --cyan-dim: #B81620;
  --gold: #E5202E;
  --white: #FFFFFF;
  --gray-100: #F4F5F7;
  --gray-200: #E2E4E8;
  --gray-300: #C4C8D0;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --header-h: 56px;
  --max-width: 1340px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--gray-100);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.image-fallback { background: linear-gradient(135deg, var(--gray-200), var(--gray-100)); }
.image-failed { opacity: 0; }
ul { list-style: none; }
button { font-family: var(--font-body); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #5DA9DD;
  outline-offset: 3px;
}
#mainContent:focus { outline: none; }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 3000;
  transform: translateY(-150%); background: white; color: var(--blue);
  padding: 10px 14px; border-radius: 4px; font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

/* ── UTILITY ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ═══════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════ */
.topbar {
  background: var(--blue);
  color: var(--gray-300);
  font-size: 12px;
  letter-spacing: 0.04em;
  height: 36px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-left .date-display {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5DA9DD;
}
.topbar-left .location { opacity: 0.6; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right a {
  color: var(--gray-300);
  transition: color 0.2s;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.topbar-right a:hover { color: #5DA9DD; }
.topbar-social { display: flex; gap: 10px; margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.1); }
.topbar-social a { font-size: 13px; opacity: 0.5; transition: opacity 0.2s; }
.topbar-social a:hover { opacity: 1; color: #5DA9DD; }

/* ═══════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════ */
.header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.header-inner > nav { height: 100%; }

/* Logo */
.logo { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.logo-icon {
  width: 40px; height: 40px;
  background: var(--red);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: white;
  letter-spacing: -1px;
  position: relative;
  overflow: hidden;
}
.logo-icon::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: scanline 3s linear infinite;
}
@keyframes scanline { 0%{top:0} 100%{top:100%} }
.logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1;
}
.logo-text span { color: var(--cyan); }
.logo-sub {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gray-500);
  font-weight: 600;
  margin-top: -2px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 0; height: 100%; }
.nav > li { height: 100%; position: relative; }
.nav-submenu-toggle { display: none; }
.nav > li > a {
  display: flex; align-items: center; height: 100%;
  padding: 0 16px;
  color: var(--gray-300);
  font-weight: 600; font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.2s;
  position: relative;
}
.nav-caret { margin-left: 5px; font-size: 11px; }
.nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 3px;
  background: #5DA9DD;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav > li:hover > a { color: var(--white); }
.nav > li:hover > a::after { transform: scaleX(1); }
.nav > li.active > a { color: var(--white); }
.nav > li.active > a::after { transform: scaleX(1); }

/* Dropdown */
.nav .dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border-top: 3px solid var(--red);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 12px 20px;
  font-size: 14px; color: var(--gray-700); font-weight: 500;
  transition: all 0.15s;
  border-bottom: 1px solid var(--gray-200);
}
.dropdown li:last-child a { border: none; }
.dropdown li a:hover { background: var(--gray-100); color: var(--red); padding-left: 24px; }

/* Mega Menu */
.mega-menu {
  position: absolute; top: 100%;
  left: 50%; transform: translateX(-50%) translateY(8px);
  width: 900px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border-top: 3px solid var(--red);
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
  padding: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  z-index: 100;
}
.nav > li:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-card { border-radius: 6px; overflow: hidden; }
.mega-card img {
  width: 100%; height: 120px; object-fit: cover;
  border-radius: 6px; transition: transform 0.4s;
}
.mega-card:hover img { transform: scale(1.05); }
.mega-card .cat-label {
  display: inline-block; margin-top: 10px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--red);
}
.mega-card h4 {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700; line-height: 1.3;
  margin-top: 4px; color: var(--gray-900);
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-live {
  display: flex; align-items: center; gap: 6px;
  background: #E73E33 !important; color: white;
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: 2px;
  padding: 8px 18px; border: none; cursor: pointer;
  border-radius: 4px; position: relative; overflow: hidden;
  transition: background 0.2s;
}
.btn-live:hover { background: var(--red-dark); }
.btn-live .pulse-dot {
  width: 8px; height: 8px;
  background: white; border-radius: 50%;
  animation: pulse-live 1.5s ease-in-out infinite;
}
@keyframes pulse-live { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

.btn-search {
  width: 40px; height: 40px;
  background: var(--blue-light); border: none; border-radius: 4px;
  color: var(--gray-300); font-size: 18px; cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.btn-search:hover { background: var(--blue-mid); color: var(--cyan); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--white);
  border-radius: 2px; transition: all 0.3s;
}

body.mobile-nav-open,
body.search-open { overflow: hidden; }

.search-overlay {
  position: fixed; inset: 0;
  width: 100%; max-width: 100vw;
  background: rgba(10,22,40,0.95);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  overflow: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-dialog { width: min(700px, 100%); min-width: 0; }
.search-close-row { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.search-close {
  width: 44px; height: 44px;
  background: transparent; border: 0; color: white;
  font-size: 30px; line-height: 1; cursor: pointer;
}
.search-dialog-form,
.search-dialog-form input { width: 100%; min-width: 0; }
.search-dialog-form input {
  padding: 18px 22px;
  font-size: 20px; font-family: var(--font-body);
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px; color: white; outline: none;
}
.search-dialog-form input:focus { border-color: #5DA9DD; }

/* ═══════════════════════════════════════════════
   BREAKING NEWS TICKER
   ═══════════════════════════════════════════════ */
.ticker-wrap {
  background: var(--red); color: white;
  height: 40px; display: flex; align-items: center;
  overflow: hidden; position: relative;
}
.ticker-label {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 3px;
  padding: 0 20px; height: 100%;
  display: flex; align-items: center;
  background: var(--gray-900);
  position: relative; z-index: 2;
}
.ticker-label::after { display: none; }
.ticker-label .dot {
  width: 8px; height: 8px;
  background: var(--red); border-radius: 50%;
  margin-right: 10px;
  animation: pulse-live 1s ease infinite;
}
.ticker-content {
  display: flex;
  animation: ticker-scroll 120s linear infinite;
  padding-left: 30px;
}
.ticker-content:hover, .ticker-content:focus-within, .ticker-content.paused { animation-play-state: paused; }
.ticker-copy { display: flex; }
.ticker-item {
  flex-shrink: 0; padding: 0 40px;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em; white-space: nowrap;
  display: flex; align-items: center; gap: 12px;
}
.ticker-item:hover, .ticker-item:focus-visible { text-decoration: underline; }
.ticker-toggle {
  flex: 0 0 40px; align-self: stretch; border: 0; background: var(--gray-900);
  color: white; cursor: pointer; position: relative; z-index: 3; font-weight: 900;
}
.ticker-item .sep {
  width: 5px; height: 5px;
  background: rgba(255,255,255,0.4); border-radius: 50%;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero { padding: 24px 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
}
.hero-main {
  position: relative; border-radius: 10px; overflow: hidden;
  min-height: 480px; cursor: pointer;
}
.hero-main img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 6s ease;
}
.hero-main:hover img { transform: scale(1.04); }
.hero-main .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}
.hero-main .content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 36px; z-index: 2;
}
.hero-main .live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: white;
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 2px;
  padding: 4px 14px; border-radius: 3px; margin-bottom: 14px;
}
.hero-main .live-badge .dot { width: 6px; height: 6px; background: white; border-radius: 50%; animation: pulse-live 1s ease infinite; }

/* Tags */
.tag {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 3px;
  background: var(--red); color: white;
}
.tag-red,
.tag-cyan,
.tag-gold,
.tag-blue { background: var(--red); color: white; }

.hero-main .tag { margin-bottom: 14px; margin-left: 8px; background: var(--red); color: white; }
.hero-main h1 {
  font-family: var(--font-serif);
  font-size: 36px; color: white; line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-main .meta {
  display: flex; align-items: center; gap: 16px;
  color: rgba(255,255,255,0.7); font-size: 13px;
}
.hero-main .meta .author { font-weight: 700; color: var(--cyan); }
.hero-main .meta .time { font-family: var(--font-mono); font-size: 11px; }

/* Sidebar stories */
.hero-sidebar { display: flex; flex-direction: column; gap: 12px; }
.hero-card {
  position: relative; border-radius: 8px; overflow: hidden;
  flex: 1; min-height: 150px; cursor: pointer;
}
.hero-card img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 0.5s ease;
}
.hero-card:hover img { transform: scale(1.06); }
.hero-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
}
.hero-card .content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px; z-index: 2;
}
.hero-card .tag {
  display: inline-block; font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 3px 10px; border-radius: 3px; margin-bottom: 8px;
  background: var(--gold); color: var(--blue);
}
.hero-card h3 {
  font-family: var(--font-serif);
  font-size: 18px; color: white; line-height: 1.25;
}
.hero-card .meta { margin-top: 6px; font-size: 11px; color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════ */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
  position: relative;
}
.section-header::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 80px; height: 2px; background: var(--red);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 30px; letter-spacing: 2px; color: var(--blue);
  display: flex; align-items: center; gap: 10px;
}
.section-header h2 .icon {
  width: 32px; height: 32px;
  background: var(--red); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px;
}
.section-header .view-all {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red);
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.section-header .view-all:hover { gap: 10px; }

/* Tab nav */
.tab-nav {
  display: flex; gap: 0; margin-bottom: 24px;
  border-bottom: 2px solid var(--gray-200);
}
.tab-nav button {
  background: none; border: none;
  font-family: var(--font-body);
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 12px 20px; color: var(--gray-500);
  cursor: pointer; position: relative; transition: color 0.2s;
}
.tab-nav button.active { color: var(--red); }
.tab-nav button.active::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--red);
}
.tab-nav button:hover { color: var(--gray-900); }

/* ═══════════════════════════════════════════════
   NEWS CARDS
   ═══════════════════════════════════════════════ */
.news-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s ease; cursor: pointer;
}
.news-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.news-card .thumb {
  position: relative; overflow: hidden; height: 200px;
}
.news-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .thumb .tag {
  position: absolute; top: 14px; left: 14px;
}
.news-card .thumb .duration {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.7); color: white;
  font-family: var(--font-mono); font-size: 11px;
  padding: 2px 8px; border-radius: 3px;
}
.news-card .body { padding: 20px; }
.news-card .body h3 {
  font-family: var(--font-serif);
  font-size: 20px; line-height: 1.3;
  margin-bottom: 10px; color: var(--gray-900);
  transition: color 0.2s;
}
.news-card:hover .body h3 { color: var(--red); }
.news-card .body p {
  font-size: 14px; line-height: 1.6;
  color: var(--gray-500); margin-bottom: 14px;
}
.news-card .body .meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--gray-500);
}
.news-card .body .meta .author { font-weight: 700; color: var(--blue); }

/* Horizontal news card */
.news-card-h {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex; cursor: pointer; transition: all 0.3s;
}
.news-card-h:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-2px); }
.news-card-h .thumb {
  width: 280px; flex-shrink: 0; overflow: hidden; position: relative;
}
.news-card-h .thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
}
.news-card-h:hover .thumb img { transform: scale(1.06); }
.news-card-h .body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.news-card-h .body h3 {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.3;
  margin-bottom: 10px; color: var(--gray-900); transition: color 0.2s;
}
.news-card-h:hover .body h3 { color: var(--red); }
.news-card-h .body p { font-size: 14px; line-height: 1.6; color: var(--gray-500); margin-bottom: 14px; }
.news-card-h .body .meta { font-size: 12px; color: var(--gray-500); }
.news-card-h .body .meta .author { font-weight: 700; color: var(--blue); }

/* List card (compact) */
.list-card {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer; transition: all 0.2s;
}
.list-card:last-child { border: none; }
.list-card:hover .list-card-text h4 { color: var(--red); }
.list-card .list-thumb {
  width: 90px; height: 70px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden;
}
.list-card .list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-card-text h4 {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700; line-height: 1.35;
  color: var(--gray-900); transition: color 0.2s;
}
.list-card-text .meta { font-size: 11px; color: var(--gray-500); margin-top: 6px; }

.numbered-list { counter-reset: item; }
.numbered-list .list-card { counter-increment: item; position: relative; padding-left: 44px; }
.numbered-list .list-card::before {
  content: counter(item, decimal-leading-zero);
  position: absolute; left: 0; top: 18px;
  font-family: var(--font-display); font-size: 28px;
  color: var(--gray-200); line-height: 1;
}

/* ═══════════════════════════════════════════════
   CATEGORY CARDS
   ═══════════════════════════════════════════════ */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.cat-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s; cursor: pointer;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.cat-card .thumb { height: 160px; overflow: hidden; position: relative; }
.cat-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
}
.cat-card:hover .thumb img { transform: scale(1.08); }
.cat-card .thumb .tag { position: absolute; top: 10px; left: 10px; }
.cat-card .body { padding: 16px; }
.cat-card .body h4 {
  font-size: 15px; font-weight: 700; line-height: 1.35;
  color: var(--gray-900); margin-bottom: 8px; transition: color 0.2s;
}
.cat-card:hover .body h4 { color: var(--red); }
.cat-card .body .meta { font-size: 11px; color: var(--gray-500); }

/* ═══════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════ */
.video-section {
  background: var(--blue); padding: 50px 0;
  margin: 40px 0; position: relative; overflow: hidden;
}
.video-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.video-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px;
  position: relative; z-index: 1;
}
.video-main {
  border-radius: 10px; overflow: hidden;
  position: relative; cursor: pointer; min-height: 380px;
}
.video-main img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.video-main .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%);
}
.video-main .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 72px; height: 72px;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: transform 0.3s;
  box-shadow: 0 0 0 12px rgba(229,32,46,0.2);
}
.video-main:hover .play-btn { transform: translate(-50%,-50%) scale(1.1); }
.play-btn svg { fill: white; margin-left: 3px; }
.video-main .content { position: absolute; bottom: 0; padding: 28px; z-index: 2; }
.video-main .content h3 {
  font-family: var(--font-serif); font-size: 24px; color: white;
  line-height: 1.25; margin-bottom: 8px;
}
.video-main .content .meta { font-size: 12px; color: rgba(255,255,255,0.6); }

.video-list { display: flex; flex-direction: column; gap: 12px; }
.video-sm {
  display: flex; gap: 14px;
  background: var(--blue-mid); border-radius: 8px;
  overflow: hidden; padding: 12px; cursor: pointer;
  transition: background 0.2s;
}
.video-sm:hover { background: var(--blue-light); }
.video-sm .thumb {
  width: 140px; height: 85px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden; position: relative;
}
.video-sm .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-sm .thumb .dur {
  position: absolute; bottom: 4px; right: 4px;
  background: rgba(0,0,0,0.7); color: white;
  font-family: var(--font-mono); font-size: 10px;
  padding: 1px 6px; border-radius: 2px;
}
.video-sm .thumb .play-sm {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3); opacity: 0; transition: opacity 0.2s;
}
.video-sm:hover .thumb .play-sm { opacity: 1; }
.play-sm svg { fill: white; width: 24px; height: 24px; }
.video-sm-text h4 {
  font-size: 14px; font-weight: 700;
  color: var(--gray-200); line-height: 1.35;
  margin-bottom: 6px; transition: color 0.2s;
}
.video-sm:hover .video-sm-text h4 { color: #5DA9DD; }
.video-sm-text .meta {
  font-size: 11px; color: var(--gray-500);
  display: flex; align-items: center; gap: 8px;
}
.video-sm-text .views { color: var(--cyan-dim); }

/* ═══════════════════════════════════════════════
   OPINION STRIP
   ═══════════════════════════════════════════════ */
.opinion-strip {
  background: var(--white); border-top: 3px solid #5DA9DD; padding: 40px 0;
}
.opinion-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.opinion-card { text-align: center; cursor: pointer; }
.opinion-card .avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 14px; overflow: hidden;
  border: 3px solid #5DA9DD; position: relative;
}
.opinion-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.opinion-card blockquote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 16px; line-height: 1.5; color: var(--gray-700);
  margin-bottom: 12px;
}
.opinion-card .name {
  font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue);
}
.opinion-card .role { font-size: 12px; color: var(--gray-500); }

/* ═══════════════════════════════════════════════
   SIDEBAR WIDGETS
   ═══════════════════════════════════════════════ */
.sidebar-panel {
  background: var(--white); border-radius: 8px; padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.sidebar-panel .panel-title {
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: 1px; color: var(--blue);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
  position: relative;
}
.sidebar-panel .panel-title::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 40px; height: 2px; background: var(--red);
}

/* Weather */
.weather-widget {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 10px; padding: 24px; color: white; margin-bottom: 20px;
}
.weather-widget .location-name {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: #5DA9DD; font-weight: 700; margin-bottom: 8px;
}
.weather-widget .temp { font-family: var(--font-display); font-size: 56px; line-height: 1; }
.weather-widget .desc { font-size: 14px; color: var(--gray-300); margin-top: 4px; }
.weather-forecast {
  display: flex; gap: 10px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.forecast-day { flex: 1; text-align: center; font-size: 11px; color: var(--gray-300); }
.forecast-day .day { font-weight: 700; margin-bottom: 4px; }
.forecast-day .ftemp { font-family: var(--font-display); font-size: 20px; color: white; }

/* Newsletter */
.newsletter-box {
  background: #6D6E72; border-radius: 10px; padding: 28px;
  color: white; text-align: center;
}
.newsletter-box h3 {
  font-family: var(--font-display); font-size: 24px;
  letter-spacing: 2px; margin-bottom: 8px;
}
.newsletter-box p { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 18px; }
.newsletter-box .input-group { display: flex; gap: 0; border-radius: 6px; overflow: hidden; }
.newsletter-box input {
  flex: 1; padding: 12px 16px; border: none; font-size: 14px;
  font-family: var(--font-body); outline: none;
}
.newsletter-box button {
  background: var(--blue); color: white; border: none;
  padding: 12px 20px; font-family: var(--font-display);
  font-size: 14px; letter-spacing: 2px; cursor: pointer;
  transition: background 0.2s;
}
.newsletter-box button:hover { background: var(--blue-light); }

/* Ad banner */
.ad-banner {
  background: var(--gray-200); border-radius: 8px;
  height: 90px; display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.15em;
  margin: 30px 0; border: 1px dashed var(--gray-300);
}

/* ═══════════════════════════════════════════════
   ARTICLE / SINGLE POST PAGE
   ═══════════════════════════════════════════════ */
.article-header { padding: 40px 0 20px; }
.article-header .breadcrumb {
  font-size: 12px; color: var(--gray-500); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.article-header .breadcrumb a { color: var(--red); font-weight: 600; }
.article-header h1 {
  font-family: var(--font-serif); font-size: 42px; line-height: 1.15;
  color: var(--gray-900); margin-bottom: 16px; max-width: 800px;
}
.article-header .subtitle {
  font-size: 18px; color: var(--gray-500); line-height: 1.5;
  max-width: 700px; margin-bottom: 20px;
}
.content-label {
  display: inline-block; margin: 0 0 16px 8px; padding: 4px 10px;
  border: 1px solid var(--gray-300); border-radius: 3px; color: var(--gray-700);
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.article-meta-bar {
  display: flex; align-items: center; gap: 20px; padding: 16px 0;
  border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
  font-size: 13px; color: var(--gray-500);
}
.article-meta-bar .author-avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.article-meta-bar .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.article-meta-bar .author-name { font-weight: 700; color: var(--blue); }
.article-meta-bar .share-btns { margin-left: auto; display: flex; gap: 8px; }
.article-meta-bar .share-btns a {
  width: 32px; height: 32px; border-radius: 4px;
  background: var(--gray-100); display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; color: var(--gray-500); transition: all 0.2s;
}
.article-meta-bar .share-btns a:hover { background: var(--red); color: white; }

.article-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 40px;
  padding: 30px 0 60px;
}
.article-body { max-width: 760px; }
.article-body .featured-img {
  border-radius: 10px; overflow: hidden; margin-bottom: 30px;
}
.article-body .featured-img img { width: 100%; }
.article-body .featured-img figcaption {
  font-size: 12px; color: var(--gray-500); padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
}
.article-body p {
  font-size: 17px; line-height: 1.8; color: var(--gray-700);
  margin-bottom: 20px;
}
.article-body h2 {
  font-family: var(--font-serif); font-size: 28px; color: var(--gray-900);
  margin: 36px 0 16px;
}
.article-body h3 {
  font-family: var(--font-serif); font-size: 22px; color: var(--gray-900);
  margin: 28px 0 12px;
}
.article-body blockquote {
  border-left: 4px solid var(--red); padding: 20px 24px;
  margin: 28px 0; background: var(--gray-100); border-radius: 0 8px 8px 0;
  font-family: var(--font-serif); font-size: 20px; font-style: italic;
  color: var(--gray-700); line-height: 1.5;
}
.article-body ul, .article-body ol {
  padding-left: 24px; margin-bottom: 20px;
}
.article-body li {
  font-size: 17px; line-height: 1.8; color: var(--gray-700);
  margin-bottom: 8px; list-style: disc;
}
.article-body figure { margin: 28px 0; }
.article-body figure img { border-radius: 8px; }
.source-disclosure {
  margin-top: 28px; padding: 18px 20px; border-left: 4px solid var(--red);
  background: var(--white); border-radius: 0 8px 8px 0;
}
.source-disclosure strong { display: block; margin-bottom: 4px; color: var(--gray-900); }
.source-disclosure p { margin: 0; font-size: 14px; }
.article-share { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.share-copy {
  border: 1px solid var(--gray-300); background: white; color: var(--gray-700);
  padding: 9px 13px; border-radius: 4px; cursor: pointer; font-weight: 700;
}
.share-copy:hover { border-color: var(--red); color: var(--red); }
.share-status { font-size: 13px; color: var(--gray-500); }

/* Article tags */
.article-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 20px 0; border-top: 1px solid var(--gray-200); margin-top: 30px;
}
.article-tags a {
  background: var(--gray-100); padding: 6px 14px;
  border-radius: 4px; font-size: 12px; font-weight: 600;
  color: var(--gray-700); transition: all 0.2s;
}
.article-tags a:hover { background: var(--red); color: white; }

/* ═══════════════════════════════════════════════
   CATEGORY / LISTING PAGE
   ═══════════════════════════════════════════════ */
.page-header {
  background: var(--blue); padding: 40px 0; color: white;
}
.page-header h1 {
  font-family: var(--font-display); font-size: 48px; letter-spacing: 3px;
}
.page-header .subtitle { font-size: 16px; color: var(--gray-300); margin-top: 8px; }

.category-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 30px;
  padding: 40px 0;
}
.articles-list { display: flex; flex-direction: column; gap: 24px; }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 40px 0;
}
.pagination a, .pagination span {
  width: 40px; height: 40px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; transition: all 0.2s;
}
.pagination a {
  background: var(--white); color: var(--gray-700);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.pagination a:hover { background: var(--red); color: white; }
.pagination span.current { background: var(--red); color: white; }
.pagination .prev, .pagination .next {
  width: auto; padding: 0 16px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 50px 0;
}
.contact-info h3 {
  font-family: var(--font-display); font-size: 26px;
  letter-spacing: 1px; margin-bottom: 16px;
}
.contact-info p { font-size: 15px; line-height: 1.7; color: var(--gray-500); margin-bottom: 24px; }
.contact-detail {
  display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start;
}
.contact-detail .icon-box {
  width: 44px; height: 44px; background: var(--gray-100);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-detail h4 {
  font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px;
}
.contact-detail p { font-size: 14px; color: var(--gray-500); margin: 0; }

.contact-form {}
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gray-700); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200);
  border-radius: 6px; font-size: 15px; font-family: var(--font-body);
  transition: border-color 0.2s; outline: none; background: white;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--cyan);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-primary {
  background: var(--red); color: white; border: none;
  padding: 14px 36px; border-radius: 6px;
  font-family: var(--font-display); font-size: 16px;
  letter-spacing: 2px; cursor: pointer; transition: background 0.2s;
}
.btn-primary:hover { background: var(--red-dark); }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--blue); color: var(--gray-300);
  padding: 60px 0 0; margin-top: 50px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p {
  font-size: 14px; line-height: 1.7; color: var(--gray-500); margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; background: var(--blue-mid);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  color: var(--gray-300); font-size: 14px; transition: all 0.2s;
}
.footer-social a:hover { background: #5DA9DD; color: white; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: 1px; color: white; margin-bottom: 20px;
}
.footer-col ul li a {
  display: block; padding: 6px 0; font-size: 14px;
  color: var(--gray-500); transition: all 0.2s;
}
.footer-col ul li a:hover { color: #5DA9DD; padding-left: 4px; }
.footer-bottom {
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: 12px; color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-500); margin-right: 16px; transition: color 0.2s; }
.footer-bottom a:hover { color: #5DA9DD; }

/* ═══════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════ */
.scroll-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--red); color: white; border: none;
  border-radius: 50%; font-size: 20px; cursor: pointer;
  z-index: 999; opacity: 0; transform: translateY(20px);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(229,32,46,0.4);
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: all 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════
   LAYOUT GRIDS
   ═══════════════════════════════════════════════ */
.latest-grid {
  display: grid; grid-template-columns: 1fr 1fr 340px; gap: 30px;
}
.home-trending-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px;
}
.home-trending-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.about-stats-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-bottom: 60px;
}
.about-story-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px;
  align-items: center; margin-bottom: 60px;
}
.about-page { padding: 50px 20px 70px; }
.about-intro { max-width: 840px; margin: 0 auto 60px; text-align: center; }
.about-intro p { color: var(--gray-700); font-size: 17px; line-height: 1.8; margin-bottom: 14px; }
.about-intro .about-lead { font-family: var(--font-serif); font-size: 23px; line-height: 1.55; color: var(--gray-900); }
.about-story-grid h2, .centered-section-title, .about-contact-panel h2 {
  font-family: var(--font-display); font-size: 30px; letter-spacing: 2px; color: var(--blue); margin-bottom: 16px;
}
.about-story-grid p { color: var(--gray-700); line-height: 1.8; margin-bottom: 14px; }
.about-disclosure-card { background: white; border-top: 4px solid var(--red); border-radius: 8px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.about-disclosure-card h3 { margin-bottom: 12px; }
.about-disclosure-card ul { padding-left: 20px; }
.about-disclosure-card li { list-style: disc; color: var(--gray-700); margin: 8px 0; }
.centered-section-title { text-align: center; margin-bottom: 28px; }
.principle-card { background: white; padding: 30px; border-radius: 8px; border-top: 4px solid var(--red); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.principle-icon { font-size: 28px; color: var(--red); margin-bottom: 10px; }
.principle-card h3 { font-family: var(--font-display); letter-spacing: 1px; margin-bottom: 8px; }
.principle-card p { color: var(--gray-500); line-height: 1.7; }
.about-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 60px; padding: 36px; background: white; border-radius: 8px; }
.about-contact-panel h2 { margin-bottom: 6px; }
.about-contact-panel p { color: var(--gray-500); }
.about-values-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.about-leadership-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.search-page-form {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px;
}
.search-results-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-bottom: 40px;
}
.search-explore-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.utility-card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-bottom: 36px;
}
.utility-cta {
  background: var(--blue); padding: 40px; border-radius: 8px; text-align: center;
}
.contact-form-panel {
  background: var(--white); border-radius: 8px; padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.contact-name-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.video-main-featured { min-height: 420px; display: block; }
.archive-summary {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  margin-bottom: 18px; color: var(--gray-500); font-size: 13px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sidebar { flex-direction: row; }
  .hero-card { min-height: 200px; }
  .latest-grid { grid-template-columns: 1fr 1fr; }
  .latest-grid .sidebar-panel { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .opinion-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-menu { width: 600px; grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .category-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-card-h { flex-direction: column; }
  .news-card-h .thumb { width: 100%; height: 200px; }
  .home-trending-layout { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-story-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  html, body { width: 100%; max-width: 100%; }
  .container { width: 100%; min-width: 0; padding-left: 16px; padding-right: 16px; }
  .topbar { display: none; }
  .header-inner { gap: 8px; }
  .logo { min-width: 0; }
  .logo-icon { width: 36px; height: 36px; }
  .logo-text { font-size: 24px; letter-spacing: 0; }
  .logo-sub { font-size: 8px; letter-spacing: 0; }
  .header-actions { gap: 4px; }
  .btn-live { display: none; }
  .btn-search { width: 40px; height: 40px; flex: 0 0 40px; }
  .hamburger {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex: 0 0 44px; padding: 8px;
  }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-h); bottom: 66px; left: 0; right: auto;
    width: 45vw; max-width: 45vw; height: auto;
    background: var(--blue);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-100%);
    visibility: hidden; pointer-events: none;
    transition: transform .25s ease, visibility .25s ease;
  }
  .nav.open {
    transform: translateX(0);
    visibility: visible; pointer-events: auto;
  }
  .nav.open > li { width: 100%; height: auto; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav.open > li > a { width: 100%; min-height: 48px; padding: 12px 20px; letter-spacing: 0; }
  .nav.open > li > a::after { display: none; }
  .nav.open .nav-caret { display: none; }
  .nav .dropdown, .nav .mega-menu { display: none !important; }
  .nav.open > li.has-submenu { padding-right: 52px; }
  .nav.open .nav-submenu-toggle {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 2px; right: 4px; width: 44px; height: 44px;
    border: 0; background: transparent; color: white; font-size: 22px; cursor: pointer;
  }
  .nav.open li.submenu-open { padding-right: 0; }
  .nav.open li.submenu-open > .nav-submenu-toggle { transform: rotate(180deg); }
  .nav.open li.submenu-open > .dropdown,
  .nav.open li.submenu-open > .mega-menu {
    display: block !important; position: static; width: 100%; min-width: 0;
    opacity: 1; visibility: visible; transform: none; padding: 0;
    box-shadow: none; border-top: 1px solid rgba(255,255,255,.08); background: var(--blue-mid);
  }
  .nav.open li.submenu-open > .mega-menu .mega-card { padding: 11px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.open li.submenu-open > .mega-menu img, .nav.open li.submenu-open > .mega-menu .cat-label { display: none; }
  .nav.open li.submenu-open > .mega-menu h4 { margin: 0; color: white; font-size: 13px; }
  .nav.open li.submenu-open > .dropdown a { color: white; background: transparent; border-color: rgba(255,255,255,.08); }
  .search-overlay { width: 100vw; padding: 16px; }
  .search-close-row { margin-bottom: 12px; }
  .search-dialog-form input { padding: 16px; font-size: 17px; }
  .ticker-wrap { width: 100%; max-width: 100vw; height: 36px; contain: inline-size; }
  .ticker-label { padding: 0 12px; font-size: 12px; letter-spacing: 0; }
  .ticker-item { padding: 0 24px; }
  .hero { padding: 16px 0; }
  .hero-main .content { padding: 20px; }
  .hero-main h1 { font-size: 26px; }
  .hero-main .meta { flex-wrap: wrap; gap: 7px; font-size: 12px; }
  .hero-sidebar { flex-direction: column; }
  .hero-card .content { padding: 18px; }
  .hero-card h3 { font-size: 19px; }
  .latest-grid { grid-template-columns: 1fr; }
  .home-trending-grid { grid-template-columns: 1fr; }
  .latest-section { padding: 24px 0 !important; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-section { padding: 22px 0 !important; }
  .opinion-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-main { min-height: 340px; }
  .section-header { gap: 12px; margin-bottom: 18px; padding-bottom: 12px; }
  .section-header h2 { min-width: 0; font-size: 22px; line-height: 1.15; letter-spacing: 0; }
  .section-header h2 .icon { width: 28px; height: 28px; flex: 0 0 28px; }
  .section-header .view-all { flex: 0 0 auto; font-size: 11px; letter-spacing: 0; }
  .news-card-h .thumb { height: 190px; }
  .news-card-h .body { padding: 18px; }
  .news-card-h .body h3 { font-size: 20px; }
  .news-card-h .body .meta { line-height: 1.5; }
  .list-card { min-width: 0; }
  .list-card-text { min-width: 0; }
  .cat-card .thumb { height: 190px; }
  .video-section { padding: 32px 0; margin: 24px 0; }
  .video-main-featured { min-height: 310px; }
  .video-main .content { padding: 20px; }
  .video-main .content h3 { font-size: 21px; }
  .video-sm { min-width: 0; }
  .video-sm .thumb { width: 112px; height: 76px; }
  .video-sm-text { min-width: 0; }
  .sidebar-panel { padding: 20px; }
  .newsletter-box { padding: 22px; }
  .newsletter-box input { min-width: 0; }
  .ad-banner { height: 72px; margin: 22px 0; padding: 12px; text-align: center; }
  .article-header { padding: 28px 0 16px; }
  .article-header h1 { font-size: 28px; }
  .article-header .subtitle { font-size: 16px; }
  .article-header .breadcrumb { flex-wrap: wrap; }
  .content-label { margin-left: 4px; }
  .article-meta-bar { flex-wrap: wrap; gap: 8px 12px; }
  .article-meta-bar .author-avatar { width: 36px; height: 36px; }
  .article-layout { gap: 24px; padding: 20px 0 40px; }
  .article-body { min-width: 0; }
  .article-body p, .article-body li { font-size: 16px; line-height: 1.75; }
  .article-body blockquote { padding: 18px; margin: 22px 0; font-size: 18px; }
  .article-body h2 { font-size: 25px; }
  .page-header { padding: 28px 0; }
  .page-header h1 { font-size: 32px; }
  .page-header .subtitle { font-size: 15px; }
  .category-layout { gap: 24px; padding: 24px 0; }
  .pagination { flex-wrap: wrap; padding: 28px 0; }
  .pagination .prev, .pagination .next { max-width: 100%; }
  .about-stats-grid,
  .about-values-grid,
  .about-leadership-grid,
  .search-results-grid,
  .search-explore-grid,
  .utility-card-grid { grid-template-columns: 1fr; }
  .about-stats-grid { gap: 16px; margin-bottom: 40px; }
  .about-story-grid { gap: 24px; margin-bottom: 40px; }
  .about-values-grid, .about-leadership-grid { gap: 16px; }
  .about-contact-panel { flex-direction: column; align-items: flex-start; padding: 26px; }
  .search-page-form { grid-template-columns: 1fr; }
  .search-results-grid { gap: 16px; margin-bottom: 32px; }
  .search-explore-grid, .utility-card-grid { gap: 16px; }
  .utility-cta { padding: 28px 20px; }
  .contact-form-panel { padding: 22px; }
  .contact-name-grid { grid-template-columns: 1fr; gap: 0; }
  .archive-summary { flex-wrap: wrap; gap: 6px 16px; }
  .footer { padding-top: 40px; margin-top: 32px; }
  .footer-grid { gap: 32px; }
  .footer-bottom span:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; }
  .footer-bottom a { margin-right: 0; }
  .scroll-top { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .logo-icon { width: 34px; height: 34px; }
  .logo-text { font-size: 22px; }
  .hero-main { min-height: 320px; }
  .hero-main h1 { font-size: 24px; }
  .hero-main .content { padding: 18px; }
  .video-sm { gap: 10px; padding: 10px; }
  .video-sm .thumb { width: 96px; height: 70px; }
  .weather-widget { padding: 20px; }
  .weather-widget .temp { font-size: 48px; }
}

/* ── PRINT ── */
@media print {
  .header, .topbar, .ticker-wrap, .scroll-top, .btn-live, .ad-banner, .footer { display: none; }
  body { background: white; }
  .article-body p { font-size: 12pt; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-content { animation: none !important; overflow-x: auto; transform: none !important; }
  .ticker-copy { display: none; }
  .fade-in { opacity: 1; transform: none; }
}


/* Philifoth brand integration */
.logo.logo-philifoth .logo-icon,
.footer-brand .logo-icon {
  background: transparent;
  padding: 4px;
}
.logo.logo-philifoth .logo-icon::after,
.footer-brand .logo-icon::after {
  display: none;
}
.logo.logo-philifoth .logo-icon img,
.footer-brand .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo.logo-philifoth .logo-text,
.footer-brand .logo-text.brand-philifoth {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  text-transform: none;
}
.footer-brand .brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}


/* Philifoth color correction */
.btn-live,
.newsletter-box button,
.btn-primary,
.scroll-top,
.pagination a:hover,
.pagination span.current,
.article-meta-bar .share-btns a:hover,
.article-tags a:hover,
.footer-social a:hover {
  background: #5DA9DD;
  color: white !important;
}

.btn-live:hover,
.newsletter-box button:hover,
.btn-primary:hover,
.scroll-top:hover {
  background: var(--cyan-dim) !important;
}

.btn-live .pulse-dot {
  background: white !important;
}

/* Category-controlled mobile navigation */
.news-mobile-footer { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 66px; }
  .news-mobile-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(0,0,0,.08);
    backdrop-filter: blur(12px);
  }
  .news-mobile-footer a,
  .news-mobile-footer button {
    min-width: 0;
    padding: 7px 4px 8px;
    color: var(--gray-600);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .news-mobile-footer a.active,
  .news-mobile-footer button[aria-expanded="true"] { color: var(--cyan-dim); }
  .news-mobile-footer-icon {
    display: block;
    min-height: 20px;
    margin-bottom: 2px;
    color: inherit;
    font-size: 17px;
  }
  .scroll-top { bottom: 78px; }
}

@media print {
  .news-mobile-footer { display: none !important; }
}
