/* Prier au fil du jour — espace protégé, indépendant du menu du site.
   Dialog natif : piégeage de focus, Échap, historique et retour à la lecture.
   Pas de suivi, d'animation imposée ni de rechargement. */
.hc-page .hc-prayer-dialog {
  position:fixed;
  inset:0;
  box-sizing:border-box;
  margin:auto;
  width:min(730px,calc(100vw - 32px));
  max-width:730px;
  max-height:min(90dvh,850px);
  padding:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  background:#faf7ef;
  color:#294653;
  border:1px solid #d5c5a9;
  border-top:4px solid #bea071;
  border-radius:22px;
  box-shadow:0 30px 90px rgba(10,28,37,.3);
  scroll-padding-top:68px;
}
.hc-page .hc-prayer-dialog:not([open]) {display:none}
.hc-page .hc-prayer-dialog::backdrop {
  background:rgba(18,35,44,.79);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.hc-page .hc-dialog-heading {
  position:sticky;top:0;z-index:2;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:17px 22px;
  background:rgba(250,247,239,.98);
  border-bottom:1px solid #e8dcc8;
}
.hc-page .hc-dialog-heading p {
  margin:0;
  color:#726d60;
  font:600 .78rem/1.5 Arial,sans-serif;
}
.hc-page .hc-dialog-close {
  flex:0 0 auto;
  display:inline-flex;gap:12px;align-items:center;
  padding:9px 13px;
  border:1px solid #d6c8b0;
  border-radius:999px;
  background:#fffefb;
  color:#2e4e5b;
  cursor:pointer;
  font:700 .79rem/1.4 Arial,sans-serif;
}
.hc-page .hc-dialog-close span {font-size:1.2rem;font-weight:400;line-height:1}
.hc-page .hc-dialog-close:hover {background:#f0e7d7}
.hc-page .hc-dialog-close:focus-visible,
.hc-page .hc-prayer-dialog button:focus-visible,
.hc-page .hc-prayer-dialog a:focus-visible {outline:3px solid #aa8652;outline-offset:3px}
.hc-page .hc-prayer-dialog .hc-simple {
  box-sizing:border-box;
  width:auto;
  max-width:none;
  margin:0;
  padding:clamp(25px,5vw,48px);
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  scroll-margin-top:0;
}
.hc-page .hc-prayer-dialog .hc-simple h2 {margin-top:30px}
.hc-page .hc-prayer-dialog .hc-simple-text {min-height:85px}
.hc-page .hc-prayer-dialog .hc-simple-next {
  border-radius:999px;
  margin-top:28px;
}
.hc-page .hc-prayer-dialog .hc-simple-finish a {
  color:#345767;
  text-underline-offset:4px;
}
.hc-page .hc-prayer-dialog .hc-simple-attribution {
  margin-top:17px;
}
@media(max-width:600px){
 .hc-page .hc-prayer-dialog {
   inset:0;
   width:100vw;
   max-width:100vw;
   height:100dvh;
   max-height:100dvh;
   margin:0;
   border:0;
   border-radius:0;
   border-top:4px solid #b59561;
   box-shadow:none;
 }
 .hc-page .hc-dialog-heading {padding:12px 16px}
 .hc-page .hc-dialog-heading p {font-size:.75rem}
 .hc-page .hc-dialog-close {min-height:43px;padding:7px 12px}
 .hc-page .hc-prayer-dialog .hc-simple {
   padding:27px clamp(19px,5vw,26px) 55px;
 }
 .hc-page .hc-prayer-dialog .hc-simple h2 {margin-top:26px}
 .hc-page .hc-prayer-dialog .hc-simple-text {min-height:95px}
 .hc-page .hc-prayer-dialog .hc-simple-next {min-height:54px}
}
@media(prefers-reduced-motion:reduce){
 .hc-page .hc-prayer-dialog *{scroll-behavior:auto!important;transition:none!important}
}

/* Office intégral : même contenu que l'article canonique, sans volet replié. */
.hc-page .hc-prayer-dialog .hc-modal-office {padding:clamp(20px,4.5vw,43px)}
.hc-page .hc-modal-office-title {border-bottom:1px solid #d9cbb4;padding-bottom:22px;margin-bottom:19px}
.hc-page .hc-modal-office-title .hc-kicker {margin:0 0 12px;color:#947644}
.hc-page .hc-modal-office-title h2 {margin:0;color:#284a58;font:450 clamp(1.85rem,4vw,2.65rem)/1.2 Literata,Georgia,serif}
.hc-page .hc-modal-office-title .hc-subtitle {margin:12px 0 5px;color:#617278}
.hc-page .hc-modal-office-title .hc-office-guide {margin:0;color:#797466;font:600 .79rem/1.7 Arial,sans-serif}
.hc-page .hc-modal-content {min-width:0}
.hc-page .hc-modal-content .hc-dialog-office {
  width:auto;max-width:none;margin:0;padding:0;background:transparent;border:0;box-shadow:none;min-width:0
}
.hc-page .hc-modal-content .hc-part {margin:0;padding:clamp(22px,4vw,29px) 0;border-bottom:1px solid #e5dac7}
.hc-page .hc-modal-content .hc-part h3 {
  margin:0 0 15px;font:550 1.18rem/1.35 Literata,Georgia,serif;color:#2d5360
}
.hc-page .hc-modal-content .hc-part>p,.hc-page .hc-modal-content .hc-silence {
  color:#34515b;font:400 clamp(1rem,2.15vw,1.19rem)/1.8 Literata,Georgia,serif;white-space:pre-line
}
.hc-page .hc-modal-content .hc-prayer-text>p {
  color:#254857;font-size:clamp(1.07rem,2.3vw,1.27rem);line-height:1.83
}
.hc-page .hc-modal-content .hc-silence {
  margin:26px 0;padding:18px 22px;background:#f0eadc;border-radius:13px;font-style:italic;color:#656456
}
.hc-page .hc-modal-content .hc-modal-bible {
  margin:15px 0 20px;padding:19px clamp(12px,2.3vw,23px);background:#fffdf7;
  border:1px solid #e7dac0;border-radius:13px;overflow-wrap:anywhere;
}
.hc-page .hc-modal-content .hc-modal-bible .hc-verse {
  display:grid;grid-template-columns:25px minmax(0,1fr);gap:10px;align-items:baseline;margin:0 0 12px
}
.hc-page .hc-modal-content .hc-modal-bible .hc-verse-no {
  color:#9b835c;font:650 .72rem/1.6 Arial,sans-serif;text-align:right
}
.hc-page .hc-modal-content .hc-modal-bible .hc-verse-text {
  margin:0;color:#2b4c5b;font:400 clamp(1.02rem,2.3vw,1.21rem)/1.75 Literata,Georgia,serif;
  white-space:normal
}
.hc-page .hc-modal-content .hc-modal-bible .hc-scripture-source {
  margin:18px 0 0;color:#867e70;font:400 .7rem/1.55 Arial,sans-serif
}
.hc-page .hc-modal-content .hc-biblink {
  color:#376276;text-decoration:underline;text-underline-offset:4px;font:600 .8rem/1.6 Arial,sans-serif
}
.hc-page .hc-prayer-dialog .hc-modal-finish {
  padding:30px 0 13px;text-align:center
}
.hc-page .hc-prayer-dialog .hc-modal-finish p {
  color:#706c60;font:italic .96rem/1.6 Literata,Georgia,serif
}
.hc-page .hc-prayer-dialog .hc-modal-finish button {
  display:block;width:100%;margin:22px 0 0;padding:16px 20px;min-height:54px;
  color:#fffefb;background:#315467;border:1px solid #315467;border-radius:999px;
  font:700 .98rem/1.5 Arial,sans-serif;cursor:pointer
}
.hc-page .hc-prayer-dialog .hc-modal-finish button:hover{background:#203f50}
@media(max-width:600px){
 .hc-page .hc-prayer-dialog .hc-modal-office {padding:24px 18px 40px}
 .hc-page .hc-modal-content .hc-part {padding:22px 0}
 .hc-page .hc-modal-content .hc-modal-bible {padding:17px 12px}
}

/* Titre annoncé au clavier sans contour de contrôle interactif. */
.hc-page #hcModalTitle:focus{outline:none}

/* Within same-origin homepage calque, canonical prayer fills the host window. */
html.hc-in-home .hc-page .hc-prayer-dialog {
  position:fixed;inset:0;margin:0;width:100%;max-width:100%;
  height:100dvh;max-height:100dvh;border:0;border-radius:0;box-shadow:none;
}
html.hc-in-home .hc-page .hc-prayer-dialog::backdrop{
  background:#faf7ef;backdrop-filter:none;-webkit-backdrop-filter:none
}
html.hc-in-home .hc-page .hc-dialog-heading{display:none}
html.hc-in-home .hc-page .hc-prayer-dialog .hc-modal-office{padding:clamp(20px,4vw,42px)}
@media(max-width:600px){
 html.hc-in-home .hc-page .hc-prayer-dialog .hc-modal-office{padding:22px 19px 40px}
}
