/* News shares the site's typography, blue accents, and explicit theme switch. */
.news-page {
  --news-ink: #203349;
  --news-muted: #546579;
  --news-accent: #126280;
  --news-soft: #edf5f8;
  --news-surface: #fff;
  --news-background: #f8fafc;
  --news-border: #dce5ed;
  color: var(--news-ink);
  background: var(--news-background);
}

.dark-theme .news-page {
  --news-ink: #e8eff7;
  --news-muted: #b0bfd0;
  --news-accent: #99d7ef;
  --news-soft: #1c303e;
  --news-surface: #1a2430;
  --news-background: #131c26;
  --news-border: #344454;
  background: var(--news-background);
}

.news-page .content-wrapper { max-width: none; }
.news-page .content-wrapper__inner {
  box-sizing: border-box;
  max-width: 1040px;
  margin: 0 auto;
  padding: 52px clamp(24px, 4vw, 60px) 64px;
}

.news-page .content-wrapper *,
.news-page .content-wrapper *::before,
.news-page .content-wrapper *::after { box-sizing: border-box; }
.news-page .content-wrapper { color: var(--news-ink); line-height: 1.7; }
.news-page .content-wrapper h1,
.news-page .content-wrapper h2,
.news-page .content-wrapper h3 {
  color: var(--news-ink) !important;
  text-align: left;
  letter-spacing: normal;
}
.news-page .content-wrapper a { color: var(--news-accent); }
.news-page .content-wrapper a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-page .content-wrapper :focus-visible { outline-color: var(--news-accent); }
.news-page .footer { border-color: var(--news-border); color: var(--news-muted); }
.news-page .footer__copyright { max-width: 960px; margin: 0 auto 14px; padding: 0 24px; }

.news-back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 700; }

/* Cards use a deliberate text layout when a story has no photograph yet. */
.news-card {
  display: grid;
  grid-template-columns: minmax(150px, .65fr) minmax(0, 1.35fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--news-border);
  border-radius: 16px;
  background: var(--news-surface);
}
.news-card--text-only { grid-template-columns: minmax(0, 1fr); }
.news-card__image-link { display: block; min-width: 0; overflow: hidden; background: var(--news-soft); }
.news-card__image { display: block; width: 100%; height: 100%; min-height: 220px; margin: 0; object-fit: cover; }
.news-card__body { padding: 28px 30px; }
.news-card__meta,
.news-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--news-muted); font-size: .875rem; }
.news-card__category,
.news-article__category { display: inline-flex; padding: 3px 11px; border-radius: 5px; background: var(--news-soft); color: var(--news-accent); font-size: .8125rem; font-weight: 700; }
.news-card .news-card__title { margin: 16px 0 10px; font-size: 1.55rem; line-height: 1.35; }
.news-card .news-card__title a { color: var(--news-ink); }
.news-card .news-card__summary { max-width: 75ch; margin: 0; color: var(--news-muted); font-size: 1rem; line-height: 1.7; }
.news-card .news-card__event { margin: 18px 0 0; padding-top: 15px; border-top: 1px solid var(--news-border); color: var(--news-muted); font-size: .875rem; line-height: 1.7; }
.news-card__event > span { padding: 0 4px; }
.news-card__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; font-size: .875rem; font-weight: 700; }

/* The archive keeps year headings separate from the stories. */
.news-page .post-title { margin: 0 0 12px; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.2; }
.news-archive__intro { margin: 0 0 40px; color: var(--news-muted); font-size: 1.0625rem; }
.news-year + .news-year { margin-top: 42px; }
.news-year .news-year__title { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--news-border); font-size: 1.375rem; }
.news-list { display: grid; gap: 22px; }
.news-empty { margin: 0; padding: 28px 0; color: var(--news-muted); }

/* Readable story pages with a real publication date and distinct event date. */
.news-article { max-width: 780px; margin: 0 auto; overflow-wrap: break-word; }
.news-article > .news-back-link { margin-bottom: 26px; }
.news-article__header { margin-bottom: 32px; }
.news-article__title { margin: 18px 0 16px; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.2; }
.news-article__lead { margin: 0; color: var(--news-muted); font-size: 1.125rem; line-height: 1.75; }
.news-article__updated { font-size: .8125rem; }
.news-article__figure { margin: 0 0 34px; }
.news-article__image-link { display: block; }
.news-article__image { display: block; width: 100%; height: auto; border-radius: 12px; }
.news-article__caption { margin-top: 10px; color: var(--news-muted); font-size: .8125rem; line-height: 1.6; }
.news-article__content { font-size: 1.0625rem; line-height: 1.9; }
.news-article__content p { margin: 0 0 1.3em; }
.news-article__content h2 { margin-top: 1.5em; font-size: 1.65rem; line-height: 1.35; }
.news-article__content h3 { font-size: 1.35rem; line-height: 1.4; }
.news-article__content a { text-decoration: underline; text-underline-offset: 3px; }
.news-article__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--news-border); }
.news-article__official-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 700; }
.news-event { margin: 0 0 32px; padding: 24px 26px; border-radius: 12px; background: var(--news-soft); }
.news-event h2 { margin: 0 0 16px; font-family: "Nunito", sans-serif; font-size: 1rem; font-weight: 700; }
.news-event dl { display: grid; gap: 12px; margin: 0; }
.news-event dl > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
.news-event dt { color: var(--news-muted); font-size: .875rem; }
.news-event dd { margin: 0; font-size: .9375rem; }
.news-event__timezone { margin-left: 8px; color: var(--news-muted); font-size: .875rem; }

@media (min-width: 1300px) {
  .inner-page.news-page .content-wrapper { width: calc(100% - 530px); }
}

@media (max-width: 960px) {
  .no-js .news-page .btn-mobile-menu { display: none; }
  .no-js .news-page .navigation-wrapper { display: flow-root; position: static; max-height: none !important; overflow: visible; }
  .news-page .content-wrapper { width: 100%; margin: 0; padding: 0; }
  .news-page .content-wrapper__inner { padding: 36px 28px 48px; }
}

@media (max-width: 600px) {
  .news-page .content-wrapper__inner { padding: 30px 20px 40px; }
  .news-card { grid-template-columns: minmax(0, 1fr); }
  .news-card__image { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .news-card__body { padding: 24px; }
  .news-card .news-card__title { font-size: 1.5rem; }
  .news-card__meta { gap: 8px 12px; }
  .news-article > .news-back-link { margin-bottom: 20px; }
  .news-article__title { font-size: 2rem; }
  .news-article__lead { font-size: 1.0625rem; }
  .news-article__content { font-size: 1rem; }
  .news-event { padding: 22px 20px; }
  .news-event dl > div { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .news-event__timezone { display: block; margin-left: 0; }
}
