:root {
  --blue-900: #024989;
  --blue-800: #0d5ca6;
  --blue-100: #e8f1fa;
  --ink-900: #102033;
  --ink-700: #33485d;
  --ink-500: #61778f;
  --line: #d8e3ef;
  --bg: #f6f9fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(8, 35, 69, 0.08);
  --shadow-hover: 0 18px 38px rgba(8, 35, 69, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink-900);
  background: linear-gradient(180deg, #f3f7fb 0%, #ffffff 220px, #ffffff 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--blue-900);
  text-decoration: none;
}

a:hover {
  color: var(--blue-800);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(2, 73, 137, 0.45);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(85vw, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 1.1rem 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-900);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #024989;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.header-main {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: clamp(150px, 17vw, 215px);
  height: auto;
}

.primary-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.primary-nav a[aria-current="page"],
.primary-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-categories {
  position: relative;
}

.categories-toggle {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.94);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
}

.categories-toggle:hover,
.categories-toggle[aria-expanded="true"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.categories-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: -0.5rem;
  width: min(540px, 90vw);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  padding: 0.85rem;
  display: none;
  z-index: 75;
}

.nav-categories.is-open .categories-menu {
  display: block;
}

.categories-menu-title {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  font-weight: 700;
}

.categories-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.categories-menu a {
  color: var(--ink-900);
  border: 1px solid #eef3f9;
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.categories-menu a i {
  color: var(--blue-900);
}

.categories-menu a:hover {
  color: var(--blue-900);
  border-color: #d3e0ee;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-search--mobile {
  display: none;
}

.header-search input {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  min-width: 185px;
  font: inherit;
  background: rgba(255, 255, 255, 0.98);
}

.header-search button {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  padding: 0.55rem 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.header-search button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.45rem;
  border-radius: 10px;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}

.menu-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #ffffff;
}

.mobile-nav-head {
  display: none;
}

.menu-close {
  display: none;
}

.nav-backdrop {
  display: none;
}

.breaking-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.14);
}

.breaking-strip-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.breaking-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: #ffffff;
  color: #c20f32;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.58rem;
  white-space: nowrap;
}

.breaking-track {
  min-height: 22px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: thin;
}

.breaking-item {
  position: static;
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(85vw, 560px);
}

.breaking-item:hover {
  color: #dfeeff;
}

.alerts-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 32, 62, 0.72);
}

.alerts-strip-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.alerts-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.alerts-track {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: thin;
}

.alerts-item {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.24rem 0.62rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
}

.alerts-item span {
  color: rgba(255, 255, 255, 0.84);
}

.alerts-item--critical {
  border-color: rgba(255, 179, 179, 0.62);
  background: rgba(188, 34, 54, 0.3);
}

.alerts-item--warning {
  border-color: rgba(255, 217, 160, 0.62);
  background: rgba(171, 106, 12, 0.28);
}

.alerts-map-link {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.alerts-map-link:hover {
  color: #dfeeff;
}

.ad-slot {
  border: 1px dashed #aac1d8;
  border-radius: 10px;
  background: #f7fbff;
  color: #4a6f91;
  text-align: center;
  font-size: 0.86rem;
  padding: 0.62rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.7rem !important;
}

.ad-slot--header {
  margin-top: 0.9rem;
}

.home-hero {
  padding-top: 1.8rem;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.35rem;
}

.lead-story {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.lead-story-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf3f9;
}

.lead-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #edf3f9;
}

.lead-story-image,
.support-story-image,
.post-card-image {
  position: relative;
}

.lead-story-body {
  padding: 1.25rem 1.3rem 1.4rem;
}

.lead-story h1 {
  margin: 0.55rem 0 0.45rem;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.24;
}

.lead-story p {
  margin: 0;
  color: var(--ink-700);
  font-size: 1rem;
}

.post-category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
}

.post-category i {
  font-size: 0.78rem;
}

.post-meta {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--ink-500);
  font-size: 0.87rem;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.post-meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.post-meta i {
  color: #4d6781;
}

.supporting-stories {
  display: grid;
  gap: 0.95rem;
}

.support-story {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 0.85rem;
  overflow: hidden;
}

.support-story-image {
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #edf3f9;
}

.support-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #edf3f9;
}

.support-story > div {
  padding: 0.8rem 0.85rem 0.8rem 0;
}

.support-story h2 {
  margin: 0.55rem 0 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.4rem, 1.9vw, 1.75rem);
}

.section-link {
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-link i {
  font-size: 0.85em;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.posts-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.post-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf3f9;
}

.post-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #edf3f9;
}

.post-card-media-badge,
.gallery-card-badge {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  border-radius: 999px;
  background: rgba(5, 29, 53, 0.86);
  color: #ffffff;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
}

.gallery-card-badge--photo {
  background: rgba(2, 73, 137, 0.86);
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: #edf3f9;
}

.post-card-content {
  padding: 1rem 1rem 1.1rem;
}

.post-card h3 {
  margin: 0.6rem 0 0;
  font-size: 1.12rem;
  line-height: 1.35;
}

.post-card p {
  margin: 0.65rem 0 0;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.post-card--compact .post-card-content {
  padding: 0.85rem;
}

.post-card--compact h3 {
  font-size: 1rem;
}

.about-preview {
  background: linear-gradient(180deg, #f2f7fc 0%, #f7fbff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 1.35rem;
  align-items: stretch;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-800);
}

.about-preview-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}

.about-preview-card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
}

.about-preview-card p {
  margin: 0.55rem 0 0;
  color: var(--ink-700);
}

.about-preview-pillars {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.about-preview-pillars li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #27415b;
  font-size: 0.93rem;
}

.about-preview-pillars i {
  margin-top: 0.16rem;
  color: var(--blue-900);
}

.about-preview-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.about-preview-actions .button-link {
  margin-top: 0;
}

.about-preview-side {
  display: grid;
  gap: 0.75rem;
}

.about-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.about-preview-stats article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
  text-align: center;
}

.about-preview-stats strong {
  display: block;
  font-size: 0.96rem;
  color: var(--blue-900);
}

.about-preview-stats span {
  display: block;
  margin-top: 0.24rem;
  color: var(--ink-500);
  font-size: 0.78rem;
}

.about-preview-note {
  background: #edf4fb;
  border: 1px solid #d4e2f1;
  border-radius: 12px;
  padding: 0.9rem;
}

.about-preview-note h3 {
  margin: 0;
  font-size: 1rem;
}

.about-preview-note p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: #2b435c;
}

.about-preview-ad {
  min-height: 108px;
  margin: 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-900);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-top: 0.4rem;
  gap: 0.45rem;
}

.button-link i {
  font-size: 0.9em;
}

.button-link:hover {
  background: var(--blue-900);
  color: var(--white);
}

.cta-strip {
  background: linear-gradient(135deg, #013f76 0%, #024989 50%, #0b5ea9 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: auto -12% -120px auto;
  width: min(440px, 65vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.cta-strip-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 1rem 1.2rem;
  align-items: center;
}

.cta-strip-copy {
  max-width: 760px;
}

.cta-strip-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.cta-strip h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: clamp(1.42rem, 2.2vw, 2.05rem);
  line-height: 1.2;
}

.cta-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.cta-strip-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cta-strip-actions .button-link {
  margin-top: 0;
}

.cta-strip-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  grid-column: 1 / -1;
}

.cta-strip-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.cta-strip-points i {
  color: #ffffff;
}

.button-link--light {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
  margin-top: 1rem;
}

.button-link--light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-header {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
}

.page-header h1 i {
  margin-right: 0.4rem;
  color: var(--blue-900);
}

.page-header p {
  margin: 0;
  color: var(--ink-700);
}

.breadcrumbs {
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-500);
  font-size: 0.85rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.9fr);
  gap: 1.6rem;
}

.article-main {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem;
}

.article-main h1 {
  margin: 0.75rem 0 0.5rem;
  font-size: clamp(1.8rem, 2.7vw, 2.35rem);
  line-height: 1.2;
}

.post-meta--article {
  margin-bottom: 0.95rem;
}

.article-featured-media {
  margin: 0 0 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  background: #edf3f9;
}

.article-featured-media img {
  width: 100%;
  max-height: fit-content !important;
  object-fit: contain;
  background: #edf3f9;
}

.article-featured-media figcaption {
    padding: 5px 0;
    text-align: center;
}

.article-content {
  font-size: 1.04rem;
  color: #1f3246;
}

.article-content > * {
  margin-top: 0;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content figure,
.article-content h2,
.article-content h3 {
  margin-bottom: 1.15rem;
}

.article-content br {display:none;}

.article-content h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.25rem;
}

.article-content blockquote {
  border-left: 4px solid var(--blue-900);
  margin-left: 0;
  padding: 0.1rem 0 0.1rem 1rem;
  color: #2a4b6f;
  font-style: italic;
}

.article-content img {
  border-radius: 10px;
}

.article-content figcaption {
  margin-top: 0.4rem;
  color: var(--ink-500);
  font-size: 0.84rem;
}

.article-video-block {
  margin-bottom: 1.2rem;
}

.responsive-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #dfe8f2;
}

.responsive-video iframe,
.responsive-video video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.responsive-video--native {
  background: #091726;
}

.responsive-video--ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.responsive-video--ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.responsive-video--ratio-9-16 {
  aspect-ratio: 9 / 16;
}

.responsive-video--ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.author-transparency,
.article-sources,
.article-updates {
  margin-top: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.9rem;
}

.author-transparency h2,
.article-sources h2,
.article-updates h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.author-transparency p,
.article-sources p {
  margin: 0.42rem 0 0;
  color: #29425b;
}

.author-transparency p i,
.article-sources p i {
  color: var(--blue-900);
}

.article-updates ul {
  margin: 0;
  padding-left: 1rem;
}

.article-updates li {
  margin-bottom: 0.45rem;
}

.article-updates li span {
  color: var(--ink-500);
}

.article-tags h2,
.share-block h2,
.related-posts h2,
.article-sidebar h2 {
  margin-top: 0;
  font-size: 1.14rem;
}

.article-tags ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.article-tags li {
  background: var(--blue-100);
  color: var(--blue-900);
  border-radius: 999px;
  padding: 0;
  font-size: 0.83rem;
  font-weight: 600;
}

.article-tags li a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.article-tags li a:hover {
  background: #d7e7f7;
}

.share-block {
  margin-top: 1.4rem;
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.share-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.43rem 0.72rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ad-slot i {
  color: #6585a4;
}

.share-links a:hover {
  border-color: var(--blue-900);
  color: var(--blue-900);
}

.related-posts {
  margin-top: 1.5rem;
}

.media-caption {
  margin: 0.55rem 0 0;
  color: var(--ink-500);
  font-size: 0.84rem;
}

.article-comments {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  padding: 1rem;
}

.article-comments .contact-form {
  margin-top: 0.8rem;
}

.comment-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.comment-item {
  border: 1px solid #dbe7f3;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.75rem;
}

.comment-item h3 {
  margin: 0;
  font-size: 0.98rem;
}

.comment-item time {
  color: var(--ink-500);
  font-size: 0.82rem;
}

.comment-item p {
  margin: 0.45rem 0 0;
  color: #2a4056;
}

.article-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.article-sidebar section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.sidebar-list article + article {
  border-top: 1px solid var(--line);
  margin-top: 0.7rem;
  padding-top: 0.7rem;
}

.sidebar-list h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.sidebar-list time {
  color: var(--ink-500);
  font-size: 0.82rem;
}

.events-calendar-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.events-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.events-calendar-head h2 {
  margin: 0;
}

.events-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
}

.events-weekday {
  font-size: 0.79rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-500);
}

.events-day {
  min-height: 72px;
  border: 1px solid #dbe7f4;
  border-radius: 10px;
  padding: 0.45rem;
  background: #fcfeff;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.events-day.is-muted {
  opacity: 0.48;
}

.events-day.has-events {
  border-color: #a9c8e7;
  background: #eef6ff;
}

.events-day-number {
  font-weight: 700;
  color: var(--ink-900);
}

.events-day-badge {
  width: fit-content;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  padding: 0.18rem 0.48rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.events-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.event-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 0.95rem;
}

.event-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.event-card p {
  margin: 0.62rem 0 0;
  color: var(--ink-700);
}

.event-meta {
  color: var(--ink-500);
  font-size: 0.9rem;
}

.event-meta-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.85rem;
  margin-bottom: 1rem;
}

.event-meta-box p {
  margin: 0.45rem 0 0;
}

.event-meta-box p:first-child {
  margin-top: 0;
}

.event-meta-box i {
  color: var(--blue-900);
}

.alerts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 1rem;
}

.alerts-layout > .alert-card {
  grid-column: 1 / -1;
}

.alerts-map {
  min-height: 360px;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.alerts-list {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.alert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid #b6cce3;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 0.9rem;
}

.alert-card--warning {
  border-left-color: #d39a35;
}

.alert-card--critical {
  border-left-color: #be3340;
}

.alert-card h2 {
  margin: 0;
  font-size: 1.08rem;
}

.alert-location,
.alert-timing {
  color: var(--ink-500);
  font-size: 0.9rem;
}

.alert-location i {
  color: var(--blue-900);
}

.corrections-list {
  display: grid;
  gap: 0.8rem;
}

.correction-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 0.9rem;
}

.correction-meta {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.correction-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff0f1;
  color: #9d2232;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.52rem;
}

.correction-item h2 {
  margin: 0.55rem 0 0;
  font-size: 1.05rem;
}

.correction-item p {
  margin: 0.62rem 0 0;
  color: var(--ink-700);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 1.25rem;
}

.contact-card,
.contact-side section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.contact-side {
  display: grid;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.6rem;
}

.contact-form input,
.contact-form textarea,
.search-page-form input,
.search-page-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.contact-form button,
.search-page-form button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 700;
  padding: 0.63rem 1rem;
  cursor: pointer;
}

.search-page-form {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.search-page-form input {
  flex: 1 1 300px;
}

.search-summary {
  color: var(--ink-700);
  margin-top: 0;
}

.alert {
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.8rem;
}

.alert ul {
  margin: 0;
  padding-left: 1rem;
}

.alert-success {
  border: 1px solid #acd8b6;
  background: #edf9f0;
  color: #206234;
}

.alert-error {
  border: 1px solid #e1b1b5;
  background: #fff1f2;
  color: #8b2028;
}

.narrow-content {
  max-width: 760px;
}

.text-centre {
  text-align: center;
}

.pagination {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.page-link {
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  font-weight: 600;
}

.page-link:hover,
.page-link.is-active {
  border-color: var(--blue-900);
  background: var(--blue-900);
  color: var(--white);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: #024989;
  margin-top: 2.25rem;
  padding-top: 1.6rem;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.footer-strapline {
  font-family: Cinzel, Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand-block {
  text-align: center;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  width: min(360px, 86%);
  margin: 0 auto 0.65rem;
  margin-bottom: -25px;
}

.footer-links-centre {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.2rem;
}

.footer-links-centre a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.footer-links-centre a:hover {
  color: #ffffff;
  opacity: 0.9;
}

.footer-social-centre {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.footer-social-centre a {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #ffffff;
}

.footer-social-centre a:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.12);
}

.footer-contact-centre {
  margin-top: 0.85rem;
  text-align: center;
}

.footer-contact-centre a {
  color: rgba(255, 255, 255, 0.94);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.footer-links {
  margin: 0;
  padding-left: 1rem;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.social-links {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.social-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-700);
}

.social-links a:hover {
  border-color: var(--blue-900);
  color: var(--blue-900);
}

.ad-slot--footer {
  margin-top: 1.2rem;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  margin-top: 1rem;
  padding: 0.9rem 0 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  text-align: center;
}

section.article-tags {
    margin-top: 1.1rem;
}

@media (max-width: 1120px) {
  .header-main {
    grid-template-columns: auto 1fr;
    min-height: 60px;
    gap: 0.55rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: right;
    margin-left: -0.2rem;
  }

  .brand {
    justify-self: center;
  }

  .header-search--desktop {
    display: none;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 340px);
    background: #ffffff;
    border-right: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(7, 27, 49, 0.2);
    padding: 0.8rem 0.8rem 1rem;
    overflow-y: auto;
    z-index: 92;
    display: block;
    transform: translateX(-110%);
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
  }

  .mobile-nav-head p {
    margin: 0;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: var(--ink-500);
  }

  .menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #d9e5f1;
    background: #ffffff;
    color: var(--ink-900);
    cursor: pointer;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(7, 23, 40, 0.42);
    z-index: 90;
  }

  .nav-backdrop.is-visible {
    display: block;
  }

  .header-search--mobile {
    display: flex;
    margin-bottom: 0.7rem;
  }

  .header-search--mobile input {
    min-width: 0;
    border-color: #c7d7e8;
    background: #ffffff;
  }

  .header-search--mobile button {
    border-color: #c7d7e8;
    background: #f1f6fb;
    color: var(--ink-900);
    padding: 0.5rem 0.75rem;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .primary-nav a {
    display: block;
    color: var(--ink-900);
    border-radius: 9px;
    border: 1px solid transparent;
    padding: 0.48rem 0.58rem;
    font-size: 0.95rem;
  }

  .primary-nav a[aria-current="page"],
  .primary-nav a:hover {
    background: #edf4fb;
    border-color: #d2e2f2;
    color: var(--blue-900);
  }

  .categories-toggle {
    width: 100%;
    justify-content: space-between;
    color: var(--ink-900);
    background: #f4f9ff;
    border-color: #d2e2f2;
    border-radius: 9px;
    padding: 0.48rem 0.58rem;
  }

  .nav-categories {
    width: 100%;
  }

  .categories-menu {
    position: static;
    width: 100%;
    margin-top: 0.45rem;
    border-color: #d4e2f0;
    border-radius: 10px;
    box-shadow: none;
    padding: 0.6rem;
  }

  .categories-menu ul {
    grid-template-columns: 1fr;
  }

  .home-hero-grid,
  .about-preview-grid,
  .article-layout,
  .contact-layout,
  .alerts-layout {
    grid-template-columns: 1fr;
  }

  .posts-grid,
  .posts-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-main {
    min-height: 56px;
  }

  .brand img {
    width: clamp(138px, 38vw, 190px);
  }

  .alerts-strip-inner {
    flex-wrap: wrap;
    padding: 0.25rem 0;
  }

  .alerts-map-link {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 0.85rem 0;
  }

  .container {
    width: min(92vw, calc(100% - 1rem));
  }

  .header-main {
    min-height: 52px;
  }

  .brand img {
    width: clamp(128px, 40vw, 168px);
  }

  .menu-toggle {
    padding: 0.35rem;
  }

  .menu-toggle-line {
    width: 20px;
    margin: 3px 0;
  }

  .breaking-strip-inner {
    min-height: 30px;
    gap: 0.45rem;
  }

  .breaking-label {
    font-size: 0.68rem;
    padding: 0.18rem 0.48rem;
  }

  .breaking-item {
    font-size: 0.8rem;
    max-width: 80vw;
  }

  .ad-slot--header {
    display: none;
  }

  .home-hero {
    padding-top: 0.75rem;
  }

  .lead-story-body {
    padding: 0.8rem 0.85rem 0.95rem;
  }

  .lead-story h1 {
    margin: 0.4rem 0 0.35rem;
    font-size: 1.42rem;
  }

  .lead-story p {
    font-size: 0.92rem;
  }

  .support-story {
    grid-template-columns: 120px 1fr;
    gap: 0.6rem;
  }

  .posts-grid,
  .posts-grid--compact {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.7rem;
  }

  .post-meta {
    margin-top: 0.45rem;
    gap: 0.45rem;
    font-size: 0.8rem;
  }

  .post-category {
    font-size: 0.68rem;
    padding: 0.22rem 0.52rem;
  }

  .post-card-content {
    padding: 0.72rem 0.72rem 0.78rem;
  }

  .post-card h3 {
    margin-top: 0.42rem;
    font-size: 1rem;
  }

  .post-card p {
    margin-top: 0.45rem;
    font-size: 0.89rem;
  }

  .article-main {
    padding: 0.9rem;
  }

  .article-main h1 {
    margin: 0.45rem 0 0.35rem;
    font-size: 1.5rem;
  }

  .post-meta--article {
    margin-bottom: 0.6rem;
  }

  .article-content {
    font-size: 0.97rem;
  }

  .article-content p,
  .article-content ul,
  .article-content ol,
  .article-content blockquote,
  .article-content figure,
  .article-content h2,
  .article-content h3 {
    margin-bottom: 0.85rem;
  }

  .article-sidebar section {
    padding: 0.8rem;
  }

  .ad-slot {
    margin-top: 0.5rem !important;
    padding: 0.48rem;
    font-size: 0.79rem;
  }

  .events-calendar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .support-story {
    grid-template-columns: 1fr;
  }

  .support-story-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .support-story > div {
    padding: 0.85rem;
  }

  .breaking-label {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
  }

  .breaking-item {
    font-size: 0.84rem;
  }

  .search-label {
    display: none;
  }

  .events-calendar-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .events-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-weekday {
    display: none;
  }

  .alerts-map-link {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
