.guide-header {
  position: relative;
  top: auto;
  background: #071d34;
}

.guide-header .header-inner {
  min-height: 76px;
}

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 10vw, 9rem) 0 clamp(4.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(215, 59, 50, .3), transparent 28%),
    linear-gradient(135deg, #071d34, #0a2745);
  color: white;
}

.guide-hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -28vw;
  width: 55vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.guide-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0 0 2rem;
  color: #9bb2c6;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-breadcrumb a {
  color: white;
}

.guide-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0;
  font-family: "Libre Franklin", sans-serif;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  font-weight: 900;
  line-height: .93;
  letter-spacing: -.07em;
}

.guide-hero h1 em {
  display: block;
  color: #f0c9c4;
  font-family: "Source Serif 4", serif;
  font-weight: 500;
}

.guide-hero__deck {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 2rem 0 0;
  color: #bfd0df;
  font-family: "Source Serif 4", serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.65;
}

.guide-meta {
  position: relative;
  z-index: 1;
  margin: 2rem 0 0;
  color: #7f9bb2;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.guide-main {
  background: #fffdf7;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 320px);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: start;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.guide-article {
  min-width: 0;
}

.guide-article > p:first-child {
  margin-top: 0;
  color: #24384b;
  font-family: "Source Serif 4", serif;
  font-size: 1.3rem;
  line-height: 1.7;
}

.guide-article h2 {
  margin: 4rem 0 1.2rem;
  font-family: "Libre Franklin", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
}

.guide-article h3 {
  margin: 2.4rem 0 .8rem;
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.guide-article p,
.guide-article li {
  color: #4f5d69;
  font-family: "Source Serif 4", serif;
  font-size: 1.05rem;
  line-height: 1.75;
}

.guide-article ul {
  padding-left: 1.25rem;
}

.guide-note {
  margin: 3rem 0;
  padding: 1.5rem 1.7rem;
  border-left: 4px solid #d73b32;
  background: #f2efe7;
}

.guide-note strong {
  display: block;
  margin-bottom: .4rem;
  color: #071d34;
  font-family: "DM Sans", sans-serif;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-note p {
  margin: 0;
}

.guide-toc {
  position: sticky;
  top: 100px;
  padding: 1.5rem;
  border: 1px solid rgba(7, 29, 52, .18);
  background: #f2efe7;
}

.guide-toc > p {
  margin: 0 0 1.2rem;
  color: #d73b32;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.guide-toc ol {
  display: grid;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-toc a {
  color: #24384b;
  font-family: "Source Serif 4", serif;
  font-size: .95rem;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(215, 59, 50, .35);
  text-underline-offset: .25em;
}

.guide-related {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: #e5dfd3;
}

.guide-related h2 {
  margin: 0 0 2.4rem;
  font-family: "Libre Franklin", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -.06em;
}

.guide-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(7, 29, 52, .18);
  border: 1px solid rgba(7, 29, 52, .18);
}

.guide-related__grid a {
  min-height: 180px;
  padding: 1.7rem;
  background: #fffdf7;
}

.guide-related__grid span {
  display: block;
  margin-bottom: 3.5rem;
  color: #d73b32;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-related__grid strong {
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -.04em;
}

@media (max-width: 820px) {
  .guide-header .site-nav {
    position: static;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    padding: 0;
    background: transparent;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .guide-header .site-nav a {
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .guide-toc {
    position: static;
    grid-row: 1;
  }

  .guide-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .guide-header .site-nav a:not(:last-child) {
    display: none;
  }

  .guide-hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }
}
