/*
  moaște.ro — „Turle”: un orizont de biserici, câte una pentru fiecare parte a țării,
  și harta locurilor cu moaște. Fildeș, cărbune, vișiniu și aur patinat; aurul doar în
  cruci, ferestre și linii.
  Două așezări: pe telefon și tabletă, aplicație cu taburi; pe un ecran mare cu mouse,
  o pagină lungă. Fonturile sunt găzduite pe site (fonts.css, inclus mai jos).
*/

/* ---------- Fonturi (latin + latin-ext: ă, â, î, ș, ț) ---------- */

@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-400-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-400-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-400-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-400-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/alegreya-sans-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/alegreya-sans-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/alegreya-sans-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/alegreya-sans-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/dm-serif-display-400-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/dm-serif-display-400-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/dm-serif-display-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/dm-serif-display-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;

  /* Paleta de bază */
  --ivory: #F6F1E7;
  --ivory-2: #EFE6D6;
  --ivory-3: #E6DAC5;
  --coal: #25231F;
  --coal-2: #1A1816;
  --wine: #6F263D;          /* 9.4:1 pe fildeș */
  --wine-d: #561B2F;
  --gold: #A88A4A;          /* doar linii și ornamente, nu text mic */
  --lamp: #F2CF86;          /* 11:1 pe cărbune */
  --lamp-hi: #FFE3A3;

  /* Roluri */
  --bg: var(--ivory);
  --surface: #FBF8F1;
  --surface-2: var(--ivory-2);
  --text: var(--coal);
  --text-2: #5A5248;        /* 6.9:1 pe fildeș */
  --line: rgba(37, 35, 31, 0.16);
  --tint: var(--wine);
  --on-tint: var(--ivory);
  --accent: var(--wine);    /* titluri accentuate, date */

  /* Cerul primului ecran: zi */
  --sky-1: #F7F1E6; --sky-2: #F3E3C6; --sky-3: #E9C99B; --hill: #C8A68A; --far: #D9BFA3;
  --sky-text: var(--coal); --sky-text-2: var(--text-2); --sky-accent: var(--wine);

  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Alegreya", Georgia, "Times New Roman", serif;   /* texte sfinte și acatiste */

  --gutter: clamp(16px, 4vw, 64px);
  --page: 1320px;
  --readable: 720px;
  --tabbar-h: 68px;
  --nav-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

/* Seara (19–6, după ora vizitatorului): cerul se întunecă, ferestrele se aprind */
html.night {
  --sky-1: #1A1520; --sky-2: #2B1C27; --sky-3: #4A2A33; --hill: #3B2830; --far: #2E2129;
  --sky-text: var(--ivory); --sky-text-2: #D8CDBB; --sky-accent: var(--lamp);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1E1B19;
    --surface: #282420;
    --surface-2: #2E2925;
    --ivory-3: #3A342E;
    --text: #F1E9DA;
    --text-2: #CDBFA6;      /* 9.3:1 */
    --line: rgba(246, 241, 231, 0.16);
    --tint: var(--lamp);
    --on-tint: var(--coal);
    --accent: var(--lamp);
  }
}

@media (prefers-contrast: more) {
  :root { --text-2: var(--text); --line: var(--text); }
}

/* ---------- Bază ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--tint); text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  background: var(--wine); color: var(--ivory);
  padding: 12px 18px; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: calc(12px + var(--safe-t)); }

.ic { width: 24px; height: 24px; flex: none; }
.web-only { display: none; }

/* ---------- Navigație: bara de jos pe telefon ---------- */

.tabbar {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(37, 35, 31, 0.97);
  border-top: 1px solid rgba(168, 138, 74, 0.35);
  color: #D8CDBB;
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: inherit; font-size: 0.8125rem; font-weight: 500; line-height: 1; min-height: 44px;
}
.tab .ic { width: 23px; height: 23px; }
.tab[aria-current="page"] { color: var(--lamp); }
.tabbar :focus-visible { outline-color: var(--lamp); outline-offset: -4px; }
.brand-mark { width: 20px; height: 20px; }

@media (prefers-reduced-transparency: reduce) { .tabbar { background: var(--coal); } }

/* ---------- Vederi (aplicația de pe telefon) ---------- */

main {
  max-width: calc(var(--readable) + 2 * var(--gutter));
  margin: 0 auto;
  padding: var(--safe-t) var(--gutter) calc(var(--tabbar-h) + 48px + var(--safe-b));
}
.view { padding-bottom: 24px; scroll-margin-top: 100vh; }
.js .view { display: none; }
.js .view.is-active { display: block; animation: view-in 0.25s ease-out; }
@keyframes view-in { from { opacity: 0; } to { opacity: 1; } }

.large-title { padding: 44px 0 14px; }
.large-title h1 { font: 400 2.75rem/1.02 var(--display); letter-spacing: -0.005em; }
.today { font-size: 0.9375rem; font-weight: 500; color: var(--accent); margin-bottom: 6px; }

.title1 { font: 400 2.25rem/1.08 var(--display); }
.title2 {
  font: 400 2rem/1.1 var(--display); margin: 56px 0 18px;
  scroll-margin-top: 24px;
}
.lead { color: var(--text-2); margin: 0 0 24px; font-size: 1.125rem; line-height: 1.5; max-width: 60ch; }

/* ---------- Liste ---------- */

.group-head { font: 400 1.625rem/1.15 var(--display); color: var(--text); margin: 40px 0 12px; }
.group-foot { font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); margin: 14px 0 28px; }

.group { margin: 0 0 28px; }
.list { list-style: none; padding: 0; margin-top: 0; border-top: 1px solid var(--line); }

.row {
  display: flex; align-items: center; gap: 16px;
  min-height: 56px; padding: 14px 2px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.row.static { cursor: default; }
a.row:hover .row-title, summary.row:hover .row-title { color: var(--tint); }
a.row:active { background: var(--surface-2); }

.row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.row-title { font-size: 1.125rem; line-height: 1.3; font-weight: 700; }
.row-sub { font-size: 1rem; line-height: 1.4; color: var(--text-2); }
.chev { width: 14px; height: 14px; color: var(--gold); flex: none; }

/* Data praznicului: o fereastră arcuită, ca pe orizont */
.date-badge {
  flex: none; width: 50px; height: 60px; padding-top: 6px;
  display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 3px;
  border-radius: 25px 25px 4px 4px; background: var(--coal); color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.date-badge b { font: 400 1.5rem/1 var(--display); }
.date-badge span { font-size: 0.75rem; font-weight: 700; color: var(--lamp); line-height: 1; }

.pill {
  display: inline-block; margin-left: 8px; vertical-align: 2px;
  font-size: 0.8125rem; font-weight: 700; line-height: 1;
  padding: 5px 9px; border-radius: 999px;
  background: var(--wine); color: var(--ivory);
}

/* ---------- Butoane ---------- */

.btn-prominent {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  background: var(--wine); color: var(--ivory);
  font-size: 1.0625rem; font-weight: 700;
}
.btn-prominent:hover { background: var(--wine-d); }
.btn-prominent .ic { width: 20px; height: 20px; }
.link-more {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; color: var(--text);
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 6px;
}
.link-more:hover { color: var(--tint); }

/* ---------- Primul ecran: cerul și orizontul ---------- */

.view > .hero { margin: 0 calc(-1 * var(--gutter)); }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 52%, var(--sky-3) 86%);
  color: var(--sky-text);
  display: flex; flex-direction: column;
  padding-top: calc(28px + var(--safe-t));
}
.hero-sun {
  position: absolute; z-index: -1; left: 66%; top: 62%; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 222, 0.95) 0 22%, rgba(255, 240, 205, 0.5) 38%, rgba(255, 236, 196, 0) 70%);
}
.night .hero-sun { background: radial-gradient(circle, rgba(242, 207, 134, 0.16) 0 18%, rgba(242, 207, 134, 0.06) 40%, transparent 70%); }
.hero-inner { display: contents; }
.hero-copy { order: 1; padding: 0 var(--gutter); }
.hero .large-title { padding: 16px 0 0; }
.hero .today { color: var(--sky-accent); }
.hero .large-title h1 { font-size: clamp(3.5rem, 15vw, 5rem); line-height: 0.92; }
.hero h1 .gold { display: block; font-style: italic; color: var(--sky-accent); }
.hero-sub { font-size: 1.1875rem; line-height: 1.45; color: var(--sky-text-2); max-width: 34ch; margin: 18px 0 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.night .hero .btn-prominent { background: var(--lamp); color: var(--coal); }
.night .hero .link-more { color: var(--ivory); }

.widget {
  order: 4; position: relative; z-index: 3;
  display: flex; flex-direction: column; gap: 2px;
  margin: 20px var(--gutter) 28px; padding: 16px 18px 16px 54px;
  border-radius: 6px; border: 1px solid rgba(168, 138, 74, 0.45);
  background: rgba(246, 241, 231, 0.7); color: var(--coal);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.night .widget { background: rgba(37, 28, 34, 0.6); border-color: rgba(242, 207, 134, 0.35); color: var(--ivory); }
.widget-flame { position: absolute; left: 22px; top: 20px; width: 14px; height: 22px; }
.widget-k { font-size: 0.9375rem; color: var(--text-2); }
.widget-when { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.widget-date { font: 400 1.5rem/1.15 var(--display); }
.widget-in { font-size: 0.875rem; font-weight: 700; color: var(--wine); }
.widget-name { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; margin-top: 6px; }
.widget-place { font-size: 1rem; color: #5A5248; }
.night .widget-k, .night .widget-place { color: #CDBFA6; }
.night .widget-in { color: var(--lamp); }
.widget:hover { border-color: var(--wine); }

/* Orizontul: șase biserici, câte una pentru fiecare zonă */
.skyline-wrap {
  order: 2; position: relative; margin-top: 20px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.skyline-wrap::-webkit-scrollbar { display: none; }
.skyline { display: block; width: 1120px; max-width: none; height: auto; }
.swipe-hint { order: 3; text-align: center; font-size: 0.9375rem; color: var(--sky-text-2); margin: 10px var(--gutter) 0; }
.skyline .far { fill: var(--far); }
.skyline .hill { fill: var(--hill); }
.skyline .ground { fill: var(--coal); }
.night .skyline .ground { fill: #120E10; }
.church path, .church rect:not(.tick) { fill: var(--coal); }
.night .church path, .night .church rect:not(.tick) { fill: #120E10; }
.church .win { fill: var(--lamp); transition: fill 0.4s ease; }
.night .church .win { fill: #F6C977; filter: url(#glow); }
.church .x, .church .band, .church .tw { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.church .band, .church .tw { stroke-width: 1.5; opacity: 0.8; }
.church { cursor: pointer; outline: none; }
.church:hover .win, .church:focus-visible .win, .church[aria-current] .win { fill: var(--lamp-hi); }
.church:focus-visible .lbl-name { text-decoration: underline; }
.lbl-name { font: 400 21px var(--display); fill: var(--ivory); text-anchor: middle; }
.lbl-n { font: 500 17px var(--sans); fill: #CDBFA6; text-anchor: middle; }
.church[aria-current] .lbl-name { fill: var(--lamp); }
.church .tick { fill: var(--lamp); opacity: 0; }
.church[aria-current] .tick { opacity: 1; }

/* ---------- Acasă: Începe de aici, Praznice apropiate ---------- */

.block-start .row-sub, .block-upcoming .row-sub { font-size: 1rem; }

/* ---------- Căutare și regiuni ---------- */

.search {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px; margin-bottom: 14px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.search .ic { width: 20px; height: 20px; }
.search input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  font: 400 1.0625rem var(--sans); color: var(--text);
}
.search input::placeholder { color: var(--text-2); }
.search:focus-within { border-color: var(--tint); box-shadow: 0 0 0 1px var(--tint); }

.chips { display: flex; gap: 8px; list-style: none; margin: 0 calc(-1 * var(--gutter)) 18px 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  font: 500 1rem var(--sans); cursor: pointer;
}
.chips button b { font-weight: 700; opacity: 0.7; }
.chips button:hover { border-color: var(--tint); }
.chips button[aria-pressed="true"] { background: var(--coal); border-color: var(--coal); color: var(--lamp); }

.js [data-region][hidden], .area[hidden] { display: none; }
.empty { color: var(--text-2); margin: 24px 0; }

/* ---------- Harta ---------- */

.atlas { display: grid; gap: 22px; }
.map-sheet {
  margin: 0 calc(-1 * var(--gutter) + 6px); padding: 6px; border-radius: 3px; color: var(--coal);
  background: #F3EADA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .32 0 0 0 0 .2 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.55);
}
.map-sheet[hidden] { display: none; }
.map { display: block; width: 100%; height: auto; overflow: visible; }
.map .land { fill: url(#hatch); stroke: var(--wine); stroke-width: 2.2; stroke-linejoin: round; }
.map .land-2 { fill: none; stroke: var(--wine); stroke-opacity: 0.35; }
.map .grat { stroke: var(--gold); stroke-opacity: 0.35; stroke-width: 0.8; fill: none; }
.map .grat-t { font: italic 400 15px var(--serif); fill: #7A5F26; }
.map .frame { fill: none; stroke: var(--coal); stroke-opacity: 0.55; }
.map .cartouche text { font: italic 400 28px var(--display); fill: var(--wine); text-anchor: middle; }
.map .cartouche .small { font: 500 14px var(--sans); font-style: normal; fill: #5A5248; }
.map .compass path { fill: var(--wine); }
.map .compass .l { fill: #F3EADA; stroke: var(--wine); }
.map .compass text { font: 400 16px var(--display); fill: var(--wine); text-anchor: middle; }
.tch { fill: var(--tf, #C9A55E); stroke: var(--coal); stroke-width: 1.4; stroke-linejoin: round; }
.tw { fill: var(--coal); }
.tx { stroke: var(--coal); stroke-width: 1.6; stroke-linecap: round; fill: none; }
.place, .abroad { cursor: pointer; outline: none; transition: opacity 0.3s; }
.place .shadow { fill: rgba(37, 35, 31, 0.2); }
.place .hit { fill: transparent; }
.place .cnt { fill: var(--wine); stroke: #F3EADA; stroke-width: 2; }
.place .cnt-t { fill: var(--ivory); font: 700 13px var(--sans); text-anchor: middle; }
.place .nm { font: 700 24px var(--sans); fill: var(--coal); paint-order: stroke; stroke: #F3EADA; stroke-width: 5px; stroke-linejoin: round; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.place.big .nm, .place:hover .nm, .place:focus-visible .nm, .place.sel .nm { opacity: 1; }
.place:hover, .place:focus-visible, .place.sel, .place.today { --tf: #FFE3A3; }
.place .halo { opacity: 0; fill: url(#glowG); }
.place.today .halo { opacity: 1; }
.place .ring { opacity: 0; fill: none; stroke: var(--wine); stroke-width: 2; stroke-dasharray: 4 4; }
.place.sel .ring, .place:focus-visible .ring { opacity: 1; }
.map .dim { opacity: 0.28; }
.abroad rect { fill: #F3EADA; stroke: var(--coal); stroke-opacity: 0.5; }
.abroad:hover rect, .abroad:focus-visible rect, .abroad.sel rect { fill: #FFE3A3; }
.abroad text { font: 600 21px var(--sans); fill: var(--coal); }
.abroad .s { font: italic 400 23px var(--serif); fill: var(--wine); }
.abroad path { stroke: var(--wine); fill: none; stroke-width: 1.4; }
.map-legend { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.9375rem; color: #5A5248; margin: 6px 6px 2px; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend svg { width: 16px; height: 24px; }

.panel-head { border-top: 3px solid var(--lamp); padding-top: 16px; }
.panel-head[hidden] { display: none; }
.panel-k { font-size: 0.9375rem; font-weight: 500; color: var(--accent); }
.panel-title { font: 400 2.125rem/1.05 var(--display); margin: 2px 0; }
.panel-sub { color: var(--text-2); }
.panel-back {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0; margin-top: 2px;
  border: 0; background: none; cursor: pointer;
  font: 700 1rem var(--sans); color: var(--tint); text-decoration: underline; text-underline-offset: 4px;
}
.panel-back[hidden] { display: none; }
.js .panel .area > .group-head, .js #sfinti [data-region="lume"] > .group-head { display: none; }
.js .panel .list { margin-bottom: 0; }
.js .panel .area + .area .list { border-top: 0; }

/* ---------- Texte sfinte: aici apare serifa de carte ---------- */

.sacred {
  margin: 0 0 14px; padding: 22px 24px 20px;
  background: var(--surface); border-top: 2px solid var(--gold);
}
.sacred .kicker { font-size: 0.9375rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.sacred blockquote { margin: 0; font: 400 1.25rem/1.55 var(--serif); color: var(--text); }
.sacred figcaption:not(.kicker), .sacred .cite { font-size: 0.9375rem; color: var(--text-2); font-weight: 700; margin-top: 12px; }
.sacred .cite span { display: block; font-weight: 400; font-size: 0.9375rem; margin-top: 2px; }

.prose { font-size: 1.1875rem; line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.about-grid .prose p:first-child::first-letter { float: left; font: 400 4.6rem/0.82 var(--display); color: var(--accent); padding: 6px 10px 0 0; }
.photo { margin: 0 0 24px; padding: 8px; border: 1px solid var(--gold); border-radius: 220px 220px 4px 4px; background: var(--coal); }
.photo img { width: 100%; aspect-ratio: 720 / 560; object-fit: cover; object-position: 50% 72%; border-radius: 212px 212px 2px 2px; }

.facts .row { align-items: flex-start; }
.facts .row-sub { margin-top: 4px; }
.steps { list-style: none; padding: 0; }
.steps .row { align-items: flex-start; }
.step-n {
  flex: none; width: 44px; height: 52px; padding-top: 4px;
  display: grid; place-items: center; border-radius: 22px 22px 4px 4px;
  font: 400 1.375rem/1 var(--display); color: var(--ivory); background: var(--wine);
}

.faq summary { list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { transition: transform 0.2s ease; }
.faq details[open] .chev { transform: rotate(90deg); }
.faq-a { padding: 0 2px 18px; color: var(--text-2); font-size: 1.0625rem; line-height: 1.6; border-bottom: 1px solid var(--line); }
.faq details[open] summary.row { border-bottom: 0; }

/* ---------- Fișa sfântului ---------- */

.sheet { position: fixed; inset: 0; z-index: 100; display: none; }
html:not(.js) .sheet:target, .sheet.is-open { display: block; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(26, 21, 18, 0.5); }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(100% - 40px - var(--safe-t));
  max-width: 720px; margin: 0 auto;
  background: var(--bg);
  border-radius: 18px 18px 0 0;
  overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
}
.sheet.is-open .sheet-panel { animation: sheet-up 0.34s cubic-bezier(0.2, 0.9, 0.25, 1); }
.sheet.is-open .sheet-scrim { animation: view-in 0.25s ease-out; }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Antetul fișei: o fâșie de cer cu o turlă, ca pe prima pagină */
.sheet-bar {
  position: sticky; top: 0; z-index: 2;
  height: 96px; padding: 14px 16px 0;
  display: flex; justify-content: flex-end; align-items: flex-start;
  touch-action: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 96'%3E%3Cg fill='%2325231F'%3E%3Cpath d='M44 96V70h32v26z'/%3E%3Cpath d='M50 70V52h20v18z'/%3E%3Cpath d='M47 53q13-24 26 0z'/%3E%3C/g%3E%3Cpath d='M60 34v-14M54 25h12' stroke='%23A88A4A' stroke-width='2.4' stroke-linecap='round'/%3E%3Crect x='58' y='57' width='4' height='9' fill='%23F2CF86'/%3E%3C/svg%3E") 24px 100% / 90px 72px no-repeat,
    linear-gradient(180deg, #F7F1E6, #EED9B4);
}
.grabber {
  position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  width: 40px; height: 5px; border-radius: 3px; background: rgba(37, 35, 31, 0.3);
}
.bar-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--coal); background: rgba(246, 241, 231, 0.85);
  box-shadow: 0 0 0 1px rgba(37, 35, 31, 0.12);
}
.bar-btn:hover { background: var(--ivory); }
.bar-btn .ic { width: 18px; height: 18px; }
.sheet-body { padding: 24px var(--gutter) calc(40px + var(--safe-b)); }
.sheet-body .eyebrow { font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.sheet-place { color: var(--text-2); margin: 8px 0 22px; font-size: 1.0625rem; }
.sheet-body .group-head { font-size: 1.5rem; margin-top: 36px; }
.sheet-body .prose { font-size: 1.125rem; }

/* ---------- Biserici cu moaște ---------- */

.directory .large-title { padding-top: 40px; }
.dir-count { font-size: 0.9375rem; color: var(--text-2); margin: 0 0 8px; }
.dir-n { font: 500 1rem var(--sans); color: var(--text-2); margin-left: 6px; }
.dir-list summary { list-style: none; }
.dir-list summary::-webkit-details-marker { display: none; }
.chev-css {
  width: 9px; height: 9px; margin-right: 6px; flex: none;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg); transition: transform 0.2s ease;
}
details[open] > summary .chev-css { transform: rotate(45deg); }
details[open] > summary.row { border-bottom: 0; }
.dir-body { padding: 0 2px 18px; font-size: 1rem; color: var(--text-2); border-bottom: 1px solid var(--line); }
.dir-addr { margin-bottom: 10px; }
.dir-saints { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.dir-saints li { background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 6px 12px; font-size: 0.9375rem; font-weight: 500; }
.dir-saints li span { color: var(--accent); margin-left: 6px; font-weight: 700; }
.dir-text { font-size: 0.9375rem; line-height: 1.5; margin-bottom: 4px; }
.dir-map { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.dir-list > li[hidden], .dir-county[hidden] { display: none; }
.dir-source a, .ak-intro a, .ak-source a, .footer-note a { text-decoration: underline; text-underline-offset: 0.15em; }
.directory .dir-source { margin-top: 32px; }
.directory .dir-county .group-head { margin-top: 36px; }

/* Orizontul mic deasupra paginilor interioare */
.dir-page main::before, .reader-page main::before {
  content: ""; display: block; height: 64px; margin: calc(-1 * var(--safe-t)) calc(-1 * var(--gutter)) 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -10 600 74' preserveAspectRatio='xMidYMax meet'%3E%3Cg fill='%2325231F'%3E%3Cpath d='M40 64V44h60v20zM120 64V30h44v34zM132 30V14h20v16zM130 15q12-20 24 0zM190 64V48h70v16zM300 64V36h34v28zM306 36L317 2l11 34zM360 64V42h64v22zM372 42v-14h40v14zM378 29a14 14 0 0 1 28 0zM460 64V40h80v24zM484 40V22h32v18zM486 23l14-20 14 20z'/%3E%3C/g%3E%3Cg stroke='%23A88A4A' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M142 2v-8M138-3h8M392 14V6M388 9h8M500 2v-6'/%3E%3C/g%3E%3C/svg%3E") 50% 100% / auto 56px no-repeat,
    linear-gradient(180deg, var(--sky-1), var(--sky-3));
}

/* ---------- Acatiste ---------- */

.back-link {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; margin: 14px 0 0 -6px;
  font-size: 1.0625rem; font-weight: 700; color: var(--tint);
}
.back-link .ic { width: 22px; height: 22px; }
.reader .large-title { padding-top: 8px; }
.reader .large-title h1 { font-size: 2.25rem; line-height: 1.1; }
.ak-intro { font-size: 1.0625rem; color: var(--text-2); margin: 0 0 18px; }
.ak-body { padding: 4px 0 24px; }
.ak-h {
  font: 400 1.375rem/1.2 var(--display); color: var(--accent);
  margin: 40px 0 10px; display: flex; align-items: center; gap: 14px;
}
.ak-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.ak-body p { font: 400 1.25rem/1.7 var(--serif); margin: 0 0 14px; }
.ak-body p.ak-rubric { font: italic 400 1.0625rem/1.5 var(--serif); color: var(--accent); }
.ak-body em { color: var(--accent); }
.ak-source { font-size: 0.9375rem; color: var(--text-2); margin: 0 0 24px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Subsol ---------- */

.site-footer { display: none; }

html.sheet-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Ecran lat cu mouse: o pagină lungă, cu bară de navigare sus.
   Telefonul și tableta păstrează aplicația de mai sus.
   ===================================================================== */

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .web-only { display: revert; }

  /* Navigația sus: transparentă peste cer, fildeș când pagina coboară */
  .tabbar {
    top: 0; bottom: auto; height: var(--nav-h); padding: 0 max(var(--gutter), calc((100% - var(--page)) / 2 + var(--gutter)));
    display: flex; align-items: center; justify-content: flex-end; gap: 4px;
    background: transparent; border: 0; color: var(--sky-text);
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
  }
  html.scrolled .tabbar {
    background: rgba(246, 241, 231, 0.94); color: var(--coal);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(37, 35, 31, 0.12);
  }
  .tabbar .brand {
    display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px;
    color: inherit; font: 400 1.625rem/1 var(--display);
  }
  .brand-mark { width: 22px; height: 26px; }
  .tab { flex-direction: row; padding: 10px 14px; border-radius: 999px; font-size: 1.0625rem; font-weight: 500; }
  .tab .ic { display: none; }
  .tab:hover { background: rgba(37, 35, 31, 0.07); }
  .tab[aria-current="page"] { color: var(--wine); }
  html.night:not(.scrolled) .tab[aria-current="page"] { color: var(--lamp); }
  html.night:not(.scrolled) .tab:hover { background: rgba(246, 241, 231, 0.1); }
  .tabbar :focus-visible { outline-color: currentColor; outline-offset: 2px; }

  main { max-width: none; padding: 0; }
  .view, .js .view, .js .view.is-active {
    display: block; animation: none;
    padding: 110px 0 120px; scroll-margin-top: 0;
  }
  .view > * { width: min(var(--page) - 2 * var(--gutter), 100% - 2 * var(--gutter)); margin-left: auto !important; margin-right: auto !important; }

  .large-title { padding: 0 0 10px; }
  .large-title h1 { font-size: 4rem; line-height: 1; }
  .lead { font-size: 1.3125rem; margin-bottom: 40px; }
  .view > .lead { max-width: 44rem; margin-left: max(var(--gutter), calc((100% - var(--page)) / 2 + var(--gutter))) !important; }
  .title2 { font-size: 3rem; margin: 120px 0 28px; scroll-margin-top: calc(var(--nav-h) + 24px); }
  .view > .title2:first-of-type { margin-top: 72px; }
  .group-head { font-size: 2.25rem; margin: 0 0 22px; }

  /* Primul ecran */
  #acasa { padding: 0 0 110px; }
  .view > .hero { width: 100%; margin: 0; }
  .hero { display: block; min-height: max(860px, 100vh); padding: 0; }
  .hero-sun { left: 44%; top: 36%; width: 520px; height: 520px; margin: -260px 0 0 -260px; }
  .hero-inner {
    position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 620px) 1fr; gap: 40px; align-items: start;
    width: min(var(--page), 100%); margin: 0 auto; padding: calc(var(--nav-h) + 48px) var(--gutter) 0;
  }
  .hero-copy { padding: 0; }
  .hero .large-title { padding: 0; }
  .hero .large-title h1 { font-size: clamp(4.75rem, 8.4vw, 7.75rem); line-height: 0.9; }
  .hero-sub { font-size: 1.375rem; max-width: 34ch; margin: 22px 0 30px; }
  .widget {
    justify-self: end; width: 300px; margin: 8px 0 0; padding: 50px 24px 22px; text-align: center; align-items: center;
    border-radius: 150px 150px 6px 6px;
  }
  .widget-flame { left: 50%; top: 18px; margin-left: -7px; }
  .widget-when { justify-content: center; flex-direction: column; align-items: center; gap: 0; }
  .widget-date { font-size: 1.75rem; margin: 4px 0 2px; }
  .widget-name { margin-top: 12px; }
  .skyline-wrap {
    position: absolute; left: 0; right: 0; bottom: 0; margin: 0; overflow: visible;
    --band: min(4.14vw, 58px);
    background: linear-gradient(to top, var(--coal) var(--band), transparent var(--band));
  }
  .night .skyline-wrap { background: linear-gradient(to top, #120E10 var(--band), transparent var(--band)); }
  .skyline { width: 100%; max-height: 600px; }
  .lbl-n { font-size: 15px; }
  .swipe-hint { display: none; }

  /* Sub orizont: „Începe de aici” și „Praznice apropiate”, alături */
  #acasa {
    --col: calc((min(var(--page), 100vw) - 2 * var(--gutter) - 80px) / 2);
    display: grid; grid-template-columns: 1fr minmax(0, var(--col)) 80px minmax(0, var(--col)) 1fr;
  }
  #acasa > .hero { grid-column: 1 / -1; }
  #acasa > .block { width: 100%; margin-top: 110px; }
  #acasa > .block-start { grid-column: 2; }
  #acasa > .block-upcoming { grid-column: 4; }
  #acasa .row { min-height: 84px; }

  /* Sfinți: harta pe fond de cărbune */
  #sfinti {
    --bg: var(--coal); --surface: #2E2A26; --surface-2: #34302B;
    --text: var(--ivory); --text-2: #CDBFA6; --line: rgba(246, 241, 231, 0.14);
    --tint: var(--lamp); --accent: var(--lamp);
    background: var(--coal); color: var(--text);
  }
  .saints-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-bottom: 24px; }
  .saints-controls .search { order: 2; width: 380px; margin: 0; }
  .saints-controls .chips { order: 1; margin: 0; flex-wrap: wrap; overflow: visible; }
  #sfinti .chips button[aria-pressed="true"] { background: var(--lamp); border-color: var(--lamp); color: var(--coal); }
  .atlas { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start; }
  .map-sheet { margin: 0; padding: 14px; }
  .map .place .nm { font-size: 15px; stroke-width: 4px; }
  .map .abroad text { font-size: 15px; }
  .map .abroad .s { font-size: 17px; }
  .panel { position: sticky; top: calc(var(--nav-h) + 20px); max-height: calc(100vh - var(--nav-h) - 40px); display: flex; flex-direction: column; }
  .panel-head { flex: none; }
  .panel-title { font-size: 2.5rem; }
  .panel-scroll { overflow-y: auto; flex: 1; min-height: 0; padding-right: 6px; scrollbar-width: thin; scrollbar-color: #5A5248 transparent; }
  #sfinti .row { border-color: var(--line); }
  #sfinti .group-foot { margin-bottom: 0; }

  /* Calendar: lunile pe patru coloane */
  #calendar { background: var(--ivory-2); }
  .months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 32px; align-items: start; }
  .month .group-head { font-size: 1.625rem; margin: 36px 0 10px; }
  .month .row-title { font-size: 1rem; }
  .month .row-sub { font-size: 0.9375rem; }
  .month .chev { display: none; }

  /* Învățătură */
  .about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
  .about-grid .photo { margin: 0; }
  .about-grid .prose { font-size: 1.25rem; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 0; margin-top: 56px; }
  .facts .row { border-top: 2px solid var(--gold); border-bottom: 0; padding-top: 20px; }
  .card-grid { display: grid; gap: 22px; }
  .card-grid.verses { grid-template-columns: repeat(3, 1fr); }
  .card-grid.fathers { grid-template-columns: repeat(2, 1fr); }
  .card-grid .sacred { margin: 0; padding: 28px 28px 24px; display: flex; flex-direction: column; }
  .card-grid .sacred .cite { margin-top: auto; padding-top: 16px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 0; }
  .steps .row { border-top: 1px solid var(--line); border-bottom: 0; padding: 22px 0; }
  .pray-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .pray-grid .group-head { margin-top: 64px; font-size: 1.75rem; }
  .faq { columns: 2; column-gap: 48px; border-top: 0; }
  .faq details { break-inside: avoid; border-top: 1px solid var(--line); }
  .faq summary.row { border-bottom: 0; padding: 18px 0; }
  .faq .faq-a { border-bottom: 0; }
  .group-foot.about { display: none; }

  /* Fișa sfântului: panou din dreapta */
  .sheet-panel {
    top: 0; bottom: 0; left: auto; right: 0; height: auto;
    width: min(620px, 92vw); max-width: none; margin: 0; border-radius: 0;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
  }
  .sheet.is-open .sheet-panel { animation: sheet-in 0.36s cubic-bezier(0.2, 0.9, 0.25, 1); }
  @keyframes sheet-in { from { transform: translateX(100%); } to { transform: none; } }
  .grabber { display: none; }
  .sheet-bar { height: 120px; padding: 20px 24px 0; background-size: 110px 88px, auto; background-position: 40px 100%, 0 0; }
  .sheet-body { padding: 32px 40px 56px; }
  .sheet-body .title1 { font-size: 2.75rem; }

  /* Subsol: orizontul se întoarce, în cărbune */
  .site-footer { display: block; background: var(--coal); color: #D8CDBB; font-size: 1rem; line-height: 1.6; }
  .footer-sky { display: block; width: 100%; height: auto; background: var(--bg); }
  .footer-inner { width: min(var(--page) - 2 * var(--gutter), 100% - 2 * var(--gutter)); margin: 0 auto; padding: 40px 0 48px; display: grid; grid-template-columns: 2fr 3fr; gap: 24px 64px; }
  .footer-legal { grid-column: 1; grid-row: 1; display: block; font: italic 400 1.875rem/1.25 var(--display); color: var(--ivory); }
  .footer-legal .brand-mark { display: none; }
  .footer-note { grid-column: 1; grid-row: 2; font-size: 0.9375rem; color: #CDBFA6; }
  .footer-note a { color: var(--lamp); }
  .footer-cols { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .footer-cols h2 { font: 400 1.3125rem var(--display); color: var(--ivory); margin-bottom: 10px; min-height: 1.3em; }
  .footer-cols ul { list-style: none; margin: 0; padding: 0; }
  .footer-cols li { margin-bottom: 4px; }
  .footer-cols a { color: #D8CDBB; font-size: 0.9375rem; }
  .footer-cols a:hover { color: var(--lamp); }

  /* Acatistele se citesc ca o carte */
  main.reader { width: min(780px, 100% - 2 * var(--gutter)); max-width: none; margin: 0 auto; padding: calc(var(--nav-h) + 8px) 0 120px; }
  .reader-page main::before, .dir-page main::before { height: 120px; margin: 0 calc(50% - 50vw) 32px; background-size: auto 110px, auto; }
  .reader .large-title h1 { font-size: 3.25rem; }
  .reader .ak-body p { font-size: 1.375rem; }
  .reader-page .tabbar, .dir-page .tabbar { background: rgba(246, 241, 231, 0.94); color: var(--coal); box-shadow: 0 1px 0 rgba(37, 35, 31, 0.12); }

  /* Biserici: index pe două coloane */
  main.directory { width: min(var(--page) - 2 * var(--gutter), 100% - 2 * var(--gutter)); max-width: none; margin: 0 auto; padding: calc(var(--nav-h) + 8px) 0 120px; }
  .directory .large-title { padding-top: 8px; }
  .directory .search { max-width: 560px; }
  .dir-list { columns: 2; column-gap: 48px; border-top: 0; }
  .dir-list > li { break-inside: avoid; border-top: 1px solid var(--line); }
  .dir-list .row { border-bottom: 0; }
  .dir-body { border-bottom: 0; }
  .directory .dir-source { max-width: 760px; margin-top: 56px; }
}

/* Laptopuri mici: calendarul pe trei coloane */
@media (min-width: 1024px) and (max-width: 1279px) and (hover: hover) and (pointer: fine) {
  .months { grid-template-columns: repeat(3, 1fr); }
}

/* Tabletă în poziție verticală și ecrane medii fără mouse: hartă mai mare */
@media (min-width: 700px) and (max-width: 1023px), (min-width: 1024px) and (hover: none) {
  .map-sheet { margin: 0; padding: 12px; }
  .hero .large-title h1 { font-size: 5.5rem; }
  .skyline { width: 1100px; }
}
