.exam-guide-page {
  background: var(--page);
}

.exam-guide-main {
  padding-bottom: 88px;
}

.exam-guide-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.exam-guide-breadcrumbs {
  padding: 20px 0 14px;
  font-size: 0.82rem;
  color: var(--subtle);
}

.exam-guide-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.exam-guide-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--line-strong);
}

.exam-guide-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.exam-guide-breadcrumbs a:hover,
.exam-guide-breadcrumbs a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.exam-guide-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 4%, rgba(38, 160, 230, 0.55), transparent 34%),
    linear-gradient(128deg, #071b3a 0%, #0c3d6e 58%, #087ca4 100%);
  border-radius: 24px;
  box-shadow: 0 26px 64px rgba(3, 26, 54, 0.2);
}

.exam-guide-hero::after {
  position: absolute;
  right: -120px;
  bottom: -210px;
  width: 500px;
  height: 500px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(255, 255, 255, 0.04),
    0 0 0 104px rgba(255, 255, 255, 0.025);
}

.exam-guide-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 48px;
  align-items: center;
  min-height: 390px;
  padding: 58px 64px;
}

.exam-guide-hero.is-overview .exam-guide-hero-inner {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.exam-guide-eyebrow {
  margin: 0 0 14px;
  color: #79d7ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.exam-guide-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.exam-guide-hero:not(.is-overview) h1 {
  word-break: keep-all;
}

.exam-guide-hero-lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #dcecff;
  font-size: 1.04rem;
  line-height: 1.9;
}

.exam-guide-hero-note {
  margin: 12px 0 0;
  color: #b8d2ed;
  font-size: 0.8rem;
}

.exam-guide-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.exam-guide-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.exam-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.exam-guide-actions .button {
  min-height: 48px;
  padding-inline: 20px;
}

.exam-guide-actions .button-primary {
  color: #071b3a;
  background: #ffffff;
  border-color: #ffffff;
}

.exam-guide-actions .button-primary:hover,
.exam-guide-actions .button-primary:focus-visible {
  color: #071b3a;
  background: #dff5ff;
  border-color: #dff5ff;
}

.exam-guide-actions .button-secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.56);
}

.exam-guide-actions .button-secondary:hover,
.exam-guide-actions .button-secondary:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.exam-guide-badge-panel {
  display: grid;
  place-items: center;
  justify-self: center;
}

.exam-guide-badge-panel img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(2, 18, 40, 0.3));
}

.exam-guide-badge-panel.is-provider-mark img {
  width: 150px;
  height: 150px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 32px;
}

.exam-guide-badge-cluster {
  position: relative;
  min-height: 250px;
}

.exam-guide-badge-cluster img {
  position: absolute;
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.22));
}

.exam-guide-badge-cluster img:nth-child(1) {
  top: 0;
  left: 96px;
  z-index: 2;
}

.exam-guide-badge-cluster img:nth-child(2) {
  bottom: 0;
  left: 0;
}

.exam-guide-badge-cluster img:nth-child(3) {
  right: 0;
  bottom: 0;
}

.exam-guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 24px 0 0;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.exam-guide-toc strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.exam-guide-toc a {
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.exam-guide-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 48px;
  align-items: start;
  margin-top: 54px;
}

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

.exam-guide-section {
  padding: 0 0 50px;
  scroll-margin-top: 100px;
}

.exam-guide-section + .exam-guide-section {
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.exam-guide-section-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exam-guide-section h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.4;
}

.exam-guide-section h3 {
  margin: 30px 0 10px;
  color: var(--navy);
  font-size: 1.08rem;
}

.exam-guide-section p {
  margin: 0 0 16px;
  color: var(--muted);
}

.exam-guide-section ul,
.exam-guide-section ol {
  margin: 16px 0 0;
  padding-left: 1.4em;
  color: var(--muted);
}

.exam-guide-section li + li {
  margin-top: 8px;
}

.exam-guide-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.exam-guide-fact {
  min-height: 118px;
  padding: 20px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.exam-guide-fact span {
  display: block;
  margin-bottom: 6px;
  color: var(--subtle);
  font-size: 0.76rem;
  font-weight: 700;
}

.exam-guide-fact strong {
  display: block;
  color: var(--navy);
  font-size: 1.03rem;
  line-height: 1.55;
}

.exam-guide-fee {
  white-space: nowrap;
}

.exam-guide-fact small {
  display: block;
  margin-top: 5px;
  color: var(--subtle);
  font-size: 0.73rem;
  line-height: 1.5;
}

.exam-guide-domain-list {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
}

.exam-guide-domain-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.87rem;
  font-weight: 800;
}

.exam-guide-domain-track {
  overflow: hidden;
  height: 8px;
  background: var(--line);
  border-radius: 999px;
}

.exam-guide-domain-track span {
  display: block;
  width: var(--domain-percent);
  height: 100%;
  background: linear-gradient(90deg, #0c66e4, #21a8ca);
  border-radius: inherit;
}

.exam-guide-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.exam-guide-topic-grid > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.exam-guide-topic-grid span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.exam-guide-topic-grid strong {
  color: var(--navy);
  font-size: 0.86rem;
  line-height: 1.55;
}

.exam-guide-callout {
  margin-top: 24px;
  padding: 22px 24px;
  background: var(--surface-blue);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
}

.exam-guide-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.exam-guide-callout p:last-child {
  margin-bottom: 0;
}

.exam-guide-steps {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.exam-guide-steps li {
  position: relative;
  margin: 0;
  padding: 0 0 26px 56px;
  counter-increment: guide-step;
}

.exam-guide-steps li::before {
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  content: counter(guide-step, decimal-leading-zero);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  background: var(--action-blue);
  border-radius: 50%;
}

.exam-guide-steps li:not(:last-child)::after {
  position: absolute;
  top: 37px;
  bottom: 0;
  left: 17px;
  width: 2px;
  content: "";
  background: var(--line);
}

.exam-guide-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.exam-guide-steps span {
  color: var(--muted);
}

.exam-guide-sidebar {
  position: sticky;
  top: 92px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.exam-guide-sidebar h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.exam-guide-sidebar p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.83rem;
}

.exam-guide-sidebar .button {
  width: 100%;
  margin-top: 10px;
}

.exam-guide-sidebar small {
  display: block;
  margin-top: 16px;
  color: var(--subtle);
  font-size: 0.72rem;
}

.exam-guide-source-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.exam-guide-source-list a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 800;
}

.exam-guide-related-grid,
.exam-guide-path-grid,
.exam-guide-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.exam-guide-related-card,
.exam-guide-path-card,
.exam-guide-featured-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.exam-guide-related-card:hover,
.exam-guide-related-card:focus-visible,
.exam-guide-featured-card:hover,
.exam-guide-featured-card:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 14px 30px rgba(12, 102, 228, 0.12);
  transform: translateY(-2px);
}

.exam-guide-related-card span,
.exam-guide-featured-card span {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
}

.exam-guide-related-card strong,
.exam-guide-path-card strong,
.exam-guide-featured-card strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.5;
}

.exam-guide-related-card p,
.exam-guide-path-card p,
.exam-guide-featured-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.exam-guide-featured-card img {
  width: 88px;
  height: 88px;
  margin-bottom: 16px;
  object-fit: contain;
}

.exam-guide-level-list {
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.exam-guide-level-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.exam-guide-level-row h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.exam-guide-level-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.exam-guide-level-row a {
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.exam-guide-recert-figure {
  margin: 28px 0 0;
}

.exam-guide-recert-visual {
  position: relative;
  overflow: hidden;
  background: #041a43;
  border: 1px solid rgba(87, 195, 255, 0.4);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(4, 28, 73, 0.2);
}

.exam-guide-recert-visual > img {
  display: block;
  width: 100%;
  height: auto;
}

.exam-guide-recert-map-label {
  position: absolute;
  display: grid;
  gap: 3px;
  place-items: center;
  width: 14%;
  padding: 4px;
  color: #ffffff;
  line-height: 1.12;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 10, 34, 0.75);
  transform: translate(-50%, -50%);
}

.exam-guide-recert-map-label strong {
  font-size: clamp(0.56rem, 1.05vw, 0.8rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.exam-guide-recert-map-label span {
  color: #dceeff;
  font-size: clamp(0.43rem, 0.78vw, 0.62rem);
  font-weight: 800;
}

.exam-guide-recert-map-label.is-professional {
  width: 17%;
}

.exam-guide-recert-map-label.route-sap-top { top: 18.2%; left: 18.35%; }
.exam-guide-recert-map-label.route-sap-mid { top: 46.7%; left: 18.35%; }
.exam-guide-recert-map-label.route-sap-bottom { top: 76.1%; left: 18.35%; }
.exam-guide-recert-map-label.route-dop-top { top: 18.2%; left: 49.7%; }
.exam-guide-recert-map-label.route-dop-left { top: 46.7%; left: 37.7%; width: 10.4%; }
.exam-guide-recert-map-label.route-dop-center { top: 46.7%; left: 49.7%; width: 10.4%; }
.exam-guide-recert-map-label.route-dop-right { top: 46.7%; left: 60.9%; width: 10.5%; }
.exam-guide-recert-map-label.route-dop-bottom { top: 76.1%; left: 49.7%; }
.exam-guide-recert-map-label.route-aip-top { top: 18.2%; left: 80.8%; }
.exam-guide-recert-map-label.route-aip-left { top: 46.7%; left: 73.35%; width: 10.5%; }
.exam-guide-recert-map-label.route-aip-right { top: 46.7%; left: 87.65%; width: 11.5%; }
.exam-guide-recert-map-label.route-aip-bottom-left { top: 76.1%; left: 73.35%; width: 10.5%; }
.exam-guide-recert-map-label.route-aip-bottom-right { top: 76.1%; left: 87.75%; width: 14.5%; }

.exam-guide-recert-figure figcaption {
  margin-top: 10px;
  color: var(--subtle);
  font-size: 0.76rem;
  line-height: 1.65;
}

.exam-guide-recert-summary {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.exam-guide-recert-summary > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.exam-guide-recert-summary strong {
  color: var(--navy);
}

.exam-guide-recert-summary span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.exam-guide-recert-route {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 24px;
}

.exam-guide-recert-node {
  display: grid;
  flex: 1 1 0;
  gap: 5px;
  align-content: center;
  min-width: 0;
  min-height: 92px;
  padding: 17px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--line-strong);
  border-radius: 13px;
  text-align: center;
}

.exam-guide-recert-node span {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 800;
}

.exam-guide-recert-node strong {
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.exam-guide-recert-node.is-business { border-top-color: #e29a26; }
.exam-guide-recert-node.is-professional { border-top-color: #0aa6bf; }
.exam-guide-recert-node.is-associate { border-top-color: #3079e6; }
.exam-guide-recert-node.is-foundational { border-top-color: #8ca2bd; }

.exam-guide-recert-arrow {
  display: grid;
  flex: 0 0 22px;
  place-items: center;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
}

.exam-guide-recert-note {
  margin-top: 22px;
}

html[data-theme="dark"] .exam-guide-recert-visual {
  border-color: rgba(88, 205, 255, 0.55);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.exam-search-entry {
  margin-bottom: 42px;
  padding: 26px 0 32px;
  border-bottom: 1px solid var(--line);
}

.exam-search-entry-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.exam-search-entry-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.exam-search-entry-heading a {
  font-size: 0.86rem;
  font-weight: 800;
}

.exam-search-entry-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.exam-search-entry-links a {
  padding: 16px 18px;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.exam-search-entry-links a:hover,
.exam-search-entry-links a:focus-visible {
  border-color: var(--blue);
}

.exam-search-entry-links strong,
.exam-search-entry-links span {
  display: block;
}

.exam-search-entry-links strong {
  color: var(--blue);
  font-size: 0.8rem;
}

.exam-search-entry-links span {
  margin-top: 3px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

html[data-theme="dark"] .exam-guide-hero {
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] .exam-guide-actions .button-primary {
  color: #071b3a;
}

@media (max-width: 900px) {
  .exam-guide-hero-inner {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 28px;
    padding: 46px 40px;
  }

  .exam-guide-hero.is-overview .exam-guide-hero-inner {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .exam-guide-badge-panel img {
    width: 162px;
    height: 162px;
  }

  .exam-guide-badge-panel.is-provider-mark img {
    width: 136px;
    height: 136px;
    padding: 24px;
  }

  .exam-guide-badge-cluster {
    min-height: 190px;
  }

  .exam-guide-badge-cluster img {
    width: 112px;
    height: 112px;
  }

  .exam-guide-badge-cluster img:nth-child(1) {
    left: 66px;
  }

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

  .exam-guide-recert-map-label strong {
    font-size: clamp(0.52rem, 1.45vw, 0.72rem);
  }

  .exam-guide-recert-map-label span {
    font-size: clamp(0.4rem, 1.1vw, 0.56rem);
  }

  .exam-guide-sidebar {
    position: static;
  }
}

@media (max-width: 700px) {
  .exam-guide-main {
    padding-bottom: 64px;
  }

  .exam-guide-wrap {
    width: min(100% - 24px, 1120px);
  }

  .exam-guide-breadcrumbs {
    padding-top: 14px;
  }

  .exam-guide-hero-inner {
    grid-template-columns: minmax(0, 1fr) 156px;
    gap: 18px;
    min-height: 0;
    padding: 34px 24px;
  }

  .exam-guide-hero.is-overview .exam-guide-hero-inner {
    grid-template-columns: 1fr;
    padding: 38px 24px;
  }

  .exam-guide-badge-panel img {
    width: 154px;
    height: 154px;
  }

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

  .exam-guide-hero:not(.is-overview) h1 {
    font-size: clamp(1.65rem, 4.6vw, 1.9rem);
  }

  .exam-guide-hero:not(.is-overview) .exam-guide-hero-lead {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .exam-guide-hero:not(.is-overview) .exam-guide-actions {
    gap: 8px;
    margin-top: 22px;
  }

  .exam-guide-hero:not(.is-overview) .exam-guide-actions .button {
    padding-inline: 14px;
  }

  .exam-guide-badge-cluster {
    display: none;
  }

  .exam-guide-toc {
    align-items: flex-start;
    flex-direction: column;
  }

  .exam-guide-content {
    gap: 20px;
    margin-top: 42px;
  }

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

  .exam-guide-related-grid,
  .exam-guide-path-grid,
  .exam-guide-featured-grid,
  .exam-search-entry-links {
    grid-template-columns: 1fr;
  }

  .exam-guide-level-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .exam-guide-recert-figure {
    display: none;
  }

  .exam-guide-recert-summary > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .exam-guide-recert-route {
    align-items: stretch;
    flex-direction: column;
  }

  .exam-guide-recert-arrow {
    min-height: 22px;
    transform: rotate(90deg);
  }

  .exam-search-entry-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .exam-guide-hero:not(.is-overview) .exam-guide-hero-inner {
    grid-template-columns: 1fr;
    padding: 38px 24px;
  }

  .exam-guide-badge-panel img {
    width: 144px;
    height: 144px;
  }

  .exam-guide-badge-panel.is-provider-mark img {
    width: 126px;
    height: 126px;
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .exam-guide-hero h1 {
    font-size: 1.86rem;
  }

  .exam-guide-actions {
    flex-direction: column;
  }

  .exam-guide-actions .button {
    width: 100%;
  }

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

  .exam-guide-fact {
    min-height: 0;
  }
}
