/*
 * The five resource articles all use data-page-type="article". Their body copy
 * should begin at the same left edge as the surrounding .wrap sections.
 *
 * The WordPress theme adds .hg to a more specific centering rule in shared.css;
 * include both body classes here so this rule wins in the preview and theme.
 * This fluid layout works at desktop, tablet, and phone widths without moving
 * the page's established horizontal gutters.
 */
body.hg[data-page-type="article"] main .article-layout > .article-body,
body.qa-v2[data-page-type="article"] main .article-layout > .article-body {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
}

/* QA 868maqagk: use the full width of the homepage service-area introduction. */
body.qa-v2 main .home-regions .region-intro {
  width: min(100%, 900px);
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

body.qa-v2 main .home-regions .region-intro h2 {
  width: 100%;
  max-width: none;
  margin: 0 auto 16px;
  text-wrap: balance;
}

body.qa-v2 main .home-regions .region-intro p {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/* QA 868maqu7n: make the Thank You content follow one consistent rhythm. */
body.qa-v2 main .qa-thanks .section-head {
  margin-bottom: 18px;
}

body.qa-v2 main .qa-thanks .section-head h2 {
  margin: 0 0 16px;
}

body.qa-v2 main .qa-thanks .section-head .body-intro {
  margin: 0 auto;
}

body.qa-v2 main .qa-thanks .measure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

body.qa-v2 main .qa-thanks .measure p {
  margin: 0;
}

body.qa-v2 .qa-booking-link{display:inline-flex;margin-top:24px}

/* Reopened QA 868maqagk: introductions should not reserve an empty column. */
body.qa-v2 main .home-concerns .concern-heading,
body.qa-v2 main .evaluation-brief .evaluation-layout > div:first-child {
  width: min(100%, 1000px);
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
}
body.qa-v2 main .home-concerns .concern-heading h2,
body.qa-v2 main .evaluation-brief .evaluation-layout > div:first-child h2 {
  max-width: none;
  width: 100%;
  margin-inline: auto;
  text-wrap: balance;
}
body.qa-v2 main .evaluation-brief .evaluation-layout > div:first-child p {
  max-width: 760px;
  margin-inline: auto;
}

body.qa-v2 main .page-before-after-gallery .brief-body .copy-only-opening,
body.qa-v2.page-before-after-gallery main .brief-body .copy-only-opening {
  display: block;
  width: 100%;
  max-width: none;
}
body.qa-v2.page-before-after-gallery main .brief-body .copy-only-opening .opening-copy {
  width: min(100%, 950px);
  max-width: 950px;
  margin-inline: auto;
  text-align: center;
}
body.qa-v2.page-before-after-gallery main .brief-body .copy-only-opening .section-head p {
  max-width: 800px;
  margin-inline: auto;
}
body.qa-v2.page-before-after-gallery main .brief-body .copy-only-opening .actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* The four guide points occupy both desktop columns; one column on phones. */
body.qa-v2[data-page-type="article"] main .article-layout > .article-body.article-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0;
}
body.qa-v2[data-page-type="article"] main .article-step {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  background: var(--cream);
}
body.qa-v2[data-page-type="article"] main .article-step h2 {
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.25;
  margin: 0 0 14px;
}
body.qa-v2[data-page-type="article"] main .article-step p {
  max-width: none;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

@media (max-width: 820px) {
  body.qa-v2[data-page-type="article"] main .article-layout > .article-body.article-steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  body.qa-v2.page-before-after-gallery main .brief-body .copy-only-opening .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  body.qa-v2[data-page-type="article"] main .article-step { padding: 23px; }
}
