/* Match the homepage header's label-to-arrow gap. */
html body :is(a,button):has(> .sw-button-arrow) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px !important;
}
html body :is(a,button) > .sw-button-arrow {
  display: inline-block !important;
  position: static !important;
  float: none !important;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
html body .nav-cta:has(> .sw-button-arrow)::before {
  content: none !important;
}
@media (min-width: 741px) {
  html body .mast:has(+ main #artist-title) > nav {
    gap: clamp(10px, 2vw, 28px) !important;
  }
}
@media (max-width: 740px) {
  html body .artist-hero-copy #artist-title {
    font-size: clamp(21px, 7.15vw, 44px) !important;
    line-height: 1.08;
    white-space: nowrap;
  }
}


/* Keep cookie settings in the same place and style as the public footer links. */
html body footer button.sw-consent-settings {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  font: inherit !important;
  line-height: inherit !important;
  text-align: inherit !important;
  text-decoration: none !important;
  cursor: pointer;
}
html body .sw-consent-settings:hover,
html body .sw-consent-settings:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}


/* Keep every public page on the homepage's Georgia and ivory/blush theme. */
:root {
  --paper: #fbf4ec !important;
  --ink: #292521 !important;
  --blush: #f3ded8 !important;
  --line: #d8bba2 !important;
  --thin: #d8bba2 !important;
}
html body {
  background: #fbf4ec !important;
  color: #292521 !important;
  font-family: Georgia, "Times New Roman", serif !important;
}
html body :is(.mast nav, .site-header nav, .package-mast nav, .sw-public-header nav, footer, .site-footer) {
  font-family: Georgia, "Times New Roman", serif !important;
}
html body main :not(button):not(input):not(select):not(textarea):not(iframe):not(svg):not(.button):not(.nav-cta):not(.package-button):not(.wide-cta):not(.send-button):not(.diary-inline-link):not(.tribute-link) {
  font-family: Georgia, "Times New Roman", serif !important;
}
html body main :is(h1, h2, h3, h4) {
  color: #292521 !important;
  font-family: Georgia, "Times New Roman", serif !important;
}
html body main :is(.paper, .faq-page, .packages-page, .diary-main, .tributes) {
  background-color: #fbf4ec !important;
  background-image: none !important;
}
html body main :is(.faq-item, .tribute-card, .package-card) {
  background-color: #fbf4ec !important;
  border-color: #d8bba2 !important;
  box-shadow: none !important;
}
html body main.faq-page button {
  font-family: Georgia, "Times New Roman", serif !important;
}

/* Apply the same paper background to the page wrapper itself, including FAQ layouts. */
html body main:is(.paper, .faq-page, .packages-page, .diary-main, .tributes),
html body .faq-page {
  background-color: #fbf4ec !important;
  background-image: none !important;
}
html body header nav,
html body footer {
  font-family: Georgia, "Times New Roman", serif !important;
}

/* Keep public page titles at the homepage's regular weight. */
html body main :is(h1, h2, h3, h4) {
  font-weight: 400 !important;
}

/* Make wrapper backgrounds, headings and navigation win over legacy page selectors. */
html body main[class] {
  background: #fbf4ec !important;
  background-image: none !important;
}
html body main[class] :is(h1, h2, h3, h4) {
  color: #292521 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
}
html body header nav a {
  font-family: Georgia, "Times New Roman", serif !important;
}

/* Match the legacy FAQ template and public navigation to the main site. */
html body:has(main.faq-page.paper) main.faq-page.paper {
  background: #fbf4ec !important;
  background-image: none !important;
}
html body:has(main.faq-page.paper) main.faq-page.paper :is(h1, h2, h3, h4) {
  color: #292521 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
}
html body:has(main.faq-page.paper) main.faq-page.paper .faq-item summary {
  font-weight: 400 !important;
}
html body .sw-public-header nav a {
  font-family: Georgia, "Times New Roman", serif !important;
}

/* Override the FAQ body's stronger legacy background rule and unify all header links. */
html body:has(main.faq-page.paper) {
  background: #fbf4ec !important;
  color: #292521 !important;
}
html body header[class] nav a {
  font-family: Georgia, "Times New Roman", serif !important;
}

/* Use the homepage ivory on both the FAQ page root and its main panel. */
html:has(main.faq-page.paper),
html:has(main.faq-page.paper) body,
html:has(main.faq-page.paper) main.faq-page.paper {
  background-color: #fbf4ec !important;
  background-image: none !important;
}

/* Standardise the small label above page titles, including the About hero. */
html body main [class] .section-overline,
html body main .section-overline,
html body main .tribute-kicker,
html body main .sw-page-overline {
  color: #ba925e !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: .65rem !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
  margin: 0 0 8px !important;
}

/* Override the Reviews template's legacy brown overline rule. */
html body .reviews-page .reviews-intro .section-overline,
html body .reviews-page .review-submit .section-overline {
  color: #ba925e !important;
}


/* Use the homepage's clean sans-serif label style for public action buttons. */
html body main :is(.button, .package-button, .wide-cta, .send-button, .diary-inline-link, .tribute-link) {
  font-family: Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}


/* Keep the selected date copy on the site's Georgia serif theme. */
html body main .selected-date-box :is(.selected-date-label, .selected-date-value, .selected-date-note) {
  font-family: Georgia, "Times New Roman", serif !important;
}
