/* ════════════════════════════════════════════════════════════
   NEWSROOM — MAGAZINE-STYLE PREMIUM LAYOUT
   ════════════════════════════════════════════════════════════ */

/* ── Category ticker bar ── */
.news-ticker {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.news-ticker-inner {
  display: flex;
  gap: 0;
  animation: tickerScroll 28s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-ticker:hover .news-ticker-inner { animation-play-state: paused; }
.ticker-item {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
}
.ticker-dot { width:6px;height:6px;border-radius:50%;background:var(--gold);flex-shrink:0; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── Category filter pills ── */
.cat-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
}
.cat-strip-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-pill {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  background: white;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.cat-pill.active.cat-news         { background: var(--royal); border-color: var(--royal); }
.cat-pill.active.cat-event        { background: var(--red);   border-color: var(--red);   }
.cat-pill.active.cat-success      { background: #16A34A;      border-color: #16A34A;      }
.cat-pill.active.cat-announcement { background: var(--gold);  border-color: var(--gold);  }

/* ── Main layout wrapper ── */
.newsroom-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

/* ── FEATURED STORY — magazine cover card ── */
.featured-story {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 520px;
  cursor: pointer;
  margin-bottom: 48px;
  display: block;
  transition: transform 0.3s;
}
.featured-story:hover { transform: scale(1.005); }
.featured-story-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.featured-story-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,15,45,0.97) 0%,
    rgba(5,15,45,0.70) 45%,
    rgba(5,15,45,0.15) 100%
  );
}
.featured-story-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 44px;
  z-index: 2;
}
.feat-cat-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  background: var(--red);
  color: white;
  margin-bottom: 14px;
}
.featured-story h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3.5vw, 38px);
  color: white;
  line-height: 1.22;
  margin-bottom: 12px;
  font-weight: 700;
}
.featured-story .feat-excerpt {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 620px;
}
.featured-story .feat-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.feat-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}
.feat-author-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--royal);
  display: flex;align-items:center;justify-content:center;
  font-size: 13px; color: white; font-weight: 700;
  flex-shrink: 0;
}
.feat-date-pill {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
}
.feat-read-btn {
  margin-left: auto;
  background: white;
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.feat-read-btn:hover { background: var(--gold); color: var(--navy); }
/* No image fallback */
.featured-story-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px;
}

/* ── SECTION LABEL with line ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.section-divider h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  white-space: nowrap;
}
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── CARD GRID ── */
.news-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.28s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13,43,107,0.14);
  border-color: transparent;
}
.card-thumb {
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .card-thumb img { transform: scale(1.06); }
.card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.card-cat-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 10px;
  color: white;
}
.card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}
.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}
.card-date { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.card-read {
  font-size: 12px;
  font-weight: 700;
  color: var(--royal);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.news-card:hover .card-read { gap: 8px; }

/* Wide card (1st of secondary grid — spans 2 cols) */
.news-card.wide {
  grid-column: span 2;
  flex-direction: row;
}
.news-card.wide .card-thumb {
  width: 340px;
  height: auto;
  min-height: 200px;
  flex-shrink: 0;
  border-radius: 0;
}

/* ── EMPTY / LOADING ── */
.news-empty { text-align:center; padding:80px 40px; grid-column:1/-1; color:var(--text-muted); }
.news-empty .ei { font-size:56px; margin-bottom:16px; }
.news-loading { text-align:center; padding:60px; color:var(--text-muted); grid-column:1/-1; font-size:15px; }

/* ── FULL ARTICLE MODAL ── */
.article-modal-bg {
  display: none;
  position: fixed; inset: 0;
  background: rgba(5,15,45,0.82);
  z-index: 900;
  overflow-y: auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 40px 20px;
}
.article-modal-bg.open { display: block; }
.article-modal {
  background: white;
  max-width: 780px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  animation: artIn 0.35s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
@keyframes artIn {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.art-modal-close {
  position: fixed;
  top: 20px; right: 24px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
  z-index: 901;
}
.art-modal-close:hover { background: var(--red); border-color: var(--red); }

.art-cover {
  width: 100%; height: 360px;
  object-fit: cover; display: block;
}
.art-cover-placeholder {
  width: 100%; height: 280px;
  display: flex; align-items: center; justify-content: center;
  font-size: 88px;
}
.art-content { padding: 44px 48px 56px; }
.art-cat-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.art-cat-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; padding: 4px 14px;
  border-radius: 20px; color: white;
}
.art-reading-time { font-size: 12px; color: var(--text-muted); }
.art-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 16px;
  font-weight: 700;
}
.art-byline {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.art-author-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: white; font-weight: 700;
  flex-shrink: 0;
}
.art-author-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.art-pub-date    { font-size: 13px; color: var(--text-muted); }
.art-body { font-size: 16px; color: var(--text-mid); line-height: 1.9; }
.art-body p  { margin-bottom: 18px; }
.art-body h3 { font-family: 'Playfair Display', serif; color: var(--navy); margin: 28px 0 12px; font-size: 22px; }
.art-body ul { padding-left: 22px; margin-bottom: 18px; }
.art-body ul li { margin-bottom: 10px; line-height: 1.7; }
.art-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: #FFFBF0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-mid);
  font-size: 17px;
}
.art-share {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.art-share span { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.share-btn {
  padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: white;
  text-decoration: none; display: inline-block; transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-wa { background: #25D366; }
.share-copy { background: var(--navy); cursor: pointer; border: none; font-family: 'DM Sans',sans-serif; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .newsroom-wrap { padding: 36px 20px 60px; }
  .news-masonry  { grid-template-columns: 1fr 1fr; }
  .news-card.wide { grid-column: span 2; flex-direction: column; }
  .news-card.wide .card-thumb { width: 100%; height: 200px; }
  .featured-story { height: 400px; }
  .featured-story-body { padding: 28px 24px; }
  .art-content { padding: 28px 24px 40px; }
  .cat-strip { padding: 0 20px; }
}
@media (max-width: 600px) {
  .news-masonry  { grid-template-columns: 1fr; }
  .news-card.wide { grid-column: span 1; }
  .featured-story { height: 320px; }
  .art-content { padding: 20px 18px 32px; }
}


/* RESPONSIVE: Newsroom Page  */
  @media (max-width: 900px) {
    .newsroom-grid,
    .newsroom-feature-grid,
    [style*="grid-template-columns"][style*="1fr 1fr"] {
      grid-template-columns: 1fr !important;
    }
    /* Filter buttons wrap */
    [style*="display:flex"][style*="gap"][style*="filter"],
    .newsroom-filters {
      flex-wrap: wrap !important;
      gap: 8px !important;
    }
    /* Article drawer */
    .article-drawer {
      width: 100% !important;
      max-width: 100% !important;
    }
    /* Featured story banner */
    [style*="min-height:340px"],
    [style*="min-height:400px"] {
      min-height: 240px !important;
    }
  }
  @media (max-width: 560px) {
    /* News card meta row */
    [style*="display:flex"][style*="align-items:center"][style*="gap:12px"][style*="font-size:12px"] {
      flex-wrap: wrap !important;
      gap: 6px !important;
    }
    /* Ticker */
    .news-ticker { font-size: 12px !important; }
  }
