/* =====================================================
   THE FETAL CLINIC — NEWS SECTION STYLESHEET
   Shared by news/index.html and all article detail pages
   ===================================================== */

/* ── Reset & Tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --plum: #7B1F5E;
  --plum-soft: #B56FA0;
  --navy: #1B2F5E;
  --navy-mid: #2D4A8A;
  --pink-50: #FFF5F8;
  --pink-100: #FFE4EE;
  --pink-200: #FFBDD5;
  --pink-300: #F9A3C0;
  --pink-400: #E07599;
  --pink-500: #C94F7C;
  --pink-600: #A33460;
  --bg: #FEFBFC;
  --bg-alt: #FFF7FA;
  --surface: #FFFFFF;
  --text: #1A1028;
  --text-mid: #4A3858;
  --muted: #9584A0;
  --border: #EFD8E8;
  --border-soft: #F5E8F0;
  --shadow-xs: 0 1px 4px rgba(180,80,120,0.06);
  --shadow-sm: 0 2px 12px rgba(180,80,120,0.08);
  --shadow-md: 0 6px 24px rgba(140,60,100,0.11);
  --shadow-lg: 0 16px 48px rgba(120,40,90,0.13);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans Devanagari', sans-serif;
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

h1,h2,h3,h4,h5 {
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* =====================================================
   TOPBAR — Sticky navigation bar
   ===================================================== */
.news-topbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.news-topbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.75rem 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.news-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-topbar-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.news-topbar-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--plum);
  line-height: 1.2;
}

.news-topbar-sub {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 400;
}

.news-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--pink-500);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--pink-500);
  border-radius: 50px;
  transition: var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: transparent;
}

.btn-back:hover {
  background: var(--pink-500);
  color: #fff;
  transform: translateY(-1px);
}

.btn-book-sm {
  background: linear-gradient(135deg, var(--pink-500), var(--plum));
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 3px 12px rgba(201,79,124,0.25);
}

.btn-book-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,79,124,0.35);
}

/* =====================================================
   PAGE HERO — Gradient banner at top
   ===================================================== */
.news-hero {
  background: linear-gradient(135deg, var(--plum) 0%, var(--navy) 60%, #1B2342 100%);
  padding: 4.5rem 24px 3.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.news-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,79,124,0.25), transparent 70%);
  top: -100px;
  right: -80px;
  border-radius: 50%;
  pointer-events: none;
}

.news-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,189,213,0.12), transparent 70%);
  bottom: -80px;
  left: -60px;
  border-radius: 50%;
  pointer-events: none;
}

.news-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.3rem 1.1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border: 1px solid rgba(255,255,255,0.15);
}

.news-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  max-width: 700px;
  margin: 0 auto 0.75rem;
  line-height: 1.25;
}

.news-hero-sub {
  max-width: 550px;
  margin: 0 auto;
  font-size: 0.92rem;
  opacity: 0.75;
  line-height: 1.6;
}

/* =====================================================
   SEARCH & FILTER BAR
   ===================================================== */
.news-controls {
  max-width: 1160px;
  margin: -28px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.news-controls-inner {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-wrap input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--bg-alt);
  outline: none;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.search-wrap input:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 3px rgba(201,79,124,0.1);
}

.search-wrap input::placeholder {
  color: var(--muted);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.filter-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--pink-400);
  color: var(--pink-500);
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--pink-500), var(--plum));
  color: #fff;
  border-color: transparent;
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.news-section-header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 24px 1.5rem;
}

.news-section-tag {
  display: inline-block;
  background: var(--pink-100);
  color: var(--pink-600);
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.news-section-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.news-section-sub {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 500px;
}

/* =====================================================
   VIDEO GRID
   ===================================================== */
.news-videos-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 2rem;
}

.news-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.news-video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 14;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.news-video-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.news-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.news-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.news-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}

.news-video-card:hover .news-video-play {
  background: rgba(255,255,255,0.35);
  transform: translate(-50%, -50%) scale(1.1);
}

.news-video-play svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  margin-left: 3px;
}

.news-video-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem;
  z-index: 2;
}

.news-video-cat {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.news-video-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.news-video-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}

.news-video-instagram-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.news-video-instagram-badge svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* =====================================================
   ARTICLES GRID
   ===================================================== */
.news-articles-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 4rem;
}

.news-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.news-article-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-article-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.news-article-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.news-article-card.featured .news-article-img-wrap {
  aspect-ratio: auto;
  min-height: 300px;
}

.news-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-article-card:hover .news-article-img {
  transform: scale(1.05);
}

.news-article-img-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--pink-500), var(--plum));
  color: #fff;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.3px;
}

.news-article-body {
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.76rem;
  color: var(--muted);
}

.news-article-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

.news-article-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.news-article-card.featured .news-article-title {
  font-size: 1.3rem;
}

.news-article-excerpt {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-article-card.featured .news-article-excerpt {
  -webkit-line-clamp: 4;
}

.news-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-soft);
}

.news-article-source {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.news-article-source-icon {
  width: 14px;
  height: 14px;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--pink-500);
  font-weight: 600;
  font-size: 0.82rem;
  transition: var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-read-more:hover {
  color: var(--plum);
  gap: 0.5rem;
}

.btn-read-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.btn-read-more:hover svg {
  transform: translateX(3px);
}

/* ── Empty state ── */
.news-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
}

.news-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.news-empty h3 {
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}

/* ── Load More ── */
.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 0 0;
}

.article-count {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--pink-500);
  border: 2px solid var(--pink-500);
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}

.btn-load-more:hover {
  background: linear-gradient(135deg, var(--pink-500), var(--plum));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,79,124,0.25);
}

.btn-load-more svg {
  transition: transform 0.2s ease;
}

.btn-load-more:hover svg {
  transform: translateY(2px);
}

/* =====================================================
   ARTICLE DETAIL PAGE
   ===================================================== */
.article-detail-hero {
  background: linear-gradient(135deg, var(--plum) 0%, #C94F7C 100%);
  padding: 4rem 24px 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.article-detail-hero::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  top: -100px;
  right: -80px;
  border-radius: 50%;
  pointer-events: none;
}

.article-detail-cat {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.article-detail-hero h1 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  max-width: 750px;
  margin: 0 auto 1rem;
  line-height: 1.3;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  opacity: 0.85;
  flex-wrap: wrap;
}

.article-detail-meta .meta-sep {
  opacity: 0.4;
}

/* Article Body */
.article-detail-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 24px 4rem;
}

.article-detail-featured-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
}

.article-detail-wrap h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.article-detail-wrap h3 {
  font-size: 1.05rem;
  color: var(--plum);
  margin: 1.5rem 0 0.5rem;
}

.article-detail-wrap p {
  margin-bottom: 1.1rem;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.8;
}

.article-detail-wrap ul, .article-detail-wrap ol {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.article-detail-wrap li {
  margin-bottom: 0.5rem;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Highlight box */
.highlight-box {
  background: var(--pink-50);
  border-left: 4px solid var(--pink-500);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  font-style: italic;
}

/* Stat Row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.stat-box {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-box strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--plum);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-box span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Source Attribution */
.source-attribution {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.source-icon-wrap {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--pink-100), var(--pink-50));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.source-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--pink-500);
  fill: none;
}

.source-text {
  flex: 1;
}

.source-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.source-link {
  color: var(--pink-500);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
  word-break: break-word;
}

.source-link:hover {
  color: var(--plum);
}

.source-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--plum), var(--pink-500));
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 2.5rem 0;
  color: #fff;
}

.cta-box h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.cta-box p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.85rem;
  transition: var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}

/* =====================================================
   VIDEO MODAL
   ===================================================== */
/* ── Premium Video Modal (matching Patient Stories) ── */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 4, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  place-items: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.video-modal-overlay.show {
  display: grid;
  opacity: 1;
}

.video-modal-box {
  background: #110d24;
  border-radius: 28px;
  width: 100%;
  max-width: 860px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.video-modal-box.is-instagram {
  max-width: 420px;
  border-color: rgba(249, 168, 201, 0.35);
  box-shadow: 0 24px 64px rgba(201, 79, 124, 0.25);
}

.video-modal-overlay.show .video-modal-box {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 13, 36, 0.75);
  color: #ffffff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  z-index: 10000;
  transition: background 0.2s, transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.video-modal-close:hover {
  background: #c94f7c;
  border-color: #ffffff;
  transform: rotate(90deg);
  box-shadow: 0 4px 20px rgba(201, 79, 124, 0.7);
}

.video-iframe-container {
  position: relative;
  width: 100%;
  padding-top: 177.78%;
  background: #000;
}

.video-iframe-container iframe,
.video-iframe-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
  object-fit: contain;
}

/* ── Image Display in Modal ── */
.video-modal-image-wrap {
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.video-modal-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

/* ── Reel Preview Card ── */
.video-modal-reel-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 12;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #833AB4 0%, #E1306C 40%, #F77737 70%, #FCAF45 100%);
  animation: reelGradientShift 6s ease infinite;
}

@keyframes reelGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.reel-gradient-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.3) 100%);
}

.reel-icon-wrap {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: reelPulse 2s ease-in-out infinite;
}

@keyframes reelPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255,255,255,0); }
}

.reel-play-icon {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.reel-instagram-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}

.reel-instagram-badge svg {
  width: 16px;
  height: 16px;
}

.reel-instagram-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.3px;
}

/* ── Watch on Instagram Button ── */
.btn-watch-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-watch-instagram svg {
  width: 16px;
  height: 16px;
}

.btn-watch-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.4);
}

.video-modal-info {
  padding: 1.5rem 2rem;
  color: #ffffff;
  background: linear-gradient(to bottom, #110d24, #0b0818);
}

.video-modal-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.video-modal-info p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Responsive modal sizing */
@media (max-width: 576px) {
  .video-modal-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
}

@media (max-height: 900px) {
  .video-modal-box.is-instagram { max-width: 360px; }
}

@media (max-height: 780px) {
  .video-modal-box.is-instagram { max-width: 310px; }
}

@media (max-height: 660px) {
  .video-modal-box.is-instagram { max-width: 270px; }
}

/* =====================================================
   FOOTER — Minimal version for sub-pages
   ===================================================== */
.news-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 1.5rem 24px;
  font-size: 0.8rem;
}

.news-footer a {
  color: var(--pink-300);
  transition: var(--transition);
}

.news-footer a:hover { color: #fff; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .news-videos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .news-article-card.featured {
    grid-template-columns: 1fr;
  }
  .news-article-card.featured .news-article-img-wrap {
    aspect-ratio: 16 / 10;
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .news-hero { padding: 3rem 16px 2.5rem; }
  .news-controls-inner { flex-direction: column; }
  .search-wrap { min-width: 100%; }
  .filter-pills { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.25rem; }
  .filter-pill { flex-shrink: 0; }
  .news-videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .news-video-card { aspect-ratio: 9 / 14; }
  .news-video-title { font-size: 0.75rem; }
  .news-video-sub { display: none; }
  .news-video-play { width: 40px; height: 40px; }
  .news-video-play svg { width: 14px; height: 14px; }
  .news-video-content { padding: 0.8rem; }
  .news-video-cat { font-size: 0.6rem; padding: 0.15rem 0.5rem; }
  .news-video-instagram-badge { width: 22px; height: 22px; top: 0.6rem; right: 0.6rem; }
  .news-video-instagram-badge svg { width: 12px; height: 12px; }
  .news-articles-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .article-detail-hero { padding: 2.5rem 16px 2rem; }
  .source-attribution { flex-direction: column; text-align: center; }

  .news-topbar-sub { display: none; }
}

@media (max-width: 380px) {
  .news-videos-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal-news {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-news.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   NEWSPAPER CUTTING GALLERY CARDS
   ===================================================== */
.news-clip-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.news-clip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-200, #FFBDD5);
}

.news-clip-img-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #f3eef4;
}

.news-clip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}

/* Graceful placeholder shown only if a cutting image is not yet added */
.news-clip-img-wrap.news-clip-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #efe6f0, #f7eef4);
}

.news-clip-img-wrap.news-clip-empty::before {
  content: '📰';
  font-size: 2.4rem;
  position: absolute;
  top: 30%;
}

.news-clip-img-wrap.news-clip-empty::after {
  content: attr(data-clip);
  background: none;
  height: auto;
  position: static;
  padding: 0 1.4rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy, #1B2F5E);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.4;
}

.news-clip-card:hover .news-clip-img {
  transform: scale(1.04);
}

/* soft fade at the bottom of the preview so the cut feels intentional */
.news-clip-img-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
  pointer-events: none;
}

.news-clip-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(17, 13, 36, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.news-clip-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(17, 13, 36, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.news-clip-zoom svg {
  width: 16px;
  height: 16px;
}

.news-clip-card:hover .news-clip-zoom {
  opacity: 1;
  transform: scale(1);
}

.news-clip-card:hover .news-clip-zoom {
  background: var(--pink-500, #C94F7C);
}

.news-clip-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--border-soft);
}

.news-clip-source {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy, #1B2F5E);
  font-family: 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-clip-date {
  font-size: 0.74rem;
  color: var(--muted, #9584A0);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .news-clip-img-wrap {
    height: 320px;
  }
}

@media (max-width: 380px) {
  .news-clip-img-wrap {
    height: 280px;
  }
}
