:root {
  --guide-paper: #f4f1e9;
  --guide-ink: #12211d;
  --guide-muted: #65716c;
  --guide-line: #d7d8d0;
  --guide-orange: #ff6846;
  --guide-lime: #caff62;
  --guide-blue: #a8c7ff;
  --guide-rose: #dca9ba;
}

.brand-guide-page {
  margin: 0;
  color: var(--guide-ink);
  background: var(--guide-paper);
  font-family: "DM Sans", sans-serif;
}

.brand-guide-page * {
  box-sizing: border-box;
}

.brand-guide-page a {
  color: inherit;
  text-decoration: none;
}

.guide-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(18, 33, 29, 0.14);
  background: rgba(244, 241, 233, 0.94);
  backdrop-filter: blur(16px);
}

.guide-header nav {
  display: flex;
  width: min(1184px, calc(100% - 48px));
  min-height: 82px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
}

.guide-header .brand,
.guide-footer .brand {
  font:
    800 24px/1 "Manrope",
    sans-serif;
}

.guide-header .brand span,
.guide-footer .brand span {
  color: var(--guide-orange);
}

.guide-header [data-mobile-menu] {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.guide-header [data-mobile-menu] > a:not(.guide-call):not(.guide-enquiry) {
  position: relative;
}

.guide-header [data-mobile-menu] > a.active::after,
.guide-header
  [data-mobile-menu]
  > a:not(.guide-call):not(.guide-enquiry):hover::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--guide-orange);
  content: "";
}

.guide-call {
  padding: 11px 17px;
  border: 1px solid var(--guide-ink);
  border-radius: 4px;
}

.guide-enquiry {
  display: flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  gap: 20px;
  border-radius: 4px;
  color: #fff !important;
  background: var(--guide-ink);
}

.guide-enquiry span {
  color: var(--guide-lime);
}

.guide-header .mobile-menu-toggle {
  display: none;
}

.guide-hero,
.guide-featured,
.guide-paths,
.guide-library,
.guide-cta,
.article-hero,
.article-layout,
.related-guides {
  width: min(1184px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.guide-hero {
  display: grid;
  min-height: 530px;
  padding: 94px 0 76px;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 80px;
}

.guide-kicker,
.guide-section-head span,
.guide-cta > div > span,
.article-category-label,
.related-guides > div:first-child span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #53605b;
  font:
    700 12px/1.2 "Manrope",
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-kicker i {
  width: 28px;
  height: 2px;
  background: var(--guide-orange);
}

.guide-hero h1 {
  max-width: 790px;
  margin: 28px 0 26px;
  font:
    700 clamp(48px, 6.7vw, 88px) / 0.98 "Manrope",
    sans-serif;
  letter-spacing: -0.065em;
}

.guide-hero h1 em {
  color: var(--guide-orange);
  font-style: normal;
}

.guide-hero > div > p {
  max-width: 690px;
  margin: 0;
  color: var(--guide-muted);
  font-size: 18px;
  line-height: 1.7;
}

.guide-hero > aside {
  border-top: 1px solid var(--guide-ink);
}

.guide-hero > aside > span {
  display: block;
  padding: 17px 0 12px;
  color: var(--guide-muted);
  font:
    700 11px "Manrope",
    sans-serif;
  letter-spacing: 0.13em;
}

.guide-hero > aside a {
  display: grid;
  padding: 17px 0;
  border-top: 1px solid var(--guide-line);
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: padding 0.2s;
}

.guide-hero > aside a:hover {
  padding-left: 8px;
}

.guide-hero > aside b {
  color: var(--guide-orange);
  font-size: 11px;
}

.guide-hero > aside i {
  font-style: normal;
}

.guide-featured {
  padding: 0 0 100px;
}

.featured-guide-card {
  --theme: var(--guide-orange);
  display: grid;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(18, 33, 29, 0.18);
  border-radius: 8px;
  grid-template-columns: 1.25fr 0.75fr;
  background: var(--theme);
  box-shadow: 0 24px 70px rgba(18, 33, 29, 0.12);
}

.theme-orange {
  --theme: var(--guide-orange);
}

.theme-lime {
  --theme: var(--guide-lime);
}

.theme-blue {
  --theme: var(--guide-blue);
}

.theme-rose {
  --theme: var(--guide-rose);
}

.featured-guide-card > div {
  display: flex;
  padding: clamp(36px, 6vw, 74px);
  flex-direction: column;
}

.featured-guide-card > div > span,
.guide-card header b,
.guide-paths article > span {
  font:
    700 11px "Manrope",
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-guide-card h2 {
  max-width: 700px;
  margin: 24px 0 20px;
  font:
    700 clamp(36px, 5vw, 64px) / 1.04 "Manrope",
    sans-serif;
  letter-spacing: -0.05em;
}

.featured-guide-card p {
  max-width: 620px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.featured-guide-card footer {
  display: flex;
  margin-top: auto;
  padding-top: 40px;
  justify-content: space-between;
  align-items: center;
}

.featured-guide-card footer b {
  font-size: 14px;
}

.featured-guide-card footer i {
  margin-left: 10px;
  font-style: normal;
}

.featured-guide-card footer small {
  font-weight: 700;
}

.featured-guide-card > aside {
  position: relative;
  display: grid;
  overflow: hidden;
  border-left: 1px solid rgba(18, 33, 29, 0.2);
  place-items: center;
  background: var(--guide-ink);
  color: #fff;
}

.featured-guide-card > aside > span {
  position: absolute;
  top: 28px;
  left: 30px;
  color: var(--theme);
  font:
    800 20px "Manrope",
    sans-serif;
}

.featured-guide-card > aside > i {
  color: var(--theme);
  font:
    700 clamp(130px, 18vw, 240px) / 1 "Manrope",
    sans-serif;
  font-style: normal;
  opacity: 0.95;
}

.featured-guide-card > aside > small {
  position: absolute;
  right: 28px;
  bottom: 28px;
  font:
    700 10px "Manrope",
    sans-serif;
  letter-spacing: 0.14em;
}

.guide-paths {
  display: grid;
  padding-bottom: 110px;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.guide-paths article {
  min-height: 310px;
  padding: 42px;
  border: 1px solid var(--guide-line);
  border-radius: 7px;
  background: #fff;
}

.guide-paths article:last-child {
  color: #fff;
  background: var(--guide-ink);
}

.guide-paths article > span {
  color: var(--guide-orange);
}

.guide-paths h2 {
  max-width: 500px;
  margin: 24px 0 16px;
  font:
    700 clamp(28px, 3.2vw, 42px) / 1.08 "Manrope",
    sans-serif;
  letter-spacing: -0.04em;
}

.guide-paths p {
  max-width: 510px;
  margin: 0 0 32px;
  color: var(--guide-muted);
  line-height: 1.65;
}

.guide-paths article:last-child p {
  color: #b9c2be;
}

.guide-paths a {
  font-size: 14px;
  font-weight: 700;
}

.guide-paths a b {
  margin-left: 10px;
  color: var(--guide-orange);
}

.guide-library {
  padding-bottom: 110px;
}

.guide-section-head {
  display: flex;
  margin-bottom: 42px;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}

.guide-section-head h2,
.related-guides > div:first-child h2 {
  max-width: 700px;
  margin: 16px 0 0;
  font:
    700 clamp(34px, 4.8vw, 58px) / 1.04 "Manrope",
    sans-serif;
  letter-spacing: -0.05em;
}

.guide-section-head > p {
  max-width: 390px;
  margin: 0;
  color: var(--guide-muted);
  font-size: 15px;
  line-height: 1.65;
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  --theme: var(--guide-orange);
  display: flex;
  min-height: 420px;
  padding: 28px;
  border: 1px solid var(--guide-line);
  border-radius: 7px;
  flex-direction: column;
  background: #fff;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(18, 33, 29, 0.1);
}

.guide-card header,
.guide-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guide-card header > span {
  color: var(--guide-muted);
  font:
    700 11px "Manrope",
    sans-serif;
}

.guide-card header b {
  color: var(--guide-muted);
}

.guide-card-mark {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 42px 0 28px;
  border-radius: 50%;
  place-items: center;
  background: var(--theme);
  font:
    800 31px "Manrope",
    sans-serif;
}

.guide-card h3 {
  margin: 0 0 14px;
  font:
    700 25px/1.16 "Manrope",
    sans-serif;
  letter-spacing: -0.035em;
}

.guide-card p {
  margin: 0;
  color: var(--guide-muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-card footer {
  margin-top: auto;
  padding-top: 25px;
  font-weight: 700;
}

.guide-card footer i {
  font-size: 20px;
  font-style: normal;
}

.guide-cta {
  display: flex;
  min-height: 320px;
  margin-bottom: 110px;
  padding: 54px 60px;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  border-radius: 8px;
  color: #fff;
  background: var(--guide-ink);
}

.guide-cta h2 {
  max-width: 700px;
  margin: 18px 0 14px;
  font:
    700 clamp(35px, 5vw, 56px) / 1.05 "Manrope",
    sans-serif;
  letter-spacing: -0.05em;
}

.guide-cta p {
  max-width: 630px;
  margin: 0;
  color: #b8c2be;
  line-height: 1.6;
}

.guide-cta > a {
  display: flex;
  min-width: 220px;
  min-height: 58px;
  padding: 0 20px;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  color: var(--guide-ink);
  background: var(--guide-lime);
  font-weight: 700;
}

.guide-footer {
  display: grid;
  padding: 64px max(24px, calc((100vw - 1184px) / 2));
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 70px;
  color: #fff;
  background: #0d1916;
}

.guide-footer p {
  max-width: 360px;
  color: #aab5b1;
  font-size: 15px;
  line-height: 1.6;
}

.guide-footer nav,
.guide-footer > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}

/* Article */
.article-hero {
  --theme: var(--guide-orange);
  display: grid;
  min-height: 570px;
  margin-top: 42px;
  margin-bottom: 86px;
  overflow: hidden;
  border-radius: 8px;
  grid-template-columns: 1.35fr 0.65fr;
  background: var(--theme);
}

.article-hero > div {
  display: flex;
  padding: clamp(36px, 6vw, 74px);
  flex-direction: column;
}

.article-hero nav {
  display: flex;
  margin-bottom: 65px;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(18, 33, 29, 0.68);
  font-size: 12px;
}

.article-hero h1 {
  max-width: 790px;
  margin: 23px 0 21px;
  font:
    700 clamp(42px, 5.8vw, 72px) / 1.01 "Manrope",
    sans-serif;
  letter-spacing: -0.058em;
}

.article-hero > div > p {
  max-width: 720px;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

.article-hero footer {
  display: flex;
  margin-top: auto;
  padding-top: 38px;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
}

.article-hero > aside {
  display: flex;
  padding: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: var(--guide-ink);
}

.article-hero > aside small {
  color: var(--theme);
  font:
    700 10px "Manrope",
    sans-serif;
  letter-spacing: 0.13em;
}

.article-hero > aside > b {
  align-self: center;
  color: var(--theme);
  font:
    700 clamp(150px, 19vw, 260px) "Manrope",
    sans-serif;
}

.article-hero > aside > span {
  font-size: 12px;
  line-height: 1.5;
}

.article-layout {
  display: grid;
  padding-bottom: 110px;
  grid-template-columns: minmax(0, 760px) minmax(240px, 1fr);
  align-items: start;
  gap: 90px;
}

.article-content {
  font-size: 18px;
  line-height: 1.82;
}

.article-content > p:first-child {
  margin-top: 0;
  font-size: 22px;
  line-height: 1.65;
}

.article-content h2 {
  margin: 62px 0 18px;
  font:
    700 clamp(29px, 3.4vw, 42px) / 1.13 "Manrope",
    sans-serif;
  letter-spacing: -0.04em;
}

.article-content h3 {
  margin: 40px 0 12px;
  font:
    700 24px/1.2 "Manrope",
    sans-serif;
}

.article-content p,
.article-content li {
  color: #34433e;
}

.article-content li + li {
  margin-top: 10px;
}

.article-content blockquote {
  margin: 42px 0;
  padding: 28px 32px;
  border-left: 5px solid var(--guide-orange);
  background: #fff;
  font:
    700 23px/1.45 "Manrope",
    sans-serif;
}

.article-content a {
  border-bottom: 1px solid var(--guide-orange);
}

.article-end-note {
  margin-top: 70px;
  padding: 38px;
  border-radius: 7px;
  background: var(--guide-ink);
}

.article-end-note > span {
  color: var(--guide-lime);
  font:
    700 11px "Manrope",
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-end-note h2 {
  margin: 17px 0 12px;
  color: #fff;
}

.article-end-note p {
  color: #b9c3bf;
}

.article-end-note a {
  display: inline-block;
  margin-top: 10px;
  border-bottom: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.article-end-note a b {
  margin-left: 8px;
  color: var(--guide-lime);
}

.article-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 15px;
}

.article-sidebar > div {
  padding: 30px;
  border: 1px solid var(--guide-line);
  border-radius: 7px;
  background: #fff;
}

.article-sidebar > div > span {
  color: var(--guide-muted);
  font:
    700 11px "Manrope",
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-sidebar p {
  color: var(--guide-muted);
  font-size: 14px;
  line-height: 1.6;
}

.article-sidebar > div > b {
  font-size: 11px;
  letter-spacing: 0.1em;
}

.article-sidebar .article-sidebar-tool {
  background: var(--guide-lime);
}

.article-sidebar-tool h2 {
  margin: 18px 0 10px;
  font:
    700 27px/1.12 "Manrope",
    sans-serif;
  letter-spacing: -0.035em;
}

.article-sidebar-tool a {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}

.related-guides {
  padding: 90px 0 110px;
  border-top: 1px solid var(--guide-line);
}

.related-guides > div:last-child {
  display: grid;
  margin-top: 40px;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.related-guides > div:last-child > a {
  --theme: var(--guide-orange);
  display: flex;
  min-height: 270px;
  padding: 28px;
  border-radius: 7px;
  flex-direction: column;
  background: var(--theme);
}

.related-guides a > span {
  font:
    700 11px "Manrope",
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-guides h3 {
  margin: 28px 0;
  font:
    700 25px/1.15 "Manrope",
    sans-serif;
  letter-spacing: -0.035em;
}

.related-guides a footer {
  display: flex;
  margin-top: auto;
  justify-content: space-between;
  font-weight: 700;
}

.related-guides a footer i {
  font-size: 20px;
  font-style: normal;
}

@media (max-width: 900px) {
  .guide-header .mobile-menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--guide-ink);
    background: transparent;
    place-content: center;
    gap: 5px;
  }

  .guide-header .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--guide-ink);
  }

  .guide-header [data-mobile-menu] {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    display: none;
    padding: 25px 24px 28px;
    border-bottom: 1px solid var(--guide-line);
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    background: var(--guide-paper);
  }

  .guide-header [data-mobile-menu].is-open {
    display: flex;
  }

  .guide-header [data-mobile-menu] > a.active::after {
    display: none;
  }

  .guide-call,
  .guide-enquiry {
    justify-content: space-between;
    text-align: center;
  }

  .guide-hero {
    min-height: auto;
    padding-top: 72px;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .featured-guide-card,
  .article-hero {
    grid-template-columns: 1fr;
  }

  .featured-guide-card > aside {
    min-height: 250px;
    border-top: 1px solid rgba(18, 33, 29, 0.2);
    border-left: 0;
  }

  .guide-card-grid,
  .related-guides > div:last-child {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-hero > aside {
    min-height: 280px;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    border-left: 0;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 650px) {
  .guide-header nav,
  .guide-hero,
  .guide-featured,
  .guide-paths,
  .guide-library,
  .guide-cta,
  .article-hero,
  .article-layout,
  .related-guides {
    width: min(100% - 32px, 1184px);
  }

  .guide-header nav {
    min-height: 72px;
  }

  .guide-header [data-mobile-menu] {
    top: 72px;
  }

  .guide-hero {
    padding: 58px 0;
  }

  .guide-hero h1 {
    font-size: 47px;
  }

  .guide-featured,
  .guide-paths,
  .guide-library {
    padding-bottom: 72px;
  }

  .featured-guide-card > div {
    padding: 32px 25px;
  }

  .featured-guide-card h2 {
    font-size: 37px;
  }

  .featured-guide-card footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .guide-paths,
  .guide-card-grid,
  .related-guides > div:last-child,
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .guide-paths article {
    min-height: auto;
    padding: 30px 25px;
  }

  .guide-section-head,
  .guide-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-section-head {
    display: flex;
    gap: 22px;
  }

  .guide-card {
    min-height: 380px;
  }

  .guide-cta {
    min-height: 0;
    margin-bottom: 72px;
    padding: 39px 27px;
  }

  .guide-cta > a {
    width: 100%;
  }

  .guide-footer {
    padding: 52px 24px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .article-hero {
    margin-top: 20px;
    margin-bottom: 60px;
  }

  .article-hero > div {
    padding: 30px 24px 36px;
  }

  .article-hero nav {
    margin-bottom: 45px;
  }

  .article-hero h1 {
    font-size: 41px;
  }

  .article-hero > aside {
    min-height: 230px;
  }

  .article-content {
    font-size: 17px;
  }

  .article-content > p:first-child {
    font-size: 20px;
  }

  .article-end-note {
    padding: 28px 24px;
  }
}
