
/* ---------- messe du 26 mai, Oratoire séculier (js/contenus.js) ---------- */
#messe-root,#seculier-root{min-width:0}
.ms-intro .ms-feast{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:14px 8px;border-block:1px solid var(--line)}
.ms-feast .ms-date{font-family:var(--sc);font-weight:700;letter-spacing:.14em;font-size:14px;color:var(--red)}
.ms-feast .ms-saint{font-family:var(--display);font-weight:700;font-size:clamp(21px,5.6vw,25px);line-height:1.2;color:var(--ink)}
.ms-caps{font-variant:small-caps;letter-spacing:.02em}
.ms-feast span:not(.ms-date):not(.ms-saint):not(.ms-caps){font-size:15.5px;color:var(--muted)}
.ms-feast .ms-degre{font-family:var(--sc);font-weight:700;letter-spacing:.12em;color:var(--red)!important}
.ms-notice summary{cursor:pointer;font-family:var(--sc);font-weight:700;letter-spacing:.1em;font-size:14px;color:var(--gold)}
.ms-notice p{margin:8px 0 0;font-size:16px;color:var(--muted);max-width:62ch}
.ms-jump{display:flex;flex-wrap:wrap;gap:8px}
.ms-missal h3{margin:0}
.ms-part{display:flex;flex-direction:column;gap:6px;padding-top:14px;border-top:1px solid var(--line);min-width:0}
.ms-missal > h3 + .ms-part,.prayer-body.ms-missal > .ms-part:first-child{border-top:0;padding-top:0}
.ms-head{display:flex;justify-content:space-between;align-items:baseline;gap:6px 12px;flex-wrap:wrap}
.ms-head h4{margin:0;font-family:var(--sc);font-weight:700;letter-spacing:.1em;font-size:15px;color:var(--red);line-height:1.3}
.ms-ref{font-family:var(--body);font-style:italic;font-size:14.5px;color:var(--muted);font-variant-numeric:lining-nums}
.ms-sub{margin:0;font-style:italic;color:var(--ink);font-size:16px}
.ms-tit{margin:0;font-family:var(--body);font-style:italic;font-weight:500;font-size:16px;color:var(--red);line-height:1.45}
.ms-text{display:flex;flex-direction:column;gap:10px;overflow-wrap:break-word;hyphens:auto}
.ms-text p{margin:0;max-width:62ch}
.ms-l{display:block}
.ms-l.ms-in{padding-left:1.4em}
.ms-red{color:var(--red);font-weight:700}
.ms-tp{font-style:italic;color:var(--muted);font-size:.92em}
.ms-rubl{font-style:italic;color:var(--red);font-size:15px}
.ms-ant .ms-text{font-family:var(--display);font-style:italic;font-size:19px;line-height:1.48}
.ms-or .ms-text{font-family:var(--display);font-size:19px;line-height:1.5}
.ms-lec .ms-text{font-size:17.5px;line-height:1.6}
.ms-ps .ms-text{font-size:17.5px;line-height:1.55}
.ms-latin .ms-text{font-style:italic}
.ms-rub{border-top:0;padding-top:4px}
.ms-rub .ms-text{font-family:var(--body);font-style:italic;font-weight:500;color:var(--red);font-size:16.5px}
.ms-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:6px}
.ms-source{margin:0;font-size:14px;line-height:1.5;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}
.ms-source a{color:var(--red);font-weight:700;white-space:nowrap}
.ms-source-out{border-top:0;padding:0 4px}
.ms-hours .prayer-body{gap:14px}
.ms-hours .prayer-body .ms-source{border-top:1px solid var(--line)}
.ms-hours .prayer-foot:empty{padding:0 0 10px}
.ms-office-intro p{color:var(--muted)}

.sec-intro p b,.sec-esprit b{color:var(--ink)}
.sec-steps{margin:0;padding:0;list-style:none;counter-reset:sec;display:flex;flex-direction:column;gap:12px}
.sec-steps li{counter-increment:sec;display:grid;grid-template-columns:34px 1fr;column-gap:12px;align-items:start}
.sec-steps li::before{content:counter(sec);grid-row:span 2;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--red);font-family:var(--display);font-weight:700;font-size:17px}
.sec-steps b{font-family:var(--display);font-weight:600;font-size:19px;line-height:1.3;padding-top:4px}
.sec-steps span{grid-column:2;font-size:16px;color:var(--muted)}
.sec-prayer .prayer-foot,.ms-actions{gap:8px}
.sec-regle{font-family:var(--display);font-style:italic;font-size:19px;line-height:1.45;border-left:3px solid var(--red);padding-left:14px}
.sec-traits{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px}
.sec-traits li{background:var(--ground);border:1px solid var(--line);border-radius:var(--r-sm);padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.sec-traits b{font-family:var(--display);font-weight:600;font-size:18px;color:var(--red)}
.sec-traits span{font-size:15.5px;line-height:1.45}
.sec-dl{margin:0;display:flex;flex-direction:column;gap:4px}
.sec-dl dt{font-family:var(--sc);font-weight:700;letter-spacing:.08em;font-size:15px;color:var(--red);margin-top:8px}
.sec-dl dt:first-child{margin-top:0}
.sec-dl dd{margin:0;max-width:62ch}
.sec-chap{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.sec-chap li{display:flex;flex-direction:column;padding-left:12px;border-left:2px solid var(--sun)}
.sec-chap b{font-family:var(--display);font-weight:600;font-size:17.5px}
.sec-chap span{font-size:15px;color:var(--muted)}
.sec-links{display:flex;flex-direction:column;gap:8px}
.sec-links .linkcard > span[aria-hidden]{color:var(--red);font-size:22px}

/* ---------- vie en 10 chapitres (js/vie.js) ---------- */
.vie{display:flex;flex-direction:column;gap:24px;min-width:0}
.vie-head h2:focus,.vie-ch .vie-titre:focus{outline:none}
.vie-intro{color:var(--muted)}
.vie-toc ol{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--line)}
.vie-toc li{border-bottom:1px solid var(--line)}
.vie-toc button{appearance:none;display:flex;align-items:baseline;gap:12px;width:100%;margin:0;padding:10px 6px;border:0;border-radius:var(--r-sm);background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.vie-toc button:hover{background:var(--soft)}
.vie-toc button:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
.vie-toc-n{flex:0 0 1.6em;font-family:var(--display);font-weight:700;font-size:20px;color:var(--red);text-align:right}
.vie-toc-t{min-width:0;font-family:var(--display);font-weight:600;font-size:17px;line-height:1.3}
.vie-toc-t small{display:block;font-family:var(--body);font-weight:400;font-size:14px;color:var(--muted);margin-top:1px}
.vie-ch{gap:16px}
.vie-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0;font-family:var(--sc);font-weight:700;letter-spacing:.1em;font-size:14px}
.vie-num{color:var(--red)}
.vie-per{color:var(--gold)}
.prose h3.vie-titre{font-family:var(--display);font-weight:700;letter-spacing:0;font-size:clamp(23px,5.6vw,28px);line-height:1.18;color:var(--ink);margin:-6px 0 2px;text-wrap:balance}
.vie-fig{margin:4px auto 6px;width:min(100%,290px)}
.vie-fig img{display:block;width:100%;height:auto;aspect-ratio:506/720;object-fit:cover;border-radius:var(--r-sm);background:var(--soft);box-shadow:var(--shadow)}
.vie-fig figcaption{margin-top:10px;text-align:center;font-style:italic;font-size:15px;line-height:1.4;color:var(--ink)}
.vie-fig figcaption small{display:block;font-style:normal;font-size:13px;color:var(--muted);margin-top:2px}
.prose p.vie-p{line-height:1.72;hyphens:auto;-webkit-hyphens:auto;text-wrap:pretty;overflow-wrap:break-word}
.vie-maxime{margin:6px 0 2px;padding:16px 18px;max-width:62ch;background:var(--sun-soft);border-left:4px solid var(--sun);border-radius:var(--r-sm)}
.prose .vie-maxime p{font-family:var(--display);font-style:italic;font-size:18.5px;line-height:1.45;color:var(--ink)}
.vie-maxime footer{margin-top:8px;font-family:var(--sc);font-weight:700;letter-spacing:.08em;font-size:13.5px;color:var(--gold)}
.vie-liens{display:flex;flex-wrap:wrap;gap:8px}
.vie-liens a{display:inline-block;max-width:100%;padding:6px 12px;border:1.5px solid var(--line);border-radius:999px;background:var(--ground);color:var(--red);font-weight:700;font-size:14.5px;line-height:1.3;text-decoration:none}
.vie-liens a:hover{border-color:var(--red)}
.vie-liens a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.vie-next{align-self:flex-end;margin-top:4px}
