/* Match the laptop-wrap facets used in the homepage hero. */
body.myalco-public.preview-content .captured-content > :is(.b-page-hero, .phead),
body.myalco-public.preview-content .captured-content > .work-projects > .work-projects-inner > .work-projects-heading,
body.myalco-public.preview-content .captured-content > .badge-page > .badge-intro,
body.myalco-public.preview-content .captured-content > .auxiliary-page > .auxiliary-inner > .auxiliary-heading,
body.myalco-public.preview-content .captured-content > .public-resource > .public-resource-heading,
body.myalco-public.preview-content .captured-content > .myalco-overview > header {
  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 > .work-projects > .work-projects-inner > .work-projects-heading :is(h1, .b-label, .b-lead, .eyebrow, .lede, p, small),
body.myalco-public.preview-content .captured-content > .badge-page > .badge-intro :is(h1, .b-label, .b-lead, .eyebrow, .lede, p, small),
body.myalco-public.preview-content .captured-content > .auxiliary-page > .auxiliary-inner > .auxiliary-heading :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.preview-content .captured-content > .myalco-overview > header :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;
  }
}
