.prep-digest-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(690px, calc(100svh - var(--header-height)));
  padding: clamp(48px, 8vw, 116px) 0;
  border-bottom: 1px solid var(--line-dark);
}

.prep-digest-photo,
.prep-digest-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.prep-digest-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.prep-digest-hero::before {
  z-index: 0;
  background: linear-gradient(90deg, rgba(7, 8, 7, .97), rgba(7, 8, 7, .85) 42%, rgba(7, 8, 7, .28)),
    linear-gradient(0deg, var(--black), transparent 60%);
  content: "";
}

.prep-digest-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(36px, 7vw, 112px);
  align-items: center;
  max-width: 1160px;
}

.prep-digest-intro h1 {
  margin: 0 0 22px;
  font-size: clamp(54px, 8vw, 96px);
  text-wrap: initial;
}

.prep-digest-intro h1 span {
  display: block;
  color: var(--gold);
}

.prep-digest-lede {
  max-width: 42ch;
  margin-bottom: 22px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
}

.prep-digest-coverage {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 15px;
}

.prep-digest-signup {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--gold);
  background: var(--charcoal);
}

.prep-digest-signup h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 33px);
}

/* SendFox supplies inline theme styles. Scope the brand overrides to this embed. */
.prep-digest-signup .sendfox-embed-card {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: inherit !important;
}

.prep-digest-signup .sendfox-embed-card input[type="email"],
.prep-digest-signup .sendfox-embed-card button[type="submit"] {
  min-height: 48px;
  border-radius: 4px !important;
  font-family: inherit !important;
  font-size: 16px !important;
}

.prep-digest-signup .sendfox-embed-card button[type="submit"] {
  background: var(--gold) !important;
  color: var(--black) !important;
}

.prep-digest-signup .sendfox-embed-card button[type="submit"]:hover:enabled {
  background: var(--white) !important;
}

.prep-digest-signup .sendfox-embed-card :is(input, button):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.prep-digest-fallback {
  width: 100%;
}

.prep-digest-embed:has(.sendfox-embed) .prep-digest-fallback {
  display: none;
}

@media (max-width: 760px) {
  .prep-digest-hero {
    min-height: auto;
  }

  .prep-digest-hero::before {
    background: linear-gradient(90deg, rgba(7, 8, 7, .94), rgba(7, 8, 7, .72)),
      linear-gradient(0deg, var(--black), transparent 85%);
  }

  .prep-digest-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .prep-digest-signup {
    max-width: 420px;
  }
}
