/* Les Heures communes — édition fondatrice, 16 octobre 2026.
   Portée isolée : aucun style global ni télémétrie. */
.hc-page{--hc-ink:#273d49;--hc-gold:#a98651;--hc-leaf:#536c5e;--hc-line:#ded8ca;--hc-paper:#fffdfa;background:#fbfaf7;color:var(--hc-ink);font-family:Literata,Georgia,serif}
.hc-page *,.hc-home *{box-sizing:border-box}
.hc-page a,.hc-home a{color:#315b69;text-decoration-thickness:1px;text-underline-offset:4px}
.hc-page a:focus-visible,.hc-page button:focus-visible,.hc-home a:focus-visible{outline:3px solid #ad8b4c;outline-offset:4px}
.hc-page .hc-container{width:min(1120px,calc(100% - 48px));margin:auto}
.hc-page .hc-crumb{padding:24px 0 12px;font:500 .79rem/1.5 Arial,sans-serif;color:#63747a}
.hc-page .hc-crumb a{color:inherit}
.hc-page .hc-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:30px;align-items:center;padding:68px 0 56px;border-bottom:1px solid var(--hc-line)}
.hc-page .hc-kicker,.hc-home .hc-kicker{margin:0 0 16px;letter-spacing:.18em;text-transform:uppercase;font:700 .72rem/1.5 Arial,sans-serif;color:#876d42}
.hc-page .hc-hero h1{font:450 clamp(2.7rem,7vw,5.4rem)/1.09 Literata,Georgia,serif;letter-spacing:-.045em;margin:0;color:#263e4b}
.hc-page .hc-lead{font:400 clamp(1.05rem,2vw,1.24rem)/1.78 Literata,Georgia,serif;margin:25px 0 0;max-width:690px;color:#52636a}
.hc-page .hc-seal{width:195px;height:195px;border:1px solid #cbb996;border-radius:50%;display:grid;place-items:center;position:relative;color:#aa8b55;font:400 5.2rem/1 Literata,Georgia,serif;background:radial-gradient(circle,#fffefa,#f5f0e5)}
.hc-page .hc-seal:before{content:"";position:absolute;inset:13px;border:1px solid #e4dac7;border-radius:50%}
.hc-page .hc-hero-note{font:500 .8rem/1.7 Arial,sans-serif;color:#63747a;margin-top:20px}
.hc-page .hc-intro{padding:30px 0 12px;max-width:750px;color:#56676d;font:400 .99rem/1.9 Literata,Georgia,serif}
.hc-page .hc-date{margin:0;color:#6a7577;font:650 .78rem/1.6 Arial,sans-serif}
.hc-page .hc-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:34px;padding:25px 0 58px}
.hc-page .hc-index{position:sticky;top:20px;align-self:start;border-top:2px solid #af9568;padding:23px 0}
.hc-page .hc-index h2{font:500 1.3rem/1.3 Literata,Georgia,serif;margin:0 0 16px}
.hc-page .hc-index button{display:flex;width:100%;gap:10px;align-items:center;text-align:left;border:0;border-bottom:1px solid #e5dfd3;background:transparent;padding:12px 5px;color:#4e626d;cursor:pointer;font:550 .86rem/1.3 Arial,sans-serif}
.hc-page .hc-index button .hc-ordinal{color:#aa956f;font-family:Georgia,serif;min-width:19px}
.hc-page .hc-index button:hover,.hc-page .hc-index button[aria-pressed=true]{color:#193f52;background:#f0eee7}
.hc-page .hc-index button[aria-pressed=true]{box-shadow:inset 3px 0 #ab8a52}
.hc-page .hc-current-note{font:400 .77rem/1.7 Arial,sans-serif;color:#65757c;margin:16px 0 0}
.hc-page .hc-prayer{padding:38px clamp(24px,5vw,66px) 48px;border:1px solid #e2d9c8;border-radius:4px;background:var(--hc-paper);box-shadow:0 20px 60px rgba(55,50,40,.045);min-width:0}
.hc-page .hc-prayer-head{display:flex;justify-content:space-between;gap:16px;align-items:start;border-bottom:1px solid #e9e1d1;padding-bottom:24px}
.hc-page .hc-prayer h2{font:450 clamp(2rem,4.2vw,3rem)/1.2 Literata,Georgia,serif;margin:3px 0 7px;color:#253f4c;letter-spacing:-.035em}
.hc-page .hc-prayer .hc-subtitle{font:400 1.02rem/1.6 Literata,Georgia,serif;color:#657577;margin:0}
.hc-page .hc-tag{white-space:nowrap;font:700 .69rem/1.2 Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#957b54}
.hc-page .hc-part{margin:36px 0 0}
.hc-page .hc-part h3{font:700 .72rem/1.6 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#907650;margin:0 0 12px}
.hc-page .hc-part p{font:400 1.06rem/1.95 Literata,Georgia,serif;margin:0;color:#324853;white-space:pre-line}
.hc-page .hc-part .hc-biblink{display:inline-flex;margin-top:11px;font:600 .83rem/1.5 Arial,sans-serif}
.hc-page .hc-prayer-text{border-left:2px solid #bca67e;padding-left:25px;font-style:italic}
.hc-page .hc-silence{margin:30px 0 0;color:#75817c;font:italic .93rem/1.6 Literata,Georgia,serif;text-align:center}
.hc-page .hc-next{margin:33px 0 0;border-top:1px solid #e9e1d1;padding-top:22px;display:flex;justify-content:space-between;align-items:center;gap:12px;font:600 .82rem/1.5 Arial,sans-serif}
.hc-page .hc-calendar{border-top:1px solid var(--hc-line);padding:55px 0 60px}
.hc-page .hc-calendar h2,.hc-page .hc-about h2{font:450 clamp(1.7rem,3.3vw,2.55rem)/1.25 Literata,Georgia,serif;color:#263e4b;margin:0 0 18px}
.hc-page .hc-calendar>p,.hc-page .hc-about>p{font:400 1rem/1.8 Literata,Georgia,serif;max-width:760px;color:#59686e}
.hc-page .hc-feasts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:27px}
.hc-page .hc-feasts article{padding:22px 0 20px;border-top:2px solid #b8a07b}
.hc-page .hc-feasts h3{margin:0 0 9px;font:500 1.24rem/1.4 Literata,Georgia,serif;color:#304e5b}
.hc-page .hc-feasts p{font:400 .91rem/1.7 Arial,sans-serif;color:#5c6b70;margin:0}
.hc-page .hc-about{border-top:1px solid var(--hc-line);padding:50px 0 70px}
.hc-page .hc-foot{border-top:1px solid #dfd8cd;padding:28px 0 38px;font:500 .84rem/1.8 Arial,sans-serif;color:#6b7778}
.hc-page .hc-foot a{margin-right:17px}
.hc-home{max-width:1180px;margin:48px auto;padding:0 24px;box-sizing:border-box}
.hc-home-inner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:40px;padding:34px clamp(24px,5vw,56px);background:#f9f6ef;border-top:2px solid #ac9063;border-bottom:1px solid #e0d5c1;box-shadow:0 10px 32px rgba(40,48,49,.035);color:#2a4553}
.hc-home h2{font:450 clamp(1.5rem,3.8vw,2.25rem)/1.3 Literata,Georgia,serif;margin:5px 0 11px;letter-spacing:-.028em;color:#294652}
.hc-home p{line-height:1.7}
.hc-home .hc-home-description{font:400 .94rem/1.75 Literata,Georgia,serif;max-width:510px;color:#5a6a6d;margin:0}
.hc-home .hc-home-activity{border-left:1px solid #d6c7af;padding-left:35px}
.hc-home .hc-home-activity p{margin:0 0 6px;font:700 .72rem/1.4 Arial,sans-serif;color:#857047;letter-spacing:.1em;text-transform:uppercase}
.hc-home .hc-home-activity strong{display:block;font:450 1.65rem/1.35 Literata,Georgia,serif;margin:0 0 9px;color:#304d59}
.hc-home .hc-home-activity span{display:block;font:400 .86rem/1.65 Arial,sans-serif;color:#6b7473}
.hc-home .hc-home-link{display:inline-block;margin-top:17px;font:700 .83rem/1.4 Arial,sans-serif;text-decoration:underline;text-decoration-color:#ab8c57;color:#245268}
@media(max-width:800px){.hc-page .hc-hero{grid-template-columns:1fr;padding:42px 0 35px}.hc-page .hc-seal{width:116px;height:116px;font-size:3rem;grid-row:1}.hc-page .hc-grid{grid-template-columns:1fr;gap:12px}.hc-page .hc-index{position:static;padding:15px 0}.hc-page .hc-index h2{margin-bottom:8px}.hc-page .hc-index-buttons{display:flex;overflow-x:auto;gap:4px;padding:4px 2px 12px;scroll-snap-type:x mandatory}.hc-page .hc-index button{width:auto;white-space:nowrap;border:1px solid #e3d8c5;padding:9px 13px;scroll-snap-align:start}.hc-page .hc-index button[aria-pressed=true]{box-shadow:inset 0 -3px #ab8a52}.hc-page .hc-current-note{margin:8px 0}.hc-page .hc-feasts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hc-page .hc-container{width:calc(100% - 32px)}.hc-page .hc-hero{gap:12px}.hc-page .hc-lead{line-height:1.65}.hc-page .hc-prayer{padding:30px 22px}.hc-page .hc-prayer-head{display:block}.hc-page .hc-tag{margin-top:12px;display:block}.hc-page .hc-prayer-text{padding-left:15px}.hc-page .hc-feasts{grid-template-columns:1fr;gap:9px}.hc-home{margin:24px auto;padding:0 16px}.hc-home-inner{grid-template-columns:1fr;gap:22px;padding:26px 24px}.hc-home .hc-home-activity{border:0;border-top:1px solid #d6c7af;padding:17px 0 0}}
@media(prefers-reduced-motion:reduce){.hc-page *, .hc-home *{scroll-behavior:auto!important;transition:none!important}}

/* Lien d'accueil placé sur la page des prières bibliques. */
.hc-prayer-entry{max-width:1120px;margin:16px auto 30px;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-left:3px solid #aa8d59;border-top:1px solid #e4dbcb;border-bottom:1px solid #e4dbcb;background:#faf8f2;color:#294a58}
.hc-prayer-entry strong{font:500 1.35rem/1.3 Literata,Georgia,serif}
.hc-prayer-entry p{margin:7px 0 0;color:#5d6b70;font:400 .92rem/1.6 Arial,sans-serif}
.hc-prayer-entry a{font:700 .85rem/1.5 Arial,sans-serif;color:#26566a;text-underline-offset:4px;white-space:normal}
.hc-page .hc-next-button{border:1px solid #c9b693;border-radius:3px;background:#f8f4e9;padding:10px 13px;color:#2c5263;cursor:pointer;font:650 .8rem/1.4 Arial,sans-serif}
.hc-page .hc-next-button:hover{background:#efe6d5}
@media(max-width:670px){.hc-prayer-entry{display:block;padding:17px 18px;margin:10px 15px 25px}.hc-prayer-entry a{display:inline-block;margin-top:12px}.hc-page .hc-next{display:block}.hc-page .hc-next-button{display:block;margin-top:15px}}

/* Les Heures communes v2 — corrections de mesure sur smartphone */
.hc-page .hc-grid{min-width:0}
.hc-page .hc-grid>*,.hc-page .hc-prayer>*{min-width:0}
.hc-page .hc-index-buttons{max-width:100%;min-width:0}
.hc-page .hc-scripture{margin-top:14px;border:1px solid #e6dece;background:#fbf9f4;border-radius:3px;overflow:hidden;min-width:0}
.hc-page .hc-scripture summary{display:flex;align-items:center;gap:13px;justify-content:space-between;cursor:pointer;padding:14px 16px;color:#2b5668;font:650 .85rem/1.55 Arial,sans-serif;list-style:none}
.hc-page .hc-scripture summary::-webkit-details-marker{display:none}
.hc-page .hc-scripture summary::after{content:"+";font:400 1.3rem/1 Georgia,serif;color:#a08251}
.hc-page .hc-scripture[open] summary::after{content:"−"}
.hc-page .hc-scripture summary:hover{background:#f3efe6}
.hc-page .hc-scripture .hc-versets{border-top:1px solid #e7dfd1;padding:16px 20px 12px;min-width:0;overflow-wrap:break-word}
.hc-page .hc-scripture .hc-verse{display:grid;grid-template-columns:2ch minmax(0,1fr);gap:13px;margin:0 0 13px}
.hc-page .hc-scripture .hc-verse-no{font:600 .76rem/1.9 Arial,sans-serif;color:#a18150;text-align:right;font-variant-numeric:tabular-nums}
.hc-page .hc-scripture .hc-verse-text{font:400 1.01rem/1.85 Literata,Georgia,serif;white-space:pre-line;overflow-wrap:anywhere;color:#354c57;margin:0}
.hc-page .hc-scripture .hc-scripture-source{font:italic .76rem/1.6 Arial,sans-serif;color:#637177;margin:15px 0 0;border-top:1px solid #eee8db;padding:10px 0 0}
.hc-page .hc-scripture .hc-scripture-error{font:400 .87rem/1.5 Arial,sans-serif;color:#744f3c}
.hc-page .hc-prayer .hc-next{flex-wrap:wrap}
@media(max-width:800px){
.hc-page .hc-grid{grid-template-columns:minmax(0,1fr);width:100%;max-width:100%}
.hc-page .hc-index{width:100%;max-width:100%;min-width:0;overflow:hidden}
.hc-page .hc-index-buttons{display:flex;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding-bottom:12px}
.hc-page .hc-index-buttons button{flex:0 0 auto;min-width:0;white-space:nowrap}
.hc-page .hc-prayer{width:100%;max-width:100%;min-width:0}
}
@media(max-width:600px){
.hc-page .hc-scripture .hc-versets{padding:14px}
.hc-page .hc-scripture .hc-verse{gap:9px}
.hc-page .hc-scripture .hc-verse-text{font-size:.98rem;line-height:1.8}
.hc-page .hc-prayer h2{overflow-wrap:break-word}
}
