/*
Theme Name: Canyons
Theme URI: https://canyons.media
Author: Canyons Media — MEA Department, College of the Canyons
Description: A clean, modern news theme for the Canyons Media & Canyons News merged site.
Version: 1.36.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: canyons
Tags: news, magazine, blog, custom-menu, featured-images, responsive-layout
*/

/* ============================================================
   WORDPRESS LAYOUT OVERRIDE
   Prevents Gutenberg's .is-layout-constrained rules from
   narrowing <main> on single-post pages.
   ============================================================ */
/* Hard resets — defeat WordPress classic-themes.css (WP 6.1+)
   which forces body { max-width:700px; margin:2em auto } on classic themes */
html,
body {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

main#main-content {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Kill any WP block layout constraints that leak into the main element */
:where(.is-layout-constrained) > :not(.alignleft):not(.alignright):not(.alignfull),
:where(.is-layout-constrained) > .alignwide {
  max-width: none !important;
  margin-left: unset !important;
  margin-right: unset !important;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #c8102e;
  --red-dark:   #a00d24;
  --blue:       #2563EB;
  --navy:       #0a0e1a;
  --navy-light: #2a3148;
  --dark:       #1a1a1a;
  --medium:     #4a4a4a;
  --muted:      #767676;
  --border:     #dedede;
  --bg:         rgb(255,255,255);
  --white:      #ffffff;
  --max-w:      660px;
  --site-w:     1304px;
  --card-shadow: none;
  --card-radius: 10px;
  --font-serif: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html { font-size: 1rem; scroll-behavior: smooth; }

body {
  font-family: Arial, sans-serif;
  color: var(--dark);
  background: rgb(255,255,255);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Global headline font override */
h1, h2, h3, h4, h5, h6 {
  font-family: Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  max-width: var(--site-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   UTILITY BAR — slim dark strip above main header
   ============================================================ */
.utility-bar {
  width: 100%;
  background: #0d1117;
  position: sticky;
  top: 0;
  z-index: 101;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* ── Admin bar offset: bump all sticky layers down 32px (46px on mobile) ── */
body.admin-bar .utility-bar  { top: 32px; }
body.admin-bar .site-header  { top: 68px;  } /* 32 + 36 */
body.admin-bar .site-ticker  { top: 177px; } /* 32 + 36 + 108 + 1 */

@media screen and (max-width: 782px) {
  body.admin-bar .utility-bar { top: 46px; }
  body.admin-bar .site-header { top: 82px;  } /* 46 + 36 */
  body.admin-bar .site-ticker { top: 191px; } /* 46 + 36 + 108 + 1 */
}

.utility-inner {
  max-width: var(--site-w);
  margin-inline: auto;
  padding-inline: 24px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── Left: Language ── */
.utility-left { display: flex; align-items: center; }

.utility-lang { position: relative; }

.utility-lang-toggle,
.utility-login-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  padding: 4px 6px;
  border-radius: 3px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.utility-lang-toggle:hover,
.utility-login-toggle:hover {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.utility-chevron {
  transition: transform .2s ease;
  flex-shrink: 0;
}
.utility-lang-toggle[aria-expanded="true"] .utility-chevron,
.utility-login-toggle[aria-expanded="true"] .utility-chevron {
  transform: rotate(180deg);
}

/* Shared dropdown panel */
.utility-lang-drop,
.utility-login-drop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #1a2033;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 6px 0;
  min-width: 180px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.utility-lang-drop.is-open,
.utility-login-drop.is-open { display: block; }

/* Login drop aligns right */
.utility-login-drop {
  left: auto;
  right: 0;
  min-width: 200px;
}

.utility-lang-drop a,
.utility-login-drop a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: Arial, sans-serif;
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.utility-lang-drop a:hover,
.utility-login-drop a:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
}

/* ── Right: nav links + divider + login ── */
.utility-right {
  display: flex;
  align-items: center;
  gap: 2px;
}

.utility-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.utility-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

/* wp_nav_menu fallback styling */
.utility-nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.utility-nav-menu li a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.utility-nav-menu li a:hover { color: var(--white); background: rgba(255,255,255,.06); }

.utility-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.12);
  margin: 0 6px;
  flex-shrink: 0;
}

.utility-login { position: relative; }

/* ── Mobile: collapse links, keep login ── */
@media (max-width: 768px) {
  .utility-link,
  .utility-nav-menu { display: none; }
  .utility-divider { display: none; }
}

/* ============================================================
   HEADER & NAV  — ABC News style: white background
   ============================================================ */
.site-header {
  position: sticky;
  top: 36px; /* sits below 36px utility bar */
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding-block: 30px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: auto;
  min-height: 48px;
}

/* ── Left group: hamburger + logo ── */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--dark);
}

.site-logo a { color: var(--dark); }
.site-logo span { color: var(--red); }
.site-logo img { height: 48px; width: auto; } /* no filter — logo on white bg */

/* ── Primary nav ── */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.primary-nav a {
  display: block;
  padding: 6px 12px;
  font-family: Arial, 'Arial Narrow', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(0,0,0,.75);
  transition: color .15s;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav .current-menu-item a {
  color: var(--dark);
}

/* ── Mini weather in header ── */
.header-weather {
  display: none; /* hidden until JS populates */
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 0;
  border-right: 1px solid rgba(0,0,0,.12);
  margin-right: 0;
  color: var(--dark);
  flex-shrink: 0;
}
.header-weather--ready { display: flex; }

.hw-icon { display: flex; align-items: center; line-height: 1; color: var(--dark); }
.hw-icon svg { display: block; }

.hw-temp {
  font-family: Arial, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.hw-cond {
  font-family: Arial, sans-serif;
  font-size: .72rem;
  color: var(--muted);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) { .hw-cond { display: none; } }
@media (max-width: 640px) { .header-weather { display: none !important; } }

/* ── Thin vertical divider ── */
.header-divider {
  width: 1px;
  height: 20px;
  background: rgba(0,0,0,.12);
  flex-shrink: 0;
}

/* ── Icon buttons (search, bell) ── */
.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.header-icon-btn:hover { background: rgba(0,0,0,.06); }

/* ── Dropdown positioning ── */
.primary-nav ul { position: relative; }
.primary-nav li { position: relative; }

.primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: 2px solid var(--red);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  z-index: 200;
  padding: 6px 0;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  display: block;
}

.primary-nav .sub-menu li { position: relative; }

.primary-nav .sub-menu a {
  display: block;
  padding: 9px 16px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: none;
  color: var(--medium);
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.primary-nav .sub-menu a:hover { background: #f9fafb; color: var(--dark); }

.primary-nav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  border-top: none;
  border-left: 2px solid var(--red);
}

.primary-nav .menu-item-has-children > a::after {
  content: ' ▾';
  font-size: .55rem;
  opacity: .6;
  margin-left: 2px;
}

/* ── Right group ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* ── Subscribe pill button — dark like ABC's Disney+ CTA ── */
.header-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--navy);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: 100px;
  white-space: nowrap;
  margin-left: 4px;
  transition: background .15s;
}
.header-subscribe:hover { background: var(--navy-light); color: var(--white); }

/* ── Nav toggle (hamburger) — always visible, dark bars ── */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: .2s;
}

/* ── Expandable search bar ── */
.header-search-bar {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.header-search-bar.is-open { display: block; }

.header-search-bar form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  max-width: 680px;
  margin: 0 auto;
}

.hsb-icon {
  color: var(--muted);
  flex-shrink: 0;
}

.header-search-bar input {
  flex: 1;
  border: none;
  border-bottom: 2px solid var(--dark);
  padding: 6px 4px;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--dark);
  background: transparent;
  outline: none;
}
.header-search-bar input::placeholder { color: var(--muted); }

.hsb-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.hsb-close:hover { background: rgba(0,0,0,.06); color: var(--dark); }

/* ============================================================
   NEWS TICKER
   ============================================================ */
.site-ticker {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  height: 36px;
  overflow: hidden;
  position: sticky;
  top: 145px; /* 36px utility bar + 108px header + 1px border */
  z-index: 99;
  border-bottom: 1px solid #e2e8f0;
}

.ticker-label {
  flex-shrink: 0;
  background: var(--red);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  z-index: 2;
}

/* Soft fade-out on both sides */
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  height: 36px;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px;
}

.ticker-item a {
  font-family: Arial, sans-serif;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(0,0,0,.7);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}

.ticker-item a:hover { color: var(--dark); }

.ticker-sep {
  color: rgba(0,0,0,.2);
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .site-ticker { height: 32px; }
  .ticker-label { padding: 0 10px; font-size: .58rem; }
  .ticker-item a { font-size: .75rem; }
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1.3;
}

/* On article pages the label sits stacked vertically to the left */
.section-label--vertical {
  display: block;
  font-size: .63rem;
  color: var(--muted);
  letter-spacing: .1em;
  line-height: 1.4;
  padding-top: 4px;
}

.section-label a { color: inherit; }

/* ============================================================
   HOMEPAGE — HERO + GRID
   ============================================================ */
.home-hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.hero-main {}

.hero-main .hero-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero-main .post-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.hero-main .post-title a:hover { color: var(--red); }

.hero-main .post-excerpt {
  font-size: 1.05rem;
  color: var(--medium);
  line-height: 1.6;
  margin-bottom: 14px;
}

.hero-sidebar {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}

.hero-sidebar .sidebar-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.sidebar-post-list { display: flex; flex-direction: column; gap: 0; }

.sidebar-post {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-post:last-child { border-bottom: none; }

.sidebar-post img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
}

.sidebar-post .post-title {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
}

.sidebar-post .post-title a:hover { color: var(--red); }

/* ============================================================
   SECTION BLOCK (used on homepage for categories)
   ============================================================ */
.home-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.home-section .section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.home-section .section-header h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  border-left: 4px solid var(--red);
  padding-left: 12px;
}

.home-section .section-more {
  font-size: .78rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card { display: flex; flex-direction: column; }

.post-card .card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
  transition: opacity .2s;
}

.post-card:hover .card-image { opacity: .92; }

.post-card .card-category { margin-bottom: 6px; }

.post-card .card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 8px;
}

.post-card .card-title a:hover { color: var(--red); }

.post-card .card-excerpt {
  font-size: .85rem;
  color: var(--medium);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   POST META
   ============================================================ */
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.post-meta .meta-author { font-weight: 600; color: var(--dark); }
.post-meta .meta-sep { opacity: .4; }
.post-meta time {}

/* ============================================================
   SINGLE ARTICLE — NBC News style
   ============================================================ */

/* ── 1. Full-width dark navy header — single column ── */
.article-header-wrap {
  background: var(--navy);
  width: 100%;
}

.article-header-inner {
  max-width: var(--site-w);
  margin-inline: auto;
  padding: 75px 32px 0; /* share bar provides the 75px bottom padding */
}

/* Category label — matches .dh-hp-pill global pill token */
.article-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 7px 14px;
  margin-bottom: 18px;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}

.article-cat-label:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
}

/* Headline — border-bottom: none overrides WordPress classic-themes.css h1 rule */
.article-title {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.01em;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  clear: none !important;
}

/* Deck */
.article-deck {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-weight: 400;
  font-family: var(--font-sans);
  max-width: 740px;
}

/* ── 2. White full-width article card ── */
.article-card-wrap {
  background: var(--white);
  padding-top: 20px;
  padding-bottom: 60px;
}

.article-card {
  background: var(--white);
  width: 100%;
}

/* ── 3. Hero: image or video, full-width ── */
.article-hero {
  width: 100%;
  margin: 0;
  background: #000;
  display: block;
}

.article-hero img {
  width: 100%;
  display: block;
}

/* YouTube / video embed — inside dark navy, matches headline width, 16:9 */
.article-video-wrap {
  margin-top: 28px;
  /* inherits left/right padding from .article-header-inner (32px each side) */
}

.article-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 2px;
}

.article-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-hero-caption {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 32px 10px;
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}

.article-hero-caption::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 2px;
  background: var(--blue);
  margin-top: 7px;
}

/* ── Constrained content zone — now the main 2-col grid ──
   Col 1: byline (row 1) + body (row 2)
   Col 2: sidebar spans all rows                            */
.article-content-zone {
  max-width: var(--site-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-template-rows: auto 1fr;
  column-gap: 28px;
  padding: 0 28px;
  align-items: start;
}

/* ── 4. Share bar — frosted pill buttons, no pipe separators ── */
.article-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding: 18px 0 64px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.share-bar-label {
  font-family: Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-right: 4px;
}

/* Share pill buttons — matches .dh-hp-pill global pill token */
.share-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  color: rgba(255,255,255,.6);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}

.share-pill-btn:hover,
.share-pill-btn:focus {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  outline: none;
}

/* ── 5. Byline — avatar + author + date + reading time ── */
.article-byline-block {
  grid-column: 1;
  grid-row: 1;
  padding: 20px 0 16px;
}

.byline-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.byline-avatar { flex-shrink: 0; }

.byline-avatar-img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--border);
}

.byline-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.byline-author-line {
  font-family: Arial, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
}

.byline-author-line a { color: var(--dark); }
.byline-author-line a:hover { color: var(--red); }

.byline-dateline {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: Arial, sans-serif;
  font-size: .77rem;
  color: var(--muted);
}

.byline-dot { color: var(--border); }

.byline-read-time { color: var(--muted); }

/* ── 6. Body column ── */
.article-body {
  grid-column: 1;
  grid-row: 2;
  padding: 0 0 40px;
  font-family: Arial, 'Arial Narrow', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--dark);
  /* border-right removed: sidebar differentiates via background color */
}

.article-body p {
  font-family: Arial, 'Arial Narrow', sans-serif;
  font-size: 1.125rem !important; /* beats #error-page p ID selector from WP */
  font-weight: 400;
  margin-bottom: 1.35em;
}
.article-body > p:first-child { font-size: 1.125rem !important; }

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2em 0 .6em;
  color: var(--dark);
  letter-spacing: -.01em;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.8em 0 .5em;
}

.article-body a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; }
.article-body a:hover { color: #1d4ed8; }

.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 14px 20px 14px 24px;
  margin: 1.8em 0;
  background: rgba(28, 35, 54, .04);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--medium);
  font-size: 1.05em;
  line-height: 1.7;
}

.article-body ul, .article-body ol { margin: 1em 0 1.4em 1.5em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .5em; }

.article-body figure { margin: 1.8em 0; }
.article-body figure img { width: 100%; border-radius: 2px; }
.article-body figcaption {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .75rem; color: var(--muted);
  margin-top: 6px; padding-top: 6px;
  border-top: 1px solid var(--border);
}
.article-body figcaption::before {
  content: ''; display: block; flex-shrink: 0;
  width: 20px; height: 2px;
  background: var(--blue); margin-top: 6px;
}

/* Inline YouTube / oEmbed (inside body text) */
.article-body .wp-block-embed,
.article-body .wp-block-embed__wrapper,
.article-body .embed-responsive { margin: 2em 0; }

.article-body .wp-block-embed iframe,
.article-body iframe { width: 100%; aspect-ratio: 16/9; }

/* Tags */
.article-tags {
  padding-top: 18px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.article-tags .tags-label {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; color: var(--muted); letter-spacing: .07em;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid rgba(10,14,26,.12);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  color: rgba(10,14,26,.5);
  background: rgba(10,14,26,.04);
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}

.tag-pill:hover {
  background: rgba(10,14,26,.08);
  border-color: rgba(10,14,26,.22);
  color: rgba(10,14,26,.9);
}

/* ── 7. Right sidebar — spans all rows, starts at byline level ── */
.article-sidebar {
  grid-column: 2;
  grid-row: 1 / -1;   /* span byline row + body row */
  padding: 20px 0 40px;
  background: transparent;
}

.article-sidebar-widget {
  background: #0a0e1a;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--card-radius, 10px);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.article-sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-widget-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-author-name a {
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}

.sidebar-author-name a:hover { color: #fff; }

.sidebar-author-bio {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
  margin-top: 6px;
}

.sidebar-story-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-story {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.sidebar-story:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-story-thumb img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 3px;
}

.sidebar-story-title {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255,255,255,.85);
}

.sidebar-story-title:hover { color: #fff; }

.sidebar-story-title:hover { color: var(--red); }

/* ============================================================
   RELATED ARTICLES
   ============================================================ */
.related-articles {
  background: #0a0e1a; /* dark navy band matching homepage */
  padding: 0;
  margin-top: 0;
}

.related-inner {
  max-width: var(--site-w);
  margin-inline: auto;
  padding: 40px 24px 52px;
}

.related-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

/* "More Stories" section label — red accent line + small caps */
.related-eyebrow {
  font-family: Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Dark-context overrides for post-card inside related band */
.related-articles .post-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--card-radius);
  overflow: hidden;
}
.related-articles .post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
/* Card body layout */
.related-articles .post-card .card-title {
  padding: 14px 20px 6px !important;
  margin: 0 !important;
  font-size: 1rem;
}
.related-articles .post-card .card-excerpt {
  display: none !important;
}
.related-articles .post-card .post-meta {
  padding: 0 20px 16px !important;
  margin: 0 !important;
  flex-wrap: wrap;
  gap: 4px 6px;
}
/* Normalise all meta children: same size / weight / colour / case */
.related-articles .post-card .post-meta .meta-cat,
.related-articles .post-card .post-meta .meta-cat a,
.related-articles .post-card .post-meta .meta-sep,
.related-articles .post-card .post-meta .meta-author,
.related-articles .post-card .post-meta time {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.4) !important;
  text-decoration: none;
}
/* Category stays red */
.related-articles .post-card .post-meta .meta-cat a {
  color: var(--red) !important;
}
.related-articles .post-card .post-meta .meta-cat a:hover {
  color: #fff !important;
}
.related-articles .post-card .card-category,
.related-articles .post-card .section-label,
.related-articles .post-card .section-label a {
  color: var(--red) !important;
}
.related-articles .post-card .card-title a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
}
.related-articles .post-card .card-title a:hover {
  color: #fff;
}
.related-articles .post-card .post-meta,
.related-articles .post-card .post-meta a,
.related-articles .post-card .post-meta time {
  color: rgba(255,255,255,.4);
}

/* Dark-context overrides for .nh-card inside related band */
.related-articles .nh-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.related-articles .nh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}

.related-articles .nh-card-body {
  background: transparent;
  padding: 14px 16px 16px;
}

.related-articles .nh-card-title a {
  color: rgba(255,255,255,.9);
}

.related-articles .nh-card-title a:hover { color: #fff; }

.related-articles .nh-cat { color: rgba(255,255,255,.5); }
.related-articles .nh-time { color: rgba(255,255,255,.35); }

/* ============================================================
   SPORTS TEMPLATE  (.sp-*)
   Sports hub page: dark navy hero → stories grid + sidebar
   → COC YouTube → Athletics RSS → Canyons News playlist
   ============================================================ */

/* ── Sports dark hero band ── */
.sp-dark-band {
  width: 100%;
  background: #07101f;
  padding: 56px 0 0;
}
.sp-dark-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar: eyebrow label + filter chips side by side */
.sp-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.sp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.sp-hero-eyebrow svg { color: var(--red); flex-shrink: 0; }
.sp-hero-count {
  font-size: .65rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  margin-left: 6px;
  letter-spacing: .04em;
  text-transform: none;
}

/* Override hc-row height + margin for sports page */
.sp-hc-row {
  height: 480px;
  margin-bottom: 0 !important;
}

/* Right quadrant: 2×2 grid of supporting hero cards */
.sp-hero-quad {
  flex: 3 3 0;        /* same total flex as the lead — 50/50 split */
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
/* Cards inside the quad fill their grid cell */
.sp-hero-quad .hc-card {
  flex: none;
  width: 100%;
  height: 100%;
}

/* ── Filter chips ── */
.sp-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.sp-chip {
  appearance: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.sp-chip:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.sp-chip--active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── Stories band ── */
.sp-stories-band {
  background: #fff;
  padding: 10px 0;
}
.sp-stories-band .nh-wrap {
  padding-top: 10px;
  padding-bottom: 10px;
}
.sp-stories-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ── Sports stories grid — 4-col to match homepage ── */
.sp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sp-grid--4col { grid-template-columns: repeat(4, 1fr); }
.sp-card { font-size: .85rem; }

/* ── See more row ── */
.sp-see-more-row {
  margin-top: 36px;
  text-align: center;
}

/* ── Sports sidebar ── */
.sp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sp-twitter-card,
.sp-browse-card {
  background: #f5f6f8;
  border-radius: 10px;
  overflow: hidden;
  padding: 18px;
}
.sp-twitter-embed {
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
}
.sp-browse-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sp-browse-list li a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.sp-browse-list li a:hover {
  background: rgba(0,0,0,.06);
  color: var(--red);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .sp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sp-stories-layout { grid-template-columns: 1fr; }
  .sp-sidebar { display: none; }
  .sp-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .sp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .sp-grid { grid-template-columns: 1fr; }
}

/* ── light-to-dark divider (sports → YouTube section) ── */
.nh-divider--light-to-dark {
  background: linear-gradient(to bottom, #fff 50%, #0a0e1a 50%);
  padding: 20px 0;
}

/* ============================================================
   ARCHIVE PAGE  (.arch-*)
   Design matches homepage: dark navy hero + nh-card grid + sidebar
   ============================================================ */

/* ── Hero band ── */
.arch-hero {
  width: 100%;
  background: #0a0e1a;
}

.arch-hero-inner {
  max-width: var(--site-w);
  margin-inline: auto;
  padding: 36px 24px 40px;
}

/* Eyebrow — matches .dh-hp-pill global pill token */
.arch-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 7px 14px;
  margin-bottom: 16px;
  transition: background .18s, color .18s, border-color .18s;
}

.arch-hero-title {
  font-family: Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.arch-hero-desc {
  font-family: Arial, sans-serif;
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
  max-width: 600px;
  margin-bottom: 16px;
}

.arch-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.arch-story-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 7px 14px;
  transition: background .18s, color .18s, border-color .18s;
}

/* ── Body wrapper ── */
.arch-body {
  padding-top: 32px !important;
}

/* ── 2-col layout: main + sidebar ── */
.arch-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ── Card grid (3-col, reuses .nh-card) ── */
.arch-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  row-gap: 32px !important;
}

/* Excerpt under card headline */
.arch-card-excerpt {
  font-family: Arial, sans-serif;
  font-size: .82rem;
  color: var(--medium);
  line-height: 1.5;
  margin: 6px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.arch-empty {
  font-family: Arial, sans-serif;
  color: var(--muted);
  font-size: .95rem;
  padding: 40px 0;
}

/* ── Sidebar ── */
.arch-sidebar {
  position: sticky;
  top: 110px; /* 36px utility bar + 60px header + buffer */
}

.arch-widget {
  margin-bottom: 32px;
}

.arch-widget-label {
  font-family: Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 16px;
}

/* Browse by Section list */
.arch-cat-list {
  display: flex;
  flex-direction: column;
}

.arch-cat-item {
  border-bottom: 1px solid var(--border);
}

.arch-cat-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  color: var(--dark);
  font-family: Arial, sans-serif;
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
}

.arch-cat-item a:hover,
.arch-cat-item--active a { color: var(--red); }

.arch-cat-item--active .arch-cat-name { font-weight: 700; }

.arch-cat-count {
  font-size: .75rem;
  color: var(--muted);
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* Recent Stories list */
.arch-recent-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.arch-recent-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: opacity .15s;
}
.arch-recent-item:last-child { border-bottom: none; }
.arch-recent-item:hover { opacity: .8; }

.arch-recent-thumb img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.arch-recent-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arch-recent-title {
  font-family: Arial, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Keep old .sidebar-widget / .widget-post for dynamic_sidebar fallback */
.sidebar-widget { margin-bottom: 36px; }
.sidebar-widget h3 {
  font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: 10px; border-bottom: 2px solid var(--dark); margin-bottom: 16px;
}
.widget-post-list { display: flex; flex-direction: column; gap: 14px; }
.widget-post { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; }
.widget-post img { width: 64px; height: 48px; object-fit: cover; border-radius: 3px; }
.widget-post .post-title { font-size: .85rem; font-weight: 600; line-height: 1.35; }
.widget-post .post-title a:hover { color: var(--red); }
.category-list { display: flex; flex-direction: column; }
.category-list li { border-bottom: 1px solid var(--border); }
.category-list a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: .9rem; color: var(--dark); font-weight: 500; transition: color .15s; }
.category-list a:hover { color: var(--red); }
.category-list .count { font-size: .78rem; color: var(--muted); background: var(--bg); padding: 2px 8px; border-radius: 20px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .arch-layout { grid-template-columns: 1fr 260px; gap: 28px; }
  .arch-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .arch-layout { grid-template-columns: 1fr; }
  .arch-sidebar { position: static; display: none; }
  .arch-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .arch-hero-title { font-size: 1.8rem; }
}

@media (max-width: 520px) {
  .arch-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 32px 0 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  transition: .15s;
}

.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current { background: var(--red); border-color: var(--red); color: var(--white); }

/* ============================================================
   STATIC PAGES (About, Programs, etc.)
   ============================================================ */
.page-content {
  max-width: 800px;
  margin: 48px auto 80px;
}

.page-content h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--dark);
  border-bottom: 3px solid var(--red);
  padding-bottom: 16px;
}

.page-content .entry-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dark);
}

.page-content .entry-content p { margin-bottom: 1.3em; }
.page-content .entry-content h2 { font-family: var(--font-serif); font-size: 1.5rem; margin: 1.8em 0 .6em; }
.page-content .entry-content h3 { font-family: var(--font-serif); font-size: 1.2rem; margin: 1.5em 0 .5em; }
.page-content .entry-content a { color: var(--red); text-decoration: underline; }
.page-content .entry-content ul, .page-content .entry-content ol { margin: 1em 0 1.4em 1.5em; }
.page-content .entry-content ul { list-style: disc; }
.page-content .entry-content ol { list-style: decimal; }
.page-content .entry-content li { margin-bottom: .5em; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand .footer-logo span { color: var(--red); }
.footer-brand .footer-logo img { height: 32px; filter: brightness(0) invert(1); }

.footer-brand p {
  font-size: .85rem;
  color: #999;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #444;
  border-radius: 50%;
  font-size: .75rem;
  color: #bbb;
  transition: border-color .15s, color .15s;
}

.footer-social a:hover { border-color: var(--red); color: var(--white); }

.footer-col h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col a {
  font-size: .85rem;
  color: #999;
  transition: color .15s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: #666;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-header {
  padding: 32px 0 8px;
}

.search-header h1 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
}

.search-header h1 span { color: var(--red); }

/* ============================================================
   404
   ============================================================ */
.error-404 {
  text-align: center;
  padding: 80px 24px;
}

.error-404 h1 {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
}

.error-404 h2 { font-size: 1.4rem; margin-bottom: 12px; }
.error-404 p { color: var(--muted); margin-bottom: 28px; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s;
}

.btn:hover { background: var(--red-dark); color: var(--white); }

/* ============================================================
   MEDIA QUERIES
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sidebar { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; }
  .sidebar-post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sidebar-post { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Article: single-column stack on tablets */
  .article-content-zone {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 0 20px;
  }
  .article-byline-block { grid-row: 1; }
  .article-body { grid-column: 1; grid-row: 2; }
  .article-sidebar { grid-column: 1; grid-row: 3; border-top: 1px solid var(--border); padding-top: 20px; }
  .article-content-zone { max-width: 100%; }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .primary-nav.open {
    display: block;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    padding: 12px 20px;
    z-index: 99;
  }
  .primary-nav.open ul { flex-direction: column; gap: 0; }
  .primary-nav.open li + li > a { border-left: none; border-top: 1px solid #f1f5f9; }
  .primary-nav.open a { padding: 12px 16px; font-size: .88rem; color: var(--dark); }

  /* Mobile dropdowns: static, indented */
  .primary-nav.open .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--red);
    background: #f9fafb;
    padding: 0;
  }
  .primary-nav.open .sub-menu.open { display: block; }
  .primary-nav.open .sub-menu a { padding: 10px 16px 10px 24px; font-size: .78rem; border-top: none; color: var(--medium); }
  .primary-nav.open .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
  .nav-toggle { display: flex; }
  .header-search { display: none; }
  .hero-main .post-title { font-size: 1.7rem; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Article mobile */
  .article-header-inner { padding: 24px 20px 0; }
  .article-share-bar { padding: 16px 0 36px; }
  .article-video-wrap { margin-top: 20px; }
  .article-hero-caption { padding: 8px 16px 10px; }
  .article-byline-block { padding: 12px 16px 14px; }
  .article-columns { grid-template-columns: 1fr; }
  .article-content-zone { padding: 0 16px; }
  .article-body { padding: 0 0 28px; }
  .article-sidebar { padding-top: 20px; }
  .related-articles { padding: 24px 20px; }
}

/* ============================================================
   NEWS HOMEPAGE TEMPLATE  (template-news-home.php)
   Modeled after ABC News homepage grid + Top Stories sidebar
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   HERO CARDS  (.hc-*)
   Airbnb-style: full-bleed image, dark gradient, white CTA.
   Uses FLEXBOX (not grid) for max WordPress compatibility.
   .hc-row = flex container  |  lead card flex:3  |  others flex:1
════════════════════════════════════════════════════════════ */

/* ── Row container ── */
.hc-row {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: row !important;
          flex-direction: row !important;
  gap: 14px;
  height: 500px;
  margin-bottom: 20px;
  -ms-flex-wrap: nowrap !important;
      flex-wrap: nowrap !important;
  width: 100%;
  box-sizing: border-box;
}

/* ── Individual card ── */
.hc-card {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--navy);
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  box-shadow: 0 6px 28px rgba(0,0,0,.14);
  transition: transform .22s ease, box-shadow .22s ease;
  cursor: pointer;
}

/* Lead card = 3× the flex-grow of supporting cards */
.hc-card--lead {
  -webkit-box-flex: 3;
      -ms-flex: 3 3 0px;
          flex: 3 3 0;
}

.hc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
}

/* ── Background image ── */
.hc-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block !important;
  z-index: 0;
  transition: transform .35s ease;
}

.hc-card:hover .hc-bg { transform: scale(1.04); }

/* ── Gradient overlay ── */
.hc-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,.15) 40%,
    rgba(0,0,0,.72) 78%,
    rgba(0,0,0,.82) 100%
  );
  z-index: 1;
}

/* ── Content block (sits above gradient) ── */
.hc-body {
  position: relative;
  z-index: 2;
  padding: 0 18px 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

/* Category chip: reuse existing .sn-chip */

/* ── Headline ── */
.hc-title {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.5px;
  color: var(--white) !important;
  border-bottom: none !important;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hc-card--lead .hc-title {
  font-size: 1.75rem;
  -webkit-line-clamp: 4;
}

.hc-title a { color: var(--white) !important; text-decoration: none; }
.hc-title a:hover { opacity: .88; }

/* ── Excerpt (lead card only) ── */
.hc-excerpt {
  font-family: Arial, sans-serif;
  font-size: .82rem;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Frosted pill tags ── */
.hc-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 2px;
}

.hc-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 7px 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}

.hc-tag:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
}

.hc-tag svg { flex-shrink: 0; }

/* ── Frosted CTA button ── */
.hc-btn {
  display: block !important;
  text-align: center;
  background: rgba(255,255,255,.5) !important;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--white) !important;
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 100px;
  text-decoration: none !important;
  border: none !important;
  margin-top: 4px;
  transition: background .18s;
}

.hc-btn:hover {
  background: rgba(255,255,255,.68) !important;
  color: var(--white) !important;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hc-row { height: 480px; }
  .hc-card:last-child { display: none !important; }
  .hc-card--lead { flex: 2 2 0; }
}

@media (max-width: 768px) {
  .hc-row {
    flex-wrap: wrap !important;
    height: auto !important;
    gap: 12px;
  }
  .hc-card { height: 300px; flex: 1 1 calc(50% - 6px); }
  .hc-card--lead { flex: 1 1 100% !important; height: 360px; }
}

@media (max-width: 480px) {
  .hc-card { flex: 1 1 100% !important; }
  .hc-card:nth-child(n+3) { display: none !important; }
}

/* ════════════════════════════════════════════════════════════
   SPECTRUM NEWS-STYLE HERO  (.sn-*)
   Top section: large lead | stacked list | watch + feature
════════════════════════════════════════════════════════════ */

/* Filled category chip — Spectrum News teal */
.sn-chip {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: #00617f;  /* Spectrum News teal */
  padding: 3px 8px;
  margin-bottom: 10px;
  text-decoration: none;
  line-height: 1.4;
}
.sn-chip:hover { background: #00485e; color: var(--white); }

/* Shared meta line: "X hours ago" */
.sn-meta {
  font-family: Arial, sans-serif;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* 3-column hero grid */
.sn-hero {
  display: grid;
  grid-template-columns: 1fr 380px 280px;
  gap: 16px;
  margin-bottom: 20px;
}

/* ── LEFT: Lead story ── */
.sn-lead {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.sn-lead-img-link { display: block; overflow: hidden; border-radius: var(--card-radius) var(--card-radius) 0 0; }
.sn-lead-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.sn-lead-img-link:hover .sn-lead-img { opacity: .92; }

.sn-lead-body {
  padding: 16px 20px 20px;
}

.sn-lead-title {
  font-family: Arial, sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--dark);
  margin-bottom: 10px;
  border-bottom: none !important;
}
.sn-lead-title a { color: inherit; }
.sn-lead-title a:hover { color: var(--red); }

.sn-lead-deck {
  font-family: Arial, sans-serif;
  font-size: .9rem;
  color: var(--medium);
  line-height: 1.55;
  margin-bottom: 6px;
}

/* ── CENTER: Stacked story list ── */
.sn-list {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sn-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  flex: 1;
}
.sn-list-item:last-child { border-bottom: none; }

.sn-list-text {
  flex: 1;
  min-width: 0;
}

.sn-list-title {
  font-family: Arial, sans-serif;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 4px;
  border-bottom: none !important;
}
.sn-list-title a { color: inherit; }
.sn-list-title a:hover { color: var(--red); }

.sn-list-thumb {
  display: block;
  flex-shrink: 0;
  width: 90px;
  overflow: hidden;
}
.sn-list-thumb img {
  width: 90px;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.sn-list-thumb:hover img { opacity: .88; }

/* ── RIGHT: Watch Live + Featured ── */
.sn-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sn-right-label {
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 2px solid var(--dark);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-top: none !important;
}

.sn-watch {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 14px 16px;
  overflow: hidden;
}

.sn-watch-thumb {
  display: block;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}
.sn-watch-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.sn-watch-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.sn-live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e00;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 2px 6px;
  border-radius: 2px;
}

.sn-watch-desc {
  font-family: Arial, sans-serif;
  font-size: .8rem;
  color: var(--medium);
  line-height: 1.4;
}
.sn-watch-desc a { color: var(--blue); }
.sn-watch-desc a:hover { color: var(--red); }

.sn-feature {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 14px 16px;
  overflow: hidden;
  flex: 1;
}

.sn-feature-thumb {
  display: block;
  overflow: hidden;
  margin-bottom: 8px;
}
.sn-feature-thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.sn-feature-thumb:hover img { opacity: .88; }

.sn-feature-title {
  font-family: Arial, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  border-bottom: none !important;
}
.sn-feature-title a { color: inherit; }
.sn-feature-title a:hover { color: var(--red); }

/* ── Spectrum hero responsive ── */
@media (max-width: 1024px) {
  .sn-hero { grid-template-columns: 1fr 300px; }
  .sn-right { display: none; }
}
@media (max-width: 700px) {
  .sn-hero { grid-template-columns: 1fr; }
  .sn-list { display: none; }
}

/* ── Full-width dark band: hero cards + weather ── */
.nh-dark-band {
  width: 100%;
  background: #0a0e1a;
}

.nh-band-inner {
  max-width: var(--site-w);
  margin-inline: auto;
  padding: 52px 24px 40px;
}

/* ── Outer wrapper (grid + more stories — white background) ── */
.nh-wrap {
  max-width: var(--site-w);
  margin-inline: auto;
  padding: 24px 24px 60px;
  background: rgb(255, 255, 255);
}

/* ── Category labels — per-category colors matching ABC News ── */
.nh-cat {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
  text-decoration: none;
}
.nh-cat--blue   { color: #2563eb; }
.nh-cat--purple { color: #7c3aed; }
.nh-cat--coral  { color: #db2777; }
.nh-cat--green  { color: #16a34a; }
.nh-cat--orange { color: #ea580c; }
.nh-cat--teal   { color: #0891b2; }
.nh-cat--white  { color: rgba(255,255,255,.85); }
.nh-cat:hover   { opacity: .75; }

/* ── Timestamps ── */
.nh-time {
  display: block;
  font-family: Arial, sans-serif;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Section divider label ── */
.nh-section-label {
  font-family: Arial, sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: none !important;
}

/* ════════════════════════════════════════════════════
   HERO ROW
════════════════════════════════════════════════════ */
.nh-hero {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.nh-hero-left {
  padding: 22px 20px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.nh-hero-headline {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 12px;
  border-bottom: none !important;
}
.nh-hero-headline a { color: inherit; }
.nh-hero-headline a:hover { color: var(--red); }

.nh-hero-deck {
  font-family: Arial, sans-serif;
  font-size: .88rem;
  color: var(--medium);
  line-height: 1.55;
  margin-bottom: 12px;
}

.nh-hero-time { margin-top: auto; }

.nh-hero-center {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.nh-hero-img-link { display: block; height: 100%; }

.nh-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nh-hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: #2a3148;
}

.nh-hero-center-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 64px 18px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
}

.nh-hero-center-title {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  border-bottom: none !important;
}
.nh-hero-center-title a { color: inherit; }
.nh-hero-center-title a:hover { opacity: .85; }

.nh-hero-right {
  padding: 18px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.nh-hero-right-thumb {
  display: block;
  margin-bottom: 12px;
  overflow: hidden;
}
.nh-hero-right-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.nh-hero-right-thumb:hover img { opacity: .88; }

.nh-hero-right-title {
  font-family: Arial, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 4px;
  border-bottom: none !important;
}
.nh-hero-right-title a { color: inherit; }
.nh-hero-right-title a:hover { color: var(--red); }

/* ════════════════════════════════════════════════════
   GRID + SIDEBAR  (ABC News style with card UI)
════════════════════════════════════════════════════ */
.nh-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  margin-bottom: 24px;
}

/* ── 4-column grid card ── */
.nh-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 26px;
  column-gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.nh-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.nh-card-thumb {
  display: block;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 6px;
}
.nh-card-thumb img {
  width: 200px;
  height: 100px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: opacity .2s;
}
.nh-card-thumb:hover img { opacity: .88; }

.nh-card-body {
  display: flex;
  flex-direction: column;
}

.nh-card-title {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--dark);
  margin-bottom: 4px;
  border-bottom: none !important;
}
.nh-card-title a { color: inherit; }
.nh-card-title a:hover { color: var(--red); }

/* ── Top Stories sidebar card ── */
.nh-sidebar {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  align-self: start;
}

.nh-sidebar-label {
  font-family: Arial, sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 13px 18px;
  margin: 0;
  border-bottom: none !important;
}

.nh-top-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nh-top-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nh-top-item:last-child { border-bottom: none; }

.nh-top-dot {
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  margin-top: 5px;
}

.nh-top-item a {
  font-family: Arial, sans-serif;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark);
}
.nh-top-item a:hover { color: var(--red); }

/* ════════════════════════════════════════════════════
   MORE STORIES (below grid)
════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════
   LATEST SHOW — YouTube section
════════════════════════════════════════════════════ */
.nh-show-band {
  background: #0a0e1a;
  padding: 56px 0 64px;
}
.nh-show-inner {
  max-width: var(--site-w);
  margin-inline: auto;
  padding: 0 28px;
}
.nh-show-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.nh-show-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: rgba(255,255,255,.5);
}
.nh-show-yt-link {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .18s;
}
.nh-show-yt-link:hover { color: rgba(255,255,255,.9); }

.nh-show-layout {
  display: flex;
  gap: 20px;
  align-items: stretch;
  min-height: 380px;
}
.nh-show-player {
  flex: 1;
  min-width: 0;
}
.nh-show-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: rgba(255,255,255,.05);
}
.nh-show-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Episode list — reuses .tv-list / .tv-item styles; container overrides */
.nh-show-episodes {
  display: flex;
  flex-direction: column;
  width: 340px;
  flex-shrink: 0;
  overflow-y: auto;
  max-height: 460px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
  border-radius: 8px;
  overflow: hidden;
}
.nh-show-episodes::-webkit-scrollbar { width: 4px; }
.nh-show-episodes::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }
/* tv-item links need text-decoration: none */
.nh-show-episodes .tv-item { text-decoration: none; }

.nh-show-ep-skeleton {
  height: 64px;
  background: rgba(255,255,255,.06);
  border-radius: 0;
  margin-bottom: 1px;
  animation: pulse 1.4s ease-in-out infinite;
}
.nh-show-ep-fallback {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--card-radius);
  color: rgba(255,255,255,.6);
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.nh-show-ep-fallback:hover {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.9);
}

@media (max-width: 860px) {
  .nh-show-layout { flex-direction: column; }
  .nh-show-episodes { width: 100%; max-height: none; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; border-radius: 0; }
}

/* ════════════════════════════════════════════════════
   SECTION DIVIDER LOGO
   Split-background so top half matches the outgoing
   section and bottom half matches the incoming section.
════════════════════════════════════════════════════ */
.nh-section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: relative;
  z-index: 1;
  /* Each context variant sets the gradient below */
}
.nh-section-divider-logo {
  display: block;
  height: auto;
  position: relative;
  z-index: 2;
  /* Small drop shadow so logo pops on any bg */
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}

/* dark-to-light: dark navy on top, white on bottom */
.nh-divider--dark-to-light {
  background: linear-gradient(to bottom, #0a0e1a 50%, #fff 50%);
  padding: 20px 0;
}
/* light-to-dark: white on top, dark navy on bottom */
.nh-divider--light-to-dark {
  background: linear-gradient(to bottom, #fff 50%, #0a0e1a 50%);
  padding: 20px 0;
}
/* dark-to-dark: both halves dark navy */
.nh-divider--dark-to-dark {
  background: #0a0e1a;
  padding: 20px 0;
}
/* dark-to-red: dark navy on top, red on bottom */
.nh-divider--dark-to-red {
  background: linear-gradient(to bottom, #0a0e1a 50%, var(--red) 50%);
  padding: 20px 0;
}
/* light-to-red: white on top, red on bottom */
.nh-divider--light-to-red {
  background: linear-gradient(to bottom, #fff 50%, var(--red) 50%);
  padding: 20px 0;
}

/* ════════════════════════════════════════════════════
   COUGARS ATHLETICS — RSS news feed section
════════════════════════════════════════════════════ */
.nh-sports-band {
  background: #fff;
  padding: 48px 0 60px;
}
.nh-sports-section {
  /* inherits .nh-wrap's max-width / side padding */
}
.nh-sports-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
}
.nh-sports-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .01em;
  margin: 0;
}
.nh-sports-title svg {
  color: #003674; /* COC athletics navy */
  flex-shrink: 0;
}
.nh-sports-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s;
}
.nh-sports-more:hover { color: #003674; }

/* 4-column grid; collapses on mobile */
.nh-sports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 860px) {
  .nh-sports-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .nh-sports-grid { grid-template-columns: 1fr; }
}

.nh-sports-card {
  background: #f5f6f8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.nh-sports-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.1);
}
.nh-sports-card-img {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  flex-shrink: 0;
}
.nh-sports-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.nh-sports-card:hover .nh-sports-card-img img {
  transform: scale(1.04);
}
.nh-sports-card-body {
  padding: 12px 14px 16px;
  flex: 1;
}
.nh-sports-date {
  display: block;
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #003674;
  margin-bottom: 5px;
}
.nh-sports-card-title {
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
.nh-sports-card-title a {
  color: var(--dark);
  text-decoration: none;
  transition: color .18s;
}
.nh-sports-card-title a:hover { color: #003674; }

/* Skeleton loading state */
.nh-sports-card--skeleton { pointer-events: none; }
.nh-skeleton-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #e8e9ec;
  animation: nh-skeleton-pulse 1.4s ease-in-out infinite;
}
.nh-skeleton-line {
  border-radius: 3px;
  background: #e8e9ec;
  animation: nh-skeleton-pulse 1.4s ease-in-out infinite;
}
@keyframes nh-skeleton-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .45; }
}

/* Fallback when feed can't be reached */
.nh-sports-fallback {
  padding: 24px 0;
  text-align: center;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--muted);
}
.nh-sports-fallback a {
  color: #003674;
  text-decoration: none;
  font-weight: 600;
}
.nh-sports-fallback a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════
   JOIN THE TEAM — recruitment section
════════════════════════════════════════════════════ */
.nh-join-band {
  background: var(--red);
  padding: 72px 0 80px;
  text-align: center;
}
.nh-join-inner {
  max-width: 780px;
  margin-inline: auto;
  padding: 0 28px;
}
.nh-join-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.nh-join-headline {
  font-family: Arial, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.nh-join-sub {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin: 0 auto 36px;
}
.nh-join-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.nh-join-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--red);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .18s, color .18s, transform .18s;
}
.nh-join-btn-primary:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-1px);
}
/* "Learn more" pill on red background */
.nh-join-ctas .nh-wx-expand-btn {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
  font-size: .88rem;
  padding: 12px 22px;
}
.nh-join-ctas .nh-wx-expand-btn:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
}

/* Role chips */
.nh-join-roles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  flex-wrap: wrap;
}
.nh-join-role {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
}
.nh-join-role svg { opacity: .7; }

/* ════════════════════════════════════════════════════
   WEATHER BAR
════════════════════════════════════════════════════ */
.nh-weather {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.07);
  border-radius: var(--card-radius);
  padding: 28px 28px;
  margin: 20px 0 0;
  opacity: 0;
  transition: opacity .4s ease;
  min-height: 100px;
}
.nh-weather--ready { opacity: 1; }

/* Current conditions */
.nh-weather-current {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,.15);
  flex-shrink: 0;
}

.nh-wicon-wrap svg,
.nh-wslot-icon svg {
  color: var(--white);
  display: block;
}

.nh-wtemp-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nh-wtemp {
  font-family: Arial, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.nh-wcond {
  font-family: Arial, sans-serif;
  font-size: .95rem;
  font-weight: 400;
  color: rgba(255,255,255,.8);
}

/* Mid column: hourly strip + expand button stacked */
.nh-weather-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 28px;
  border-right: 1px solid rgba(255,255,255,.12);
  min-width: 0;
}

/* Hourly slots */
.nh-whourly {
  display: flex;
  align-items: center;
  width: 100%;
}

.nh-wslot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  padding: 4px 12px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.nh-wslot:last-child { border-right: none; }

.nh-wslot-time {
  font-family: Arial, sans-serif;
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nh-wslot-temp {
  font-family: Arial, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}

/* Campus label */
.nh-weather-label {
  position: absolute;
  top: 12px;
  left: 20px;
  font-family: Arial, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  background: #00617f;
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1.4;
}

/* Campus camera panel */
.nh-wcam {
  padding-left: 28px;
  flex-shrink: 0;
}

.nh-wcam a {
  display: block;
  position: relative;
}

.nh-wcam-img {
  width: 220px;
  height: 124px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--navy);
}

.nh-wcam-label {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,0,0,.55);
  padding: 3px 8px;
}

@media (max-width: 900px) {
  .nh-wcam { display: none; }
  .nh-weather-mid { border-right: none; }
}

/* ── "See full forecast" / "See more videos" button rows ── */
.nh-wx-btn-row {
  display: flex;
  justify-content: center;
  padding: 20px 0 24px;
}

/* See more videos — must stay on the dark navy background */
.nh-see-more-row {
  display: flex;
  justify-content: center;
  background: #0a0e1a;
  padding: 4px 0 28px;
}

/* ── Pill button — dark-context (dark band) ── */
.nh-wx-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  color: rgba(255,255,255,.6);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}
.nh-wx-expand-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
}
.nh-wx-expand-btn[aria-expanded="true"] {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
}
.nh-wx-chevron {
  flex-shrink: 0;
  transition: transform .32s ease;
}
.nh-wx-expand-btn[aria-expanded="true"] .nh-wx-chevron {
  transform: rotate(180deg);
}

/* ── Expandable full-forecast panel — lives inside dark band ── */
.nh-wx-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent; /* inherits dark navy from .nh-dark-band */
}
.nh-wx-panel--open {
  grid-template-rows: 1fr;
}
/* The direct child must have overflow:hidden for the grid trick to collapse content */
.nh-wx-panel-inner {
  overflow: hidden;
}
/* The wx-inner inside the panel needs its own padding (not from wx-band) */
.nh-wx-panel .wx-inner {
  max-width: var(--site-w);
  margin: 0 auto;
  padding: 32px 24px 48px;
}

/* ── Dark-context overrides: all wx-* elements inside the panel ──
   The panel now lives inside the dark navy hero band, so cards,
   text, and borders need to flip to light-on-dark.              */

/* Section header */
.nh-wx-panel .wx-section-title { color: rgba(255,255,255,.9); }
.nh-wx-panel .wx-location-sub  { color: rgba(255,255,255,.4); }
.nh-wx-panel .wx-nws-link      { color: rgba(255,255,255,.5); }
.nh-wx-panel .wx-nws-link:hover{ color: rgba(255,255,255,.85); }

/* Generic card chrome */
.nh-wx-panel .wx-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: none;
}
.nh-wx-panel .wx-card-header {
  color: rgba(255,255,255,.4);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nh-wx-panel .wx-card-header-link      { color: rgba(255,255,255,.55); }
.nh-wx-panel .wx-card-header-link:hover{ color: rgba(255,255,255,.85); }

/* Current-conditions card (already dark navy) — lighten slightly */
.nh-wx-panel .wx-current {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.14);
}
.nh-wx-panel .wx-cur-location { color: rgba(255,255,255,.5); }
.nh-wx-panel .wx-cur-cond     { color: rgba(255,255,255,.75); }
.nh-wx-panel .wx-meta-label   { color: rgba(255,255,255,.45); }
.nh-wx-panel .wx-meta-sub     { color: rgba(255,255,255,.35); }

/* Hourly strip */
.nh-wx-panel .wx-hourly-scroll { scrollbar-color: rgba(255,255,255,.15) transparent; }
.nh-wx-panel .wx-hour-slot     { border-right-color: rgba(255,255,255,.08); }
.nh-wx-panel .wx-hour-time     { color: rgba(255,255,255,.45); }
.nh-wx-panel .wx-hour-icon     { color: rgba(255,255,255,.7); }
.nh-wx-panel .wx-hour-temp     { color: rgba(255,255,255,.9); }
.nh-wx-panel .wx-hour-precip   { color: #60a5fa; }

/* 7-day forecast */
.nh-wx-panel .wx-day-row  { border-bottom-color: rgba(255,255,255,.08); }
.nh-wx-panel .wx-day-name { color: rgba(255,255,255,.9); }
.nh-wx-panel .wx-day-icon { color: rgba(255,255,255,.7); }
.nh-wx-panel .wx-day-cond { color: rgba(255,255,255,.5); }
.nh-wx-panel .wx-day-high { color: rgba(255,255,255,.9); }
.nh-wx-panel .wx-day-low  { color: rgba(255,255,255,.4); }

/* Stat tiles */
.nh-wx-panel .wx-stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.nh-wx-panel .wx-stat-label         { color: rgba(255,255,255,.45); }
.nh-wx-panel .wx-stat-val           { color: rgba(255,255,255,.9); }
.nh-wx-panel .wx-stat-sub           { color: rgba(255,255,255,.4); }
.nh-wx-panel .wx-precip-bar-track   { background: rgba(255,255,255,.1); }
.nh-wx-panel .wx-precip-bar-fill    { background: #60a5fa; }

/* ════════════════════════════════════════════════════
   TRENDING VIDEOS SECTION
   Dark navy band below the grid, ABC News style.
   Left: scrollable video list  |  Right: featured player
════════════════════════════════════════════════════ */
.tv-band {
  width: 100%;
  background: #0a0e1a; /* same dark navy as hero */
}

.tv-inner {
  max-width: var(--site-w);
  margin-inline: auto;
  padding: 36px 24px 48px;
}

.tv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tv-label {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .18s;
}
.tv-label:hover { color: rgba(255,255,255,.8); }

.tv-label-arrow {
  font-size: 1rem;
  opacity: .6;
}

/* Layout: list on left, player on right */
.tv-layout {
  display: flex;
  gap: 20px;
  align-items: stretch;
  min-height: 380px;
}

/* ── Left: video list ── */
.tv-list {
  display: flex;
  flex-direction: column;
  width: 340px;
  flex-shrink: 0;
  overflow-y: auto;
  max-height: 460px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
  border-radius: 8px;
  overflow: hidden;
}
.tv-list::-webkit-scrollbar { width: 4px; }
.tv-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }

.tv-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  border-left: 3px solid transparent;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background .15s, border-left-color .15s;
  border-radius: 0;
}
.tv-item:hover { background: rgba(255,255,255,.09); }
.tv-item--active {
  border-left-color: var(--red);
  background: rgba(255,255,255,.08);
}

/* Thumbnail */
.tv-item-thumb {
  position: relative;
  width: 96px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}
.tv-item-thumb img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: opacity .2s;
}
.tv-item:hover .tv-item-thumb img { opacity: .85; }

.tv-item-placeholder {
  width: 96px;
  height: 64px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
}

.tv-item-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.4);
  border-radius: 4px;
  opacity: 0;
  transition: opacity .15s;
}
.tv-item:hover .tv-item-play-icon,
.tv-item--active .tv-item-play-icon { opacity: 1; }

/* Text */
.tv-item-info {
  flex: 1;
  min-width: 0;
}

.tv-item-cat {
  display: block;
  font-family: Arial, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 5px;
}

.tv-item-title {
  font-family: Arial, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255,255,255,.88);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ── Right: featured player ── */
.tv-player {
  flex: 1;
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  text-decoration: none;
  min-height: 300px;
}

.tv-player-img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  display: block;
  z-index: 0;
  transition: transform .35s ease;
}
.tv-player:hover .tv-player-img { transform: scale(1.03); }

.tv-player-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,.08) 35%,
    rgba(0,0,0,.72) 75%,
    rgba(0,0,0,.84) 100%
  );
  z-index: 1;
}

.tv-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.tv-play-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  border: 2px solid rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform .2s, background .2s;
}
.tv-player:hover .tv-play-circle {
  transform: scale(1.1);
  background: rgba(0,0,0,.75);
}

/* Headline overlay on featured player */
.tv-player-headline {
  position: absolute;
  bottom: 56px; /* sits above the category label */
  left: 18px;
  right: 18px;
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  z-index: 3;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv-player-cat {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-family: Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 3;
}

/* Responsive */
@media (max-width: 960px) {
  .tv-layout {
    flex-direction: column;
  }
  .tv-list {
    width: 100%;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 8px;
    gap: 0;
  }
  .tv-item {
    flex-direction: column;
    flex-shrink: 0;
    width: 200px;
    border-bottom: none;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .tv-item--active { border-bottom-color: var(--red); border-left-color: transparent; }
  .tv-item-thumb { width: 100%; }
  .tv-item-thumb img { width: 100%; height: 110px; }
  .tv-player { min-height: 260px; aspect-ratio: 16/9; }
}

/* ════════════════════════════════════════════════════
   WEATHER FORECAST SECTION  (.wx-*)
   Weather.com-inspired card UI, NWS API data.
   Layout: 2-col — left (current+hourly+7-day) | right (radar+tiles)
════════════════════════════════════════════════════ */
.wx-band {
  width: 100%;
  background: #f0f4f8;
}

.wx-inner {
  max-width: var(--site-w);
  margin-inline: auto;
  padding: 36px 24px 48px;
}

/* ── Section header ── */
.wx-section-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.wx-section-title {
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wx-section-title svg { color: var(--blue); }

.wx-location-sub {
  font-family: Arial, sans-serif;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 3px;
}

.wx-nws-link {
  font-family: Arial, sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.wx-nws-link:hover { text-decoration: underline; }

/* ── Two-column layout ── */
.wx-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 16px;
  align-items: start;
}

.wx-col-left,
.wx-col-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Card base ── */
.wx-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}

.wx-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-family: Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.wx-card-header-link {
  font-size: .7rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
}
.wx-card-header-link:hover { text-decoration: underline; }

/* ── Current conditions — dark navy card ── */
.wx-current {
  background: var(--navy) !important;
  border-color: transparent !important;
  color: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transition: opacity .4s ease;
}
.wx-current--ready { opacity: 1; }

.wx-current-main {
  display: flex;
  align-items: center;
  gap: 24px;
}

.wx-cur-icon { color: var(--white); flex-shrink: 0; }
.wx-cur-icon svg { display: block; }

.wx-cur-right { flex: 1; }

.wx-cur-temp {
  font-family: Arial, sans-serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  letter-spacing: -3px;
}

.wx-cur-cond {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
  margin-bottom: 8px;
}

.wx-cur-hl {
  display: flex;
  gap: 14px;
  font-family: Arial, sans-serif;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.wx-cur-hl span strong { color: var(--white); font-weight: 700; }

/* Location pill */
.wx-cur-location {
  font-family: Arial, sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 2px;
}

/* Metric tiles row */
.wx-cur-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.wx-meta-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px 0 0;
  border-right: 1px solid rgba(255,255,255,.1);
}
.wx-meta-tile:last-child { border-right: none; padding-right: 0; }
.wx-meta-tile:not(:first-child) { padding-left: 16px; }

.wx-meta-label {
  font-family: Arial, sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

.wx-meta-val {
  font-family: Arial, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}

.wx-meta-sub {
  font-family: Arial, sans-serif;
  font-size: .68rem;
  color: rgba(255,255,255,.5);
}

/* ── Hourly forecast strip ── */
.wx-hourly-scroll {
  display: flex;
  overflow-x: auto;
  padding: 14px 10px;
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.12) transparent;
}
.wx-hourly-scroll::-webkit-scrollbar { height: 3px; }
.wx-hourly-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.12); border-radius: 2px; }

.wx-hour-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  flex-shrink: 0;
  border-right: 1px solid rgba(0,0,0,.06);
  min-width: 62px;
}
.wx-hour-slot:last-child { border-right: none; }

.wx-hour-time {
  font-family: Arial, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.wx-hour-icon { color: var(--medium); }
.wx-hour-icon svg { display: block; }

.wx-hour-temp {
  font-family: Arial, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
}

.wx-hour-precip {
  font-family: Arial, sans-serif;
  font-size: .62rem;
  font-weight: 700;
  color: #2563eb;
}

/* ── 7-day forecast ── */
.wx-daily-list { display: flex; flex-direction: column; }

.wx-day-row {
  display: grid;
  grid-template-columns: 52px 28px 1fr 80px;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.wx-day-row:last-child { border-bottom: none; }

.wx-day-name {
  font-family: Arial, sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
}

.wx-day-icon { color: var(--medium); }
.wx-day-icon svg { display: block; }

.wx-day-cond {
  font-family: Arial, sans-serif;
  font-size: .8rem;
  color: var(--medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wx-day-temps {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.wx-day-high {
  font-family: Arial, sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
  min-width: 30px;
  text-align: right;
}

.wx-day-low {
  font-family: Arial, sans-serif;
  font-size: .85rem;
  color: var(--muted);
  min-width: 30px;
  text-align: right;
}

/* ── Radar card ── */
.wx-radar-map {
  height: 320px;
  background: var(--navy);
  /* Contain Leaflet's z-index stack so map tiles/controls don't escape */
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* Keep all Leaflet panes inside the map container's stacking context */
.wx-radar-map .leaflet-pane,
.wx-radar-map .leaflet-top,
.wx-radar-map .leaflet-bottom,
.wx-radar-map .leaflet-control {
  z-index: auto;
}
.wx-radar-map .leaflet-map-pane        { z-index: 2; }
.wx-radar-map .leaflet-tile-pane       { z-index: 2; }
.wx-radar-map .leaflet-overlay-pane    { z-index: 4; }
.wx-radar-map .leaflet-shadow-pane     { z-index: 5; }
.wx-radar-map .leaflet-marker-pane     { z-index: 6; }
.wx-radar-map .leaflet-tooltip-pane    { z-index: 7; }
.wx-radar-map .leaflet-popup-pane      { z-index: 8; }
.wx-radar-map .leaflet-top,
.wx-radar-map .leaflet-bottom          { z-index: 10; }
/* Override leaflet attribution font size */
.wx-radar-map .leaflet-control-attribution { font-size: .55rem; }

/* ── Mini stat cards (2×2 grid) ── */
.wx-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wx-stat-card {
  background: var(--white);
  border-radius: var(--card-radius);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wx-stat-label {
  font-family: Arial, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.wx-stat-label svg { color: var(--blue); }

.wx-stat-val {
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.wx-stat-sub {
  font-family: Arial, sans-serif;
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Precip bar ── */
.wx-precip-bar-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wx-precip-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(0,0,0,.08);
  border-radius: 2px;
  overflow: hidden;
}
.wx-precip-bar-fill {
  height: 100%;
  background: #2563eb;
  border-radius: 2px;
  transition: width .6s ease;
}

/* ── Sunrise/Sunset arc ── */
.wx-sun-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.wx-sun-time {
  font-family: Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
}
.wx-sun-label {
  font-family: Arial, sans-serif;
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  text-align: center;
}
.wx-sun-arc {
  flex: 1;
  height: 32px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .wx-layout { grid-template-columns: 1fr 340px; }
}

@media (max-width: 900px) {
  .wx-layout { grid-template-columns: 1fr; }
  .wx-col-right { order: -1; }
  .wx-radar-map { height: 260px; }
  .wx-cur-meta { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .wx-stat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
  .wx-stat-grid { grid-template-columns: 1fr 1fr; }
  .wx-cur-temp { font-size: 3.5rem; }
}

/* ════════════════════════════════════════════════════
   TRAFFIC & COMMUTE SECTION  (.tr-*)
   Matches weather section design language.
════════════════════════════════════════════════════ */
.tr-band {
  width: 100%;
  background: #ffffff; /* white — alternates with weather's light gray */
  border-top: 1px solid rgba(0,0,0,.06);
}

.tr-inner {
  max-width: var(--site-w);
  margin-inline: auto;
  padding: 36px 24px 48px;
}

/* ── Two-column layout ── */
.tr-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  align-items: start;
}

.tr-col-left,
.tr-col-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Live map card ── */
.tr-map-card { overflow: hidden; }

.tr-map-wrap {
  height: 400px;
  position: relative;
}
.tr-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Key routes list ── */
.tr-routes-list {
  display: flex;
  flex-direction: column;
}

.tr-route-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.tr-route-row:last-child { border-bottom: none; }

.tr-route-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -.5px;
}

.tr-route-info { flex: 1; min-width: 0; }

.tr-route-name {
  font-family: Arial, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tr-route-hwy {
  font-weight: 400;
  color: var(--muted);
  font-size: .75rem;
}

.tr-route-dirs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tr-dir-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: Arial, sans-serif;
  font-size: .68rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37,99,235,.07);
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.tr-dir-btn:hover { background: rgba(37,99,235,.15); }

.tr-route-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.tr-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.tr-status-unknown { background: #d1d5db; }
.tr-status-green   { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.5); }
.tr-status-yellow  { background: #eab308; box-shadow: 0 0 6px rgba(234,179,8,.5); }
.tr-status-red     { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,.5); }

.tr-status-label {
  font-family: Arial, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── Incidents card ── */
.tr-incidents-wrap { padding: 12px 18px 16px; }

.tr-incidents-hint {
  font-family: Arial, sans-serif;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 10px;
}
.tr-incidents-hint code {
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: .73rem;
  color: var(--dark);
}
.tr-incidents-hint a { color: var(--blue); text-decoration: underline; }

.tr-incidents-loading {
  font-family: Arial, sans-serif;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 10px;
}

.tr-incident-link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}

.tr-incident-source-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  transition: background .15s, border-color .15s;
}
.tr-incident-source-btn:hover { background: #f1f5f9; border-color: #cbd5e1; }
.tr-incident-source-btn svg { color: var(--blue); flex-shrink: 0; }

/* Live incidents list */
.tr-incident-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.tr-incident-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-family: Arial, sans-serif;
}
.tr-incident-item:last-child { border-bottom: none; }

.tr-inc-icon { flex-shrink: 0; margin-top: 2px; }
.tr-inc-major .tr-inc-icon { color: var(--red); }
.tr-inc-mod   .tr-inc-icon { color: #f59e0b; }
.tr-inc-minor .tr-inc-icon { color: var(--muted); }

.tr-inc-body { flex: 1; min-width: 0; }

.tr-inc-type {
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: capitalize;
}

.tr-inc-road {
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
  margin-left: 4px;
}

.tr-inc-desc {
  font-size: .75rem;
  color: var(--medium);
  margin: 3px 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Peak hours card ── */
.tr-peak-card { padding: 14px 16px; }

.tr-peak-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.tr-peak-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
}

.tr-peak-label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
  width: 20px;
  flex-shrink: 0;
}

.tr-peak-range {
  font-size: .82rem;
  color: var(--dark);
  flex: 1;
}

.tr-peak-badge {
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tr-peak-now   { background: rgba(239,68,68,.1);  color: var(--red);  }
.tr-peak-heavy { background: rgba(234,179,8,.1);  color: #a16207; }
.tr-peak-light { background: rgba(34,197,94,.1);  color: #15803d; }

/* ── Dark-context overrides: traffic elements inside the sidebar card ── */
.nh-sidebar .article-sidebar-widget .tr-route-name { color: rgba(255,255,255,.85); margin-bottom: 0; }
.nh-sidebar .article-sidebar-widget .tr-route-hwy  { color: rgba(255,255,255,.45); }
.nh-sidebar .article-sidebar-widget .tr-status-label { color: rgba(255,255,255,.4); }
.nh-sidebar .article-sidebar-widget .tr-status-unknown { background: rgba(255,255,255,.2); }
.nh-sidebar .article-sidebar-widget .tr-route-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nh-sidebar .article-sidebar-widget .tr-route-row:last-child { border-bottom: none; }
.nh-sidebar .article-sidebar-widget .tr-route-badge {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  font-size: .68rem;
}
.nh-sidebar .article-sidebar-widget .tr-peak-label  { color: rgba(255,255,255,.4); }
.nh-sidebar .article-sidebar-widget .tr-peak-range  { color: rgba(255,255,255,.6); font-size: .78rem; }
.nh-sidebar .article-sidebar-widget .tr-peak-row    { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.nh-sidebar .article-sidebar-widget .tr-peak-badge  { font-size: .6rem; }
.nh-sidebar .article-sidebar-widget .tr-peak-now    { background: rgba(239,68,68,.2);  color: #fca5a5; }
.nh-sidebar .article-sidebar-widget .tr-peak-heavy  { background: rgba(234,179,8,.15); color: #fde68a; }
.nh-sidebar .article-sidebar-widget .tr-peak-light  { background: rgba(34,197,94,.15); color: #86efac; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .tr-layout { grid-template-columns: 1fr 320px; }
}

@media (max-width: 900px) {
  .tr-layout { grid-template-columns: 1fr; }
  .tr-map-wrap { height: 320px; }
  .tr-col-right { order: -1; }
}

@media (max-width: 600px) {
  .tr-map-wrap { height: 260px; }
  .tr-route-row { gap: 10px; padding: 12px 14px; }
}

@media (max-width: 640px) {
  .nh-weather { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nh-weather-current { border-right: none; padding-right: 0; }
  .nh-weather-mid { border-right: none; padding: 0; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nh-hero { grid-template-columns: 1fr 1fr; }
  .nh-hero-left { grid-column: 1 / -1; border-right: none; border-bottom: 1px solid var(--border); }
  .nh-hero-right { border-left: none; border-top: 1px solid var(--border); }
  .nh-grid-wrap { grid-template-columns: 1fr; }
  .nh-grid { grid-template-columns: repeat(2, 1fr); border-right: none; }
  .nh-sidebar { border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .nh-hero { grid-template-columns: 1fr; }
  .nh-hero-right { border-top: 1px solid var(--border); }
  .nh-grid { grid-template-columns: 1fr 1fr; }
  .nh-list-item { grid-template-columns: 100px 1fr; }
  .nh-list-thumb img { width: 100px; }
}

@media (max-width: 480px) {
  .posts-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .sidebar-post-list { grid-template-columns: 1fr; }
  .sidebar-post { border-bottom: 1px solid var(--border); padding-bottom: 14px; }
  .article-title { font-size: 1.7rem; }
}


/* ============================================================
   DEPARTMENT HOME TEMPLATE  (template-department-home.php)
   CSS prefix: .dh-*
   ============================================================ */

/* ── Shared section utilities ── */
.dh-section-inner {
  max-width: var(--site-w);
  margin: 0 auto;
  padding: 0 24px;
}

.dh-section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}
.dh-eyebrow--light { color: rgba(255,255,255,.55); }

.dh-section-hdr {
  max-width: 640px;
  margin-bottom: 48px;
}
.dh-section-hdr--center {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.dh-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--dark);
  margin: 0 0 12px;
}

.dh-section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Shared buttons ── */
.dh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  padding: 13px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .18s, color .18s, box-shadow .18s, transform .15s;
  cursor: pointer;
  white-space: nowrap;
}
.dh-btn--primary {
  background: var(--red);
  color: #fff;
}
.dh-btn--primary:hover {
  background: var(--red-dark);
  box-shadow: 0 4px 18px rgba(200,16,46,.35);
  transform: translateY(-1px);
  color: #fff;
}
.dh-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.28);
}
.dh-btn--ghost:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.dh-btn--ghost-light {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.22);
}
.dh-btn--ghost-light:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.dh-btn--dark {
  background: var(--dark);
  color: #fff;
}
.dh-btn--dark:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}
.dh-btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid currentColor;
}
.dh-btn--outline:hover {
  background: var(--dark);
  color: #fff;
}
.dh-btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.dh-btn--outline-light:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.dh-btn--white {
  background: #fff;
  color: var(--dark);
}
.dh-btn--white:hover {
  background: #f0f0f0;
  color: var(--dark);
  transform: translateY(-1px);
}


/* ════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */
.dh-hero {
  position: relative;
  background: var(--navy);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* atmospheric background layers */
.dh-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.dh-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  opacity: .45;
  pointer-events: none;
}
.dh-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.dh-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(200,16,46,.3) 0%, transparent 70%);
  top: -160px; left: -180px;
}
.dh-glow-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.2) 0%, transparent 70%);
  bottom: -100px; right: -100px;
}
.dh-glow-3 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(200,16,46,.25) 0%, transparent 70%);
  bottom: -80px; right: 20%;
}

.dh-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--site-w);
  width: 100%;
  margin: 0 auto;
  padding: 120px 24px 60px;
}

.dh-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 28px;
}
.dh-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}

.dh-hero-headline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.06;
  color: #fff;
  margin: 0 0 28px;
}
.dh-hh-line { display: block; }
.dh-hh-line--accent { color: var(--red); }

.dh-hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.65);
  max-width: 580px;
  line-height: 1.7;
  margin: 0 0 40px;
}

.dh-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Program pills */
.dh-hero-programs {
  position: relative;
  z-index: 1;
  max-width: var(--site-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.dh-hp-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}
.dh-hp-pill:hover {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.25);
}

/* Scroll chevron */
.dh-hero-scroll {
  position: absolute;
  z-index: 1;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.45);
  text-decoration: none;
  animation: dh-bounce 2s ease-in-out infinite;
  transition: border-color .18s, color .18s;
}
.dh-hero-scroll:hover {
  border-color: rgba(255,255,255,.5);
  color: rgba(255,255,255,.8);
}
@keyframes dh-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}


/* ════════════════════════════════════════════════════
   PROGRAMS GRID
════════════════════════════════════════════════════ */
.dh-programs {
  background: #f7f8fa;
  padding: 96px 0;
}

.dh-program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.dh-prog-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(0,0,0,.07);
  transition: box-shadow .22s, transform .22s;
  cursor: default;
  outline: none;
}
.dh-prog-card:hover,
.dh-prog-card:focus-visible {
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  transform: translateY(-4px);
}

.dh-prog-icon {
  width: 60px; height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.dh-prog-icon--broadcast { background: rgba(200,16,46,.1);  color: var(--red); }
.dh-prog-icon--print     { background: rgba(37,99,235,.1);  color: var(--blue); }
.dh-prog-icon--film      { background: rgba(0,0,0,.07);      color: var(--dark); }
.dh-prog-icon--anim      { background: rgba(16,185,129,.1); color: #059669; }

.dh-prog-tag {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.dh-prog-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin: 0;
}

.dh-prog-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.dh-prog-skills {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dh-prog-skills li {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--dark);
  padding-left: 14px;
  position: relative;
}
.dh-prog-skills li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.dh-prog-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.07);
  transition: gap .18s;
}
.dh-prog-link:hover { gap: 8px; }


/* ════════════════════════════════════════════════════
   ABOUT STRIP
════════════════════════════════════════════════════ */
.dh-about-strip {
  background: #fff;
  padding: 100px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}

.dh-about-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: center;
}

.dh-about-title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--dark);
  margin: 0 0 20px;
}
.dh-about-title em { font-style: italic; color: var(--red); }

.dh-about-body {
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 32px;
}

.dh-about-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.dh-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  border-left: 3px solid var(--red);
}
.dh-stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.dh-stat-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}


/* ════════════════════════════════════════════════════
   LATEST WORK CARDS
════════════════════════════════════════════════════ */
.dh-work {
  background: #f7f8fa;
  padding: 96px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}

.dh-work-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.dh-work-hdr .dh-section-title { margin-bottom: 0; }

.dh-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dh-work-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, transform .22s;
}
.dh-work-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transform: translateY(-3px);
}

.dh-work-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.dh-work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.dh-work-card:hover .dh-work-thumb img { transform: scale(1.04); }

.dh-work-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.dh-work-cat {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
}
.dh-work-cat:hover { text-decoration: underline; }

.dh-work-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--dark);
}
.dh-work-title a { color: inherit; text-decoration: none; }
.dh-work-title a:hover { color: var(--red); }

.dh-work-excerpt {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.dh-work-date {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 4px;
}


/* ════════════════════════════════════════════════════
   CANYONS NEWS FEATURE SECTION
════════════════════════════════════════════════════ */
.dh-news-feature {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
}

.dh-news-intro {
  padding-top: 96px;
  padding-bottom: 48px;
}

.dh-news-intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}
.dh-news-intro-layout .dh-section-title { margin-bottom: 0; }

.dh-news-intro-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.dh-news-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* The .nh-dark-band and .hc-* classes are defined in the main style.css
   (from template-news-home.php). No need to redefine here. */


/* ════════════════════════════════════════════════════
   THREE PILLARS
════════════════════════════════════════════════════ */
.dh-pillars {
  background: #f7f8fa;
  padding: 96px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}

.dh-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.dh-pillar {
  padding: 36px 32px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dh-pillar-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: rgba(200,16,46,.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dh-pillar-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.25;
}

.dh-pillar-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}


/* ════════════════════════════════════════════════════
   JOIN / CTA SECTION
════════════════════════════════════════════════════ */
.dh-join {
  position: relative;
  background: var(--navy);
  padding: 112px 0;
  overflow: hidden;
  isolation: isolate;
}

.dh-join-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dh-join-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.dh-join-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 20px;
}

.dh-join-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 40px;
}

.dh-join-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ════════════════════════════════════════════════════
   RESPONSIVE — Department Home
════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .dh-program-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .dh-about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .dh-about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
  .dh-news-intro-layout { grid-template-columns: 1fr; gap: 24px; }
  .dh-pillars-grid { grid-template-columns: 1fr; gap: 20px; }
  .dh-work-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .dh-hero { min-height: 92vh; }
  .dh-hero-headline { font-size: clamp(2rem, 10vw, 3rem); }
  .dh-hero-inner { padding-top: 80px; }
  .dh-program-grid { grid-template-columns: 1fr; }
  .dh-work-grid { grid-template-columns: 1fr; }
  .dh-work-hdr { flex-direction: column; align-items: flex-start; }
  .dh-hero-programs { padding-bottom: 60px; }
  .dh-join { padding: 72px 0; }
  .dh-programs,
  .dh-about-strip,
  .dh-work,
  .dh-pillars { padding: 64px 0; }
  .dh-news-intro { padding-top: 64px; padding-bottom: 32px; }
}


/* ════════════════════════════════════════════════════
   DEPARTMENT HOME — PHOTO BACKGROUNDS
   Applied when Customizer images are set.
   All rules are additive: the base design remains
   intact when no images are uploaded.
════════════════════════════════════════════════════ */

/* ── Hero with background photo ── */
.dh-hero--has-photo {
  background-image: var(--dh-hero-photo);
  background-size: cover;
  background-position: center center;
}
/* Swap the solid navy bg for a directional dark overlay */
.dh-hero--has-photo .dh-hero-bg {
  background: linear-gradient(
    135deg,
    rgba(7, 17, 29, 0.90) 0%,
    rgba(7, 17, 29, 0.70) 55%,
    rgba(7, 17, 29, 0.55) 100%
  );
}
/* Dim atmospheric effects so the photo can breathe */
.dh-hero--has-photo .dh-hero-glow { opacity: 0.25; }
.dh-hero--has-photo .dh-hero-grain { opacity: 0.18; }


/* ── Program card photo banner ── */

/* Photo div: hidden by default, no height */
.dh-prog-card__photo {
  display: none;
  background-size: cover;
  background-position: center;
}

/* When card has a photo: pull the div out of hiding, bleed it to card edges */
.dh-prog-card--has-photo {
  padding-top: 0; /* photo bleeds into the top padding area */
  overflow: hidden; /* keep rounded corners on the banner */
}
.dh-prog-card--has-photo .dh-prog-card__photo {
  display: block;
  height: 180px;
  /* Negative margins = bleed to card edges (32px padding on each side + top) */
  margin: 0 -28px 24px;
  /* border-radius matches top of card */
  border-radius: 14px 14px 0 0;
  position: relative;
}
/* Subtle dark gradient at the bottom of the card photo so it fades into card bg */
.dh-prog-card--has-photo .dh-prog-card__photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.85));
}
/* Add a small top padding above the icon after the photo */
.dh-prog-card--has-photo .dh-prog-icon { margin-top: 4px; }


/* ── About section with feature photo ── */

/* Photo column: zero-width / hidden when no photo */
.dh-about-photo-col {
  display: none;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  min-height: 380px;
}

/* When about section has a photo: expand to 3-column layout */
.dh-about--has-photo .dh-about-layout {
  grid-template-columns: 1fr 260px 300px;
  gap: 44px;
}
.dh-about--has-photo .dh-about-photo-col {
  display: block;
}

/* On tablet, collapse photo col below the copy */
@media (max-width: 860px) {
  .dh-about--has-photo .dh-about-layout {
    grid-template-columns: 1fr;
  }
  .dh-about--has-photo .dh-about-photo-col {
    min-height: 240px;
    order: 2; /* copy → photo → stats */
  }
  .dh-about--has-photo .dh-about-stats { order: 3; }
}


/* ── Join / CTA with background photo ── */
.dh-join--has-photo {
  background-image: var(--dh-join-photo);
  background-size: cover;
  background-position: center center;
}
/* Dark overlay over the photo so white text stays legible */
.dh-join--has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 29, 0.82);
  z-index: 0;
}
/* Dim glow orbs so photo shows through more */
.dh-join--has-photo .dh-hero-glow { opacity: 0.15; }


/* ════════════════════════════════════════════════════
   SHOWREEL SECTION
   Optional section; only rendered when a video URL
   is set in Customizer → Department Homepage → Showreel.
════════════════════════════════════════════════════ */
.dh-showreel {
  background: #fff;
  padding: 96px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}

.dh-showreel .dh-section-hdr { margin-bottom: 0; }

/* 16:9 responsive embed */
.dh-showreel-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  margin-top: 48px;
  background: var(--navy);
}
.dh-showreel-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 680px) {
  .dh-showreel { padding: 64px 0; }
  .dh-showreel-embed { margin-top: 32px; border-radius: 10px; }
}

/* ============================================================
   ARTICLE SIDEBAR — WEATHER & TRAFFIC WIDGETS  (v42)
   ============================================================ */

/* ── Compact weather card ── */
.sb-wx-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.sb-wx-icon {
  flex-shrink: 0;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
}

.sb-wx-data {
  flex: 1;
  min-width: 0;
}

.sb-wx-temp {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.sb-wx-cond {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-wx-hl {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
  letter-spacing: .01em;
}

/* ── Compact traffic card ── */
.sb-traffic-routes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.sb-traffic-route {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-route-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 3px 7px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 4px;
  flex-shrink: 0;
}

.sb-route-name {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  line-height: 1.3;
}

.sb-traffic-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.sb-traffic-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s;
}
.sb-traffic-btn:hover { background: rgba(255,255,255,.16); color: #fff; text-decoration: none; }

/* ── Card footer link (used by both widgets) ── */
.sb-card-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  width: 100%;
  margin-top: 4px;
}
.sb-card-footer-link:hover { color: rgba(255,255,255,.85); text-decoration: none; }
.sb-card-footer-link svg { flex-shrink: 0; }

/* ============================================================
   SPOTLIGHT SEARCH  (.sl-*)
   macOS Spotlight-style overlay: ⌘K / Ctrl+K or search icon
   ============================================================ */

/* ── Scroll lock ── */
body.sl-lock { overflow: hidden; }

/* ── Backdrop ── */
.sl-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(60px, 12vh, 140px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.sl-backdrop.sl-open {
  opacity: 1;
  pointer-events: all;
}

/* ── Panel ── */
.sl-panel {
  width: min(680px, 92vw);
  background: rgba(22, 22, 26, .97);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
  overflow: hidden;
  transform: translateY(-14px) scale(.98);
  transition: transform .22s cubic-bezier(.34,1.48,.64,1);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 120px);
}
.sl-backdrop.sl-open .sl-panel {
  transform: translateY(0) scale(1);
}

/* ── Input row ── */
.sl-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.sl-mag {
  color: rgba(255,255,255,.4);
  flex-shrink: 0;
}
.sl-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  caret-color: var(--red);
  line-height: 1.4;
}
.sl-input::placeholder { color: rgba(255,255,255,.28); }
.sl-input::-webkit-search-cancel-button { display: none; }
.sl-clear-btn {
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.sl-clear-btn:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ── Results area ── */
.sl-results {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
  padding: 8px 0;
  flex: 1;
  min-height: 0;
}
.sl-results::-webkit-scrollbar { width: 4px; }
.sl-results::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 2px; }

/* ── Section label ── */
.sl-section-label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 10px 20px 6px;
}

/* ── Result items ── */
a.sl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background .1s;
  cursor: pointer;
  border-radius: 8px;
  margin: 2px 8px;
}
a.sl-item:hover,
a.sl-item.sl-item--active {
  background: rgba(255,255,255,.08);
}
a.sl-item.sl-item--active { background: rgba(255,255,255,.11); }

/* Thumbnail */
.sl-item-thumb {
  width: 72px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
}
.sl-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-item-no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
}

/* Body */
.sl-item-body { flex: 1; min-width: 0; }
.sl-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.sl-item-cat {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
}
.sl-item-date { font-size: .65rem; color: rgba(255,255,255,.3); }
.sl-item-title {
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.sl-item-exc {
  font-size: .75rem;
  color: rgba(255,255,255,.38);
  line-height: 1.4;
  margin: 3px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sl-item-arrow {
  color: rgba(255,255,255,.2);
  font-size: .9rem;
  flex-shrink: 0;
  transition: color .12s, transform .12s;
}
a.sl-item:hover .sl-item-arrow,
a.sl-item.sl-item--active .sl-item-arrow {
  color: rgba(255,255,255,.6);
  transform: translateX(3px);
}

/* ── Skeleton loading ── */
.sl-skeletons { padding: 8px 0; }
.sl-sk-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
}
.sl-sk-thumb {
  width: 72px;
  height: 48px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
  animation: sl-pulse 1.4s ease-in-out infinite;
}
.sl-sk-lines { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.sl-sk-line {
  height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  animation: sl-pulse 1.4s ease-in-out infinite;
}
@keyframes sl-pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ── No results ── */
.sl-no-results {
  text-align: center;
  padding: 32px 24px 20px;
  color: rgba(255,255,255,.35);
}
.sl-no-results svg { margin-bottom: 12px; color: rgba(255,255,255,.2); }
.sl-no-results p { margin: 0 0 4px; font-size: .9rem; color: rgba(255,255,255,.5); }
.sl-no-results strong { color: rgba(255,255,255,.7); }
.sl-no-results-hint { font-size: .78rem !important; color: rgba(255,255,255,.25) !important; }

/* ── Recent searches ── */
.sl-recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 20px 12px;
}
.sl-recent-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  padding: 5px 14px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.sl-recent-item:hover { background: rgba(255,255,255,.13); color: #fff; }
.sl-recent-item svg { flex-shrink: 0; }

/* ── Quick browse links ── */
.sl-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 20px 16px;
}
.sl-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  font-weight: 500;
  padding: 7px 14px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.sl-quick-link:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.sl-quick-link svg { flex-shrink: 0; }

/* ── Footer hint bar ── */
.sl-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.sl-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .65rem;
  color: rgba(255,255,255,.25);
}
.sl-hint kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: .6rem;
  padding: 1px 5px;
  color: rgba(255,255,255,.4);
}
.sl-hint--right { margin-left: auto; }

/* ── Mobile ── */
@media (max-width: 540px) {
  .sl-backdrop { padding-top: 0; align-items: flex-end; }
  .sl-panel { width: 100%; border-radius: 20px 20px 0 0; max-height: 85vh; }
  .sl-panel { transform: translateY(40px); }
  .sl-backdrop.sl-open .sl-panel { transform: translateY(0); }
  .sl-footer { display: none; }
}

/* ============================================================
   SOCIAL FEED SECTION  (.sn-*)
   Canyons News homepage — X / Twitter card
   ============================================================ */

.sn-band {
  background: #fff;
  padding: 64px 0 72px;
}

/* ── Full-width two-panel X card ── */
.sn-x-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.16);
  min-height: 520px;
  background: #000;
}

/* ── Left panel: identity + bio + follow CTA ── */
.sn-x-left {
  background: linear-gradient(160deg, #0f172a 0%, #111827 60%, #0a0f1e 100%);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-right: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
}
/* subtle X watermark */
.sn-x-left::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.748l7.73-8.835L1.254 2.25H8.08l4.259 5.629L18.244 2.25zm-1.161 17.52h1.833L7.084 4.126H5.117L17.083 19.77z'/%3E%3C/svg%3E") no-repeat center/contain;
  opacity: .03;
  pointer-events: none;
}

.sn-x-wordmark {
  width: 32px;
  height: 32px;
  color: #fff;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.sn-x-name {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
}
.sn-x-handle {
  font-family: var(--font-sans);
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

.sn-x-bio {
  font-family: var(--font-sans);
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin-bottom: 32px;
  flex-grow: 1;
}

.sn-x-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  border-radius: 24px;
  padding: 10px 20px;
  text-decoration: none;
  transition: opacity .15s;
  align-self: flex-start;
}
.sn-x-follow:hover { opacity: .88; color: #000; }

/* ── Right panel: live timeline ── */
.sn-x-right {
  background: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Twitter's iframe needs width: 100% */
.sn-x-right .twitter-timeline,
.sn-x-right iframe {
  display: block !important;
  width: 100% !important;
  flex-grow: 1;
}

/* ── Left panel: avatar row ── */
.sn-x-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sn-x-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.15);
}

/* Followers count */
.sn-x-followers {
  font-family: var(--font-sans);
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
}
.sn-x-followers strong {
  color: rgba(255,255,255,.85);
  font-weight: 700;
}

/* ── Right panel: tweet cards ── */
.sn-tweet {
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.sn-tweet:last-of-type { border-bottom: none; }

.sn-tweet-inner {
  display: block;
  padding: 16px 20px 14px;
  text-decoration: none;
  color: inherit;
  transition: background .12s;
}
.sn-tweet-inner:hover { background: rgba(255,255,255,.04); }

.sn-tweet-text {
  font-family: var(--font-sans);
  font-size: .875rem;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
  margin-bottom: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.sn-tweet-link {
  color: #1d9bf0;
  text-decoration: none;
}
.sn-tweet-link:hover { text-decoration: underline; }

.sn-tweet-media {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.sn-tweet-img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.sn-tweet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sn-tweet-time {
  font-family: var(--font-sans);
  font-size: .72rem;
  color: rgba(255,255,255,.32);
}
.sn-tweet-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sn-metric {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: .72rem;
  color: rgba(255,255,255,.38);
}

/* No-token / empty state */
.sn-x-no-token {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 32px;
  color: rgba(255,255,255,.3);
  text-align: center;
}
.sn-x-no-token p {
  font-family: var(--font-sans);
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255,255,255,.5);
}
.sn-x-dev-link {
  font-family: var(--font-sans);
  font-size: .82rem;
  color: #1d9bf0;
  text-decoration: none;
}
.sn-x-dev-link:hover { text-decoration: underline; }

/* View-all footer link */
.sn-x-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 20px;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.42);
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,.07);
  transition: color .12s;
  margin-top: auto;
  flex-shrink: 0;
}
.sn-x-view-all:hover { color: rgba(255,255,255,.85); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .sn-x-card { grid-template-columns: 1fr; min-height: auto; }
  .sn-x-left { padding: 32px 28px 28px; }
  .sn-x-left::after { display: none; }
}
@media (max-width: 480px) {
  .sn-band { padding: 48px 0 56px; }
  .sn-x-left { padding: 28px 20px 24px; }
}

/* ============================================================
   JOURNALISM PROGRAM PAGE  (.jn-*)
   template-journalism.php
   ============================================================ */

/* ── Shared tokens ── */
.jn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.jn-eyebrow--dark { color: var(--muted); }

/* ── Buttons ── */
.jn-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 12px 22px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
  white-space: nowrap;
}
.jn-btn--primary {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}
.jn-btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.jn-btn--ghost {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border: 2px solid rgba(255,255,255,.18);
}
.jn-btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); }
.jn-btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}
.jn-btn--outline-dark:hover { border-color: var(--dark); color: var(--dark); }

/* ── Section headers ── */
.jn-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.jn-section-header--dark { color: #fff; }
.jn-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.15;
}
.jn-section-title--light { color: #fff; }
.jn-section-sub {
  font-family: var(--font-sans);
  font-size: .97rem;
  color: var(--medium);
  line-height: 1.65;
}
.jn-section-sub--light { color: rgba(255,255,255,.6); }

/* ════════════════════════════════════════════════════════
   1. HERO
════════════════════════════════════════════════════════ */
.jn-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
  overflow: hidden;
  background: #07101f;
}
.jn-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: .22;
  transition: opacity .4s;
}
.jn-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,16,31,.3) 0%,
    rgba(7,16,31,.7) 55%,
    rgba(7,16,31,1) 100%
  );
}
.jn-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 60px;
  width: 100%;
}
.jn-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.jn-hero-title em { color: var(--red); font-style: normal; }
.jn-hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(.95rem, 1.5vw, 1.12rem);
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 32px;
}
.jn-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

/* Stats strip */
.jn-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  max-width: 600px;
}
.jn-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 36px;
}
.jn-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.jn-stat-label {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.jn-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.12);
  margin-right: 36px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   2. DISCIPLINES
════════════════════════════════════════════════════════ */
.jn-disciplines-band {
  padding: 80px 0 72px;
  background: #fff;
}
.jn-disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.jn-disc-card {
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, border-color .18s;
}
.jn-disc-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
  border-color: #c5cad4;
}
.jn-disc-icon {
  width: 52px;
  height: 52px;
  background: rgba(200,16,46,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.jn-disc-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.jn-disc-desc {
  font-family: var(--font-sans);
  font-size: .875rem;
  color: var(--medium);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}
.jn-disc-skills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.jn-disc-skills li {
  font-family: var(--font-sans);
  font-size: .8rem;
  color: var(--dark);
  padding-left: 18px;
  position: relative;
}
.jn-disc-skills li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* ════════════════════════════════════════════════════════
   3. VIDEO
════════════════════════════════════════════════════════ */
.jn-video-band {
  background: #f3f4f6;
  padding: 80px 0;
}
.jn-video-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.jn-video-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
}
.jn-video-body {
  font-family: var(--font-sans);
  font-size: .93rem;
  color: var(--medium);
  line-height: 1.7;
  margin-bottom: 16px;
}
.jn-video-body:last-of-type { margin-bottom: 28px; }
.jn-promo-video {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
  background: #000;
}

/* ════════════════════════════════════════════════════════
   4. GALLERY
════════════════════════════════════════════════════════ */
.jn-gallery-band {
  background: #fff;
  padding: 64px 0 72px;
}
.jn-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.jn-gallery-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jn-gallery-item--wide {
  grid-column: 1 / -1;
}
.jn-gallery-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.jn-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.jn-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.jn-gallery-cap {
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 2px;
}

/* ════════════════════════════════════════════════════════
   5. PROGRAMS / DEGREES
════════════════════════════════════════════════════════ */
.jn-programs-band {
  background: #07101f;
  padding: 80px 0 72px;
}
.jn-programs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tab nav */
.jn-tab-nav {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 5px;
  max-width: 560px;
  margin: 0 auto 40px;
}
.jn-tab {
  flex: 1;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background .15s, color .15s;
  text-align: center;
  white-space: nowrap;
}
.jn-tab:hover { color: rgba(255,255,255,.75); }
.jn-tab--active {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* Tab panels */
.jn-tab-panel { display: block; }
.jn-tab-panel--hidden { display: none; }

/* Program layout inside a panel */
.jn-program-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.jn-program-badge {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.jn-program-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.jn-program-desc {
  font-family: var(--font-sans);
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 28px;
}
.jn-program-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.jn-meta-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-bottom: 12px;
}
.jn-meta-label {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  min-width: 110px;
  flex-shrink: 0;
}
.jn-meta-val {
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

/* Course list */
.jn-program-courses {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  padding: 28px;
}
.jn-courses-head {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.jn-credits-pill {
  font-size: .65rem;
  background: rgba(200,16,46,.3);
  color: #ff8099;
  border-radius: 20px;
  padding: 2px 9px;
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 700;
}
.jn-course-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.jn-courses-subhead {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.3);
  padding: 10px 0 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.jn-course-row {
  display: grid;
  grid-template-columns: 100px 1fr 28px;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.jn-course-row:last-child { border-bottom: none; }
.jn-course-row--core .jn-course-code { color: rgba(255,255,255,.95); }
.jn-course-code {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
}
.jn-course-name {
  font-family: var(--font-sans);
  font-size: .84rem;
  color: rgba(255,255,255,.72);
}
.jn-course-row--core .jn-course-name { color: rgba(255,255,255,.9); }
.jn-course-credits {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  text-align: right;
}

/* ════════════════════════════════════════════════════════
   6. CTA
════════════════════════════════════════════════════════ */
.jn-cta-band {
  background: #fff;
  padding: 80px 0 88px;
}
.jn-cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.jn-cta-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  transition: box-shadow .18s;
}
.jn-cta-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.07); }
.jn-cta-icon {
  width: 56px;
  height: 56px;
  background: rgba(200,16,46,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 20px;
}
.jn-cta-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.jn-cta-body {
  font-family: var(--font-sans);
  font-size: .875rem;
  color: var(--medium);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ════════════════════════════════════════════════════════
   JOURNALISM RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .jn-disc-grid { grid-template-columns: 1fr 1fr; }
  .jn-cta-cards { grid-template-columns: 1fr 1fr; }
  .jn-program-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .jn-hero { min-height: 500px; }
  .jn-hero-title { font-size: 2.6rem; }
  .jn-hero-stats { gap: 16px; }
  .jn-stat-divider { display: none; }
  .jn-stat { padding-right: 0; }
  .jn-disc-grid { grid-template-columns: 1fr; }
  .jn-video-layout { grid-template-columns: 1fr; gap: 36px; }
  .jn-gallery-grid { grid-template-columns: 1fr; }
  .jn-gallery-item--wide { grid-column: auto; }
  .jn-tab-nav { max-width: 100%; }
  .jn-tab { font-size: .75rem; padding: 9px 8px; }
  .jn-cta-cards { grid-template-columns: 1fr; }
  .jn-section-header { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .jn-hero-title { font-size: 2rem; }
  .jn-hero-ctas { flex-direction: column; }
  .jn-btn { justify-content: center; }
  .jn-hero-inner { padding-bottom: 40px; }
  .jn-tab-nav { flex-direction: column; max-width: 100%; }
  .jn-course-row { grid-template-columns: 85px 1fr 24px; }
}


/* ============================================================
   MEA COURSES PAGE  (.mc-*)
   template-mea-courses.php
   ============================================================ */

/* ── Hero ── */
.mc-hero {
  position: relative;
  background: var(--navy);
  padding: 100px 0 80px;
  overflow: hidden;
}
.mc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,16,46,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255,255,255,.04) 0%, transparent 60%);
  pointer-events: none;
}
.mc-hero-overlay { display: none; }

.mc-hero-inner { position: relative; z-index: 1; }

.mc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.mc-eyebrow--dark { color: var(--muted); }

.mc-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 20px;
}

.mc-hero-sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.mc-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

/* Stats strip */
.mc-hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.mc-stat { display: flex; flex-direction: column; gap: 4px; }
.mc-stat-num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.mc-stat-label {
  font-family: var(--font-sans);
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mc-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
}

/* ── Intro band ── */
.mc-intro-band {
  background: #fff;
  padding: 72px 0 80px;
}
.mc-intro-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.mc-intro-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.mc-intro-body {
  font-family: var(--font-sans);
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.mc-intro-body:last-child { margin-bottom: 0; }

/* Track list */
.mc-intro-tracks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 28px 24px;
  background: #f8f9fb;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
}
.mc-track {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.mc-track-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: rgba(200,16,46,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.mc-track-name {
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.mc-track-desc {
  font-family: var(--font-sans);
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ── Catalog band ── */
.mc-catalog-band {
  background: #f3f5f8;
  padding: 72px 0 88px;
}
.mc-catalog-header {
  text-align: center;
  margin-bottom: 40px;
}
.mc-catalog-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.mc-catalog-sub {
  font-family: var(--font-sans);
  font-size: .92rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter bar */
.mc-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.mc-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 24px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.mc-filter:hover { border-color: var(--red); color: var(--red); }
.mc-filter--active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.mc-filter--active:hover { background: var(--red); border-color: var(--red); color: #fff; }
.mc-filter-count {
  font-size: .7rem;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 1px 6px;
  font-weight: 700;
}
.mc-filter--active .mc-filter-count { background: rgba(255,255,255,.25); }
.mc-filter:not(.mc-filter--active) .mc-filter-count {
  background: rgba(0,0,0,.07);
  color: var(--muted);
}

.mc-results-count {
  font-family: var(--font-sans);
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 28px;
}

/* Course grid */
.mc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Course card */
.mc-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 22px 20px;
  border: 1px solid rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .15s, transform .15s;
}
.mc-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.mc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mc-course-num {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(200,16,46,.08);
  border-radius: 6px;
  padding: 3px 9px;
  white-space: nowrap;
}
.mc-units {
  font-family: var(--font-sans);
  font-size: .72rem;
  color: var(--muted);
  white-space: nowrap;
}
.mc-lab-dot {
  font-size: .68rem;
  color: #888;
}

.mc-course-title {
  font-family: var(--font-sans);
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

.mc-course-desc {
  font-family: var(--font-sans);
  font-size: .82rem;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0;
}

.mc-prereq {
  font-family: var(--font-sans);
  font-size: .75rem;
  color: #888;
  font-style: italic;
  margin: 0;
}

.mc-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: auto;
}

.mc-badge {
  font-family: var(--font-sans);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 3px 8px;
}
.mc-badge--uccsu {
  background: rgba(10,14,26,.07);
  color: var(--navy);
}
.mc-badge--csu {
  background: rgba(0,0,0,.05);
  color: #555;
}

.mc-cat-tag {
  font-family: var(--font-sans);
  font-size: .7rem;
  color: #888;
}

/* ── CTA band (dark) ── */
.mc-cta-band {
  background: var(--navy);
  padding: 80px 0 88px;
}
.mc-cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mc-cta-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mc-cta-icon {
  width: 52px;
  height: 52px;
  background: rgba(200,16,46,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8607a;
  flex-shrink: 0;
}
.mc-cta-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.mc-cta-body {
  font-family: var(--font-sans);
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  flex-grow: 1;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .mc-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .mc-intro-tracks { padding: 24px; }
}

@media (max-width: 900px) {
  .mc-cta-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mc-hero { padding: 72px 0 60px; }
  .mc-hero-title { font-size: 2.4rem; }
  .mc-hero-stats { gap: 20px; }
  .mc-stat-divider { display: none; }
  .mc-grid { grid-template-columns: 1fr; }
  .mc-filter-bar { gap: 6px; }
  .mc-cta-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .mc-hero-title { font-size: 2rem; }
  .mc-hero-ctas { flex-direction: column; }
  .mc-catalog-band { padding: 56px 0 64px; }
}
