/** Section skins v0.56.0 — explicit per-block opt-in; leave unchanged sections untouched. */
:where(.pcx,.pcc,.pc-news-feed,.cpfe).pcx-has-section-bg{
 --pcx-skin-bg:transparent;
 --pcx-skin-card-bg:var(--pc-paper,#fff);
 --pcx-skin-card-fg:var(--pc-text,#1f2937);
 --pcx-skin-card-muted:var(--pc-muted,#718098);
 --pcx-skin-border:var(--pc-line,#e5eaf0);
 --pcx-skin-accent:var(--pcx-section-custom-accent,var(--pc-accent,#3e6fa8));
 --pcx-skin-accent-on:var(--pcx-section-custom-on-accent,#fff);
 --pcx-skin-fg:var(--pc-text,#1f2937);
 --pcx-skin-muted:var(--pc-muted,#718098);
 --pcx-skin-heading:var(--pc-text,#1f2937);
 --pcx-skin-link:var(--pc-deep,#1f3b63);
 --pcx-skin-eyebrow:var(--pcx-skin-accent);
 --pcx-new-ink:var(--pcx-skin-fg);
 --pcx-new-muted:var(--pcx-skin-muted);
 --pcx-new-accent:var(--pcx-skin-accent);
 --pcx-bronze:var(--pcx-skin-accent);
 --pcx-new-line:var(--pcx-skin-border);
 --news-feed-muted:var(--pcx-skin-card-muted);
 --news-feed-ink:var(--pcx-skin-card-fg);
 --news-feed-card:var(--pcx-skin-card-bg);
 --news-feed-border:var(--pcx-skin-border);
}
:where(.pcx,.pcc,.pc-news-feed,.cpfe).pcx-section-bg--paper{--pcx-skin-bg:var(--pc-paper,#fff)}
:where(.pcx,.pcc,.pc-news-feed,.cpfe).pcx-section-bg--surface{--pcx-skin-bg:var(--pc-surface,#f7f9fc)}
:where(.pcx,.pcc,.pc-news-feed,.cpfe).pcx-section-bg--alt{--pcx-skin-bg:var(--pc-alt,#e9eff6)}
:where(.pcx,.pcc,.pc-news-feed,.cpfe).pcx-section-bg--accent-soft{--pcx-skin-bg:color-mix(in srgb,var(--pc-accent,#3e6fa8) 12%,var(--pc-paper,#fff))}
:where(.pcx,.pcc,.pc-news-feed,.cpfe).pcx-section-bg--dark{--pcx-skin-bg:var(--pc-dark,#1f3b63)}
:where(.pcx,.pcc,.pc-news-feed,.cpfe).pcx-section-bg--deep{--pcx-skin-bg:var(--pc-deep,#17273b)}
:where(.pcx,.pcc,.pc-news-feed,.cpfe).pcx-section-bg--custom{--pcx-skin-bg:var(--pcx-section-custom-bg,var(--pc-paper,#fff))}
/* Transparent intentionally means *no painting*: parent page background shows through. */
:where(.pcx,.pcc,.pc-news-feed,.cpfe).pcx-section-bg--transparent{--pcx-skin-bg:transparent}
/* Only active skins override backgrounds; this comes after all other block styles in the cascade. */
section.pcx-has-section-bg:where(.pcx,.pcc,.pc-news-feed,.cpfe){color:var(--pcx-section-custom-text,var(--pcx-skin-fg))!important}
section.pcx-has-section-bg:not(.pcx-section-bg--default):where(.pcx,.pcc,.pc-news-feed,.cpfe){background:var(--pcx-skin-bg)!important;background-image:none!important}
section.pcx-has-section-bg.pcx-section-bg--is-dark{
 --pcx-skin-fg:#f8fafc;
 --pcx-skin-heading:#ffffff;
 --pcx-skin-muted:#d2dfec;
 --pcx-skin-link:#e1efff;
 --pcx-skin-eyebrow:#bbddff;
 --pcx-new-dark:var(--pc-dark,#1f3b63);
}
section.pcx-has-section-bg.pcx-section-bg--is-light{
 --pcx-skin-fg:var(--pc-text,#1f2937);
 --pcx-skin-heading:var(--pc-text,#1f2937);
 --pcx-skin-muted:var(--pc-muted,#718098);
 --pcx-skin-link:var(--pc-deep,#1f3b63);
 --pcx-skin-eyebrow:var(--pcx-skin-accent);
}
/* Section-level headings and introductory text (not titles inside intentionally dark or white cards). */
section.pcx-has-section-bg :is(.pcx-heading h2,.pcc-heading h2,.pc-news-feed__heading h2,.pcx-agency-checklist__intro .pcx-heading h2){
 color:var(--pcx-section-custom-text,var(--pcx-skin-heading))!important;
}
section.pcx-has-section-bg :is(.pcx-heading>p,.pcc-heading>p,.pc-news-feed__heading p,.pcx-agency-checklist__summary,.pcx-new__note,.pcx-schedule__note,.pcc-cemetery-transport__note){
 color:var(--pcx-section-custom-text,var(--pcx-skin-muted))!important;
}
section.pcx-has-section-bg :is(.pcx-eyebrow,.pcc-heading>div>span,.pcc-kicker,.pc-news-feed__eyebrow){
 color:var(--pcx-skin-eyebrow)!important;
}
section.pcx-has-section-bg .pc-news-feed__all{color:var(--pcx-section-custom-text,var(--pcx-skin-link))!important}
/* Light cards must never inherit pale section lettering. */
section.pcx-has-section-bg :is(.pcx-offices__card,.pcx-packages__card,.pcx-price-list__row,.pcx-price-trend__chart,.pcx-price-trend__details,.pcx-price-trend__empty,.pcx-estimates__card,.pcx-agency-checklist__main,.pc-news-feed__card){
 color:var(--pcx-skin-card-fg)!important;
}
section.pcx-has-section-bg .pc-news-feed__body h3,
section.pcx-has-section-bg .pc-news-feed__body h3 a,
section.pcx-has-section-bg .pc-news-feed__more{color:var(--pcx-skin-card-fg)!important}
section.pcx-has-section-bg .pc-news-feed__body p,
section.pcx-has-section-bg .pc-news-feed__meta{color:var(--pcx-skin-card-muted)!important}
/* Dark outer sections, white inner cards. Avoid bright text on a white card. */
section.pcx-has-section-bg.pcx-section-bg--is-dark :is(.pcx-price-trend__delta,.pcx-price-list__row:nth-child(even)){
 background:#eef3f8;color:#243342;
}
/* Standalone pricing list alternates remain readable with a dark surrounding section. */
section.pcx-has-section-bg.pcx-section-bg--is-dark .pcx-price-list__row:nth-child(even){background:var(--pc-surface,#f4f7fb)}
section.pcx-has-section-bg :is(.pcx-offices__body a,.pc-news-feed__meta a,.pc-news-feed__more span){color:var(--pcx-skin-accent)!important}
/* Cemetery has legacy !important dark/light contracts: override only opt-in introductory areas. */
section.pcc.pcx-has-section-bg .pcc-heading :is(h2,p){color:var(--pcx-section-custom-text,var(--pcx-skin-heading))!important}
section.pcc.pcx-has-section-bg .pcc-heading>p{color:var(--pcx-section-custom-text,var(--pcx-skin-muted))!important}
section.pcc.pcx-has-section-bg .pcc-heading>div>span{color:var(--pcx-skin-eyebrow)!important}
/* Some cemetery blocks have no separate heading; preserve contrast with the selected section skin. */
/* Force a light-on-dark warning/contact panel to stay readable on any outer section background. */
section.pcc.pcx-has-section-bg .pcc-cemetery-contact__stage,
section.pcc.pcx-has-section-bg .pcc-cemetery-fraud__stage{color:#fff}
/* Auxiliary body text outside cards, in inherently dark cemetery sections. */
section.pcc.pcx-has-section-bg.pcx-section-bg--is-light :is(.pcc-cemetery-gallery .pcc-heading>p,.pcc-cemetery-transport__note){color:var(--pcx-skin-muted)!important}
/* CSS custom properties propagate into content collection; never recolor photos or fullscreen lightboxes. */

/* Custom accents recolor the intended buttons and labels; default tokens are unchanged. */
section.pcx-section-bg--custom-accent :is(.pcx-button--primary,.pcx-packages__link,.pcx-estimates__action,.pcx-agency-checklist__link,.pcc-action--bronze){
 background:var(--pcx-skin-accent)!important;color:var(--pcx-skin-accent-on)!important;
}
section.pcx-section-bg--custom-accent :is(.pcx-law__list a,.pcx-structured__body a,.pcc-cemetery-service a,.pcc-cemetery-law__list a){color:var(--pcx-skin-accent)!important}
