:root {
  --page-bg: #020617;
  --page-panel: #0a1130;
  --page-panel-soft: #121d32;
  --page-border: rgba(255, 255, 255, 0.08);
  --page-text: #f8fafc;
  --page-muted: rgba(226, 232, 240, 0.78);
  --page-blue: #2da8ff;
  --page-gold: #d4af37;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(45, 168, 255, 0.08), transparent 22%), var(--page-bg);
  color: var(--page-text);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
}

.page-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-nav-inner,
.page-main,
.page-footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 5rem;
  position: relative;
}

.page-nav-top-row {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  gap: 0.75rem;
}

.page-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  position: static;
  transform: none;
}

.page-brand-mark {
  display: block;
  width: clamp(2.9rem, 5vw, 4.1rem);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.page-brand-lockup {
  display: block;
  width: clamp(8.5rem, 16vw, 12rem);
  height: auto;
  object-fit: contain;
}

.page-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  margin-left: clamp(11rem, 16vw, 14rem);
}

.page-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.8);
  cursor: pointer;
}

.page-mobile-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
}

.page-mobile-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 1rem;
  width: min(100%, 20rem);
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 24px 52px rgba(2, 6, 23, 0.24);
  z-index: 20;
}

.page-mobile-panel.is-open {
  display: grid;
  gap: 0.35rem;
}

.page-mobile-link {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  color: rgba(226, 232, 240, 0.92);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-mobile-link:hover,
.page-mobile-link:focus {
  background: rgba(255, 255, 255, 0.06);
}

.page-nav-link {
  color: rgba(226, 232, 240, 0.84);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease;
  white-space: nowrap;
}

.page-nav-link:hover,
.page-nav-link.is-active {
  color: var(--page-gold);
}

.page-nav-link[href="./endorsement.html"] {
  color: #ef4444;
}

.page-nav-link[href="./endorsement.html"]:hover {
  color: #f87171;
}

.page-main {
  padding: 4rem 0 5rem;
}

.page-hero {
  padding: 2rem 0 2.5rem;
}

.page-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--page-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-title {
  margin: 1rem 0 1rem;
  font-family: Outfit, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-description {
  max-width: 52rem;
  margin: 0;
  color: var(--page-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.resources-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.resources-toc {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  width: 3.25rem;
  overflow: hidden;
  transition: width 220ms ease;
  z-index: 5;
}

.resources-toc-panel {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: 1.25rem 1rem 1.35rem;
  border-left: 3px solid #ad67ff;
  background:
    linear-gradient(180deg, rgba(129, 91, 255, 0.28), rgba(74, 42, 163, 0.14)),
    rgba(18, 20, 52, 0.88);
  border-radius: 0 1.1rem 1.1rem 0;
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.28);
  width: min(17rem, calc(100vw - 2rem));
  transform: translateX(calc(-100% + 1.5rem));
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.resources-toc-panel::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.5rem;
  width: 0.55rem;
  height: 3.75rem;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #7cd7ff, #ad67ff);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(124, 215, 255, 0.4);
}

.resources-toc:hover .resources-toc-panel,
.resources-toc:focus-within .resources-toc-panel {
  transform: translateX(0);
  box-shadow: 0 24px 52px rgba(2, 6, 23, 0.36);
}

.resources-toc:hover,
.resources-toc:focus-within {
  width: min(17rem, calc(100vw - 2rem));
}

.resources-toc-group,
.resources-toc-heading,
.resources-toc-link {
  opacity: 0;
  transition: opacity 140ms ease;
}

.resources-toc:hover .resources-toc-group,
.resources-toc:hover .resources-toc-heading,
.resources-toc:hover .resources-toc-link,
.resources-toc:focus-within .resources-toc-group,
.resources-toc:focus-within .resources-toc-heading,
.resources-toc:focus-within .resources-toc-link {
  opacity: 1;
}

.resources-toc-group {
  display: grid;
  gap: 0.7rem;
}

.resources-toc-heading {
  margin: 0;
  color: #32b2ff;
  font-family: Outfit, sans-serif;
  font-size: 1.25rem;
  line-height: 1.1;
}

.resources-toc-link {
  color: rgba(255, 255, 255, 0.94);
  font-family: Outfit, sans-serif;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.resources-toc-link:hover {
  color: #7cd7ff;
  transform: translateX(2px);
}

.resources-content {
  min-width: 0;
}

[id^="resources-"] {
  scroll-margin-top: 7rem;
}

.resources-feature {
  display: grid;
  gap: 2rem;
  padding: 1rem 0 0;
}

.resources-feature-header {
  display: grid;
  gap: 1rem;
}

.resources-feature-heading {
  margin: 0;
  color: var(--page-blue);
  font-family: Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.resources-feature-description {
  max-width: 48rem;
  margin: 0;
  color: var(--page-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.resources-initiative-card {
  display: grid;
  gap: 1.5rem;
}

.resources-initiative-frame {
  position: relative;
  overflow: hidden;
  background: #09112f;
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.28);
}

.resources-initiative-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.resources-initiative-copy {
  display: grid;
  gap: 0.85rem;
  padding: 0.5rem 0 0;
}

.resources-initiative-title {
  margin: 0;
  color: var(--page-blue);
  font-family: Outfit, sans-serif;
  font-size: 1.15rem;
  line-height: 1.35;
}

.resources-initiative-text {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.95rem;
  line-height: 1.8;
}

.resources-highlight-card {
  display: grid;
  gap: 1.6rem;
  padding-top: 1.25rem;
}

.resources-highlight-media {
  width: min(100%, 52rem);
  margin: 0 auto;
}

.resources-highlight-image {
  min-height: 34rem;
}

.resources-highlight-next {
  right: 0.75rem;
}

.resources-highlight-dots {
  bottom: 1rem;
}

.resources-highlight-popup {
  max-width: 16rem;
}

.resources-highlight-entry {
  display: grid;
  gap: 1rem;
  width: min(100%, 57rem);
}

.resources-highlight-copy {
  display: grid;
  gap: 2rem;
  justify-items: center;
  text-align: left;
}

.resources-highlight-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(100%, 52rem);
  margin: -0.25rem auto 0;
  padding: 0.4rem 0 0;
}

.resources-topic-item {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
}

.resources-topic-icon {
  width: 4.75rem;
  height: 4.75rem;
  display: grid;
  place-items: center;
  padding: 0.5rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(237, 242, 247, 0.98) 70%),
    #ffffff;
  box-shadow:
    0 10px 24px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.resources-topic-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.resources-topic-label {
  margin: 0;
  max-width: 11rem;
  color: rgba(248, 250, 252, 0.96);
  font-family: Outfit, sans-serif;
  font-size: 0.94rem;
  line-height: 1.2;
  min-height: 2.3em;
}

.resources-highlight-title {
  margin: 0;
  color: var(--page-blue);
  font-family: Outfit, sans-serif;
  font-size: 1.85rem;
  line-height: 1.2;
  text-align: center;
}

.resources-highlight-text {
  width: 100%;
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.95rem;
  line-height: 1.8;
}

.resources-inline-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

.resources-inline-feature-image-shell {
  overflow: hidden;
  border-radius: 1.8rem;
  background: #0f1737;
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.28);
}

.resources-inline-feature-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.resources-inline-feature-copy {
  display: grid;
  gap: 1.3rem;
  align-content: center;
}

.resources-inline-feature-text {
  margin: 0;
  color: rgba(248, 250, 252, 0.96);
  font-size: 0.98rem;
  line-height: 1.9;
  font-weight: 600;
}

.resources-sparta-logo-section {
  display: grid;
  place-items: center;
  margin-top: 1rem;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  line-height: 0;
}

.resources-sparta-card {
  display: grid;
  gap: 1.4rem;
  margin-top: -0.35rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 28px 64px rgba(2, 6, 23, 0.22);
}

.resources-sparta-image {
  display: block;
  width: 100%;
  height: clamp(13rem, 24vw, 17rem);
  max-height: none;
  object-fit: contain;
  object-position: center center;
  transform: scale(2.10);
}

.resources-sparta-copy {
  display: grid;
  gap: 2.2rem;
  width: 100%;
  margin: 0;
}

.resources-sparta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.resources-sparta-grid--middle,
.resources-sparta-grid--bottom {
  align-items: start;
}

.resources-sparta-text-card {
  min-height: 100%;
  padding: 0;
}

.resources-sparta-text-card--plain {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.resources-sparta-card-text {
  margin: 0;
  color: #233b9d;
  font-size: 0.97rem;
  line-height: 1.75;
}

.resources-sparta-card-text + .resources-sparta-card-text {
  margin-top: 1.4rem;
}

.resources-sparta-image-stack {
  display: grid;
  gap: 1.5rem;
}

.resources-sparta-image-single {
  display: block;
}

.resources-sparta-grid--bottom .resources-sparta-image-single {
  align-self: end;
}

.resources-sparta-gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 1px solid rgba(35, 59, 157, 0.06);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.resources-pdp-card {
  overflow: hidden;
  margin-top: 0.75rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 56px rgba(2, 6, 23, 0.24);
}

.resources-pdp-hero {
  position: relative;
  min-height: 22rem;
  background: #dfe8f7;
}

.resources-pdp-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.resources-pdp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 17, 48, 0.02) 0%, rgba(23, 51, 142, 0.62) 100%);
}

.resources-pdp-hero-content {
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.resources-pdp-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  border-radius: 999px;
  flex: 0 0 auto;
}

.resources-pdp-title {
  margin: 0;
  color: #ffffff;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
}

.resources-pdp-title-line {
  display: block;
}

.resources-pdp-copy {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem 3rem 2.1rem;
}

.resources-pdp-text {
  margin: 0;
  color: #21398f;
  font-size: 0.95rem;
  line-height: 1.75;
}

.resources-niasd-section {
  display: grid;
  gap: 1.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(33, 57, 143, 0.12);
}

.resources-niasd-title {
  margin: 0;
  color: #31479f;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.resources-niasd-lead {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.resources-niasd-book-shell {
  position: relative;
  display: grid;
  justify-items: start;
  align-content: start;
  padding-top: 0.35rem;
}

.resources-niasd-book {
  display: block;
  width: min(100%, 12rem);
  height: auto;
  object-fit: contain;
}

.resources-niasd-logo {
  position: absolute;
  left: 5.9rem;
  bottom: 0.75rem;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 999px;
  background: #ffffff;
}

.resources-niasd-copy {
  display: grid;
  gap: 1rem;
}

.resources-niasd-text {
  margin: 0;
  color: #21398f;
  font-size: 0.95rem;
  line-height: 1.72;
}

.resources-strategy-panel {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.5rem;
  padding: 2rem;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  border: 1px solid rgba(33, 57, 143, 0.12);
}

.resources-strategy-lead {
  display: grid;
  grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.resources-strategy-visual {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  border-radius: 1.8rem;
  background: #1d2e88;
  box-shadow: 0 20px 40px rgba(17, 33, 84, 0.22);
}

.resources-strategy-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.resources-strategy-image-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: #ffffff;
  font-family: Outfit, sans-serif;
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 700;
  text-shadow: 0 10px 24px rgba(4, 11, 38, 0.48);
}

.resources-strategy-copy {
  display: grid;
  gap: 1rem;
}

.resources-strategy-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.resources-strategy-logo {
  width: clamp(4.75rem, 9vw, 6rem);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.resources-strategy-title {
  margin: 0;
  color: #2f3fa5;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  font-weight: 700;
}

.resources-strategy-body {
  display: grid;
  gap: 1rem;
}

.resources-strategy-text {
  margin: 0;
  color: #21398f;
  font-size: 0.98rem;
  line-height: 1.82;
}

.resources-strategy-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #21398f;
  font-size: 0.98rem;
  line-height: 1.78;
}

.resources-strategy-list li + li {
  margin-top: 0.4rem;
}

.resources-asean-panel {
  display: grid;
  gap: 2rem;
  margin-top: 0.5rem;
  padding: 2rem;
  border-radius: 1.75rem;
  background: #101336;
  box-shadow: 0 22px 44px rgba(6, 10, 33, 0.28);
}

.resources-asean-heading {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.resources-asean-logo {
  width: clamp(4.5rem, 9vw, 6.2rem);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.resources-asean-title {
  margin: 0;
  max-width: 24rem;
  color: #ffffff;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.18;
  font-weight: 700;
}

.resources-asean-copy {
  display: grid;
  gap: 1.35rem;
}

.resources-asean-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.98rem;
  line-height: 1.9;
  font-weight: 600;
}

.resources-eu-panel {
  overflow: hidden;
  margin-top: 0.5rem;
  border-radius: 1.75rem;
  background: #173f9f;
  box-shadow: 0 24px 48px rgba(11, 30, 82, 0.28);
}

.resources-eu-hero {
  position: relative;
  min-height: 30rem;
  background: #163c98;
}

.resources-eu-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 30rem;
  object-fit: cover;
}

.resources-eu-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 52, 151, 0.32) 0%, rgba(13, 52, 151, 0.18) 45%, rgba(13, 52, 151, 0.08) 100%);
}

.resources-eu-hero-card {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: min(54%, 25rem);
  max-height: none;
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(4px);
  overflow: visible;
}

.resources-eu-hero-text {
  margin: 0;
  color: #28408f;
  font-size: 0.88rem;
  line-height: 1.58;
}

.resources-eu-body {
  display: grid;
  gap: 1.35rem;
  padding: 1.5rem 1.75rem 1.75rem;
}

.resources-eu-body-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.98rem;
  line-height: 1.88;
  font-weight: 600;
}

.resources-bletchley-panel {
  margin-top: 0.5rem;
  border-radius: 1.75rem;
  box-shadow: 0 24px 52px rgba(6, 10, 33, 0.28);
  overflow: hidden;
}

.resources-bletchley-background {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  padding: 2.5rem 2.4rem 2.6rem;
  background: #173773;
}

.resources-bletchley-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resources-bletchley-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 30, 79, 0.9) 0%, rgba(26, 63, 138, 0.72) 48%, rgba(26, 63, 138, 0.28) 80%),
    linear-gradient(180deg, rgba(20, 70, 154, 0.1) 0%, rgba(73, 122, 208, 0.38) 80%);
}

.resources-bletchley-title {
  margin: 0;
  color: #ffffff;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.16;
  font-weight: 700;
}

.resources-bletchley-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.35rem;
  align-content: start;
  width: min(100%, 56rem);
}

.resources-bletchley-copy--hero {
  min-height: 29rem;
}

.resources-bletchley-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.98rem;
  line-height: 1.88;
  font-weight: 600;
}

.resources-bletchley-report {
  display: grid;
  gap: 1.2rem;
  margin-top: 1rem;
  padding: 2rem;
  border-radius: 1.75rem;
  background: #101336;
  box-shadow: 0 22px 44px rgba(6, 10, 33, 0.22);
}

.resources-bletchley-report--secondary {
  margin-top: 0.75rem;
}

.resources-bletchley-report-card {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border-radius: 1.5rem;
  background: #f8f8f6;
  box-shadow: inset 0 0 0 1px rgba(13, 81, 167, 0.06);
}

.resources-bletchley-report-lead {
  display: grid;
  grid-template-columns: 14.5rem minmax(0, 1fr);
  gap: 1.55rem;
  align-items: start;
}

.resources-bletchley-report-visual {
  width: 14.5rem;
}

.resources-bletchley-report-lead--reverse {
  grid-template-columns: minmax(0, 1fr) 14.5rem;
}

.resources-bletchley-report-visual--un {
  align-self: end;
  justify-self: end;
  width: min(100%, 13rem);
  margin-top: auto;
}

.resources-bletchley-report-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 0;
  object-fit: cover;
}

.resources-bletchley-report-image--un {
  object-fit: contain;
}

.resources-bletchley-report-copy,
.resources-bletchley-report-body {
  display: grid;
  gap: 1.25rem;
}

.resources-bletchley-report-title {
  margin: 0;
  color: #ffffff;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  line-height: 1.16;
  font-weight: 700;
  text-align: center;
}

.resources-bletchley-report-title--card {
  color: #0d6dc9;
  text-align: left;
}

.resources-bletchley-report-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.95rem;
  line-height: 1.72;
  font-weight: 600;
}

.resources-bletchley-report-text--card {
  color: #0d6dc9;
}

.resources-policy-note {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.5rem;
  padding: 2rem;
  border-radius: 1.75rem;
  background: #2d36a5;
}

.resources-policy-note-title {
  margin: 0;
  color: #ffffff;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  text-align: center;
}

.resources-policy-note-body {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.resources-policy-note-visual {
  position: relative;
  min-height: 20rem;
  display: grid;
  align-items: end;
  justify-items: start;
}

.resources-policy-note-book {
  display: block;
  width: min(100%, 14rem);
  height: auto;
  object-fit: contain;
  transform: rotate(-12deg);
  transform-origin: bottom left;
  box-shadow: 0 18px 36px rgba(10, 17, 48, 0.3);
}

.resources-policy-note-logo {
  position: absolute;
  right: 0.5rem;
  bottom: 0.4rem;
  width: 4.1rem;
  height: 4.1rem;
  object-fit: contain;
  border-radius: 999px;
  background: #ffffff;
}

.resources-policy-note-copy {
  display: grid;
  gap: 1.35rem;
}

.resources-policy-note-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.97rem;
  line-height: 1.85;
  font-weight: 600;
}

.courses-page-section {
  display: grid;
  gap: 1.75rem;
}

.courses-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.courses-page-grid .course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.courses-page-grid .course-card > .p-6 {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.courses-page-grid .course-card .mt-6 {
  margin-top: auto;
}

.courses-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.courses-pagination-button {
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: rgba(226, 232, 240, 0.88);
  font-family: Outfit, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.courses-pagination-button:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.4);
  color: #ffffff;
}

.courses-pagination-button.is-active {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.18);
  color: var(--page-gold);
}

.courses-linang-cta {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.25rem;
}

.courses-linang-button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0;
  background: transparent;
  color: #f8fafc;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.courses-linang-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.courses-linang-label {
  color: rgba(248, 250, 252, 0.9);
  font-family: Outfit, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.courses-linang-logo {
  display: block;
  width: min(17rem, 72vw);
  height: auto;
  border-radius: 0.9rem;
  background: #ffffff;
  padding: 0.5rem 0.85rem;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.26);
}

.page-grid {
  display: grid;
  gap: 1.5rem;
}

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

.events-page-section {
  padding-top: 0.75rem;
}

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

.events-page-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.18);
}

.events-page-card-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
}

.events-page-date {
  display: grid;
  justify-items: center;
  min-width: 3.7rem;
  padding: 0.45rem 0.55rem 0.55rem;
  border-radius: 0.65rem;
  background: #2436a8;
  color: #ffffff;
}

.events-page-month {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.events-page-day {
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
}

.events-page-title {
  margin: 0;
  color: #2436a8;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.events-page-panel {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  min-height: 9rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1.5rem;
  color: #ffffff;
}

.events-page-card--violet .events-page-panel {
  background: linear-gradient(135deg, #6441ff, #4738dc);
}

.events-page-card--gold .events-page-panel {
  background: linear-gradient(135deg, #e4aa00, #cf9400);
}

.events-page-card--coral .events-page-panel {
  background: linear-gradient(135deg, #f1533d, #e8412d);
}

.events-page-card--green .events-page-panel {
  background: linear-gradient(135deg, #14c26d, #14a957);
}

.events-page-copy {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.38;
  font-weight: 600;
}

.events-page-copy--small {
  font-size: 0.72rem;
  font-weight: 800;
}

.events-page-list {
  margin: 0.2rem 0 0;
  padding-left: 1rem;
  font-size: 0.84rem;
  line-height: 1.28;
  font-weight: 700;
}

.events-page-meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.45rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.endorsement-page-section {
  padding-top: 0.75rem;
}

.endorsement-shell {
  display: grid;
  gap: 1.8rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 255, 0.98));
  box-shadow: 0 24px 56px rgba(2, 6, 23, 0.2);
}

.endorsement-heading {
  margin: 0;
  color: #334155;
  font-family: Outfit, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  text-align: center;
}

.endorsement-intro {
  max-width: 54rem;
  margin: 0 auto;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.8;
  text-align: center;
}

.endorsement-steps {
  display: grid;
  gap: 1.5rem;
}

.endorsement-step {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 13rem;
  padding: 1.75rem 2rem;
  border-radius: 0;
  color: #ffffff;
  overflow: hidden;
}

.endorsement-step--red {
  background: linear-gradient(90deg, #d54b44 0%, #d54b44 82%, #df4a49 82%, #df4a49 100%);
}

.endorsement-step--violet {
  background: linear-gradient(90deg, #9b5ccf 0%, #9b5ccf 82%, #a468d8 82%, #a468d8 100%);
}

.endorsement-step--blue {
  background: linear-gradient(90deg, #4a82e4 0%, #4a82e4 82%, #3c77e0 82%, #3c77e0 100%);
}

.endorsement-step-copy {
  display: grid;
  gap: 0.75rem;
  padding-inline: 0.2rem;
}

.endorsement-step-label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.endorsement-step-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
}

.endorsement-step-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.94rem;
  line-height: 1.55;
  font-weight: 600;
}

.endorsement-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.2rem;
}

.endorsement-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.endorsement-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
}

.endorsement-action-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #dbeafe;
  font-size: 1rem;
}

.endorsement-step-icon {
  display: grid;
  place-items: center;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  font-size: 3.2rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  margin-right: -0.35rem;
}

.endorsement-step-icon-image {
  display: block;
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.endorsement-step--left {
  grid-template-columns: auto 1fr;
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.endorsement-step--left .endorsement-step-icon {
  order: -1;
  margin-right: 0;
  margin-left: -0.35rem;
}

.endorsement-step--right {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

.page-card {
  border: 1px solid var(--page-border);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(18, 29, 50, 0.98), rgba(10, 17, 48, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(2, 6, 23, 0.24);
}

.resource-page-card {
  display: grid;
  gap: 1.15rem;
  padding: 1.5rem;
}

.resource-page-visual {
  min-height: 15rem;
  display: grid;
  place-items: center;
  border-radius: 1.2rem;
  background: #121d32;
}

.resource-page-visual img {
  width: min(100%, 13rem);
  max-height: 13.5rem;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.34));
}

.resource-page-title,
.timeline-page-title,
.faq-page-question {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 1.2rem;
  line-height: 1.3;
}

.resource-page-copy,
.timeline-page-copy,
.faq-page-answer {
  margin: 0;
  color: var(--page-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.82rem 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--page-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.page-button:hover {
  transform: translateY(-1px);
  color: var(--page-gold);
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(15, 23, 42, 0.9);
}

.page-section {
  margin-top: 2.5rem;
}

.page-section-heading {
  margin: 0 0 1rem;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.page-section-copy {
  max-width: 48rem;
  margin: 0 0 1.5rem;
  color: var(--page-muted);
  line-height: 1.8;
}

.page-copy-stack {
  display: grid;
  gap: 0.2rem;
}

.timeline-list,
.faq-list-page {
  display: grid;
  gap: 1.25rem;
}

.faq-list-page {
  display: grid;
  gap: 1.25rem;
  width: max-content;
  max-width: 100%;
}

.timeline-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.35rem;
  padding: 1.35rem;
}

.timeline-card img {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  border-radius: 1rem;
  object-fit: cover;
}

.timeline-page-meta {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--page-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-page-layout {
  display: grid;
  gap: 1.5rem;
}

.about-carousel-card,
.about-page-copy {
  padding: 1.5rem;
}

.about-page-carousel-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #121d32;
}

.about-page-carousel-image {
  width: 100%;
  min-height: 26rem;
  display: block;
  object-fit: cover;
  border-radius: 1.2rem;
}

.about-page-popup {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.28rem;
  max-width: min(75%, 22rem);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.95rem;
  background: rgba(8, 15, 39, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.26);
}

.about-page-popup.is-hidden {
  display: none;
}

.about-page-popup-label {
  color: rgba(191, 219, 254, 0.9);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-page-popup-title {
  color: var(--page-text);
  font-family: Outfit, sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 600;
}

.about-page-next {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.about-page-next:hover {
  transform: translateY(-50%) scale(1.04);
  background: rgba(30, 41, 59, 0.88);
}

.about-page-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.about-page-dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.about-page-dot.is-active {
  background: #ffffff;
  transform: scale(1.15);
}

.about-page-details {
  display: block;
}

.about-dap-section {
  padding: 1.5rem;
}

.about-program-list {
  display: grid;
  gap: 1rem;
}

.about-program-item {
  padding: 1rem 1rem 1.05rem;
}

.about-program-name {
  margin: 0 0 0.45rem;
  color: var(--page-blue);
  font-family: Outfit, sans-serif;
  font-size: 1.02rem;
}

.about-program-copy {
  margin: 0;
  color: var(--page-muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.faq-item-page {
  display: grid;
  gap: 0.9rem;
  width: 100%;
  min-width: 0;
}

.faq-item-page.is-open .faq-page-toggle-icon {
  transform: rotate(45deg);
}

.faq-page-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(18, 29, 50, 0.98), rgba(10, 17, 48, 0.98));
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-page-toggle-icon {
  color: var(--page-gold);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-page-answer {
  margin: 0;
  width: min(100%, 54rem);
  min-width: 0;
  max-width: 54rem;
  padding: 0 1.4rem 0.1rem;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.page-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4rem;
  background:
    linear-gradient(180deg, rgba(10, 17, 48, 0.98), rgba(18, 29, 50, 0.98));
  color: rgba(226, 232, 240, 0.78);
}

.page-footer-inner {
  padding: 1.5rem 0 1rem;
}

.gov-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.9fr 1fr 0.8fr;
  gap: 1.1rem;
  align-items: start;
}

.gov-footer-brand {
  display: grid;
  gap: 0.9rem;
}

.gov-footer-brand-mark {
  width: 3.7rem;
  height: 3.7rem;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.gov-footer-brand-copy,
.gov-footer-text,
.gov-footer-link,
.gov-footer-bottom {
  font-size: 0.88rem;
  line-height: 1.45;
}

.gov-footer-links {
  display: grid;
  gap: 0.35rem;
}

.gov-footer-link {
  color: rgba(226, 232, 240, 0.78);
  text-decoration: none;
  transition: color 180ms ease;
}

.gov-footer-link:hover {
  color: var(--page-gold);
}

.gov-footer-copy {
  display: grid;
  gap: 0.7rem;
}

.gov-footer-heading {
  margin: 0;
  color: #f8fafc;
  font-family: Outfit, sans-serif;
  font-size: 0.92rem;
  line-height: 1.3;
}

.gov-footer-text {
  margin: 0;
}

.gov-footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 0.7rem;
  background: rgba(15, 23, 42, 0.72);
  color: var(--page-gold);
  font-family: Outfit, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.gov-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.gov-footer-badge {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  font-size: 0.62rem;
  font-weight: 700;
}

.gov-footer-social {
  display: grid;
  gap: 0.8rem;
  justify-content: start;
}

.gov-footer-social-row {
  display: flex;
  gap: 0.55rem;
}

.gov-footer-social-link {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.82);
  color: #ffffff;
  font-family: Outfit, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.gov-footer-bottom {
  margin-top: 1.2rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gov-footer-bottom p {
  margin: 0;
}

@media (max-width: 960px) {
  .resources-layout {
    grid-template-columns: 1fr;
  }

  .resources-toc {
    display: none;
  }

  .page-nav-inner,
  .page-main,
  .page-footer-inner {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .page-nav-inner {
    display: block;
    min-height: auto;
    padding: 0.7rem 0 0.85rem;
  }

  .page-nav-top-row {
    position: static;
    transform: none;
    width: 100%;
  }

  .page-mobile-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .page-nav-links {
    margin-left: 0;
    display: none;
  }

  .page-mobile-panel {
    margin-top: 0.8rem;
    right: 0;
    width: 100%;
    padding: 0.4rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.28);
  }

  .page-main {
    padding: 2.75rem 0 4rem;
  }

  .page-hero {
    padding: 1.35rem 0 1.8rem;
  }

  .courses-page-grid,
  .events-page-grid,
  .page-grid.resources-grid,
  .timeline-card {
    grid-template-columns: 1fr;
  }

  .endorsement-step {
    grid-template-columns: 1fr;
    justify-items: start;
    border-radius: 2rem;
  }

  .endorsement-step-icon,
  .endorsement-step--left .endorsement-step-icon {
    margin-left: 0;
    margin-right: 0;
  }

  .resources-highlight-text,
  .page-description,
  .page-section-copy {
    max-width: 100%;
  }

  .resources-highlight-image {
    min-height: 24rem;
  }

  .resources-pdp-copy,
  .resources-sparta-copy {
    width: min(100%, calc(100% - 1.5rem));
  }

  .timeline-card img {
    min-height: 14rem;
  }

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

@media (max-width: 640px) {
  .page-nav-inner,
  .page-main,
  .page-footer-inner {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .faq-list-page,
  .faq-page-answer {
    max-width: 100%;
  }

  .faq-page-answer {
    width: 100%;
  }

  .page-nav-inner {
    min-height: auto;
    padding: 0.7rem 0 0.85rem;
  }

  .page-brand {
    gap: 0.7rem;
  }

  .page-brand-lockup {
    width: min(100%, 9.75rem);
  }

  .page-brand-mark {
    width: min(100%, 3rem);
  }

  .page-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .courses-page-grid .course-card .h-48 {
    height: 10.75rem !important;
  }

  .courses-page-grid .course-card .course-card-media-image {
    width: min(54%, 10rem) !important;
    max-width: none !important;
    height: auto !important;
    max-height: calc(100% - 1.1rem) !important;
    padding: 0.55rem !important;
    box-sizing: border-box;
  }

  .courses-page-grid .course-card .course-card-media-image--video {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    padding: 0 !important;
  }

  .page-description {
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .resources-feature {
    gap: 1.4rem;
  }

  .resources-feature-heading,
  .resources-highlight-title {
    line-height: 1.1;
  }

  .resources-highlight-media {
    width: 100%;
  }

  .resources-highlight-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.85rem;
    width: 100%;
  }

  .resources-topic-icon {
    width: 4.15rem;
    height: 4.15rem;
    padding: 0.42rem;
  }

  .resources-topic-label {
    max-width: 9.5rem;
    font-size: 0.86rem;
    min-height: 2.4em;
  }

  .resources-highlight-image {
    min-height: 18rem;
  }

  .resources-highlight-popup {
    max-width: 12rem;
  }

  .resources-inline-feature {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .resources-inline-feature-image-shell {
    border-radius: 1.35rem;
  }

  .resources-sparta-image {
    width: 100%;
    max-height: none;
    height: clamp(10rem, 30vw, 13rem);
    transform: scale(1.08);
  }

  .resources-sparta-card {
    padding: 1rem;
    border-radius: 1.1rem;
  }

  .resources-sparta-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .resources-sparta-copy {
    gap: 1rem;
  }

  .resources-sparta-text-card {
    padding: 0;
  }

  .resources-sparta-gallery-image {
    border-radius: 1.2rem;
  }

  .resources-pdp-hero,
  .resources-pdp-hero-image {
    min-height: 15rem;
  }

  .resources-pdp-hero-content {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    gap: 0.75rem;
  }

  .resources-pdp-logo {
    width: 3.25rem;
    height: 3.25rem;
  }

  .resources-pdp-title {
    font-size: 1.2rem;
  }

  .resources-pdp-copy {
    gap: 1rem;
    padding: 1.25rem 1rem 1.5rem;
  }

  .resources-niasd-lead {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .resources-niasd-book-shell {
    justify-items: center;
  }

  .resources-niasd-logo {
    left: 50%;
    bottom: 0.35rem;
    transform: translateX(1.8rem);
    width: 3rem;
    height: 3rem;
  }

  .resources-strategy-panel {
    padding: 1.25rem 1rem;
    border-radius: 1.25rem;
  }

  .resources-strategy-lead {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .resources-strategy-visual {
    min-height: 0;
  }

  .resources-strategy-image {
    min-height: 15rem;
  }

  .resources-strategy-heading {
    flex-direction: column;
    gap: 0.75rem;
  }

  .resources-strategy-logo {
    width: 4.5rem;
  }

  .resources-asean-panel {
    gap: 1.25rem;
    padding: 1.25rem 1rem;
    border-radius: 1.25rem;
  }

  .resources-asean-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .resources-asean-logo {
    width: 4rem;
  }

  .resources-eu-panel {
    border-radius: 1.25rem;
  }

  .resources-eu-hero,
  .resources-eu-image {
    min-height: 15rem;
  }

  .resources-eu-hero-card {
    position: static;
    width: auto;
    margin: 1rem;
    padding: 1rem;
    border-radius: 1.1rem;
  }

  .resources-eu-body {
    gap: 1rem;
    padding: 1rem 1rem 1.25rem;
  }

  .resources-bletchley-panel {
    border-radius: 1.25rem;
  }

  .resources-bletchley-background {
    min-height: 0;
    padding: 1.35rem 1rem 1.5rem;
  }

  .resources-bletchley-copy--hero {
    width: 100%;
    min-height: 0;
  }

  .resources-bletchley-report {
    margin-top: 0.85rem;
    padding: 1.35rem 1rem 1.5rem;
    border-radius: 1.25rem;
  }

  .resources-bletchley-report-lead {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .resources-bletchley-report-visual {
    justify-items: center;
  }

  .resources-bletchley-report-lead--reverse {
    grid-template-columns: 1fr;
  }

  .resources-bletchley-report-visual--un {
    justify-self: center;
    width: min(100%, 11rem);
  }

  .resources-bletchley-report-card {
    gap: 1.15rem;
    padding: 1.15rem 1rem 1.25rem;
    border-radius: 1.2rem;
  }

  .resources-policy-note {
    padding: 1.25rem 1rem;
    border-radius: 1.25rem;
  }

  .resources-policy-note-body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .resources-policy-note-visual {
    min-height: 0;
    justify-items: center;
  }

  .resources-policy-note-book {
    width: min(100%, 11rem);
    transform: rotate(-10deg);
  }

  .resources-policy-note-logo {
    right: calc(50% - 4.2rem);
    bottom: 0.2rem;
    width: 3.4rem;
    height: 3.4rem;
  }

  .gov-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .gov-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-description,
  .page-section-copy,
  .resource-page-copy,
  .timeline-page-copy,
  .faq-page-answer,
  .about-program-copy,
  .resources-feature-description,
  .resources-initiative-text,
  .resources-highlight-text {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .resources-sparta-card-text,
  .resources-pdp-text,
  .resources-niasd-text,
  .resources-policy-note-text {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .resources-inline-feature-text {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .resource-page-card,
  .about-carousel-card,
  .about-page-copy,
  .timeline-card {
    padding: 1rem;
    border-radius: 1.2rem;
  }

  .courses-page-grid {
    gap: 1rem;
  }

  .timeline-card {
    gap: 1rem;
  }

  .timeline-card img {
    min-height: 11rem;
  }

  .faq-page-toggle {
    padding: 1rem 1.1rem;
    border-radius: 1.25rem;
  }

  .faq-page-answer {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .faq-page-question {
    font-size: 1rem;
  }

  .about-page-carousel-image {
    min-height: 18rem;
  }

  .about-page-popup {
    left: 0.75rem;
    right: 4rem;
    bottom: 0.75rem;
    max-width: none;
    padding: 0.72rem 0.8rem;
  }

  .about-page-popup-title {
    font-size: 0.92rem;
  }

  .about-page-next {
    right: 0.7rem;
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.75rem;
  }

  .about-page-dots {
    bottom: 0.75rem;
  }

  .page-footer {
    margin-top: 3rem;
  }
}

@media (min-width: 961px) {
  .page-mobile-toggle,
  .page-mobile-panel {
    display: none !important;
  }
}
