/* Editorial answer-page treatment for the unified preview. It keeps the guide
   information architecture but avoids turning every paragraph into a card. */

.content-page {
  max-width: 76em;
}

.content-page .content-page-hero {
  position: relative;
  overflow: hidden;
  margin-top: 1em;
  padding: 3.5em 3.5em 3.25em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.5em;
  background:
    radial-gradient(circle at 93% 8%, rgba(168, 207, 251, 0.22), transparent 27%),
    radial-gradient(circle at 5% 100%, rgba(206, 1, 113, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(206, 1, 113, 0.14), rgba(24, 24, 38, 0.9));
  box-shadow: 0 1.5em 4em rgba(0, 0, 0, 0.2);
}

.content-page .content-page-hero::after {
  content: "";
  position: absolute;
  right: -5em;
  bottom: -7em;
  width: 17em;
  height: 17em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 2em rgba(255, 255, 255, 0.025), 0 0 0 4em rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.content-page .content-page-hero h1,
.content-page .content-page-hero p {
  position: relative;
  z-index: 1;
}

.content-page-hero-copy {
  position: relative;
  z-index: 1;
}

.content-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18em, 0.9fr);
  gap: 2.25em;
  align-items: center;
  position: relative;
  z-index: 1;
}

.content-page-hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.9em;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 1em 2.5em rgba(0, 0, 0, 0.28);
}

.content-page-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-page-eyebrow,
.content-page-label {
  color: #dba4dd;
  font-size: 0.74em;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin: 0 0 0.8em;
  text-transform: uppercase;
}

.content-page .content-page-hero h1 {
  max-width: 18em;
  font-size: clamp(2.2em, 5vw, 3.6em);
  margin-bottom: 0.45em;
}

.content-page .content-page-hero p:not(.content-page-eyebrow) {
  max-width: 50em;
}

.content-page-quick-answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17em, 0.82fr);
  gap: 2em;
  align-items: center;
  margin-top: 2em;
  padding: 2em 2.25em;
  border: 1px solid rgba(168, 207, 251, 0.22);
  border-radius: 1.1em;
  background: linear-gradient(120deg, rgba(30, 34, 61, 0.9), rgba(27, 22, 43, 0.92));
  box-shadow: 0 1em 3em rgba(0, 0, 0, 0.12);
}

.content-page-quick-answer h2 {
  max-width: 32em;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

.content-page-facts {
  display: grid;
  gap: 0.7em;
}

.content-page-fact {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  padding: 0.8em 1em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65em;
  background: rgba(255, 255, 255, 0.045);
}

.content-page-fact-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-page-fact strong {
  color: #fff;
  font-size: 0.9em;
  line-height: 1.35;
}

.content-page-layout {
  display: grid;
  grid-template-columns: 13em minmax(0, 1fr);
  gap: 3em;
  align-items: start;
  margin-top: 3em;
}

.content-page-toc {
  position: sticky;
  top: 5.5em;
  padding: 1.2em 1.1em;
  border-left: 1px solid rgba(206, 1, 113, 0.55);
}

.content-page-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-page-toc li {
  margin: 0 0 0.8em;
}

.content-page-toc a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82em;
  line-height: 1.35;
  text-decoration: none;
}

.content-page-toc a:hover {
  color: #fff;
}

.content-page-main {
  min-width: 0;
}

.content-page .content-page-section {
  margin: 0;
  padding: 0 0 2.4em;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.content-page .content-page-section + .content-page-section {
  padding-top: 2.4em;
}

.content-page .content-page-section h2 {
  margin-bottom: 0.7em;
}

.content-page .content-page-section p {
  max-width: 56em;
}

.content-page .content-page-notice {
  margin: 0 -1.15em;
  padding-left: 1.15em;
  padding-right: 1.15em;
  border-left: 2px solid #dba4dd;
  border-bottom: 0;
  border-radius: 0.4em;
  background: linear-gradient(90deg, rgba(206, 1, 113, 0.12), transparent 75%);
}

.content-page .content-page-faq {
  margin-top: 2.4em;
  padding: 2em 2.25em;
  border: 1px solid rgba(206, 1, 113, 0.3);
  border-radius: 1.1em;
  background: linear-gradient(145deg, rgba(50, 25, 55, 0.72), rgba(24, 24, 38, 0.9));
  box-shadow: 0 1em 3em rgba(0, 0, 0, 0.12);
}

.content-page .content-page-faq h2 {
  margin-bottom: 0.65em;
}

.content-page .content-page-closing {
  margin-top: 3em;
  padding: 2.25em;
  border: 1px solid rgba(206, 1, 113, 0.34);
  border-radius: 1.1em;
  background: linear-gradient(145deg, rgba(50, 25, 55, 0.72), rgba(24, 24, 38, 0.9));
}

.content-page .content-page-closing .hub-related {
  margin-top: 2em;
}

@media only screen and (max-width: 800px) {
  .content-page-layout {
    display: block;
  }

  .content-page-toc {
    position: static;
    margin-bottom: 2.5em;
  }

  .content-page-toc ul {
    columns: 2;
  }
}

@media only screen and (max-width: 600px) {
  .content-page .content-page-hero {
    padding: 2.25em 1.4em;
    border-radius: 1em;
  }

  .content-page-hero-grid {
    display: block;
  }

  .content-page-hero-media {
    margin-top: 1.5em;
  }

  .content-page-quick-answer {
    display: block;
    padding: 1.5em 1.35em;
    border-radius: 0.9em;
  }

  .content-page-facts {
    margin-top: 1.4em;
  }

  .content-page-toc ul {
    columns: 1;
  }

  .content-page .content-page-faq,
  .content-page .content-page-closing {
    padding: 1.5em 1.35em;
    border-radius: 0.9em;
  }
}
