/* Basic page family. Server-resolved exceptions never load this file.
   Warm Paper openings share the global footer's typography and controls, not its dark background. */
body.dc-standard-page:not(.home) {
  --dc-interior-control-radius: var(--dc-shared-control-radius);
}
body.dc-standard-page:not(.home) .site-main#site-main-content {
  font-family: Outfit, Arial, sans-serif;
}
body.dc-standard-page:not(.home) .site-main#site-main-content h1 {
  font: var(--dc-shared-title-weight) clamp(36px,4.4vw,60px)/1.08 Fraunces, Georgia, serif !important;
  letter-spacing: -.025em; text-wrap: balance; text-shadow:none;
}
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero,.calculator-hero,.hero-panel):has(h1) {
  --dc-page-heading: var(--dc-color-text);
  --dc-page-body: var(--dc-color-text);
  background: var(--dc-shared-paper) !important;
  color: var(--dc-color-text); border: 0; border-radius: 0; box-shadow: none;
  padding-block:64px;
}
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero,.calculator-hero,.hero-panel):has(h1) h1 {
  color: var(--dc-color-text) !important;
}
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero,.calculator-hero,.hero-panel):has(h1) :is(.content-shell__eyebrow,.schedule-hero__intro>.content-shell__eyebrow) {
  color: var(--dc-brand-logo-red) !important;
  font:650 12px/1.5 Outfit,Arial,sans-serif;letter-spacing:.1em;
}
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero)>.content-shell {
  width:min(var(--dc-shared-measure),calc(100% - 64px));max-width:var(--dc-shared-measure);
  background:transparent;border:0;border-radius:0;box-shadow:none;
}
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero):has(h1)::before,
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero):has(h1)::after {content:none}
/* Pair the new light surface with readable copy; leave media/card/player interfaces scoped. */
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero,.calculator-hero,.hero-panel):has(h1) :is(.dc-page-hero__main,.dc-service-hero__main,.calculator-hero__content,.hero-panel__content,.proof-stage__main) :is(p:not(.content-shell__eyebrow),h2,h3,li) {
  color:var(--dc-color-text)!important;text-shadow:none;
}
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero,.calculator-hero,.hero-panel):has(h1) :is(.dc-service-hero__brief,.about-hero-card__panel) :is(h2,h3,p,summary,li) {color:var(--dc-color-text)!important}
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero):has(h1) [role=search] label {color:var(--dc-color-text)!important}
body.dc-standard-page:not(.home) .site-main#site-main-content .dc-service-hero__brief {border-color:color-mix(in srgb,var(--dc-color-text) 18%,transparent)}
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.calculator-hero__nav a,.dc-service-hero__brief a:not(.dc-button)) {color:var(--dc-color-action-strong)!important}
body.dc-standard-page:not(.home) .site-main#site-main-content .calculator-hero__nav a {border-color:var(--dc-color-action-strong)}
body.dc-standard-page:not(.home) .site-main#site-main-content [data-interior-hero] .hero-proof-card :is(.hero-proof-card__eyebrow,.hero-proof-card__metrics span) {color:var(--dc-color-text)!important}
body.dc-standard-page:not(.home) .site-main#site-main-content [data-interior-hero] .hero-proof-card {border-color:color-mix(in srgb,var(--dc-color-text) 18%,transparent)}
/* County aerial/maps remain a light functional surface, not a decorative dark hero.
   Preserve their map layers/geometry; keep their overlaid labels dark and unglowed. */
body.dc-standard-page:not(.home) .site-main#site-main-content .dc-page-hero.county-stage .county-stage__main :is(h1,.content-shell__eyebrow,.county-stage__lede) {
  color:var(--dc-color-text)!important;text-shadow:none!important;-webkit-text-stroke:0;
}
/* Standard service openings no longer reserve an empty column for a retired background photo. */
body.dc-standard-page:not(.home) .site-main#site-main-content [data-interior-hero][data-hero-photo=background]>.content-shell {
  grid-template-columns:minmax(0,1fr);min-height:0;
}
body.dc-standard-page:not(.home) .site-main#site-main-content [data-interior-hero][data-hero-photo=background] :is(.dc-service-hero__main,.dc-service-hero__aside) {max-width:740px}
/* Functional shells and page openings remain light; the global navy footer is unchanged. */
body.dc-standard-page:not(.home) .site-main#site-main-content .schedule-hero__intro :is(.schedule-hero__lede,.schedule-host p) {color:var(--dc-color-text)}
body.dc-standard-page:not(.home) .site-main#site-main-content .schedule-host {border-color:color-mix(in srgb,var(--dc-color-text) 18%,transparent)}
body.dc-standard-page:not(.home) .site-main#site-main-content .schedule-host strong {color:var(--dc-color-text)}
body.dc-standard-page:not(.home) .site-main#site-main-content .schedule-calendar__shell {color:var(--dc-color-text)}
/* One heading rhythm, but preserve smaller nested card/form headings and provider dialogs. */
body.dc-standard-page:not(.home) .site-main#site-main-content :is(.section-heading>h2,.dc-page-section__heading,.tool-calculator-stage>h2) {
  font-weight:var(--dc-shared-title-weight);font-size:clamp(28px,3vw,38px);line-height:1.15;letter-spacing:-.025em;
}
@media(max-width:780px) {
  body.dc-standard-page:not(.home) .site-main#site-main-content h1 {font-size:clamp(34px,9.5vw,48px)!important}
  body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero,.calculator-hero,.hero-panel):has(h1) {padding-block:40px}
  body.dc-standard-page:not(.home) .site-main#site-main-content :is(.dc-page-hero,.dc-service-hero)>.content-shell {width:calc(100% - 40px)}
}
