.guide-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 88px;
  color: #172747;
}

.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #59677d;
  font-size: 13px;
  margin-bottom: 48px;
}

.guide-breadcrumb a:hover,
.guide-sources a:hover,
.guide-backLink:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guide-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #164c93;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.guide-heading {
  max-width: 850px;
  margin: 0;
  font-size: clamp(32px, 4.3vw, 56px);
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}

.guide-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #59677d;
  font-size: 17px;
  line-height: 1.8;
  text-wrap: pretty;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: white;
}

.guide-cardIcon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 6px;
  background: #fff3d2;
  color: #172747;
}

.guide-card h2 {
  font-size: 23px;
  line-height: 1.45;
  font-weight: 600;
  text-wrap: balance;
}

.guide-card p {
  color: #59677d;
  font-size: 14px;
  line-height: 1.8;
  margin: 16px 0 28px;
  text-wrap: pretty;
}

.guide-cardLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #164c93;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 0;
}

.guide-cardLink:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 22px;
  color: #59677d;
  font-size: 13px;
}

.guide-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.guide-articleGrid {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  justify-content: space-between;
  gap: 64px;
  margin-top: 44px;
}

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

.guide-section {
  margin-bottom: 38px;
  scroll-margin-top: 110px;
}

.guide-section h2,
.guide-sources h2 {
  margin: 0 0 16px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: balance;
}

.guide-section p,
.guide-section li {
  color: #46556d;
  font-size: 16px;
  line-height: 1.9;
  text-wrap: pretty;
}

.guide-section p + p {
  margin-top: 16px;
}

.guide-section ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  list-style: disc;
}

.guide-section p + ul {
  margin-top: 16px;
}

.guide-message {
  margin: 0 0 38px;
  padding: 24px;
  border: 1px solid #dce3ed;
  border-radius: 6px;
  background: #f5f7fb;
  color: #172747;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 14px;
  line-height: 1.9;
}

.guide-sources {
  border-top: 1px solid #dce3ed;
  padding-top: 28px;
}

.guide-sources h2 {
  font-size: 20px;
}

.guide-sources ul {
  display: grid;
  gap: 12px;
  list-style: disc;
  padding-left: 20px;
  color: #46556d;
  font-size: 14px;
  line-height: 1.7;
}

.guide-sources a {
  color: #164c93;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-sources p {
  margin-top: 18px;
  color: #59677d;
  font-size: 13px;
  line-height: 1.8;
}

.guide-sidebar {
  align-self: start;
  position: sticky;
  top: 110px;
  padding: 26px;
  border: 1px solid #dce3ed;
  border-radius: 6px;
  background: white;
}

.guide-sidebar h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.guide-sidebar ul {
  display: grid;
  gap: 16px;
  font-size: 13px;
  color: #59677d;
  line-height: 1.65;
}

.guide-sidebar a:hover {
  color: #172747;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  margin-top: 56px;
  background: #f5f7fb;
  border-radius: 8px;
}

.guide-cta h2 {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 8px;
  text-wrap: balance;
}

.guide-cta p {
  color: #59677d;
  font-size: 14px;
  line-height: 1.8;
}

.guide-ctaButton {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  background: #ffb000;
  color: #172747;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.guide-ctaButton:hover {
  background: #eaa000;
}

.guide-backLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 14px;
}

.guide-related {
  margin-top: 64px;
  border-top: 1px solid #dce3ed;
  padding-top: 36px;
}

.guide-related h2 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 22px;
}

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

.guide-relatedList a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #dce3ed;
  border-radius: 6px;
  padding: 22px;
  font-size: 15px;
  line-height: 1.6;
}

.guide-relatedList a:hover {
  background: #f5f7fb;
}

.guide-main a:focus-visible {
  outline: 3px solid #164c93;
  outline-offset: 5px;
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-articleGrid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .guide-sidebar ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .guide-main {
    width: calc(100% - 36px);
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .guide-breadcrumb {
    margin-bottom: 32px;
  }

  .guide-lead {
    font-size: 16px;
  }

  .guide-card {
    padding: 24px;
  }

  .guide-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .guide-ctaButton {
    width: 100%;
  }

  .guide-sidebar ul,
  .guide-relatedList {
    grid-template-columns: 1fr;
  }

  .guide-section h2 {
    font-size: 22px;
  }
}
