/* Match the laptop-wrap facets used in the homepage hero. */
body.myalco-public.preview-content .captured-content > :is(.b-page-hero, .phead, .trust-hero),
body.myalco-public.preview-content .captured-content > .public-resource > .public-resource-heading {
  background: var(--public-hero-background, #fff9f5 url("page-hero-facets.svg") center / 100% 100% no-repeat);
}

body.myalco-public.preview-content .captured-content > :is(.b-page-hero, .phead) :is(h1, .b-label, .b-lead, .eyebrow, .lede, p, small),
body.myalco-public.preview-content .captured-content > .public-resource > .public-resource-heading :is(h1, .b-label, .b-lead, .eyebrow, .lede, p, small),
body.myalco-public .home-hero-surface :is(h1, .b-label, .b-lead, .eyebrow, .lede, p, small) {
  color: #000;
}

/* Give the closing contact block a warm, solid surface. */
body.myalco-public .captured-content .b-closing {
  background: #fff9f5;
}
body.myalco-public .captured-content .b-closing > .wrap > :is(h2, .b-label, .b-lead) {
  color: #000;
}

@media (max-width: 640px) {
  body.myalco-public {
    --public-hero-background:
      linear-gradient(156deg, #f9dfd0 0%, #f7d7c4 49%, transparent 49.3%) top right / 100% 240px no-repeat,
      linear-gradient(156deg, #fff7f0 0%, #fff7f0 64%, transparent 64.3%) top right / 100% 260px no-repeat,
      linear-gradient(180deg, #fbe9de 0, #fff9f5 290px);
  }

  body.myalco-public .home-hero-surface {
    background: var(--public-hero-background);
  }

  body.myalco-public .home-hero-surface::before,
  body.myalco-public .home-hero-surface::after {
    content: none;
  }

  body.myalco-public .home-hero-surface .home-intro {
    padding-block: 32px 28px;
    row-gap: 24px;
  }
}

/* Use spacing and surfaces between public content sections. */
body.myalco-public .captured-content > section,
body.myalco-public .captured-content > :is(.b-page-hero, .phead, .work-projects),
body.myalco-public .captured-content > .public-resource > .public-resource-heading {
  border-bottom: 0;
}

body.myalco-public.preview-home .captured-content > section,
body.myalco-public :is(.services-section, .contact-section),
body.myalco-public .captured-content :is(section.consolidated-section, section.legal-block, section.brand-guidance) {
  border-top: 0;
}

body.myalco-public.preview-content .captured-content > .trust-hero {
  padding-inline: var(--gutter);
}

body.myalco-public .trust-shell {
  width: min(100%, var(--content));
}

body.myalco-public .trust-body {
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
}

/* Keep the verification examples and account content below their separate hero. */
body.myalco-public.family-secured-by-alco .captured-content > .badge-page {
  padding-block-start: 36px;
}
body.myalco-public .myalco-overview-banner [hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  body.myalco-public.family-secured-by-alco .captured-content > .badge-page {
    padding-block-start: 28px;
  }
}
