/* Cinzel Decorative (SIL Open Font License 1.1), ospitato sul sito. Solo il nome del sito. */
@font-face {
  font-family: "Cinzel Decorative";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/cinzel-decorative-700.woff2") format("woff2");
}

:root {
  --bg: #eee4d0;
  --hdr: rgba(238, 228, 208, .92);
  --panel: #f8f2e4;
  --line: #d3c5a6;
  --ink: #2b2420;
  --muted: #65574a;
  --accent: #7a2e2e;
  --gold: #b8893b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1814;
    --hdr: rgba(29, 24, 20, .92);
    --panel: #2a2420;
    --line: #3d352d;
    --ink: #f1e9dc;
    --muted: #a89b8b;
    --accent: #e0a0a0;
    --gold: #d9a954;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: var(--hdr); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 10px 18px; min-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--gold); font-family: "Cinzel Decorative", "Cinzel", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-weight: 700; letter-spacing: .08em; font-size: 1.15rem; white-space: nowrap; }
.brand .logo { flex: none; }
.brand:hover { color: var(--accent); }
.site-name { font-family: "Cinzel Decorative", "Cinzel", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; color: var(--gold); letter-spacing: .06em; }
.hero h1 { font-family: "Cinzel Decorative", "Cinzel", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; letter-spacing: .06em; text-shadow: 0 2px 18px rgba(240, 192, 90, .35); color: #f6e2b0; }
.hero .tagline { font-size: 1.2rem; font-style: italic; margin: 0 0 12px; color: #fff; }

/* Menu a tendina (senza JavaScript: <details>) */
.dd { position: relative; }
.dd.right .dd-panel { right: 0; left: auto; }
.dd summary { list-style: none; cursor: pointer; user-select: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: " ▾"; color: var(--muted); }
.dd summary:hover, .dd[open] summary { border-color: var(--gold); }
.dd-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 230px; max-width: calc(100vw - 32px); max-height: 70vh; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 10px 30px rgba(60, 40, 20, .18); }
/* Il menu delle lingue ha molte voci: due colonne e altezza quasi a tutto schermo, cosi' si vedono tutte senza scorrere */
.dd.right .dd-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 6px; min-width: 380px; }
.dd-panel { max-height: calc(100vh - 110px); }
@media (max-width: 600px) { .dd.right .dd-panel { min-width: 0; } }
.dd-item { display: block; padding: 9px 12px; border-radius: 8px; font-size: .95rem; color: var(--ink); }
.dd-item:hover { background: var(--bg); }
.dd-item.on { color: var(--accent); font-weight: 600; }

/* Hero (sempre su immagine scura: testo chiaro) */
.hero {
  position: relative; margin-top: 22px; min-height: 340px; border-radius: 18px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 36px; color: #fff; background: #1c1612;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,13,.9) 0%, rgba(11,12,13,.5) 55%, rgba(11,12,13,.15) 100%); }
.hero > div { position: relative; z-index: 2; }
.hero h1 { margin: 0 0 10px; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.1; max-width: 640px; }
.hero p { margin: 0 0 20px; color: #ece6da; max-width: 560px; font-size: 1.05rem; }
.btn { display: inline-block; background: #fff; color: #2b2420; font-weight: 600; padding: 10px 24px; border-radius: 999px; }
.btn:hover { background: #f0e8d8; }

/* Rows */
.row { margin-top: 34px; scroll-margin-top: 70px; }
.row h2 { font-size: 1.35rem; margin: 0 0 14px; }
.scroller { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.card {
  position: relative; overflow: hidden; flex: 0 0 220px; height: 150px; border-radius: 14px; padding: 16px; scroll-snap-align: start; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); background: #1c1612;
  box-shadow: 0 2px 8px rgba(60, 40, 20, .12); transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(60, 40, 20, .2); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 5%, rgba(0,0,0,.15) 65%); }
.card h3, .card span { position: relative; z-index: 2; }
.card h3 { margin: 0; font-size: 1.1rem; line-height: 1.2; }
.card span { font-size: .75rem; color: rgba(255,255,255,.78); margin-top: 6px; }

.dd-head { display: block; padding: 10px 12px 4px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.dd-head:not(:first-child) { margin-top: 4px; border-top: 1px solid var(--line); }

/* Pagina del video: lettore incorporato 16:9 */
.player { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; margin: 4px 0 18px; box-shadow: 0 6px 24px rgba(60, 40, 20, .2); }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.videopage { max-width: 860px; }
.vdesc { text-align: left; max-width: 680px; margin: 0 auto; color: var(--ink); }
.vgrid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vgrid .vcard { flex: initial; }
/* Shorts: formato verticale 9:16 (l'anteprima di YouTube ha bande nere ai lati: "cover" le ritaglia) */
.vcard.short, .vgrid.shorts .vcard { flex: 0 0 170px; aspect-ratio: 9 / 16; }
.vgrid.shorts { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.vgrid.shorts .vcard { flex: initial; }
.vsub { font-size: 1.35rem; margin: 30px 0 14px; }
.vcard.short .vtitle { font-size: .82rem; }
.vcard.short .play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.vcard.short .play::before { left: 17px; top: 12px; border-left-width: 14px; border-top-width: 10px; border-bottom-width: 10px; }
.player.short { aspect-ratio: 9 / 16; max-width: 380px; max-height: 78vh; margin-left: auto; margin-right: auto; }

/* Video: fila scorrevole di anteprime 16:9 che aprono la pagina del video */
.vcard, .vframe { flex: 0 0 300px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.vcard { position: relative; display: block; scroll-snap-align: start; color: #fff; box-shadow: 0 2px 8px rgba(60, 40, 20, .15); }
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,0) 55%); }
.vcard .play { position: absolute; z-index: 2; left: 50%; top: 45%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255,255,255,.92); }
.vcard .play::before { content: ""; position: absolute; left: 21px; top: 15px; border-left: 17px solid #7a2e2e; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.vcard:hover .play { background: #fff; transform: scale(1.06); }
.vcard .vtitle { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 10px; font-size: .95rem; line-height: 1.25; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vframe { border: 0; }
.more { margin: 6px 0 0; font-size: .9rem; }
.more a { color: var(--accent); }
.more a:hover { text-decoration: underline; }
@media (max-width: 600px) { .vcard, .vframe { flex-basis: 260px; } }

/* ===== Home: cornice dorata (doppia linea con ornamenti agli angoli) e sezioni ===== */
.cornice { position: relative; border: 1.5px solid var(--gold); border-radius: 8px; background: rgba(248, 242, 228, .45); }
.cornice::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(184, 137, 59, .5); border-radius: 4px; pointer-events: none; }
.cornice::after {
  content: ""; position: absolute; inset: -5px; pointer-events: none;
  background:
    radial-gradient(circle, var(--gold) 0 4px, transparent 4.5px) left top / 10px 10px no-repeat,
    radial-gradient(circle, var(--gold) 0 4px, transparent 4.5px) right top / 10px 10px no-repeat,
    radial-gradient(circle, var(--gold) 0 4px, transparent 4.5px) left bottom / 10px 10px no-repeat,
    radial-gradient(circle, var(--gold) 0 4px, transparent 4.5px) right bottom / 10px 10px no-repeat;
}
.sect { margin-top: 64px; padding: 44px 48px; }
.sect-title { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 400; margin: 0 0 6px; line-height: 1.2; }
.sect-title.small { font-size: 1.5rem; margin-bottom: 16px; }
.sect-sub { margin: 0 0 26px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero-daily { min-height: 540px; padding: 0; }
.hero-frame { position: absolute; inset: 14px; border: 1px solid rgba(240, 192, 90, .6); border-radius: 16px; z-index: 1; pointer-events: none; }
.hero-text { position: relative; z-index: 2; max-width: 700px; padding: 56px 64px; }
.kicker { margin: 0; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #f0c05a; font-weight: 600; }
.hero-title { margin: 10px 0 14px; font-family: "Cinzel Decorative", Georgia, serif; font-weight: 700; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; color: #f6e2b0; text-shadow: 0 2px 18px rgba(240, 192, 90, .35); }
.lead { margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; line-height: 1.6; color: #f1e9dc; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; cursor: pointer; font: inherit; font-weight: 600; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.hero-meta { margin: 22px 0 0; font-size: .85rem; color: rgba(255, 255, 255, .75); }

.sit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.sit { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; font-weight: 600; }
.sit:hover { border-color: var(--gold); }
.sit .ico { width: 46px; height: 46px; border-radius: 50%; background: #e2d3b4; color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }

.moments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 64px; }
.moment { position: relative; display: block; height: 280px; border-radius: 20px; overflow: hidden; background: #1c1612; color: #fff; }
.moment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.moment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 10, 8, .85) 8%, rgba(14, 10, 8, .1) 70%); }
.m-text { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; }
.m-kick { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #f0c05a; font-weight: 600; }
.m-title { display: block; font-family: Georgia, serif; font-size: 1.9rem; margin: 4px 0; }
.m-sub { display: block; font-size: .95rem; color: rgba(255, 255, 255, .85); }

/* Sezione video: intestazione con pulsanti del canale, ultimo video in grande e Shorts */
.v-head { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.v-head .sect-sub { margin: 0; max-width: 560px; }
.v-head .sect-title a:hover { color: var(--accent); }
.v-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.v-actions.page { margin: 22px 0 0; }
.btn-yt { display: inline-flex; align-items: center; gap: 10px; background: #7a2e2e; color: #fff; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 1.5px solid #7a2e2e; }
.btn-yt:hover { background: #5f2323; border-color: #5f2323; }
.btn-yt.ghost { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn-yt.ghost:hover { background: rgba(184, 137, 59, .14); }
.v-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.v-grid.single { grid-template-columns: minmax(0, 1fr); }
.v-grid.single .v-feature { max-width: 760px; }
.v-feature { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #000; color: #fff; box-shadow: 0 6px 22px rgba(60, 40, 20, .2); }
.v-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.v-feature:hover img { transform: scale(1.03); }
.v-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, 0) 62%); }
.v-feature .play { position: absolute; z-index: 2; left: 50%; top: 40%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(255, 255, 255, .92); }
.v-feature .play::before { content: ""; position: absolute; left: 27px; top: 19px; border-left: 21px solid #7a2e2e; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.v-info { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; }
.v-badge { display: inline-block; background: #f0c05a; color: #2b2420; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.v-ftitle { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; line-height: 1.25; }
.v-fdesc { display: block; font-size: .9rem; color: rgba(255, 255, 255, .82); margin-top: 6px; }
.v-date { display: block; font-size: .8rem; color: rgba(255, 255, 255, .65); margin-top: 6px; }
.v-sub { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 400; margin: 0 0 12px; }
.v-more { margin-top: 34px; }
.videos .row { margin-top: 0; }
.videos .row + .row { margin-top: 34px; }
.videos .more { margin-top: 16px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tile { display: block; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.tile:hover { border-color: var(--gold); }
.t-title { display: block; font-family: Georgia, serif; font-size: 1.4rem; margin: 12px 0 4px; }
.t-desc { display: block; color: var(--muted); font-size: .95rem; }

.slim { padding: 34px 48px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--line); background: var(--panel); color: var(--muted); padding: 8px 16px; border-radius: 999px; font-size: .95rem; }
.pill:hover { border-color: var(--gold); color: var(--ink); }

.promise { text-align: center; background: #e2d3b4; padding: 58px 48px; }
.promise .site-name { margin: 0 0 12px; font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--accent); }
.promise p { margin: 0 auto; max-width: 680px; font-size: 1.1rem; line-height: 1.6; color: var(--ink); }

@media (prefers-color-scheme: dark) {
  .cornice { background: rgba(42, 36, 32, .45); }
  .sit .ico { background: var(--line); }
  .promise { background: var(--panel); }
}
@media (max-width: 700px) { .moments { grid-template-columns: 1fr; margin-top: 48px; } }
@media (max-width: 860px) { .v-grid { grid-template-columns: minmax(0, 1fr); } .v-head { align-items: flex-start; } }
@media (max-width: 600px) {
  .sect { padding: 28px 18px; margin-top: 48px; }
  .slim { padding: 26px 18px; }
  .promise { padding: 36px 22px; }
  .hero-daily { min-height: 480px; }
  .hero-text { padding: 36px 24px; }
  .lead { font-size: 1.05rem; }
  .sit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sit { padding: 12px 14px; gap: 10px; font-size: .95rem; }
  .sit .ico { width: 36px; height: 36px; }
}

/* Lingue scritte da destra a sinistra (arabo): il layout flex/grid si inverte da solo, qui gli aggiustamenti */
[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Arial", sans-serif; }
[dir="rtl"] .brand { margin-right: 0; margin-left: auto; }
[dir="rtl"] .dd-panel { left: auto; right: 0; }
[dir="rtl"] .dd.right .dd-panel { right: auto; left: 0; }
[dir="rtl"] .crumb-sep { transform: scaleX(-1); }
[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(11, 12, 13, .9) 0%, rgba(11, 12, 13, .5) 55%, rgba(11, 12, 13, .15) 100%); }
[dir="rtl"] .text { font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", serif; line-height: 2; }
[dir="rtl"] .m-text, [dir="rtl"] .v-info, [dir="rtl"] .hero-text { text-align: right; }

/* Salmi e passi della Bibbia */
.bible .ref { margin: -8px 0 18px; color: var(--muted); font-weight: 600; }
.verses { text-align: left; }
.verses .verse { margin: 0 0 .75em; }
.verses sup { color: var(--gold); font-size: .62em; font-weight: 700; margin-inline-end: .25em; font-family: "Segoe UI", sans-serif; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; font-weight: 600; }
.pager a { padding: 8px 4px; color: var(--accent); }
.pager a:hover { text-decoration: underline; }
.psalm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 22px; }
.psalm-card { display: block; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.psalm-card:hover { border-color: var(--gold); }
.p-num { display: block; font-family: Georgia, serif; font-size: 1.15rem; margin-bottom: 4px; }
.p-snip { display: block; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.credit.center { text-align: center; margin-top: 26px; }

.page-title { margin: 6px 0 20px; font-size: 2.2rem; line-height: 1.1; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.grid .card { flex: initial; }
.row h2 a:hover { color: var(--accent); text-decoration: underline; }
.tag a:hover { text-decoration: underline; }

/* Intro */
.intro { margin: 22px 0 0; color: var(--muted); max-width: 640px; }

/* Prayer page */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 26px 0 14px; font-size: .9rem; }
.crumb-home { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid var(--gold); border-radius: 999px; background: var(--panel); color: var(--ink); font-weight: 600; }
.crumb-home:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.crumb { color: var(--muted); padding: 4px 2px; }
.crumb:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }
.crumb-sep { color: var(--gold); flex: none; }
.crumb-current { color: var(--ink); font-weight: 600; padding: 4px 2px; }
.back-home { display: flex; justify-content: center; margin: 8px 0 0; padding: 36px 0 10px; border-top: 1px solid var(--line); }
.btn-back { display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border: 1.5px solid var(--gold); border-radius: 999px; background: var(--panel); font-weight: 600; }
.btn-back:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.prayer { max-width: 680px; margin: 0 auto; padding: 10px 0 40px; text-align: center; }
.banner { margin: 0 0 18px; border-radius: 16px; overflow: hidden; height: 260px; background: #1c1612; }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; }
.prayer h1 { margin: 6px 0 18px; font-size: 2.4rem; line-height: 1.1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.chip { background: var(--panel); border: 1px solid var(--line); padding: 6px 16px; border-radius: 999px; font-size: .9rem; color: var(--muted); }
.chip:hover { border-color: var(--gold); color: var(--ink); }
.text { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 34px 24px; font-size: 1.3rem; line-height: 1.85; font-family: Georgia, "Times New Roman", serif; box-shadow: 0 2px 10px rgba(60, 40, 20, .06); }
.alt { margin-top: 34px; scroll-margin-top: 70px; }
.alt h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.credit { margin: 18px 0 0; color: var(--muted); font-size: .78rem; }

footer { color: var(--muted); font-size: .85rem; padding: 18px 20px 34px; border-top: 1px solid var(--line); margin-top: 50px; }
.hub { max-width: 520px; margin: 60px auto; text-align: center; }
.hub ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.hub a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.hub a:hover { border-color: var(--gold); }
@media (max-width: 600px) { .hero { padding: 22px; min-height: 300px; } .prayer h1 { font-size: 2rem; } .wrap { padding: 0 16px; } .bar { gap: 6px; } .brand { font-size: .8rem; gap: 5px; letter-spacing: .02em; min-width: 0; } .brand .logo { width: 20px; height: 20px; } .dd summary { padding: 5px 9px; font-size: .78rem; } .dd { position: static; } .dd-panel { left: 16px; right: 16px; top: 58px; max-width: none; position: fixed; } .dd.right .dd-panel { left: 16px; right: 16px; } }

/* Calendario: "Le commemorazioni del mese" */
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin: 14px 0 16px; }
.cal-field { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cal-sel { font: inherit; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--panel); border: 1px solid var(--gold); border-radius: 10px; padding: 9px 12px; min-width: 240px; max-width: 100%; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-nav button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); background: var(--panel); color: var(--accent); cursor: pointer; }
.cal-nav button:hover { background: var(--accent); color: #fff; }
.cal-month { margin: 0; min-width: 11ch; text-align: center; font-size: 1.15rem; text-transform: capitalize; color: var(--accent); }
.cal-body { display: grid; grid-template-columns: minmax(250px, 320px) 1fr; gap: 22px; align-items: start; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.cg-h { font-size: .7rem; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.cg-d { position: relative; padding: 7px 0; font-size: .9rem; border-radius: 8px; }
.cg-d.has { background: rgba(184, 137, 59, .22); font-weight: 700; color: var(--accent); }
.cg-d.has::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.cg-d.today { outline: 2px solid var(--accent); outline-offset: -2px; }
.cal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cal-ev { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.cal-ev.today { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ce-date { display: flex; flex-direction: column; align-items: center; min-width: 52px; padding: 6px 4px; border-radius: 10px; background: var(--accent); color: #fff; line-height: 1.1; }
.ce-date b { font-size: 1.4rem; font-family: "Cinzel Decorative", Georgia, serif; }
.ce-date i { font-style: normal; font-size: .7rem; text-transform: uppercase; opacity: .85; }
.ce-name { font-size: 1rem; line-height: 1.35; }
.ce-name a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.ce-name a:hover { color: var(--accent); }
.ce-today { margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #fff; font-size: .7rem; font-style: normal; text-transform: uppercase; }
.cal-empty { margin: 0; padding: 18px; text-align: center; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: 12px; }
.cal-note { margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.cal-more { margin: 14px 0 0; text-align: center; }
.cal-notes { margin: 8px 0 18px; padding-inline-start: 18px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.cal-all { columns: 2 280px; margin: 8px 0 0; padding-inline-start: 18px; line-height: 1.7; }
.cal-all a { color: var(--accent); }
@media (max-width: 720px) { .cal-body { grid-template-columns: 1fr; } .cal-sel { min-width: 0; width: 100%; } .cal-field { width: 100%; } .cal-nav { width: 100%; justify-content: space-between; } }

/* Schede di anno liturgico e santi */
.sub-h { margin: 28px 0 12px; font-size: 1.1rem; color: var(--accent); }
.entry-img { margin: 12px 0 18px; padding: 8px; max-width: 620px; }
.entry-img img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 6px; }
.entry-text { font-size: 1.08rem; line-height: 1.75; max-width: 70ch; }
.entry-meta { margin: 6px 0; color: var(--muted); }
.dates { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.dates li { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.dates li span { color: var(--muted); font-size: .9rem; }
.dates li b { color: var(--accent); }
