/* Prière de Jésus — compléments à css/catechisme.css (pages FR / RU / EN) */

/* Bannière : la prière elle-même, en grand */
.hero .prayer-hero { margin: 26px auto 0; max-width: 760px; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 2.25rem); line-height: 1.35; color: var(--blue-900); }
.hero .prayer-hero small { display: block; margin-top: 10px; font-family: var(--font-sans); font-style: normal; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); }
.hero .hero-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Les différentes formes de la prière */
.prayer-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.prayer-form { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold-600); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.prayer-form .lang { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 6px; }
.prayer-form p { margin: 0; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.4; color: var(--blue-900); font-style: italic; }
.prayer-form small { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .82rem; }

/* Étapes du chemin : la colonne de gauche contient un mot ou un nombre */
.timeline.steps::before { left: 108px; }
.timeline.steps li { grid-template-columns: 92px 1fr; gap: 36px; }
.timeline.steps li::before { left: 102px; }
.timeline.steps .year { font-size: 1.1rem; padding-top: 2px; }
@media (max-width: 640px) {
  .timeline.steps::before { left: 6px; }
  .timeline.steps li { grid-template-columns: 1fr; gap: 0; padding-left: 30px; }
  .timeline.steps li::before { left: 0; top: 4px; }
  .timeline.steps .year { text-align: left; font-size: .8rem; font-family: var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
}

/* Encadré « source » (texte original en domaine public) */
.source-note { font-size: .88rem; color: var(--ink-soft); background: var(--stone); border: 1px dashed var(--line); border-radius: var(--radius); padding: 12px 16px; margin-top: 22px; }

/* Avertissement pastoral */
.caution { background: var(--gold-100); border-left: 3px solid var(--gold-600); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 22px 0; }
.caution strong { color: var(--blue-900); }

/* Cartes « pour aller plus loin » */
.further { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.further .card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.further .card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.further .card p { margin: 0 0 12px; color: var(--ink-soft); font-size: .95rem; }
.further .card .more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--blue-700); }

/* Page « Lectures spirituelles » : cartes de lecture */
.reading-grid { max-width: 980px; margin: 0 auto; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.reading .tag { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 8px; }
.further .reading h3 { font-size: 1.6rem; }
.further .reading .quote-line { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.45; color: var(--blue-900); border-left: 2px solid var(--gold-600); padding-left: 12px; margin: 4px 0 12px; }
a.reading:hover h3 { color: var(--blue-700); }
.reading .path { margin: 4px 0 0; padding-left: 1.2em; color: var(--ink-soft); font-size: .95rem; }
.reading .path li { margin-bottom: 6px; }
.reading .path li::marker { color: var(--gold-600); font-weight: 700; }

/* Livre de prières */
.prayers { display: grid; gap: 14px; margin-top: 18px; }
.prayer { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold-600); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; }
.prayer h4 { font-size: 1.15rem; margin: 0 0 4px; }
.prayer .rubric { margin: 0 0 6px; font-size: .85rem; font-style: italic; color: var(--gold-700); }
.prayer .prayer-text { margin: 0; font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.55; color: var(--blue-900); }
.prayer .prayer-text[lang="cu"] { font-size: 1.18rem; }
.prayer .slavonic { margin-top: 8px; font-size: .88rem; color: var(--ink-soft); }
.prayer .slavonic summary { cursor: pointer; color: var(--blue-700); font-weight: 600; width: fit-content; }
.prayer .slavonic p { margin: 6px 0 0; font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.5; color: var(--ink); }

/* Photos (page prosphore) */
.photo { margin: 24px 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); background: var(--parchment-deep); }
.photo figcaption { margin-top: 8px; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.photo .credit { display: block; font-size: .78rem; color: var(--ink-soft); }
.photo-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.photo-pair .photo { margin: 8px 0; }
.photo-pair .photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.photo-pair.square .photo img { aspect-ratio: 1 / 1; }
.photo.portrait { max-width: 420px; margin-left: auto; margin-right: auto; }
.photo-pair.icons { align-items: start; }
.photo-pair.icons .photo img { aspect-ratio: auto; }

/* Tableau (degrés du jeûne) */
.table-wrap { overflow-x: auto; margin: 20px 0; }
.fast-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.fast-table caption { text-align: left; font-size: .85rem; color: var(--ink-soft); padding-bottom: 8px; }
.fast-table th, .fast-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.fast-table thead th { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-900); background: var(--stone); }
.fast-table tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.fast-table td.yes { color: #1f6b3a; font-weight: 600; }
.fast-table td.no { color: var(--ink-soft); }
@media (max-width: 640px) {
  .fast-table { font-size: .8rem; }
  .fast-table th, .fast-table td { padding: 7px 5px; }
  .fast-table thead th { font-size: .66rem; letter-spacing: 0; text-transform: none; hyphens: auto; }
}

/* Vidéo YouTube (façade chargée au clic) */
.video { position: relative; aspect-ratio: 16 / 9; margin: 24px 0 8px; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: var(--shadow-md); }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video button:focus-visible { outline: 3px solid var(--gold-600); outline-offset: -3px; }
.video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .2s; }
.video button:hover img { opacity: 1; }
.video .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(160, 30, 30, .92); display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0, 0, 0, .4); }
.video .play svg { margin-left: 5px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: .88rem; color: var(--ink-soft); }

/* Page « Actualités » */
.news-list { max-width: 760px; }
.news-item { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold-600); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin-bottom: 22px; box-shadow: var(--shadow-sm); scroll-margin-top: 24px; }
.news-item time { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.news-item h2 { font-size: 1.6rem; margin: 6px 0 10px; }
.news-item p { margin: 0 0 10px; }
.news-item .news-link { font-weight: 600; color: var(--blue-700); }
.news-foot { color: var(--ink-soft); font-size: .95rem; }
