/*
 * SAVOY.FR — unified editorial hero typography / 2026-10-12
 * Source of reference: home .home-title-main (Literata 500; -.037em).
 * Scope: discovery hero headings only, no corpus or article-body typography.
 */
main:is(
 .pillar-introduction,.faith-page,.journey-page,.bible-hub,.ency-page,
 .library-page,.knowledge-page,.prayer-page,.today-page,.wisdom-main,.life-main,
 .jy-page,.j14-page,.pillar-project,.sources-portal,.church-page,
 .dictionary-page,.lexicon-page,.read-hub,.library-work-page,
 .search-page,.profile-page,.savoy-reference-page,.site-map-page,.pillar-guide
) :is(section,header)[class*="hero"] h1 {
 font-family:Literata,Georgia,serif !important;
 font-size:clamp(44px,3.61vw,52px) !important;
 font-weight:500 !important;
 font-style:normal;
 line-height:1.13 !important;
 letter-spacing:-.022em !important;
 text-wrap:balance;
}
body:not([data-theme="dark"]) main:is(
 .pillar-introduction,.faith-page,.journey-page,.bible-hub,.ency-page,
 .library-page,.knowledge-page,.prayer-page,.today-page,.wisdom-main,.life-main,
 .jy-page,.j14-page,.pillar-project,.sources-portal,.church-page,
 .dictionary-page,.lexicon-page,.read-hub,.library-work-page,
 .search-page,.profile-page,.savoy-reference-page,.site-map-page,.pillar-guide
) :is(section,header)[class*="hero"] h1 {
 color:#193f58 !important;
}
/* The highlighted words remain normal text within the original h1. */
main .savoy-editorial-title-accent {
 color:#965038;
 background:linear-gradient(transparent 94%,rgba(213,164,75,.26) 94%);
 -webkit-box-decoration-break:clone;
 box-decoration-break:clone;
}
body[data-theme="dark"] main .savoy-editorial-title-accent {
 color:#f3c58c;
 background:linear-gradient(transparent 94%,rgba(243,197,140,.26) 94%);
}
@media(max-width:1199px){
 main:is(
 .pillar-introduction,.faith-page,.journey-page,.bible-hub,.ency-page,
 .library-page,.knowledge-page,.prayer-page,.today-page,.wisdom-main,.life-main,
 .jy-page,.j14-page,.pillar-project,.sources-portal,.church-page,
 .dictionary-page,.lexicon-page,.read-hub,.library-work-page,
 .search-page,.profile-page,.savoy-reference-page,.site-map-page,.pillar-guide
 ) :is(section,header)[class*="hero"] h1 {
  font-size:clamp(36px,4.4vw,47px) !important;
 }
}
@media(max-width:599px){
 main:is(
 .pillar-introduction,.faith-page,.journey-page,.bible-hub,.ency-page,
 .library-page,.knowledge-page,.prayer-page,.today-page,.wisdom-main,.life-main,
 .jy-page,.j14-page,.pillar-project,.sources-portal,.church-page,
 .dictionary-page,.lexicon-page,.read-hub,.library-work-page,
 .search-page,.profile-page,.savoy-reference-page,.site-map-page,.pillar-guide
 ) :is(section,header)[class*="hero"] h1 {
  font-size:clamp(31px,8.75vw,35px) !important;
  line-height:1.14 !important;
 }
}

/* The Introduction/Comprendre gateway still uses a light paper surface even
   when the site's theme toggle is dark: keep terracotta readable there. */
body[data-theme="dark"] main:is(.pillar-introduction,.faith-page) .savoy-editorial-title-accent {
 color:#965038;
 background:linear-gradient(transparent 94%,rgba(213,164,75,.26) 94%);
}
/* Tiny diagram captions are documentary text, not ornamental marks. */
:is(main.bible-hub, main.ency-page, main.journey-page)
:is(.bible-map-caption,.ency-map-caption,.journey-path-caption) {
  font-size:clamp(12px, .95vw, 13px) !important;
  line-height:1.5 !important;
}
/* The home hero itself becomes dark; make its existing navy title legible. */
body[data-theme="dark"] main.home-page .home-hero-v3 .home-title-main {
 color:#edf3f5 !important;
}
