/* ==========================================================================
   THEME 1: telugu_classic — TeluguAINews (Khaleej Times-Inspired Editorial)
   Deep Navy (#132257), Crisp White, Editorial Crimson (#c8102e), Serif Masthead
   ========================================================================== */
:root {
  --navy: #132257;
  --navy-dark: #0c173d;
  --crimson: #c8102e;
  --ink: #111827;
  --muted: #5b6475;
  --border: #e5e7eb;
  --surface: #f7f8fb;
  --white: #ffffff;
  --gold: #b45309;
  --teal: #0f766e;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans Telugu', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Tier 1: Top Utility Bar */
.utility-bar {
  background: var(--navy-dark);
  color: #dbe4ff;
  font-size: 11.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  flex-wrap: nowrap;
}
.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .utility-inner { flex-wrap: wrap; justify-content: center; }
  .utility-left, .utility-right { flex-wrap: wrap; justify-content: center; }
}
.util-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e2e8f0;
}
.util-pill strong { color: #fbbf24; font-weight: 600; }
.lang-switch {
  display: inline-flex;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 2px;
}
.lang-switch a {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
}
.lang-switch a.active {
  background: var(--white);
  color: var(--navy);
}
.site-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-switcher a {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  font-size: 11px;
  color: #cbd5e1;
}
.site-switcher a.active {
  background: var(--crimson);
  color: #fff;
  font-weight: 700;
}
.admin-link {
  background: rgba(255,255,255,0.14);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  color: #fff;
}
.admin-link:hover { background: var(--crimson); }

/* Tier 2: Editorial Masthead (Khaleej Times Navy Classic) */
.masthead {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0 14px;
}
.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.masthead-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hamburger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.hamburger-btn:hover { background: var(--navy); color: #fff; }
.masthead-center {
  text-align: center;
}
.brand-wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.05;
  display: inline-block;
}
.brand-wordmark span { color: var(--crimson); }
.brand-tagline-te {
  font-family: 'Noto Sans Telugu', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--crimson);
  margin-top: 3px;
}
.brand-tagline-en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 2px;
}
.brand-regions {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.03em;
}
.masthead-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.search-mini {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}
.search-mini input {
  border: none;
  background: transparent;
  padding: 7px 12px;
  font-size: 13px;
  width: 170px;
  outline: none;
}
.search-mini button {
  border: none;
  background: var(--navy);
  color: #fff;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.yt-header-btn {
  background: #dc2626;
  color: #fff;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Tier 3: Sticky Primary Category Bar */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  box-shadow: 0 2px 8px rgba(19, 34, 87, 0.05);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav-item {
  position: relative;
  flex-shrink: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 10px 9px;
  font-size: 11.8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--navy);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--crimson);
}
.nav-link.hot-pill {
  color: var(--crimson);
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--crimson);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  min-width: 230px;
  padding: 8px;
  z-index: 80;
}
.nav-item.align-right .nav-dropdown {
  left: auto;
  right: 0;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 6px;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--surface);
  color: var(--crimson);
}

/* Tier 4: Breaking / Hot News Ticker (Smooth Marquee, Pause on Hover) */
.ticker-bar {
  background: #fef2f2;
  border-bottom: 1px solid #fecaca;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
  overflow: hidden;
}
.ticker-label {
  background: var(--crimson);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.ticker-track {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #7f1d1d;
  animation: tanMarquee 42s linear infinite;
}
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
@keyframes tanMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-track a:hover { text-decoration: underline; }

/* Khaleej Times-Style Slide-Out Accordion Drawer */
.kt-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 23, 61, 0.55);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.kt-backdrop.open { opacity: 1; pointer-events: auto; }

.kt-drawer {
  position: fixed;
  top: 12px;
  bottom: 12px;
  left: 12px;
  width: 340px;
  max-width: calc(100vw - 24px);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  z-index: 100;
  transform: translateX(-115%);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.kt-drawer.open { transform: translateX(0); }
.kt-drawer-head {
  padding: 18px 22px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.kt-drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--surface);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: var(--navy);
}
.kt-drawer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}
.kt-drawer-sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.kt-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 22px 20px;
}
.drawer-acc {
  border-bottom: 1px solid #f1f5f9;
}
.drawer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #4b5563;
}
.drawer-row a:hover { color: var(--navy); }
.drawer-chev {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 14px;
  padding: 2px 6px;
  transition: transform 0.2s;
}
.drawer-acc.expanded .drawer-chev { transform: rotate(180deg); }
.drawer-sublist {
  display: none;
  padding: 0 0 10px 10px;
}
.drawer-acc.expanded .drawer-sublist { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.drawer-sublist a {
  font-size: 12.5px;
  color: var(--muted);
  padding: 4px 0;
}
.drawer-sublist a:hover { color: var(--crimson); }
.kt-drawer-foot {
  padding: 14px 22px 18px;
  border-top: 1px solid var(--border);
  background: #fafbfe;
}
.follow-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.social-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.social-btn:hover { background: var(--crimson); }
.app-row {
  display: flex;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

/* Portal 3-Column Frame: Left Panel (Gold & Markets) | Center Content | Right Panel (Weather & Trending) */
.portal-shell {
  max-width: 1520px;
  margin: 0 auto;
  padding: 20px 18px 56px;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) 265px;
  gap: 20px;
  align-items: start;
}
.side-panel {
  position: sticky;
  top: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.widget-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(19, 34, 87, 0.04);
}
.widget-head {
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.widget-head.gold-head { background: linear-gradient(135deg, #78350f 0%, #b45309 100%); color: #fff; }
.widget-head.market-head { background: var(--navy); color: #fff; }
.widget-head.weather-head { background: linear-gradient(135deg, #0369a1 0%, #0f766e 100%); color: #fff; }
.widget-body { padding: 12px 14px; }
.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 12.5px;
}
.rate-row:last-child { border-bottom: none; }
.rate-label { color: var(--muted); font-weight: 600; }
.rate-val { font-weight: 800; color: var(--navy-dark); }
.chg-up { color: #15803d; font-size: 11px; font-weight: 700; }
.chg-dn { color: #dc2626; font-size: 11px; font-weight: 700; }
.weather-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12.5px;
}
.weather-row:last-child { border-bottom: none; }
.weather-city { font-weight: 700; color: var(--navy-dark); }
.weather-meta { font-size: 11px; color: var(--muted); }
.weather-temp { font-size: 16px; font-weight: 900; color: #0369a1; }
.widget-sources {
  padding: 8px 12px 10px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.widget-src-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
}
.widget-src-pill:hover { background: var(--navy); color: #fff; }

/* Editorial Content Layout */
.main-content { padding: 24px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 1240px) {
  .portal-shell { grid-template-columns: 1fr; }
  .side-panel { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .side-panel { grid-template-columns: 1fr; }
}
.lead-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
}
.lead-img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center top;
  background: #e2e8f0;
}
.lead-body { padding: 16px 20px 14px; }

/* Auto-Advancing Hero & Hot News Dotted Pagination */
.carousel-slide { display: none; animation: fadeSlide 0.35s ease; }
.carousel-slide.active { display: block; }
@keyframes fadeSlide {
  from { opacity: 0.25; }
  to { opacity: 1; }
}
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  gap: 10px;
}
.dot-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}
.dot-btn {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.22s ease;
}
.dot-btn:hover { background: #94a3b8; }
.dot-btn.active {
  width: 24px;
  background: var(--crimson);
}
.carousel-nav-btns {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.carousel-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow:hover { background: var(--navy); color: #fff; }
.carousel-counter {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  min-width: 34px;
  text-align: center;
}
.live-refresh-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.hot-page { display: none; animation: fadeSlide 0.3s ease; }
.hot-page.active { display: block; }
.hot-pager-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}
.kicker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-navy { background: #e8edff; color: var(--navy); }
.badge-hot { background: var(--crimson); color: #fff; }
.badge-govt { background: #dcfce7; color: #166534; }
.badge-private { background: #dbeafe; color: #1e40af; }
.badge-special { background: #fef3c7; color: #92400e; }
.badge-pos { background: #dcfce7; color: #166534; }
.badge-neg { background: #fee2e2; color: #991b1b; }

.lead-title {
  font-family: 'Playfair Display', 'Noto Sans Telugu', Georgia, serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.24;
  margin: 0 0 6px;
  color: var(--navy-dark);
}
.lead-title:hover { color: var(--crimson); }
.te-subtitle {
  font-family: 'Noto Sans Telugu', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  margin: 0 0 10px;
}
.lead-summary {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 12px;
}
.meta-line {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mid-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.story-row-card {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.story-row-card:last-child { border-bottom: none; padding-bottom: 0; }
.story-thumb {
  width: 115px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  background: #e2e8f0;
}
.story-row-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 3px 0 4px;
  color: var(--ink);
}
.story-row-title:hover { color: var(--crimson); }

.trending-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 10px;
  padding: 16px;
}
.trending-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 0 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.trending-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.trending-item:last-child { border-bottom: none; }
.trend-num {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--crimson);
  line-height: 1;
}
.trend-link {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}
.trend-link:hover { color: var(--crimson); }

/* Section Headers */
.section-block { margin-bottom: 38px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 8px;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-family: 'Playfair Display', 'Noto Sans Telugu', serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head .te-label {
  font-family: 'Noto Sans Telugu', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--crimson);
}
.view-all {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--crimson);
  text-transform: uppercase;
}

/* Dual Regional Grid (AP & Telangana) */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.news-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(19, 34, 87, 0.08);
}
.news-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  background: #e2e8f0;
}
.news-card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card h3 {
  margin: 6px 0 6px;
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--navy-dark);
}
.news-card h3:hover { color: var(--crimson); }
.news-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
  flex: 1;
}

/* Employment Hub (Govt & Private) */
.jobs-panel {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  padding: 22px;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.filter-tab.active, .filter-tab:hover {
  background: var(--navy);
  color: #fff;
}
.job-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.job-pill {
  font-size: 11.5px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 5px;
  color: #374151;
}

/* Branded PLUS / Smart Buys / Events Band */
.plus-band {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 24px;
}
.plus-band .section-head { border-bottom-color: rgba(255,255,255,0.2); }
.plus-band .section-head h2 { color: #fff; }
.plus-band .section-head .te-label { color: #fbbf24; }
.plus-band .view-all { color: #fbbf24; }
.plus-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  overflow: hidden;
}
.plus-card img { width: 100%; height: 160px; object-fit: cover; }
.plus-card-body { padding: 14px; }
.plus-card h3 { margin: 6px 0; font-size: 15px; color: #fff; }
.plus-card p { margin: 0; font-size: 12.5px; color: #cbd5e1; }

/* YouTube Videos Section (Compact multi-column grid) */
.yt-grid-compact {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.yt-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.yt-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.yt-card:hover { transform: translateY(-2px); }
.yt-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.yt-thumb-wrap img, .yt-thumb-wrap iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 38px;
  height: 28px;
  border-radius: 7px;
  background: rgba(220, 38, 38, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.yt-card-body { padding: 8px 10px 10px; }
.yt-card .badge { font-size: 9.5px; padding: 2px 6px; }
.yt-card h3 {
  margin: 5px 0 3px;
  font-size: 12.5px;
  line-height: 1.32;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-card .yt-te { font-size: 11px; color: #cbd5e1; }
@media (max-width: 1280px) { .yt-grid-compact { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) { .yt-grid-compact, .yt-grid-home { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .yt-grid-compact, .yt-grid-home { grid-template-columns: repeat(2, 1fr); } }

/* Character Chips Strip */
.char-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: center;
}
.char-chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--border);
}
.char-chip:hover { border-color: var(--navy); color: var(--navy); }

/* Article Detail */
.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
.article-hero-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 12px;
  margin: 16px 0;
}
.article-body {
  font-size: 16.5px;
  line-height: 1.78;
  color: #1f2937;
}
.article-body p { margin: 0 0 16px; }
.summary-box {
  background: #f0f4ff;
  border-left: 4px solid var(--navy);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #cbd5e1;
  padding: 40px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  padding: 3px 0;
  color: #cbd5e1;
}
.footer-col a:hover { color: #fbbf24; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  font-size: 12px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1024px) {
  .hero-grid, .article-layout, .footer-grid { grid-template-columns: 1fr; }
  .two-col-grid, .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; }
  .masthead-inner { grid-template-columns: auto 1fr; }
  .masthead-right { display: none; }
}
@media (max-width: 640px) {
  .two-col-grid, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .brand-wordmark { font-size: 28px; }
}
