/* ═══════════════════════════════════════════════════════
   GUIDE DETAIL PAGE — Page-Specific Styles
   ═══════════════════════════════════════════════════════ */

/* ── 1. Hero: text + download form / cover artwork ─── */
.gd-hero {
  padding-top: clamp(120px, 12.3vw, 139.4px);
}

.gd-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 4.92vw, 4.1rem);
  align-items: start;
}

.gd-hero__back {
  display: inline-block;
  font-size: 0.9225rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-copper);
  margin-bottom: 1.75rem;
  transition: opacity 0.3s ease;
}

.gd-hero__back:hover {
  opacity: 0.7;
}

/* 20 Oct: size and measure match the article template's .ar-header__title, so the Guide's
   heading reads as the same component as every insight page's. */
.gd-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.856rem, 2.3042vw, 2.7675rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  max-width: 600px;
}
/* 21 Oct: same size and leading as article body text (.ar-content p). It was 14.7px at 1440
   against the article's 17.9px, which read thin under the article-size title. */
.gd-hero__desc {
  font-size: clamp(1.05rem, 1.24vw, 1.3rem);
  line-height: 1.55;
  color: var(--color-text);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* ── Download form ─────────────────────────────────── */
.gd-form {
  max-width: 500px;
}

.gd-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
/* 20 Oct: the form's own .gd-form__input / .gd-form__submit styling is retired. The inputs and
   button now carry the site's standard classes (.contact__input and .btn.btn--primary
   .contact__submit) so they are the same components as every other form, not lookalikes.

   This is the only form on the site on a LIGHT background. styles-v22.css defines the <input>
   submit's hover only for dark bands, where it turns cream. On a light background every button
   hovers copper -> charcoal through the .btn::before wipe, which an <input> cannot draw, so the
   charcoal fill is set directly. */
.gd-hero input.btn.btn:is(:hover, :focus-visible) {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}

/* ── Cover artwork ─────────────────────────────────── */
.gd-hero__cover {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.gd-cover {
  position: relative;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 40px 80px -20px rgba(35, 31, 32, 0.35);
}

/* 21 Oct: the cover image is the FINISHED artwork - title lettering and logo are printed into it.
   It used to be forced into a 4:3 box with object-fit: cover, which cropped the sides of a
   1036x587 (~16:9) image and clipped its own lettering, then tinted with an overlay and
   re-drawn with an HTML title and a second logo on top. Those three layers were removed
   from the page; the image now shows at its natural ratio, untouched. */
.gd-cover img:first-child {
  display: block;
  width: 100%;
  height: auto;
}

/* ── 2. Related insights grid ─────────────────────── */
.gd-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.46vw, 1.64rem);
}

.gd-related .insight-card__content {
  padding: 1.25rem 0 4.5rem;
  border: none;
}
.gd-related .insight-card {
  border: none;
  background: rgba(255, 255, 255, 0);
}

.gd-related .insight-card:hover {
  transform: none;
  box-shadow: none;
}

.gd-related .insight-card__img {
  border-radius: 4px;
}
.gd-related .insight-card__kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;   /* was 0.615rem; 16 Sept responsive pass: 12px floor */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

/* 21 Oct: the type mark is drawn the way the Insights page draws it (insights-v6.css) - a
   ::before on the kicker, coloured by the card's data-category - rather than by a separate empty
   <i class="insight-card__bar"> element. Those empty elements are what the Webflow Designer
   blew up into large dashed placeholder squares on the canvas; the live page was always 3x14px. */
.gd-related .insight-card__kicker::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  border-radius: 1px;
  flex-shrink: 0;
  background: #4A4FE0;
}
.gd-related .insight-card[data-category="news"] .insight-card__kicker::before { background: #4CAF6E; }
.gd-related .insight-card[data-category="guide"] .insight-card__kicker::before { background: #E08A3C; }

.gd-related .insight-card__title {
  font-weight: 700;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .gd-hero__grid {
    grid-template-columns: 1fr;
  }

  .gd-hero__cover {
    order: -1;
  }

  .gd-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gd-form__row {
    grid-template-columns: 1fr;
  }

  .gd-related__grid {
    grid-template-columns: 1fr;
  }
}
