
/* Organic-search guide surfaces */
.learn {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

.learn-heading {
  max-width: 880px;
  margin: 0 0 54px;
}

.learn-heading > p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.learn-card {
  min-height: 270px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(24, 37, 70, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.learn-card:hover,
.learn-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(83, 109, 167, 0.42);
  box-shadow: 0 24px 60px rgba(24, 37, 70, 0.11);
}

.learn-card > span,
.related-guides a span {
  color: var(--forest-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.learn-card h3 {
  margin: 24px 0 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 0.98;
}

.learn-card p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.learn-card strong {
  margin-top: auto;
  padding-top: 30px;
  color: var(--forest);
}

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

.answer-page .site-header {
  color: var(--ink);
}

.answer-page main {
  overflow: hidden;
}

.answer-page article {
  padding-top: 70px;
}

.answer-hero,
.answer-content,
.related-guides {
  width: var(--page);
  margin-inline: auto;
}

.answer-hero {
  padding: 110px 0 72px;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--forest-light);
  font-weight: 700;
}

.answer-hero h1 {
  max-width: 1000px;
  margin: 18px 0 28px;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.045em;
}

.answer-lead {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.65;
}

.answer-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

.dark-link {
  color: var(--forest);
  border-color: rgba(23, 43, 79, 0.25);
}

.answer-product-shot {
  width: min(1380px, calc(100vw - 32px));
  margin: 0 auto 96px;
  padding: 16px;
  background: linear-gradient(145deg, var(--forest), #293d67);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.answer-product-shot img {
  width: 100%;
  border-radius: 20px;
}

.answer-product-shot figcaption {
  padding: 14px 10px 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  text-align: center;
}

.answer-content {
  max-width: 900px;
}

.answer-section {
  padding: 0 0 58px;
  margin-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.answer-section h2,
.answer-summary h2,
.related-guides h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}

.answer-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.answer-summary {
  width: min(1000px, calc(100vw - 40px));
  margin: 30px auto 100px;
  padding: clamp(38px, 7vw, 76px);
  color: white;
  background: var(--section-gradient);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.answer-summary p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.related-guides {
  padding-bottom: 110px;
}

.related-guides > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-guides a {
  min-height: 150px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.related-guides a strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 780px) {
  .learn-grid,
  .related-guides > div {
    grid-template-columns: 1fr;
  }

  .learn-card {
    min-height: 235px;
    padding: 28px;
  }

  .answer-page article {
    padding-top: 52px;
  }

  .answer-hero {
    padding: 82px 0 50px;
  }

  .breadcrumbs {
    margin-bottom: 38px;
  }

  .answer-hero h1 {
    font-size: clamp(3.15rem, 15vw, 5.25rem);
  }

  .answer-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .answer-product-shot {
    width: calc(100vw - 20px);
    padding: 8px;
    margin-bottom: 68px;
    border-radius: 24px;
  }

  .answer-product-shot img {
    min-height: 410px;
    object-fit: cover;
    object-position: left top;
    border-radius: 17px;
  }

  .answer-section {
    padding-bottom: 42px;
    margin-bottom: 42px;
  }

  .answer-summary {
    margin-bottom: 76px;
    border-radius: 28px;
  }

  .related-guides {
    padding-bottom: 76px;
  }
}
