:root {
  --ink: #172033;
  --muted: #5e6a7c;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #dfe4ea;
  --navy: #18324a;
  --green: #27735f;
  --red: #b84634;
  --gold: #d9a928;
  --sky: #cfe6f4;
  --shadow: 0 20px 50px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(23, 32, 51, 0.1);
  backdrop-filter: blur(14px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.nav {
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(28px, 6vw, 70px);
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 22, 35, 0.82) 0%, rgba(14, 22, 35, 0.58) 42%, rgba(14, 22, 35, 0.16) 100%),
    linear-gradient(0deg, rgba(14, 22, 35, 0.3), rgba(14, 22, 35, 0.05));
}

.hero-content {
  max-width: 760px;
  color: var(--white);
}

.eyebrow,
.section-kicker,
.post-meta {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button {
  padding: 12px 18px;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.band {
  padding: clamp(46px, 8vw, 86px) 0;
  background: var(--white);
}

.compact-band {
  padding: clamp(34px, 6vw, 64px) 0;
}

.knowledge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 6vw, 78px);
  align-items: stretch;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 8vw, 92px) 0 28px;
}

.knowledge-hero-copy {
  display: grid;
  align-content: center;
  min-height: 470px;
  padding: clamp(28px, 6vw, 62px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 24, 39, 0.9), rgba(16, 24, 39, 0.58)),
    url("hero-bus-anglia.png") center / cover;
  border-radius: 8px;
  overflow: hidden;
}

.knowledge-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.35rem, 5.5vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.knowledge-hero-copy p {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.quick-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-panel strong {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.quick-panel a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.quick-panel a:hover {
  color: var(--white);
  background: var(--navy);
}

.quick-panel span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-size: 0.78rem;
}

.issue-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.issue-strip a {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.issue-strip a:hover {
  color: var(--white);
  background: var(--red);
}

.compact-heading {
  margin-top: 0;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.knowledge-block {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.knowledge-block span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.knowledge-block ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.knowledge-block a {
  font-weight: 800;
}

.intro-grid,
.two-col,
.logistics-grid,
.cta,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.section-heading {
  max-width: 820px;
  margin: clamp(54px, 8vw, 92px) 0 30px;
}

.section-heading.narrow {
  max-width: 760px;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.source-note {
  padding: 24px;
  background: #eef6f2;
  border: 1px solid #c8dfd4;
  border-radius: 8px;
}

.filters {
  margin-bottom: 24px;
}

.filter-button {
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.filter-button.active,
.filter-button:hover {
  color: var(--white);
  background: var(--navy);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: clamp(50px, 8vw, 92px);
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: clamp(46px, 7vw, 82px);
}

.list-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
}

.list-item.highlighted {
  grid-template-columns: 180px minmax(0, 1fr);
  background: #f3f7f8;
}

.list-item img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.list-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.list-item p:last-of-type {
  margin-bottom: 10px;
}

.list-item a {
  font-weight: 850;
}

.post-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
}

.post-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.post-card.featured {
  grid-column: span 2;
}

.post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.post-body a {
  font-weight: 800;
}

.post-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.post-meta {
  color: var(--green);
}

.post-card.compact {
  min-height: 280px;
}

.icon-panel {
  display: grid;
  min-height: 110px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-size: 2.15rem;
  font-weight: 900;
}

.icon-panel.red {
  background: var(--red);
}

.icon-panel.green {
  background: var(--green);
}

.icon-panel.gold {
  color: var(--ink);
  background: var(--gold);
}

.checklist {
  display: grid;
  gap: 10px;
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.checklist label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 48px;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checklist input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 800;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: clamp(48px, 8vw, 86px);
}

.info-list article,
.topic-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-list span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.split-band {
  background: #edf4f7;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  padding: 18px;
  background: var(--white);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08);
}

.timeline p {
  margin-bottom: 0;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.route-grid article,
.regional-note {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
}

.route-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.regional-note {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 18px 28px;
  align-items: start;
  margin: 22px 0 clamp(50px, 8vw, 90px);
  border-left: 5px solid var(--gold);
}

.regional-note h3,
.regional-note p {
  margin-bottom: 0;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: clamp(50px, 8vw, 90px);
}

.topic-grid article:nth-child(2) {
  border-top: 5px solid var(--gold);
}

.topic-grid article:nth-child(3) {
  border-top: 5px solid var(--green);
}

.topic-grid article:nth-child(4) {
  border-top: 5px solid var(--red);
}

.source-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.source-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.source-links a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.source-links a:hover {
  color: var(--white);
  background: var(--navy);
}

.cta-band {
  padding: clamp(42px, 7vw, 76px) 0;
  color: var(--white);
  background: var(--navy);
}

.cta {
  align-items: center;
}

.cta p {
  color: #dce6ee;
}

.article-page {
  padding-bottom: clamp(52px, 8vw, 96px);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: min(1160px, calc(100% - 36px));
  margin: clamp(34px, 7vw, 78px) auto;
}

.article-hero img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-hero-plain {
  display: block;
  max-width: 880px;
}

.article-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.article-hero p {
  font-size: 1.12rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 780px);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.article-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-toc a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--green);
}

.article-content {
  padding: clamp(24px, 5vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-content h2 {
  margin-top: 28px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content ul {
  padding-left: 22px;
}

.article-callout {
  margin: 28px 0;
  padding: 20px;
  background: #eef6f2;
  border-left: 5px solid var(--green);
  border-radius: 8px;
}

.article-callout p {
  margin-bottom: 0;
}

.article-next {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-next a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.article-next a:hover {
  color: var(--white);
  background: var(--navy);
}

.footer {
  padding: 36px 0;
  color: #dce6ee;
  background: #101827;
}

.footer p {
  margin-bottom: 0;
}

.is-hidden {
  display: none;
}

@media (max-width: 920px) {
  .site-header,
  .knowledge-hero,
  .intro-grid,
  .two-col,
  .checklist-layout,
  .source-grid,
  .logistics-grid,
  .cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
    justify-items: start;
  }

  .article-grid,
  .article-list,
  .info-list,
  .route-grid,
  .knowledge-grid,
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .article-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }

  .post-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .nav {
    gap: 12px;
  }

  .hero {
    min-height: 720px;
    padding: 24px 18px;
    align-items: end;
  }

  .knowledge-hero-copy {
    min-height: 560px;
    padding: 24px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(14, 22, 35, 0.9) 0%, rgba(14, 22, 35, 0.58) 64%, rgba(14, 22, 35, 0.24) 100%);
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .article-grid,
  .article-list,
  .info-list,
  .route-grid,
  .knowledge-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .issue-strip,
  .source-links {
    grid-template-columns: 1fr;
  }

  .list-item,
  .list-item.highlighted {
    grid-template-columns: 1fr;
  }

  .list-item.highlighted img {
    height: auto;
  }

  .regional-note {
    grid-template-columns: 1fr;
  }

  .post-card.featured {
    grid-column: span 1;
  }

  .button,
  .filter-button {
    width: 100%;
  }

  .post-links,
  .article-next {
    display: grid;
  }
}
