/* =========================================================
   ANSWER-FIRST MICROBLOG PAGES (/guide/* from Oct 2026)
   Question title -> bold answer -> offers -> videos -> detail.
   Builds on style.css. Older guide pages keep using guide.css.
========================================================= */

.answer-page {
  background: var(--color-white);
}

/* ---- Hero: question + immediate answer ---- */

.answer-hero {
  position: relative;
  text-align: center;
  padding: 8rem 1.5rem 3.5rem;
  background-color: var(--color-white);
  background-image:
    radial-gradient(700px circle at 85% 0%, rgba(47, 184, 166, 0.18), transparent 60%),
    radial-gradient(600px circle at 5% 10%, rgba(22, 50, 74, 0.08), transparent 60%),
    linear-gradient(180deg, var(--color-teal-light) 0%, var(--color-white) 100%);
}

.answer-hero__inner {
  max-width: 820px;
  margin: 0 auto;
}

.answer-hero__eyebrow {
  display: inline-block;
  background: var(--color-white);
  border: 1px solid rgba(22, 50, 74, 0.12);
  color: var(--color-teal-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}

.answer-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-navy-dark);
  margin-bottom: 1.25rem;
}

.answer-hero__answer {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto;
}

.answer-hero__answer strong {
  color: var(--color-navy-dark);
  font-weight: 700;
}

.answer-hero__meta {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #8a959d;
}

.answer-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.answer-chip {
  background: var(--color-white);
  border: 1px solid rgba(22, 50, 74, 0.14);
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-navy);
}

/* ---- Shared section shell ---- */

.answer-section {
  padding: 3rem 1.5rem;
}

.answer-section__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.answer-section__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: -0.01em;
  color: var(--color-navy-dark);
  margin-bottom: 0.4rem;
}

.answer-section__lead a {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

.answer-section__lead {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  max-width: 640px;
}

/* ---- Purchase options ---- */

.offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.offers--single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.offer {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border: 1px solid rgba(22, 50, 74, 0.08);
  border-radius: 20px;
  padding: 1.75rem;
}

.offer--featured {
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
  color: var(--color-white);
  box-shadow: 0 24px 50px rgba(15, 36, 54, 0.22);
}

.offer__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  background: var(--color-teal-light);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
}

.offer--featured .offer__tag {
  background: rgba(47, 184, 166, 0.2);
  color: #7fe0d2;
}

.offer__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.offer__price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.offer__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

.offer--featured .offer__desc {
  color: rgba(255, 255, 255, 0.78);
}

.offer .btn {
  width: 100%;
}

/* ---- YouTube videos (blog-card style) ---- */

.videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.video-card {
  background: #fafafa;
  border: 1px solid rgba(22, 50, 74, 0.06);
  border-radius: 20px;
  padding: 0.6rem 0.6rem 1.25rem;
}

.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}

/* YouTube Shorts are vertical */
.video-card__frame--short {
  aspect-ratio: 9 / 16;
}

.video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(240px circle at 80% 10%, rgba(47, 184, 166, 0.45), transparent 60%),
    linear-gradient(135deg, var(--color-navy-dark), var(--color-navy) 60%, var(--color-teal-dark) 140%);
}

.video-card__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  position: relative;
}

.video-card__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: 16px solid var(--color-navy-dark);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.video-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-navy-dark);
  margin: 0.9rem 0.5rem 0;
}

.video-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-navy-dark);
}

.video-card__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--color-navy-dark);
  margin: 0.5rem 0.5rem 0.35rem;
}

.video-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0.5rem;
}

.video-card__author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0.5rem 0;
}

.video-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.video-card__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-navy-dark);
}

.video-card__name span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ---- Detailed answer ---- */

.detail {
  background: var(--color-white);
  padding-top: 2rem;
}

.detail__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-dark);
}

.detail__body h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: -0.01em;
  color: var(--color-navy-dark);
  margin: 2.5rem 0 0.75rem;
}

.detail__body h2:first-child {
  margin-top: 0;
}

.detail__body p + p {
  margin-top: 1.1rem;
}

.detail__body > p + .detail__rules,
.detail__rules + h2 {
  margin-top: 2.75rem;
}

.detail__body strong {
  color: var(--color-navy-dark);
}

/* Rules read as text: a heading and a paragraph, divided by hairlines (no boxes) */
.detail__rules {
  margin: 1.75rem 0 0;
  border-top: 1px solid rgba(22, 50, 74, 0.12);
}

.detail__rule {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0.5rem 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(22, 50, 74, 0.12);
}

.detail__rule h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-teal-dark);
}

.detail__rule p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-dark);
}

@media (max-width: 640px) {
  .detail__rule {
    grid-template-columns: 1fr;
  }
}

.detail__body a {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .answer-hero {
    padding: 6.5rem 1.25rem 2.5rem;
  }

  .offers {
    grid-template-columns: 1fr;
  }
}

/* ---- Navbar sits on a light hero here, so use dark link text ---- */

.answer-page .navbar__nav a {
  color: var(--color-navy);
}

.answer-page .navbar__nav a:hover {
  color: var(--color-teal-dark);
}

/* Two videos: centre the pair instead of leaving an empty third column */
.videos--two {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
}

@media (max-width: 700px) {
  .videos--two {
    grid-template-columns: minmax(0, 320px);
  }
}

/* Centred section heading, for a single centred offer card */
.answer-section--center .answer-section__title,
.answer-section--center .answer-section__lead {
  text-align: center;
}

.answer-section--center .answer-section__lead {
  margin-left: auto;
  margin-right: auto;
}
