/* ==========================================================================
   Guide Posts page
   All page-specific styles live here; styles.css is untouched.
   ========================================================================== */

/* Hero
   ========================================================================== */

.hero--guides { background-image: url("/assets/img/2027/guide-posts/hero-bg.jpg"); }

.hero--guides .hero__content { max-width: 920px; }
.hero--guides .hero__content > p:not([class]) { max-width: 890px; margin-top: 26px; }
.hero--guides .highlights--inline { margin-top: 26px; }
.hero--guides .highlights--inline em { min-width: 0; max-width: 10.5em; }
.hero--guides .divider { margin-top: 26px; }

/* Why it works (dark split)
   ========================================================================== */

.guides-why { padding-block: clamp(64px, 9vw, 170px); }

.guides-why .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }

.guides-why .split__text h2 { color: var(--white); }
.guides-why .split__text > p:not([class]) { max-width: 510px; font-size: 15px; }
.guides-why .divider--left { margin-block: 10px 18px; }

/* Feather the mockup's dark backdrop into the section */
.guides-why .split__media img {
  -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 75%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 75%, transparent 100%);
}

/* How it works
   ========================================================================== */

.guides-narrow { max-width: 420px !important; }

#how-it-works .step { padding-right: 20px; }
#how-it-works .step h3 { font-size: 16px; }

/* Engagement band
   ========================================================================== */

.guides-engage { padding-block: clamp(64px, 7vw, 160px); }

.guides-engage__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 3.5vw, 64px);
  max-width: calc(1280px + var(--gutter) * 2);
}

.guides-engage h2 {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 1.1rem + 1.1vw, 2.3rem);
  font-weight: 500;
}

.guides-engage__inner p {
  margin-top: 26px;
  font-size: 16px;
}

.guides-engage .checklist--bold { margin: 0; gap: 12px; }

/* Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .guides-why .split,
  .guides-engage__inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero--guides h1 br,
  .guides-why h2 br { display: none; }
  .hero--guides .highlights--inline em { max-width: none; }
}