/* News listing (news.html) and story page (news-details.html) */

.news-page {
  --news-teal: #004259;
  --news-teal-dark: #00293a;
  --news-ink: #0d2a35;
  --news-muted: #4f6f7c;
  --news-line: #e8eff3;
  --news-chip-line: #cfe0e8;
  --news-wash: #e5f6fc;
  --news-bg: #f8fafb;
  --news-quote: #7fc4dc;
  background: var(--news-bg);
  color: var(--news-ink);
  font-family: 'Inter', system-ui, sans-serif;
}

.news-page a { color: var(--news-teal); text-decoration: none; }
.news-page a:hover { color: var(--news-teal-dark); }
.news-page :focus-visible { outline: 2px solid #0a7ea8; outline-offset: 2px; }

.news-serif { font-family: 'Playfair Display', Georgia, serif; }

/* Hero */
.news-hero {
  background: var(--news-wash);
  padding: 150px 16px 176px;
  text-align: center;
  border-radius: 0 0 50% 50% / 0 0 72px 72px;
}
.news-pill {
  margin: 0 auto 22px;
  width: fit-content;
  background: #fff;
  border: 1px solid #d5e6ee;
  border-radius: 100px;
  padding: 6px 14px;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--news-teal);
}
.news-hero h1 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
}
.news-hero h1 span { color: var(--news-teal); }
.news-hero p {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--news-muted);
}

.news-main {
  max-width: 1280px;
  margin: -120px auto 0;
  padding: 0 16px 96px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (min-width: 768px) { .news-main { padding: 0 24px 96px; } }

/* Chips and meta */
.news-chip {
  display: inline-block;
  background: var(--news-wash);
  color: var(--news-teal);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
}
.news-chip--solid {
  background: var(--news-teal);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.news-chip--mosaix { background: #f3ecfb; color: #5b2a99; font-weight: 600; letter-spacing: 0.04em; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; color: var(--news-muted); }

/* Featured story */
.news-featured {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 66, 89, 0.1);
  overflow: hidden;
}
.news-featured__text {
  flex: 999 1 520px;
  min-width: 0;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) { .news-featured__text { padding: 48px; } }
.news-featured__text h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
}
.news-featured__text h2 a { color: var(--news-ink); }
.news-featured__text p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--news-muted); max-width: 640px; }
.news-featured__quote {
  flex: 1 1 340px;
  margin: 0;
  background: var(--news-teal);
  color: #fff;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
@media (min-width: 768px) { .news-featured__quote { padding: 48px; } }
.news-quote-mark { font-family: 'Playfair Display', Georgia, serif; font-size: 96px; line-height: 0.6; height: 48px; color: var(--news-quote); }
.news-featured__quote blockquote {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
}
.news-featured__quote figcaption { font-size: 14px; line-height: 1.5; color: #bfe3f0; }
.news-featured__quote figcaption strong { display: block; color: #fff; font-weight: 600; }

.news-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.news-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--news-teal);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid var(--news-teal);
}
.news-button:hover { background: var(--news-teal-dark); }
.news-button--outline { background: #fff; color: var(--news-teal) !important; font-size: 14px; padding: 12px 20px; }
.news-button--outline:hover { background: var(--news-wash); }
.news-covered { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: var(--news-muted); }
.news-covered a { font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }

/* Filters + grid */
.news-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.news-section-head h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 32px; color: var(--news-ink); }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.news-filter {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 100px;
  font: 500 14px 'Inter', system-ui, sans-serif;
  background: #fff;
  color: var(--news-teal);
  border: 1px solid var(--news-chip-line);
  cursor: pointer;
}
.news-filter span { opacity: 0.7; margin-left: 4px; }
.news-filter[aria-pressed='true'] { background: var(--news-teal); color: #fff; border-color: var(--news-teal); }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.news-card {
  background: #fff;
  border: 1px solid var(--news-line);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.news-card:hover { box-shadow: 0 12px 32px rgba(0, 66, 89, 0.08); transform: translateY(-2px); }
.news-card__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--news-muted); }
.news-card h3 { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 600; font-family: 'Inter', system-ui, sans-serif; }
.news-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--news-muted); }
.news-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--news-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--news-muted);
}
.news-card__foot strong { color: var(--news-ink); font-weight: 600; }
.news-card__foot a { font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }

.news-skeleton { background: linear-gradient(90deg, #eef3f6 0%, #f7fafb 50%, #eef3f6 100%); background-size: 200% 100%; animation: news-shimmer 1.4s linear infinite; border: 0; }
@keyframes news-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .news-skeleton { animation: none; } .news-card:hover { transform: none; } }

.news-empty { background: #fff; border: 1px solid var(--news-line); border-radius: 16px; padding: 48px 24px; text-align: center; color: var(--news-muted); }
.news-empty h2 { font-family: 'Playfair Display', Georgia, serif; color: var(--news-ink); font-size: 28px; margin: 0 0 8px; }

/* Media enquiries */
.news-media { display: flex; flex-wrap: wrap; gap: 24px; }
.news-media__primary {
  flex: 2 1 420px;
  min-width: 0;
  background: var(--news-teal);
  color: #fff;
  border-radius: 16px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-media__secondary {
  flex: 1 1 300px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--news-line);
  border-radius: 16px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) { .news-media__primary, .news-media__secondary { padding: 40px; } }
.news-eyebrow { margin: 0; font-family: 'Archivo', sans-serif; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #bfe3f0; }
.news-media h2, .news-media h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; }
.news-media h2 { font-size: 32px; color: #fff; }
.news-media h3 { font-size: 26px; color: var(--news-ink); }
.news-media__primary p { margin: 0; font-size: 16px; line-height: 1.6; color: #d6edf5; max-width: 520px; }
.news-media__secondary p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--news-muted); }
.news-media__secondary .news-button { margin-top: auto; width: fit-content; }

/* Story page */
.news-story-hero { background: var(--news-wash); padding: 140px 16px 72px; }
.news-story-hero__inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.news-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--news-muted); }
.news-crumbs a { font-weight: 500; }
.news-story-hero h1 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--news-ink);
}
.news-story-hero .news-lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--news-muted); }
.news-story-hero .news-chip { background: #fff; }
.news-story { max-width: 820px; margin: 0 auto; padding: 48px 16px 24px; display: flex; flex-direction: column; gap: 32px; }
.news-story__body p { font-size: 18px; line-height: 1.75; color: #1f3a45; margin: 0 0 20px; }
.news-story__quote { margin: 8px 0; padding: 36px 32px; background: #fff; border: 1px solid var(--news-line); border-radius: 16px; text-align: center; }
.news-story__quote .news-quote-mark { color: var(--news-teal); opacity: 0.35; display: block; }
.news-story__quote blockquote { margin: 0 0 14px; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.4; color: var(--news-teal); }
.news-story__quote figcaption { font-size: 14px; color: var(--news-muted); }
.news-story__quote figcaption strong { display: block; color: var(--news-ink); }
.news-ran { background: #fff; border: 1px solid var(--news-line); border-radius: 16px; padding: 28px 24px; }
.news-ran h2 { margin: 0 0 8px; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; color: var(--news-ink); }
.news-ran ul { list-style: none; margin: 0; padding: 0; }
.news-ran li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--news-line); }
.news-ran li:first-child { border-top: 0; }
.news-ran a { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.news-ran small { display: block; width: 100%; color: var(--news-muted); font-size: 13px; }
.news-ran time { color: var(--news-muted); font-size: 14px; }
.news-related { max-width: 1280px; margin: 0 auto; padding: 24px 16px 0; }
@media (min-width: 768px) { .news-related { padding: 24px 24px 0; } }
.news-cta {
  max-width: 1280px;
  margin: 56px auto 0;
  padding: 0 16px;
}
.news-cta__inner { background: var(--news-teal); color: #fff; border-radius: 16px; padding: 40px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
@media (min-width: 768px) { .news-cta { padding: 0 24px; } .news-cta__inner { padding: 40px 48px; } }
.news-cta h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 3vw, 32px); color: #fff; max-width: 620px; }
.news-cta .news-button { background: #fff; color: var(--news-teal) !important; border-color: #fff; }
.news-cta .news-button:hover { background: var(--news-wash); }
