/* V25 — remplacements prioritaires pour toutes les rubriques */
:root{--audas-footer-height:140px}
html{scroll-padding-bottom:calc(var(--audas-footer-height) + 22px)}
body{padding-bottom:calc(var(--audas-footer-height) + 28px)!important;min-height:100dvh!important}
/* Footer toujours visible, y compris lors du verrouillage Animateurs. */
html body > footer.footer,
html body.auth-pending > footer.footer,
html body.auth-pending footer.footer{
 display:block!important;visibility:visible!important;opacity:1!important;
 position:fixed!important;left:0!important;right:0!important;bottom:0!important;
 width:100%!important;z-index:9999!important;margin:0!important;
}
html body.auth-pending .auth-gate{position:relative;z-index:1;margin-bottom:22px!important}
/* Le formulaire peut rester verrouillé mais le bas de page reste accessible. */
html body.auth-pending .subhero,html body.auth-pending .subpage-main{display:none!important}
/* Mentions légales : bloc rapproché du bandeau avec trait gris. */
body.page-mentions main.subpage-main{padding-top:8px!important;margin-top:0!important}
body.page-mentions .subpage-grid{margin-top:0!important}
body.page-mentions .subpage-grid .card:first-child{margin-top:0!important}
body.page-mentions .subpage-grid .card:first-child .card-top{height:7px!important;background:#a6a6a6!important}
/* Sacrements : rouge dans le bandeau et avant l'accroche. */
body.page-sacrements .subhero::before,body.page-sacrements .subhero .kicker:before{background:#c2394b!important}
body.page-sacrements .subhero p{border-left:5px solid #c2394b;padding-left:16px;margin-top:4px!important}
body.page-sacrements .sacr-group{border:2px solid #c2394b!important}
body.page-sacrements .sacr-group-title h2{color:#c2394b!important}
/* Archives grises, même sur la page des sacrements. */
html .main-nav a[href$="/archives.htm"]{border-top-color:#a6a6a6!important}
html .main-nav a[href$="/archives.htm"]:is(:hover,:focus-visible),
html .main-nav li.active a[href$="/archives.htm"]{background:#a6a6a6!important;color:#fff!important;border-color:#a6a6a6!important}
/* Grilles : trois cartes sur ordinateur, 2+2 et une seule colonne en mobile. */
@media(min-width:1151px){body.page-sacrements #initiation .sacr-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:761px){body.page-sacrements #guerison .sacr-grid,body.page-sacrements #mission .sacr-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){body.page-sacrements .sacr-group .sacr-grid{grid-template-columns:1fr!important}body.page-sacrements .subhero p{padding-left:18px}}
