@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/source-sans-3-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/source-sans-3-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/source-sans-3-latin-wght-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #0058ab;
  --blue-dark: #003f7d;
  --blue-tint: #eef4fb;
  --ink: #1b2430;
  --muted: #5a6573;
  --line: #d9e2ec;
  --bg: #ffffff;
  --radius: 10px;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Myriad Pro", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--blue-dark);
}

:focus-visible {
  outline: 3px solid #f2a900;
  outline-offset: 2px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--ink);
}
h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 700;
  margin: 0 0 0.4em;
}
h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  margin: 0 0 0.6em;
}
h3 {
  font-size: 1.2rem;
  margin: 0 0 0.3em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: #fff;
  padding: 8px 12px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
}
.brand img {
  display: block;
  width: 170px;
  height: auto;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.site-nav a:hover {
  background: var(--blue-tint);
  color: var(--blue);
}
.site-nav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -3px 0 var(--blue);
  border-radius: 0;
}
.nav-toggle {
  display: none;
}

@media (max-width: 860px) {
  .brand img {
    width: 140px;
  }
  .header-inner {
    min-height: 68px;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    position: relative;
  }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .nav-toggle-bars::before {
    top: -6px;
  }
  .nav-toggle-bars::after {
    top: 6px;
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open {
    display: block;
  }
  /* Without JavaScript the menu stays visible below the logo. */
  .no-js .site-nav {
    display: block;
    position: static;
  }
  .site-nav ul {
    flex-direction: column;
    padding: 8px 12px 16px;
  }
  .site-nav a {
    padding: 12px;
  }
  .site-nav a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--blue);
  }
}

/* Sections */
.hero {
  background: linear-gradient(180deg, var(--blue-tint), #fff);
  padding: 64px 0 48px;
}
.hero h1 {
  max-width: 22em;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}
.hero .prose {
  max-width: 40em;
  font-size: 1.2rem;
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.6em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6em;
}
.button {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.button:hover {
  background: var(--blue-dark);
  color: #fff;
}
.button-ghost {
  background: transparent;
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.button-ghost:hover {
  background: var(--blue);
}

.page-head {
  background: var(--blue-tint);
  padding: 48px 0 36px;
}
.page-head-tabs {
  padding-bottom: 0;
}
.tabs {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  overflow-x: auto;
}
.tabs a {
  padding: 14px 24px;
  border-radius: 12px 12px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.tabs a:hover {
  background: #fff;
}
.tabs a[aria-current="page"] {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 3px 0 var(--blue);
}
@media (max-width: 500px) {
  .tabs a {
    padding: 12px 16px;
    font-size: 1.05rem;
  }
}
.lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 40em;
  margin: 0;
}
.section {
  padding: 48px 0;
}
.section-tint {
  background: #f7f9fc;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.prose {
  max-width: 46em;
}
/* A full-width container that keeps text at reading width, aligned with the page heading. */
.wrap.prose {
  max-width: var(--wrap);
}
.wrap.prose > * {
  max-width: 46em;
}
.prose h2 {
  margin-top: 1.4em;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 0.5em;
}
.empty {
  color: var(--muted);
  font-style: italic;
}

.tiles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.tiles li {
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 22px;
}
.tiles h2 {
  font-size: 1.35rem;
}
.tiles a {
  text-decoration: none;
}
.tiles p {
  margin: 0;
  color: var(--muted);
}

.chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-list a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue-tint);
  text-decoration: none;
  font-weight: 600;
}

/* Organisations */
.org-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.org-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.org-card h3 a {
  text-decoration: none;
  color: var(--ink);
}
.org-card h3 a:hover {
  color: var(--blue);
}
.org-card p {
  margin: 0 0 0.4em;
  color: var(--muted);
  font-size: 1rem;
}
.org-logo {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}
.org-initials {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
}
.org-links {
  list-style: none;
  padding: 0;
  margin: 0.3em 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.95rem;
  font-weight: 600;
}
.org-head {
  display: flex;
  gap: 20px;
  align-items: center;
}
.org-head .org-logo {
  width: 88px;
  height: 88px;
}
.org-head h1 {
  margin-bottom: 0.1em;
}
.legal-name {
  margin: 0;
  color: var(--muted);
}

/* News */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.post-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-card > div {
  padding: 18px;
}
.post-card h3 a {
  text-decoration: none;
  color: var(--ink);
}
.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 0.4em;
}
.cover {
  border-radius: var(--radius);
  margin-bottom: 1.4em;
}

.local-card .read-at {
  margin-top: 0.6em;
  font-weight: 600;
}
.local-card .also-in {
  margin-top: 0.4em;
  font-size: 0.9rem;
}
.note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 46em;
}
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  font-weight: 600;
}
.pager span {
  color: var(--muted);
  font-weight: 400;
}

/* Contacts */
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-card h2 {
  font-size: 1.25rem;
}
.contact-card p {
  margin: 0 0 0.6em;
}

/* Footer */
.site-footer {
  background: var(--blue);
  color: #e4eefa;
  padding: 48px 0 0;
  font-size: 1rem;
}
.site-footer a {
  color: #fff;
}
.site-footer h2 {
  color: #fff;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.3fr 1fr 0.7fr;
}
.footer-name {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 4px;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 0.9rem;
}
.footer-legal p {
  margin: 0;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .org-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
