:root {
  --exam-ink: #081a34;
  --exam-muted: #536478;
  --exam-teal: #5ee6d6;
  --exam-teal-dark: #087c73;
  --exam-paper: #f5f8f7;
  --exam-line: rgba(8, 26, 52, .14);
}

.exam-page {
  color: var(--exam-ink);
  background: var(--exam-paper);
  font-family: "Manrope", sans-serif;
}

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

.exam-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 104px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 20, 43, .97), rgba(8, 26, 52, .83) 56%, rgba(8, 68, 83, .66)),
    url("/assets/images/logo/hero-banner-3.webp") center / cover;
}

.exam-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -210px;
  width: 560px;
  aspect-ratio: 1;
  border: 1px solid rgba(94, 230, 214, .38);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(94, 230, 214, .08), 0 0 0 104px rgba(94, 230, 214, .04);
}

.exam-hero .exam-wrap { position: relative; z-index: 1; }

.exam-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: .86rem;
}

.exam-breadcrumb a { color: #fff; text-decoration: none; }
.exam-breadcrumb a:hover { color: var(--exam-teal); }

.exam-kicker {
  margin: 0 0 14px;
  color: var(--exam-teal-dark);
  font: 800 .76rem/1.2 "Poppins", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.exam-hero .exam-kicker { margin-top: 50px; color: var(--exam-teal); }

.exam-hero h1,
.exam-section-heading h2,
.exam-guide h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
}

.exam-hero h1 { max-width: 780px; font-size: clamp(2.7rem, 6vw, 5.4rem); }

.exam-hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1.1rem;
}

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

.exam-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.exam-button-primary { color: var(--exam-ink); background: var(--exam-teal); }
.exam-button-secondary { border: 1px solid rgba(255, 255, 255, .42); color: #fff; background: rgba(255, 255, 255, .08); }

.exam-overview,
.exam-related { padding: 88px 0; }

.exam-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.exam-section-heading h2,
.exam-guide h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
.exam-section-heading > p { max-width: 370px; margin: 0; color: var(--exam-muted); }

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

.exam-college-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--exam-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 26, 52, .05);
}

.exam-college-card > span {
  align-self: flex-start;
  padding: 5px 8px;
  color: #066d65;
  background: #dff7f2;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.exam-college-card h3 { margin: 28px 0 5px; font: 800 1.35rem/1.18 "Poppins", sans-serif; letter-spacing: 0; }
.exam-college-card p { margin: 0; color: var(--exam-muted); font-size: .9rem; }
.exam-college-card a { margin-top: auto; padding-top: 26px; color: var(--exam-teal-dark); font-size: .9rem; font-weight: 800; text-decoration: none; }
.exam-college-card a span, .exam-text-link span, .exam-related-grid span { margin-left: 5px; }

.exam-note {
  max-width: 850px;
  margin: 28px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--exam-teal-dark);
  color: var(--exam-muted);
  font-size: .92rem;
}

.exam-guide {
  padding: 82px 0;
  color: #fff;
  background: #0a2849;
}

.exam-guide .exam-kicker { color: var(--exam-teal); }
.exam-guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 70px; align-items: center; }
.exam-guide p:not(.exam-kicker) { max-width: 600px; margin: 22px 0 0; color: rgba(255, 255, 255, .74); }
.exam-text-link { display: inline-block; margin-top: 26px; color: var(--exam-teal); font-weight: 800; text-decoration: none; }

.exam-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.exam-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; min-height: 80px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); }
.exam-steps strong { display: grid; width: 42px; height: 42px; place-items: center; color: var(--exam-ink); background: var(--exam-teal); font-size: .82rem; }
.exam-steps span { color: rgba(255, 255, 255, .86); font-weight: 700; }

.exam-related { background: #e9f3f0; }
.exam-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.exam-related-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 18px; border: 1px solid var(--exam-line); border-radius: 8px; color: var(--exam-ink); background: #fff; font-weight: 800; text-decoration: none; }
.exam-related-grid a:hover { border-color: var(--exam-teal-dark); color: var(--exam-teal-dark); }

@media (max-width: 900px) {
  .exam-college-grid, .exam-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exam-guide-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 620px) {
  .exam-wrap { width: calc(100% - 40px); }
  .exam-hero { padding: 28px 0 72px; }
  .exam-hero .exam-kicker { margin-top: 36px; }
  .exam-hero h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .exam-hero-copy { font-size: 1rem; }
  .exam-hero-actions { display: grid; }
  .exam-button { width: 100%; }
  .exam-overview, .exam-related { padding: 64px 0; }
  .exam-section-heading { display: block; }
  .exam-section-heading > p { margin-top: 16px; }
  .exam-college-grid, .exam-related-grid { grid-template-columns: 1fr; }
  .exam-college-card { min-height: 220px; }
  .exam-guide { padding: 64px 0; }
}
