/* Abrigo com Deus — Núcleo v0.10.42
 * Tipografia oficial: Newsreader + Source Sans 3.
 * Foco: leitura, elegância editorial e consistência sem redesenho estrutural.
 */

:root{
  --acdg-font-display:var(--acd-font-serif,"Newsreader",Georgia,"Times New Roman",serif);
  --acdg-font-body:var(--acd-font-sans,"Source Sans 3",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
  --acdg-article-body-size:1.15625rem; /* ~18.5px sobre base 16 */
  --acdg-caption-size:.84375rem;      /* ~13.5px */
}

/* Base pública e interface. */
body.acd-core-type-v01042{
  font-family:var(--acdg-font-body)!important;
  font-optical-sizing:auto;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.acd-core-type-v01042 :where(button,input,select,textarea,.button,.wp-element-button,.wp-block-button__link,[role="button"]){
  font-family:var(--acdg-font-body)!important;
}

/* Vocabulário editorial global: títulos e chamadas maiores. */
body.acd-core-type-v01042 :where(h1,h2,h3,.acd-hero-special-title,.acd-context-share h2,.acd-context-share-copy h3){
  font-family:var(--acdg-font-display)!important;
  font-optical-sizing:auto;
}

/* Sidebar/interface permanece sans, inclusive títulos utilitários. */
body.acd-core-type-v01042 :where(.widget,.widget-title,.sidebar-main,.ast-sidebar,.site-sidebar,.acd-sidebar,.acd-panel-heading){
  font-family:var(--acdg-font-body)!important;
}
body.acd-core-type-v01042 :where(.sidebar-main h2,.sidebar-main h3,.ast-sidebar h2,.ast-sidebar h3,.widget-title,.acd-sidebar h2,.acd-sidebar h3){
  font-family:var(--acdg-font-body)!important;
  font-weight:700!important;
}

/* =========================================================
   MATÉRIAS — padrão editorial oficial
   ========================================================= */
body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content,.ast-single-post .entry-content){
  font-family:var(--acdg-font-body)!important;
  font-size:var(--acdg-article-body-size)!important;
  line-height:1.76!important;
  font-weight:400!important;
  font-kerning:normal;
}
body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) :where(p,li,dd){
  font-family:inherit!important;
  line-height:inherit!important;
}
body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) p{
  margin-top:0;
  margin-bottom:1.18em;
}
body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) li + li{
  margin-top:.34em;
}

/* H1 da matéria: presença nobre, mas sem exagero. */
body.acd-core-type-v01042.single-post :where(.entry-title,h1.entry-title,.acd-article-title){
  font-family:var(--acdg-font-display)!important;
  font-size:clamp(3.05rem,4.45vw,4rem)!important;
  line-height:1.055!important;
  font-weight:500!important;
  letter-spacing:-.025em!important;
  text-wrap:balance;
  font-optical-sizing:auto;
}

/* Deck/subtítulo: sans limpo, levemente maior que o corpo. */
body.acd-core-type-v01042.single-post :where(.entry-subtitle,.post-excerpt,.acd-article-deck,.acd-article-subtitle,.entry-header .ast-excerpt){
  font-family:var(--acdg-font-body)!important;
  font-size:clamp(1.125rem,1.45vw,1.35rem)!important;
  line-height:1.5!important;
  font-weight:400!important;
}

/* H2 e H3 com ritmo editorial consistente. */
body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) h2{
  margin-top:2.1em!important;
  margin-bottom:.62em!important;
  font-family:var(--acdg-font-display)!important;
  font-size:clamp(2rem,3vw,2.375rem)!important;
  line-height:1.17!important;
  font-weight:500!important;
  letter-spacing:-.018em!important;
  text-wrap:balance;
}
body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) h3{
  margin-top:1.7em!important;
  margin-bottom:.55em!important;
  font-family:var(--acdg-font-display)!important;
  font-size:clamp(1.56rem,2.15vw,1.82rem)!important;
  line-height:1.2!important;
  font-weight:500!important;
  letter-spacing:-.012em!important;
  text-wrap:balance;
}

/* Citações: editorial, reverente e sem parecer heading. */
body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) blockquote,
body.acd-core-type-v01042.single-post .wp-block-quote{
  margin:1.8em 0!important;
  padding:.25em 0 .25em 1.15em!important;
  border:0!important;
  border-left:3px solid color-mix(in srgb,var(--acd-gold) 82%,var(--acd-wine) 18%)!important;
  background:transparent!important;
  font-family:var(--acdg-font-display)!important;
  font-size:clamp(1.22rem,1.8vw,1.48rem)!important;
  line-height:1.5!important;
  font-weight:400!important;
}
body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) blockquote p{
  font-family:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
  margin-bottom:.55em!important;
}
body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) blockquote :where(cite,footer),
body.acd-core-type-v01042.single-post .wp-block-quote cite{
  display:block;
  margin-top:.65em;
  font-family:var(--acdg-font-body)!important;
  font-size:.82rem!important;
  line-height:1.5!important;
  font-style:normal!important;
  font-weight:500!important;
  color:var(--acd-muted)!important;
}

/* Oração final: diferenciação leve, sem caixa pesada. */
body.acd-core-type-v01042.single-post :where(.acd-prayer-invitation,.acd-final-prayer,.acd-prayer-final){
  margin:2.2em 0!important;
  padding:1.25em 1.35em!important;
  border:0!important;
  border-left:3px solid color-mix(in srgb,var(--acd-wine) 72%,var(--acd-gold) 28%)!important;
  border-radius:0 14px 14px 0!important;
  background:color-mix(in srgb,var(--acd-card) 92%,var(--acd-cream-2) 8%)!important;
  box-shadow:none!important;
}
body.acd-core-type-v01042.single-post :where(.acd-prayer-invitation,.acd-final-prayer,.acd-prayer-final) :where(h2,h3){
  margin-top:0!important;
  font-family:var(--acdg-font-display)!important;
  font-weight:500!important;
}
body.acd-core-type-v01042.single-post :where(.acd-prayer-invitation,.acd-final-prayer,.acd-prayer-final) p:last-child{margin-bottom:0!important}

/* Legendas de imagem/vídeo: discretas e claramente secundárias. */
body.acd-core-type-v01042 :where(figcaption,.wp-element-caption,.wp-caption-text,.wp-block-image figcaption,.wp-block-video figcaption,.wp-block-embed figcaption,.acd-video-caption,.acd-media-caption){
  font-family:var(--acdg-font-body)!important;
  font-size:var(--acdg-caption-size)!important;
  line-height:1.5!important;
  font-weight:400!important;
  font-style:italic!important;
  color:var(--acd-muted)!important;
}

/* Metadados. */
body.acd-core-type-v01042 :where(.entry-meta,.posted-on,.byline,.cat-links,.tags-links,.comments-link,.acd-article-meta,.acd-post-meta,.acd-meta){
  font-family:var(--acdg-font-body)!important;
  font-size:.84375rem!important;
  line-height:1.5!important;
  font-weight:500!important;
}

/* Cards e interface: sans no corpo/controles; títulos editoriais continuam Newsreader. */
body.acd-core-type-v01042 :where(.acd-card,.acd-weekly-card,.acd-recent-popular-grid,.acd-liturgical-panel,.acd-hub-page,.acd-share-archive,.acd-share-single){
  font-family:var(--acdg-font-body)!important;
}
body.acd-core-type-v01042 :where(.acd-weekly-copy h3,.acd-recent-lead-copy h3,.acd-liturgical-copy h3,.acd-hub-featured-copy h3,.acd-hub-post-copy h3,.acd-share-card-copy h3,.acd-saints-card-copy h3){
  font-family:var(--acdg-font-display)!important;
  font-weight:500!important;
}

/* Dark mode: só usa tokens existentes, sem alterar a paleta. */
html[data-theme="dark"] body.acd-core-type-v01042.single-post :where(.acd-prayer-invitation,.acd-final-prayer,.acd-prayer-final){
  background:color-mix(in srgb,var(--acd-card) 94%,var(--acd-cream-2) 6%)!important;
}

/* Tablet e mobile: mantém leitura adulta/60+ e evita títulos desproporcionais. */
@media (max-width:900px){
  body.acd-core-type-v01042.single-post :where(.entry-title,h1.entry-title,.acd-article-title){
    font-size:clamp(2.55rem,7vw,3.35rem)!important;
    line-height:1.07!important;
  }
  body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) h2{
    font-size:clamp(1.9rem,5.4vw,2.2rem)!important;
  }
  body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) h3{
    font-size:clamp(1.48rem,4.5vw,1.72rem)!important;
  }
}

@media (max-width:640px){
  :root{--acdg-article-body-size:1.075rem;--acdg-caption-size:.82rem}
  body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content){line-height:1.74!important}
  body.acd-core-type-v01042.single-post :where(.entry-title,h1.entry-title,.acd-article-title){
    font-size:clamp(2.25rem,10vw,2.85rem)!important;
    line-height:1.08!important;
    letter-spacing:-.022em!important;
  }
  body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) h2{
    margin-top:1.8em!important;
    font-size:clamp(1.78rem,8vw,2.08rem)!important;
    line-height:1.19!important;
  }
  body.acd-core-type-v01042.single-post :where(.entry-content,.acd-article-content) h3{
    margin-top:1.55em!important;
    font-size:clamp(1.42rem,6.7vw,1.65rem)!important;
  }
  body.acd-core-type-v01042.single-post :where(.acd-prayer-invitation,.acd-final-prayer,.acd-prayer-final){
    padding:1.1em 1em!important;
  }
}

@media (prefers-reduced-motion:reduce){
  body.acd-core-type-v01042 *{scroll-behavior:auto!important}
}
