/* A2CP89 V17: one durable editorial grid for long-form service pages. */

:root {
  --a2cp-v17-column: 75rem;
  --a2cp-v17-gutter: 1rem;
  --a2cp-v17-h1: 2.125rem;
  --a2cp-v17-h2: 1.625rem;
  --a2cp-v17-h3: 1.375rem;
}

main .a2cp-hero:has(~ .a2cp-pillar-answer) :where(h1, h2, h3),
main .a2cp-hero ~ :where(.a2cp-pillar-answer, .a2cp-pillar-copy, .a2cp-pillar-steps, .a2cp-cost-section, .a2cp-pillar-gallery, .a2cp-faq-section, .a2cp-references-section, .a2cp-related-section, .a2cp-cta) :where(h1, h2, h3) {
  hyphens: none;
  overflow-wrap: normal;
  text-align: left !important;
  word-break: normal;
}

main .a2cp-hero:has(~ .a2cp-pillar-answer) h1 {
  font-size: var(--a2cp-v17-h1) !important;
}

main .a2cp-hero ~ :where(.a2cp-pillar-answer, .a2cp-pillar-copy, .a2cp-pillar-steps, .a2cp-cost-section, .a2cp-pillar-gallery, .a2cp-faq-section, .a2cp-references-section, .a2cp-related-section, .a2cp-cta) h2 {
  font-size: var(--a2cp-v17-h2) !important;
  line-height: 1.08 !important;
}

main .a2cp-hero ~ :where(.a2cp-pillar-answer, .a2cp-pillar-copy, .a2cp-pillar-steps, .a2cp-cost-section, .a2cp-pillar-gallery, .a2cp-faq-section, .a2cp-references-section, .a2cp-related-section, .a2cp-cta) h3 {
  font-size: var(--a2cp-v17-h3) !important;
  line-height: 1.18 !important;
}

main .a2cp-hero:has(~ .a2cp-pillar-answer) .a2cp-hero__copy {
  padding-inline: var(--a2cp-v17-gutter) !important;
  text-align: left !important;
}

main .a2cp-hero:has(~ .a2cp-pillar-answer) {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: none !important;
  width: 100vw !important;
}

main .a2cp-hero:has(~ .a2cp-pillar-answer) .a2cp-hero__copy > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

main .a2cp-hero ~ :where(.a2cp-pillar-copy, .a2cp-pillar-steps, .a2cp-cost-section, .a2cp-faq-section, .a2cp-references-section, .a2cp-related-section),
main .a2cp-hero ~ .a2cp-pillar-gallery .a2cp-section-heading {
  box-sizing: border-box;
  margin-inline: auto !important;
  max-width: var(--a2cp-v17-column) !important;
  padding-inline: 0 !important;
  width: calc(100% - (2 * var(--a2cp-v17-gutter))) !important;
}

main .a2cp-hero ~ .a2cp-pillar-answer {
  box-sizing: border-box;
  margin-inline: 0 !important;
  padding-inline: var(--a2cp-v17-gutter) !important;
  width: 100% !important;
}

main .a2cp-hero ~ .a2cp-pillar-gallery {
  padding-inline: 0 !important;
}

main .a2cp-hero ~ .a2cp-cta {
  box-sizing: border-box;
  margin-inline: 0 !important;
  max-width: none !important;
  padding-inline: var(--a2cp-v17-gutter) !important;
  text-align: left !important;
  width: 100% !important;
}

main .a2cp-hero ~ .a2cp-cta :where(h2, p, .a2cp-actions) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

@media (max-width: 63.999rem) {
  main .a2cp-hero ~ :where(.a2cp-pillar-answer, .a2cp-pillar-copy, .a2cp-pillar-steps, .a2cp-cost-section, .a2cp-faq-section, .a2cp-references-section, .a2cp-related-section),
  main .a2cp-hero ~ .a2cp-pillar-gallery .a2cp-section-heading,
  main .a2cp-hero ~ .a2cp-cta {
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    width: 100% !important;
  }

  main .a2cp-hero ~ .a2cp-pillar-answer,
  main .a2cp-hero ~ .a2cp-cta {
    padding-inline: 0 !important;
  }

  main .a2cp-hero:has(~ .a2cp-pillar-answer) .a2cp-hero__copy {
    padding-inline: var(--a2cp-v17-gutter) !important;
  }

  main .a2cp-hero ~ :where(.a2cp-pillar-answer, .a2cp-pillar-copy, .a2cp-pillar-steps, .a2cp-cost-section, .a2cp-pillar-gallery, .a2cp-faq-section, .a2cp-references-section, .a2cp-related-section, .a2cp-cta) :where(h2, h3),
  main .a2cp-hero:has(~ .a2cp-pillar-answer) h1 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  main .a2cp-hero ~ :where(.a2cp-pillar-answer, .a2cp-pillar-copy, .a2cp-pillar-steps, .a2cp-cost-section, .a2cp-pillar-gallery, .a2cp-faq-section, .a2cp-references-section, .a2cp-related-section, .a2cp-cta) {
    padding-block: 3rem !important;
  }

  main .a2cp-hero ~ :where(.a2cp-pillar-copy, .a2cp-pillar-steps, .a2cp-cost-section, .a2cp-faq-section, .a2cp-references-section, .a2cp-related-section) > h2,
  main .a2cp-hero ~ .a2cp-pillar-gallery .a2cp-section-heading > h2 {
    margin-bottom: 1.5rem !important;
    max-width: none !important;
  }
}

@media (min-width: 64rem) {
  :root {
    --a2cp-v17-gutter: 2rem;
    --a2cp-v17-h1: 3.5rem;
    --a2cp-v17-h2: 2.25rem;
  }

  main .a2cp-hero:has(~ .a2cp-pillar-answer) .a2cp-hero__copy {
    padding-left: max(var(--a2cp-v17-gutter), calc((100vw - var(--a2cp-v17-column)) / 2)) !important;
    padding-right: clamp(2.5rem, 5vw, 5.5rem) !important;
  }

  main .a2cp-hero ~ .a2cp-pillar-answer {
    margin-block: 3rem !important;
    margin-inline: auto !important;
    max-width: 80rem !important;
    padding: 3.5rem 2.5rem !important;
    width: calc(100% - (2 * var(--a2cp-v17-gutter))) !important;
  }

  main .a2cp-hero ~ :where(.a2cp-pillar-copy, .a2cp-pillar-steps, .a2cp-cost-section, .a2cp-faq-section, .a2cp-references-section, .a2cp-related-section) {
    column-gap: clamp(3rem, 5vw, 5rem) !important;
    grid-template-columns: minmax(18.75rem, 30%) minmax(0, 1fr) !important;
    padding-block: 3rem !important;
  }

  main .a2cp-hero ~ .a2cp-pillar-answer {
    column-gap: clamp(3rem, 5vw, 5rem) !important;
    grid-template-columns: minmax(18.75rem, 30%) minmax(0, 1fr) !important;
  }

  main .a2cp-hero ~ .a2cp-pillar-steps .a2cp-pillar-steps__heading {
    position: static !important;
  }

  main .a2cp-hero ~ .a2cp-pillar-steps .a2cp-pillar-steps__list {
    display: grid !important;
    gap: 2rem 1.5rem !important;
    grid-template-columns: repeat(3, minmax(12.5rem, 1fr)) !important;
  }

  main .a2cp-hero ~ .a2cp-pillar-gallery {
    padding-block: 3rem !important;
  }

  main .a2cp-hero ~ .a2cp-pillar-gallery .a2cp-section-heading {
    align-items: start !important;
    column-gap: clamp(3rem, 5vw, 5rem) !important;
    grid-template-columns: minmax(18.75rem, 30%) minmax(0, 1fr) !important;
  }

  main .a2cp-hero ~ .a2cp-cta {
    margin-inline: auto !important;
    max-width: 80rem !important;
    padding: 3.5rem 2.5rem !important;
    width: calc(100% - (2 * var(--a2cp-v17-gutter))) !important;
    display: block !important;
  }

  main .a2cp-hero ~ .a2cp-cta {
    transform: none !important;
  }

  main .a2cp-hero ~ :where(.a2cp-pillar-copy, .a2cp-pillar-steps, .a2cp-cost-section, .a2cp-faq-section, .a2cp-references-section, .a2cp-related-section) > h2,
  main .a2cp-hero ~ .a2cp-pillar-gallery .a2cp-section-heading > h2,
  main .a2cp-hero ~ .a2cp-pillar-answer > h2,
  main .a2cp-hero ~ .a2cp-cta h2 {
    max-width: 16ch !important;
  }

  main .a2cp-hero ~ .a2cp-cost-section .a2cp-cost-table {
    margin-block: 2rem !important;
  }

  main .a2cp-hero ~ .a2cp-cost-section .a2cp-cost-table :where(th, td) {
    padding: 0.7rem !important;
  }
}
