﻿/* ============================================================
   NewsHub — Professional Stylesheet v2
   ============================================================ */

/* ── Google Font ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Roboto+Condensed:wght@700&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --navy:          #0f1f3d;
  --navy-mid:      #1a2f52;
  --navy-light:    #243a66;
  --red:           #d32f2f;
  --red-dark:      #b71c1c;
  --red-light:     #ef5350;
  --gold:          #f5a623;
  --gold-dark:     #d4880a;
  --gold-light:    #ffbc42;
  --white:         #ffffff;
  --off-white:     #f8f9fc;
  --gray-100:      #f0f2f5;
  --gray-200:      #e1e4e8;
  --gray-400:      #9ca3af;
  --gray-600:      #4b5563;
  --gray-800:      #1f2937;
  --text:          #1a1a2e;
  --text-light:    #555;
  --link:          #1e56a0;
  --link-hover:    #0d3b7a;
  --success:       #2e7d32;
  --shadow-xs:     0 1px 3px rgba(0,0,0,.08);
  --shadow-sm:     0 2px 8px rgba(0,0,0,.10);
  --shadow-md:     0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.16);
  --shadow-xl:     0 16px 48px rgba(0,0,0,.20);
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --transition:    .2s cubic-bezier(.4,0,.2,1);
  --font:          'Roboto', Arial, sans-serif;
  --font-cond:     'Roboto Condensed', Arial, sans-serif;
  --header-h:      80px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--link-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, button, textarea { font-family: inherit; }

/* ── Utilities ────────────────────────────────────────────── */
.container { max-width: 1320px; margin: 0 auto; padding: 0 1rem; }
.visually-hidden { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap:.5rem; } .gap-2 { gap:1rem; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e3a6e 100%);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid rgba(245,166,35,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .6rem 1rem;
  max-width: 1320px;
  margin: 0 auto;
}

/* Logo */
.header-logo { flex-shrink: 0; }
.logo-link {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--white);
}
.logo-globe {
  font-size: 2rem;
  filter: drop-shadow(0 0 6px rgba(245,166,35,.6));
  animation: pulse-globe 3s ease-in-out infinite;
}
@keyframes pulse-globe {
  0%,100% { filter: drop-shadow(0 0 6px rgba(245,166,35,.6)); }
  50%      { filter: drop-shadow(0 0 12px rgba(245,166,35,1)); }
}
.logo-text {
  font-family: var(--font-cond);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-domain { font-size: .72rem; color: rgba(255,255,255,.5); margin-top:-4px; letter-spacing:.3px; }

/* Tagline */
.header-center { flex: 1; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.header-tagline { font-size: .78rem; color: rgba(255,255,255,.65); font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Search */
.header-search { position: relative; display: flex; gap: .25rem; max-width: 420px; }
.header-search input {
  flex: 1;
  padding: .48rem .9rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .88rem;
  outline: none;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.header-search input::placeholder { color: rgba(255,255,255,.5); }
.header-search input:focus {
  background: rgba(255,255,255,.18);
  border-color: var(--gold-light);
}
.header-search button {
  padding: .48rem 1rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}
.header-search button:hover { background: var(--gold-dark); transform: scale(1.04); }

/* Search dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-height: 340px;
  overflow-y: auto;
  animation: fadeDown .15s ease;
}
.search-dropdown[hidden] { display: none; }
@keyframes fadeDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.search-result-item {
  padding: .65rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--gray-100);
  font-size: .86rem;
  color: var(--text);
  transition: background var(--transition);
}
.search-result-item:hover { background: var(--off-white); }
.search-result-item:last-child { border-bottom: none; }
.search-highlight { background: #fff3cd; padding: 1px 3px; border-radius: 3px; font-weight: 600; }

/* Date / Updated */
.header-right {
  flex-shrink: 0;
  text-align: right;
  font-size: .73rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.sync-status { display: flex; align-items: center; gap: .3rem; font-size: .7rem; }
.sync-dot { width: 7px; height: 7px; border-radius: 50%; background: #4caf50; animation: blink 2s infinite; }
.sync-dot.syncing { background: var(--gold); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.breaking-bar {
  background: linear-gradient(90deg, #b71c1c 0%, #d32f2f 60%, #c62828 100%);
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
  border-bottom: 2px solid rgba(0,0,0,.25);
  box-shadow: 0 2px 8px rgba(183,28,28,.35);
}
.breaking-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 0 1.1rem;
  height: 100%;
  font-weight: 900;
  font-size: .77rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  background: rgba(0,0,0,.28);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.18);
}
.breaking-live-dot {
  width: 9px; height: 9px;
  background: #fff;
  border-radius: 50%;
  animation: live-pulse 1.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  60%  { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.ticker-wrapper { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; }
.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  color: #fff;
  font-size: .83rem;
  font-weight: 400;
  gap: 0;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; cursor: default; }
.ticker-item {
  padding: 0 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.ticker-item::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: rgba(255,255,255,.7);
  border-radius: 50%;
  flex-shrink: 0;
}
.ticker-item a {
  color: #fff;
  font-weight: 500;
  letter-spacing: .01em;
  transition: opacity .15s;
}
.ticker-item a:hover { opacity: .82; text-decoration: underline; }
.ticker-loading { padding: 0 1.5rem; opacity: .7; font-style: italic; color: #fff; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   MAIN NAVIGATION
   ============================================================ */
.main-nav {
  background: linear-gradient(135deg, #c47a00 0%, var(--gold) 50%, var(--gold-dark) 100%);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: stretch;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 .5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .7rem 1rem;
  color: rgba(255,255,255,.92);
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  position: relative;
}
.nav-item:hover { color: var(--white); background: rgba(0,0,0,.1); text-decoration: none; }
.nav-item.active {
  color: var(--white);
  border-bottom-color: var(--white);
  background: rgba(0,0,0,.15);
}
.nav-icon { font-size: .9rem; }
.nav-spacer { flex: 1; }
.nav-search-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .7rem 1rem;
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.nav-search-link:hover { color: var(--white); background: rgba(0,0,0,.1); text-decoration: none; }

/* ============================================================
   CHANNELS SECTION
   ============================================================ */
.channels-section {
  background: var(--navy);
  padding: .8rem 0;
  border-bottom: 3px solid var(--gold);
}
.channels-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem .6rem;
  max-width: 1320px;
  margin: 0 auto;
}
.channels-title {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-light);
}
.channels-subtitle { font-size: .7rem; color: rgba(255,255,255,.4); }

.channels-strip {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: 0 1rem .3rem;
  max-width: 1320px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.channels-strip::-webkit-scrollbar { height: 4px; }
.channels-strip::-webkit-scrollbar-track { background: transparent; }
.channels-strip::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.channel-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 68px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.channel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}
.channel-card:hover::before { background: rgba(0,0,0,.15); }
.channel-card.active { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), var(--shadow-md); transform: translateY(-2px); }
.channel-flag { font-size: .85rem; line-height: 1; margin-bottom: .15rem; }
.channel-short {
  font-family: var(--font-cond);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  letter-spacing: .5px;
}
.channel-name { font-size: .58rem; opacity: .85; text-align: center; line-height: 1.2; margin-top: .15rem; max-width: 80px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.channel-live { display: flex; align-items: center; gap: .2rem; font-size: .55rem; text-transform: uppercase; letter-spacing: .5px; opacity: .8; margin-top: .1rem; }
.channel-live-dot { width: 5px; height: 5px; background: currentColor; border-radius: 50%; animation: blink 1.5s infinite; }

/* Channel News Panel */
.channel-news-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
  display: none;
}
.channel-news-panel.visible { display: block; animation: slideDown .2s ease; }
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
.channel-panel-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  color: var(--white);
}
.channel-panel-close {
  margin-left: auto;
  background: rgba(255,255,255,.2);
  border: none;
  color: var(--white);
  border-radius: 50%;
  width: 26px; height: 26px;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.channel-panel-close:hover { background: rgba(255,255,255,.35); }
.channel-panel-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--gray-200);
}
.channel-article {
  display: flex;
  gap: .65rem;
  padding: .85rem;
  background: var(--white);
  transition: background var(--transition);
  cursor: pointer;
}
.channel-article:hover { background: var(--off-white); }
.channel-article-img {
  width: 90px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--gray-100);
}
.channel-article-body { flex: 1; min-width: 0; }
.channel-article-title {
  font-size: .83rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .2rem;
}
.channel-article-meta { font-size: .7rem; color: var(--gray-400); }
.channel-loading {
  grid-column: 1/-1;
  padding: 2rem;
  text-align: center;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  font-size: .9rem;
}
.channel-error { grid-column:1/-1; padding:1.5rem; text-align:center; color:var(--red); font-size:.88rem; }

/* ============================================================
   PAGE WRAPPER & MAIN GRID
   ============================================================ */
.page-wrapper { max-width: 1320px; margin: 0 auto; padding: 1rem; }
.main-grid {
  display: grid;
  grid-template-columns: 256px 1fr 256px;
  gap: 1rem;
  align-items: start;
}
.left-col  { grid-column: 1; }
.center-col{ grid-column: 2; }
.right-col { grid-column: 3; }

/* ============================================================
   LEFT SIDEBAR
   ============================================================ */
.sidebar-box {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: .875rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.sidebar-box-header {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .9rem;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.sidebar-box-body { padding: .85rem; }

.sidebar-select {
  width: 100%;
  padding: .45rem .6rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  margin-bottom: .6rem;
  transition: border-color var(--transition);
}
.sidebar-select:focus { border-color: var(--gold); outline: none; }

.sidebar-thumb {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: .45rem;
  background: var(--gray-100);
}
.sidebar-excerpt { font-size: .78rem; color: var(--text-light); line-height: 1.4; }
.sidebar-excerpt a { color: var(--link); font-weight: 600; }

/* ============================================================
   CENTER COLUMN
   ============================================================ */
.center-col {
  min-width: 0;
}

/* Breaking Banner */
.center-breaking-banner {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Featured Article */
.featured-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.featured-card:hover { box-shadow: var(--shadow-md); }
.featured-img-wrap { position: relative; }
.featured-img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  display: block;
}
.featured-category-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  background: var(--red);
  color: var(--white);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 100px;
  letter-spacing: .8px;
}
.featured-body { padding: .85rem 1rem 1rem; }
.featured-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .45rem;
}
.featured-title a { color: var(--text); }
.featured-title a:hover { color: var(--red); }
.featured-meta {
  font-size: .75rem;
  color: var(--gray-400);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.featured-source-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--navy);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 100px;
}
.featured-excerpt { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* Category Links Row */
.cat-links-row {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.cat-chip {
  padding: .3rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  transition: all var(--transition);
  white-space: nowrap;
}
.cat-chip:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.cat-chip.gold { border-color: var(--gold-dark); color: var(--gold-dark); }
.cat-chip.gold:hover { background: var(--gold-dark); color: var(--white); }
.cat-chip.red { border-color: var(--red); color: var(--red); }
.cat-chip.red:hover { background: var(--red); color: var(--white); }

/* Video Grid */
.video-section {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 1rem;
}
.video-section-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .9rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--gray-100);
}
.video-thumb-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  cursor: pointer;
  transition: background var(--transition);
  overflow: hidden;
}
.video-thumb-card:hover { background: var(--off-white); }
.video-thumb-img-wrap { position: relative; }
.video-thumb-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.video-thumb-card:hover .video-play-overlay { opacity: 1; }
.play-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--red);
}
.video-thumb-label {
  padding: .35rem .5rem;
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
/* Scrollable video row — shows all videos horizontally */
.video-scroll-row {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 1px;
  background: var(--gray-100);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--navy) var(--gray-200);
}
.video-scroll-row::-webkit-scrollbar { height: 5px; }
.video-scroll-row::-webkit-scrollbar-track { background: var(--gray-200); }
.video-scroll-row::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 3px; }
.video-scroll-row .video-thumb-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  min-width: 0;
}
.video-thumb-title {
  padding: .3rem .5rem .1rem;
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.video-thumb-meta {
  padding: .15rem .5rem .35rem;
  font-size: .62rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.video-thumb-channel { font-weight: 700; color: var(--navy); }

/* Article List (center) */
.articles-section {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.articles-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem .9rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
}
.articles-section-title {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--navy);
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-card {
  display: flex;
  gap: .75rem;
  padding: .85rem;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
  cursor: pointer;
}
.news-card:last-child { border-bottom: none; }
.news-card:hover { background: var(--off-white); }
.news-card-img {
  width: 108px; height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--gray-100);
}
.news-card-content { flex: 1; min-width: 0; }
.news-card-badges { display: flex; gap: .3rem; margin-bottom: .2rem; flex-wrap: wrap; }
.badge-breaking {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .62rem;
  font-weight: 800;
  padding: .1rem .45rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-source {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: .62rem;
  font-weight: 700;
  padding: .1rem .45rem;
  border-radius: 100px;
}
.news-card-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .25rem;
}
.news-card-title a { color: var(--text); }
.news-card-title a:hover { color: var(--red); }
.news-card-desc {
  font-size: .78rem;
  color: var(--text-light);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .2rem;
}
.news-card-meta { font-size: .72rem; color: var(--gray-400); }

/* ============================================================
   RIGHT SIDEBAR
   ============================================================ */
.right-box {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: .875rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.right-box-header {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .9rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.right-box-body { padding: .85rem; }

.sites-subheading {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin: .75rem 0 .4rem;
  padding-bottom: .25rem;
  border-bottom: 2px solid var(--gold-light);
  display: inline-block;
}
.sites-subheading:first-child { margin-top: 0; }
.sites-list li {
  border-bottom: 1px solid var(--gray-100);
}
.sites-list li:last-child { border-bottom: none; }
.sites-list li a {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .2rem;
  font-size: .83rem;
  color: var(--text);
  transition: all var(--transition);
}
.sites-list li a::before { content: '›'; color: var(--gold-dark); font-weight: 900; font-size: 1rem; }
.sites-list li a:hover { color: var(--red); padding-left: .4rem; }

/* Weather Widget */
.weather-select {
  width: 100%;
  padding: .45rem .6rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  margin-bottom: .65rem;
  cursor: pointer;
  background: var(--white);
  transition: border-color var(--transition);
}
.weather-select:focus { border-color: var(--gold); outline: none; }
.weather-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-sm);
  color: var(--white);
}
.weather-icon { font-size: 2.4rem; flex-shrink: 0; }
.weather-temp { font-size: 1.6rem; font-weight: 900; line-height: 1; }
.weather-city { font-size: .72rem; color: rgba(255,255,255,.7); }
.weather-condition { font-size: .8rem; text-transform: capitalize; margin-top: .1rem; }
.weather-details { font-size: .72rem; color: rgba(255,255,255,.65); margin-top: .25rem; display: flex; gap: .5rem; flex-wrap: wrap; }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-overlay {
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem; color: var(--gray-400); font-size: .88rem; gap: .65rem;
}
.spinner {
  width: 26px; height: 26px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   INNER PAGE LAYOUTS
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.page-hero-icon { font-size: 2.5rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.page-hero h1 { font-size: 1.6rem; font-weight: 900; font-family: var(--font-cond); }
.page-hero p  { font-size: .82rem; color: rgba(255,255,255,.65); margin-top: .2rem; }

.filter-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-200);
  margin-bottom: 1rem;
}
.filter-bar label { font-size: .82rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.filter-select {
  padding: .4rem .65rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  cursor: pointer;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}
.filter-select:focus { outline: none; border-color: var(--gold); }

/* Inner Card Grid */
.inner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .875rem;
}
.inner-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.inner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.inner-card-img { width: 100%; height: 155px; object-fit: cover; background: var(--gray-100); }
.inner-card-body { padding: .75rem; flex: 1; display: flex; flex-direction: column; }
.inner-card-title {
  font-size: .88rem; font-weight: 700; color: var(--text);
  line-height: 1.3; flex: 1; margin-bottom: .4rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.inner-card-title a { color: var(--text); }
.inner-card-title a:hover { color: var(--red); }
.inner-card-desc {
  font-size: .78rem; color: var(--text-light); line-height: 1.4; margin-bottom: .4rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.inner-card-meta { font-size: .72rem; color: var(--gray-400); }

/* ============================================================
   STOCK TICKER BAR
   ============================================================ */
.stock-bar {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  padding: .55rem 1rem;
  background: #0a1628;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.05);
  scrollbar-width: none;
}
.stock-bar::-webkit-scrollbar { display: none; }
.stock-bar-label { color: var(--gold-light); font-size: .75rem; font-weight: 800; flex-shrink: 0; text-transform: uppercase; letter-spacing: .5px; }
.stock-item { display: flex; gap: .3rem; white-space: nowrap; font-size: .78rem; }
.stock-name { font-weight: 700; color: rgba(255,255,255,.85); }
.stock-up   { color: #4caf50; }
.stock-down { color: #ef5350; }
.stock-sep  { color: rgba(255,255,255,.2); }

/* ============================================================
   SPORTS TABS
   ============================================================ */
.sport-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.sport-tab {
  padding: .4rem .9rem;
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.sport-tab:hover, .sport-tab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  text-decoration: none;
}

/* ============================================================
   WEATHER PAGE
   ============================================================ */
.weather-search-bar {
  display: flex; gap: .5rem; margin-bottom: 1.5rem;
}
.weather-search-bar input {
  flex: 1;
  padding: .65rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .95rem;
  transition: border-color var(--transition);
}
.weather-search-bar input:focus { border-color: var(--gold); outline: none; }
.weather-search-bar button {
  padding: .65rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.weather-search-bar button:hover { background: var(--gold-dark); }
.weather-main-card {
  display: flex; gap: 2rem; align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1e4080 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
}
.weather-main-icon { font-size: 5rem; }
.weather-main-temp { font-size: 3.5rem; font-weight: 900; line-height: 1; }
.weather-main-city { font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.weather-main-condition { opacity: .8; text-transform: capitalize; }
.weather-main-details { display: flex; gap: 1.25rem; margin-top: .6rem; font-size: .85rem; opacity: .75; flex-wrap: wrap; }
.forecast-strip { display: grid; grid-template-columns: repeat(5,1fr); gap: .75rem; margin-bottom: 1.5rem; }
.forecast-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem .75rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-200);
}
.forecast-day { font-size: .78rem; font-weight: 800; color: var(--navy); margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .5px; }
.forecast-icon { font-size: 1.8rem; margin-bottom: .3rem; }
.forecast-temp { font-size: .88rem; font-weight: 700; }
.forecast-desc { font-size: .72rem; color: var(--gray-400); text-transform: capitalize; margin-top: .2rem; }

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-count {
  font-size: .88rem;
  color: var(--text-light);
  padding: .6rem 0;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1rem;
}
.search-count strong { color: var(--navy); }
.no-results { text-align: center; padding: 3.5rem 1rem; color: var(--gray-400); }
.no-results-icon { font-size: 3.5rem; display: block; margin-bottom: .75rem; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: .35rem; padding: 1.25rem 0; flex-wrap: wrap; }
.page-btn {
  padding: .38rem .75rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-block;
}
.page-btn:hover, .page-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  text-decoration: none;
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(6px);
  padding: 1rem;
  animation: fadeIn .15s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.modal-box {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 860px;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: scaleIn .2s ease;
}
@keyframes scaleIn { from { transform: scale(.92); } to { transform: scale(1); } }
.modal-close {
  position: absolute; top: .6rem; right: .7rem;
  background: rgba(255,255,255,.18);
  color: var(--white); border: none; border-radius: 50%;
  width: 34px; height: 34px; font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: background var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,.35); }
.modal-iframe-wrap { position: relative; padding-top: 56.25%; }
.modal-iframe-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.alert-success { background: #e8f5e9; color: var(--success); border-left: 4px solid var(--success); }
.alert-error   { background: #ffebee; color: var(--red);     border-left: 4px solid var(--red); }
.alert-info    { background: #e3f2fd; color: #1565c0;         border-left: 4px solid #1565c0; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 1.25rem 1rem;
  margin-top: 1.5rem;
  border-top: 3px solid var(--gold-dark);
}
.footer-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: .65rem; text-align: center;
}
.footer-copy { font-size: .78rem; }
.footer-copy strong { color: var(--white); }
.footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: .8rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .main-grid { grid-template-columns: 220px 1fr 220px; }
  .inner-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .main-grid { grid-template-columns: 1fr; }
  .left-col, .center-col, .right-col { grid-column: 1; }
  .inner-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .forecast-strip { grid-template-columns: repeat(3, 1fr); }
  .header-right { display: none; }
  .weather-main-card { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) {
  .inner-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .forecast-strip { grid-template-columns: repeat(2, 1fr); }
  .logo-text { font-size: 1.6rem; }
  .featured-img { height: 200px; }
  .channel-card { width: 74px; height: 58px; }
}


