.exam-card {
  --exam-orange: #de5021;
  --exam-ink: #123e4d;
  --exam-gutter: clamp(1rem, 2.15vw, 1.875rem);
  color: var(--exam-ink);
  background: white;
  border: 1px solid #d6e0dc;
  border-radius: .7rem;
  overflow: clip;
  min-width: 0;
}
.exam-card h2, .exam-card h3, .exam-card h4,
.exam-card figure, .exam-card blockquote, .exam-card p {
  margin: 0;
}
.exam-card button { font-family: inherit; }
.exam-card h4, .exam-card .exam-hours-title {
  font: 700 1rem/1.22 "DM Sans", Arial, sans-serif;
  color: #254955;
}
.exam-card :is(button, a, summary):focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.exam-hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: var(--exam-orange);
  border-top: .25rem solid var(--exam-orange);
}
.exam-hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 48%;
  z-index: -2;
}
.exam-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--exam-orange);
  clip-path: polygon(0 0, 63% 0, 58.5% 100%, 0 100%);
}
.exam-hero-copy {
  width: 60%;
  padding: 1.125rem var(--exam-gutter) 1.35rem;
}
.exam-category {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .375rem;
  color: white;
  font: 700 1.18rem/1.14 "DM Sans", Arial, sans-serif;
  letter-spacing: .015em;
}
.exam-category .exam-icon {
  width: 2.5rem;
  height: 2.5rem;
}
.exam-hero h2 {
  color: white;
  font: 750 clamp(2.15rem, 3.4vw, 3.06rem)/1.04 var(--face);
  letter-spacing: -.06em;
  text-wrap: balance;
  max-width: 36rem;
}
.exam-modes {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .8125rem;
}
.program-fit-link {
  color: #0c141b;
  padding-block: .35rem;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.exam-modes span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .28rem .625rem;
  background: #fff8ef;
  border-radius: .25rem;
  color: #66301e;
  font: 700 .875rem/1.35 "DM Sans", Arial, sans-serif;
}
.exam-modes svg { width: 1.2rem; height: 1.2rem; color: #8f3515; }
.exam-proof {
  padding: 1.05rem var(--exam-gutter) 1.2rem;
  background: #fff7ed;
  border-bottom: 1px solid #ecdcc9;
}
.exam-proof > div { border-left: .2rem solid #cc8a00; padding-left: 1rem; }
.exam-proof blockquote {
  color: var(--exam-ink);
  font: 750 clamp(1.34rem, 1.83vw, 1.81rem)/1.19 var(--face);
  letter-spacing: -.043em;
  text-wrap: pretty;
}
.exam-proof figcaption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .1rem .5rem;
  margin-top: .4rem;
  font-size: .875rem;
  line-height: 1.4;
  color: #4d5d5c;
}
.exam-proof figcaption strong { color: #284b51; }
.exam-proof figcaption span { color: #92713b; }
.exam-results { padding: 1.375rem var(--exam-gutter) 1.3rem; }
.exam-results > h3 {
  font-size: clamp(1.55rem, 2.15vw, 2.06rem);
  line-height: 1.1;
  margin-bottom: 1.125rem;
  letter-spacing: -.05em;
}
.exam-compare {
  display: grid;
  grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr);
  align-items: start;
}
.exam-hours { padding-right: clamp(1.25rem, 3.4vw, 3rem); }
.exam-scale-ticks {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: .7rem;
  color: #546460;
  font-size: .75rem;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.exam-scale-ticks > :not(:first-child):not(:last-child) {
  position: absolute;
  transform: translateX(-50%);
}
.exam-scale-ticks :nth-child(2) { left: var(--boot-start); }
.exam-scale-ticks :nth-child(3) { left: var(--course-start); }
.exam-scale-bars {
  display: grid;
  grid-template-columns: repeat(var(--hour-count), minmax(0,1fr));
  gap: 2px;
  margin: .25rem 0 .5rem;
}
.exam-scale-bars i { height: .55rem; border-radius: 1px; }
.exam-tier-1 { background: #f4b795; }
.exam-tier-2 { background: var(--exam-orange); }
.exam-tier-3 { background: #9a361a; }
.exam-formats { list-style: none; padding: 0; margin: 0; }
.exam-formats li {
  display: grid;
  grid-template-columns: .35rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
  padding: .44rem 0;
  border-bottom: 1px solid #e4e9e6;
}
.exam-formats li:last-child { border: 0; padding-bottom: 0; }
.exam-formats li > i { height: 1.65rem; width: .23rem; border-radius: 2px; }
.exam-formats li > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .6rem; }
.exam-formats b { color: #153d4c; font: 750 1.06rem/1.2 var(--face); letter-spacing: -.04em; }
.exam-formats span { font-size: .875rem; line-height: 1.25; color: #425e63; }
.exam-formats strong { font-size: .875rem; line-height: 1.25; color: #81391e; white-space: nowrap; font-variant-numeric: tabular-nums; }
.exam-score {
  padding-left: clamp(1.25rem, 2.5vw, 2.38rem);
  border-left: 1px solid #dde7e4;
}
.exam-score img { margin: .25rem auto 0; width: 100%; height: auto; max-height: 10rem; object-fit: contain; }
.exam-axis { text-align: center; color: #415c64; font: 700 .75rem/1.25 "DM Sans", Arial, sans-serif; }
.exam-score figcaption { margin-top: .44rem; font-size: .78rem; color: #4a6165; line-height: 1.38; }
.exam-founder {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-top: .875rem;
  margin: 0 var(--exam-gutter) 1.25rem;
  border-top: 1px solid #dbe4e1;
}
.exam-founder img { flex: none; width: 4rem; height: auto; object-fit: contain; }
.exam-founder h3 { font: 750 1.19rem/1.15 var(--face); letter-spacing: -.043em; margin-bottom: .25rem; }
.exam-founder p { color: #355159; font-size: .93rem; line-height: 1.43; max-width: 90ch; text-wrap: pretty; }
.exam-grants {
  padding: .875rem var(--exam-gutter);
  background: #edf4f1;
  border-block: 1px solid #d1dfda;
}
.exam-grants h3 { display: flex; gap: .5rem; align-items: center; font-size: 1.15rem; color: #064e57; }
.exam-grants h3 svg { width: 1.125rem; height: 1.125rem; }
.exam-grants > p { margin: .3rem 0 .5rem; font-size: .875rem; line-height: 1.45; color: #405d64; }
.exam-grant-options { display: flex; flex-wrap: wrap; gap: .375rem; }
.exam-grant-options button, .exam-actions button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25;
  color: #064e57;
}
.exam-grant-options button {
  border: 1px solid #9bbab7;
  background: #fff;
  padding: .44rem .625rem;
  border-radius: .28rem;
  text-align: left;
}
.exam-grant-options button:hover { background: #f5fcfb; border-color: #006272; }
.exam-grant-options button[aria-expanded="true"] { background: #006272; border-color: #006272; color: #fff; }
.exam-grant-options svg, .exam-actions button svg {
  width: .8rem;
  height: .8rem;
  flex: none;
  stroke-width: 2;
}
.exam-grant-options button[aria-expanded="true"] svg { transform: rotate(90deg); }
.exam-grant-panel {
  padding: .7rem .85rem;
  margin-top: .65rem;
  border-left: 3px solid #87b2a9;
  background: #fff;
}
.exam-grant-panel h4 { font-size: .94rem; }
.exam-grant-panel p { margin-top: .3rem; font-size: .94rem; line-height: 1.45; }
.exam-grant-panel a { white-space: normal; }
.exam-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0 .85rem;
  padding: 1.35rem var(--exam-gutter) 0;
  background: #fff8ed;
}
.exam-actions .btn {
  justify-self: start;
  gap: 1rem;
  min-height: 3.25rem;
  padding: .85rem 1.35rem;
  font-size: 1.125rem;
  line-height: 1.2;
  background: #c74718;
}
.exam-actions .btn::after {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: none;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
}
.exam-actions .btn:hover { background: #b43e16; }
.exam-actions .consultation-copy {
  grid-column: 1 / -1;
  max-width: 58ch;
  margin: 0 0 1rem;
  color: #385461;
  font-size: 1.1875rem;
  line-height: 1.55;
  letter-spacing: -.015em;
}
.exam-actions .consultation-copy strong {
  color: #004955;
  font: 750 1.5rem/1.25 var(--face);
  letter-spacing: -.04em;
}
.exam-actions > span { font-size: .9rem; color: #455d65; }
.exam-actions button {
  grid-column: 1 / -1;
  justify-content: flex-start;
  border: 0;
  border-top: 1px solid #deded4;
  margin: 1.3rem calc(-1 * var(--exam-gutter)) 0;
  background: #fff;
  min-height: 2.8rem;
  padding: .7rem var(--exam-gutter);
}
.exam-actions button:focus-visible { outline-offset: -4px; }
.exam-actions button:hover { text-decoration: underline; }
.exam-actions button svg { transform: rotate(90deg); }
.exam-actions button[aria-expanded="true"] svg { transform: rotate(-90deg); }
.exam-detail-content {
  border-top: 1px solid #d8e2df;
  padding: 1.1rem var(--exam-gutter) 1.35rem;
  color: #355159;
}
.exam-detail-content h3 { margin-bottom: .65rem; font-size: 1.3rem; }
.exam-detail-content > p, .exam-detail-content li, .exam-detail-content figcaption, .exam-detail p { font-size: .94rem; line-height: 1.5; }
.exam-detail { padding-block: .65rem; border-bottom: 1px solid #d8e2df; }
.exam-detail:last-child { border: none; }
.exam-detail summary { cursor: pointer; color: #064e57; font-weight: 700; }
.exam-detail ul { margin: .65rem 0 0; padding-left: 1.4rem; }
.exam-detail li { margin-block: .35rem; }
.exam-detail li span { display: block; }
.exam-detail video, .exam-extra-chart img { display: block; width: min(100%, 34rem); height: auto; margin-block: .6rem; }
.exam-detail p, .exam-detail figure { margin-top: .55rem; }
@media (max-width: 760px) {
  .exam-compare { grid-template-columns: 1fr; gap: 1rem; }
  .exam-hours { padding: 0; }
  .exam-score { border: 0; background: #f4f8f6; border-radius: .4rem; padding: .75rem; }
}
@media (max-width: 600px) {
  .exam-card { border-radius: .55rem; }
  .exam-hero { border-top-width: .1875rem; }
  .exam-hero::before { clip-path: polygon(0 0,77% 0,71% 100%,0 100%); }
  .exam-hero-image { width: 32%; object-position: 18% 48%; }
  .exam-card[data-exam="act"] .exam-hero-image { object-position: 53% 48%; }
  .exam-hero-copy { padding: .75rem .82rem 1rem; width: 100%; }
  .exam-category { margin-bottom: .43rem; gap: .375rem; }
  .exam-category .exam-icon { width: 1.85rem; height: 1.85rem; }
  .exam-hero h2 { font-size: clamp(1.62rem, 7.7vw, 2.1rem); max-width: 69%; }
  .exam-modes { gap: .32rem; margin-top: .625rem; }
  .exam-hero:not(.fin-hero) .exam-modes { max-width: 69%; }
  .exam-modes span { font-size: .81rem; padding: .25rem .375rem; gap: .25rem; }
  .exam-modes svg { width: .94rem; height: .94rem; }
  .exam-proof { padding: .875rem .94rem; }
  .exam-proof > div { padding-left: .69rem; }
  .exam-proof blockquote { font-size: 1.31rem; }
  .exam-proof figcaption { font-size: .78rem; column-gap: .35rem; }
  .exam-results { padding: 1.125rem 1rem .875rem; }
  .exam-results > h3 { margin-bottom: .875rem; max-width: 23ch; }
  .exam-scale-ticks { margin-top: .45rem; }
  .exam-scale-bars { margin: .2rem 0 .3rem; }
  .exam-formats li { padding-block: .375rem; }
  .exam-formats li > i { height: 1.44rem; }
  .exam-formats li > div { column-gap: .43rem; }
  .exam-formats b { font-size: 1rem; }
  .exam-formats span, .exam-formats strong { font-size: .83rem; }
  .exam-founder { margin-bottom: .875rem; gap: .625rem; align-items: flex-start; }
  .exam-founder img { width: 2.7rem; }
  .exam-founder h3 { font-size: 1.06rem; }
  .exam-founder p { font-size: .86rem; }
  .exam-grant-options { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.4fr); }
  .ai-card .exam-grant-options { grid-template-columns: auto auto; }
  .exam-grant-options button { justify-content: space-between; min-height: 2.2rem; padding-inline: .48rem; font-size: .82rem; }
  .exam-actions .btn { padding-inline: 1.15rem; font-size: 1.0625rem; }
}
@media (max-width: 360px) {
  .exam-actions { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .exam-actions .consultation-copy { margin-bottom: .55rem; }
  .exam-actions button { margin-top: .85rem; }
}
