/* ==========================================================================
   Ι.Ν. Αναλήψεως του Σωτήρος Στουτγάρδης — prototype stylesheet
   Palette: #F8D4BA (peach) · #D69F3A (gold) · #C34F5A (rose) · #541412 (maroon)
   ========================================================================== */

:root {
  --peach: #F8D4BA;
  --gold: #D69F3A;
  --rose: #C34F5A;
  --maroon: #541412;

  --maroon-deep: #3A0D0C;
  --rose-dark: #A63E49;
  --gold-dark: #9C6F1E;
  --peach-soft: #FBE6D6;
  --paper: #FDF6F0;
  --card: #FFFBF8;
  --ink: #2E0B0A;
  --muted: #74504B;
  --line: rgba(84, 20, 18, .14);
  --line-strong: rgba(84, 20, 18, .26);

  --font-display: "GFS Didot", "Noto Serif", Georgia, serif;
  --font-body: "Noto Serif", Georgia, serif;
  --font-ui: "Manrope", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(84, 20, 18, .06), 0 8px 24px -12px rgba(84, 20, 18, .22);
  --shadow-lg: 0 2px 4px rgba(84, 20, 18, .06), 0 22px 44px -18px rgba(84, 20, 18, .35);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--rose-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
svg { width: 1.15em; height: 1.15em; flex: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--maroon); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 2rem); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 2rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--maroon); color: var(--peach); padding: .6rem 1rem; border-radius: var(--radius-sm); font-family: var(--font-ui); }
.skip:focus { top: 1rem; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92em; letter-spacing: .02em; }

.kicker {
  font-family: var(--font-ui); font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-dark); margin: 0 0 .6rem;
  display: flex; align-items: center; gap: .6rem;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.center .kicker { justify-content: center; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 246, 240, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(84, 20, 18, .45); }
.site-header .container { width: min(1340px, 100% - 2rem); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--maroon); flex: none; }
.brand img { width: 56px; height: 56px; filter: drop-shadow(0 3px 6px rgba(84, 20, 18, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-kicker { font-family: var(--font-ui); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; }
.brand-city { font-family: var(--font-ui); font-size: .72rem; color: var(--rose); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.main-nav a {
  display: block; font-family: var(--font-ui); font-size: .88rem; font-weight: 600;
  color: var(--ink); text-decoration: none; padding: .5rem .65rem; border-radius: 999px;
  transition: background .2s, color .2s; white-space: nowrap;
}
.main-nav ul a:hover { background: var(--peach-soft); color: var(--maroon); }
.main-nav ul a[aria-current="page"] { background: var(--maroon); color: var(--peach); }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.lang a { font-size: .74rem; padding: .25rem .6rem; letter-spacing: .06em; }
.lang a[aria-current] { background: var(--gold); color: var(--maroon-deep); }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--maroon);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: inline-flex; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1rem 1.5rem; box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: .2rem; }
  .main-nav ul a { font-size: 1.02rem; padding: .8rem 1rem; border-radius: 10px; }
  .lang { align-self: flex-start; }
}
@media (max-width: 480px) {
  :root { --header-h: 70px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1.1rem; }
  .brand-kicker { font-size: .6rem; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-ui);
  font-weight: 700; font-size: .95rem; text-decoration: none; padding: .85rem 1.35rem;
  border-radius: 999px; border: 1.5px solid transparent; transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--maroon-deep); }
.btn-gold:hover { background: #E3B052; color: var(--maroon-deep); }
.btn-ghost { color: var(--peach); border-color: rgba(248, 212, 186, .5); }
.btn-ghost:hover { background: rgba(248, 212, 186, .12); color: #fff; border-color: var(--peach); }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: var(--rose-dark); color: #fff; }
.btn-outline { color: var(--maroon); border-color: var(--line-strong); background: var(--card); }
.btn-outline:hover { border-color: var(--maroon); color: var(--maroon); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-ui);
  font-weight: 700; font-size: .92rem; color: var(--rose-dark); text-decoration: none;
}
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.light { color: var(--gold); }
.link-arrow.light:hover { color: var(--peach); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; color: var(--peach);
  background:
    radial-gradient(900px 500px at 78% 40%, rgba(214, 159, 58, .28), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(195, 79, 90, .35), transparent 60%),
    linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M30 12h4v8h8v4h-8v20h-4V24h-8v-4h8z' fill='%23F8D4BA'/%3E%3Ccircle cx='0' cy='0' r='3' fill='%23D69F3A'/%3E%3Ccircle cx='64' cy='64' r='3' fill='%23D69F3A'/%3E%3Ccircle cx='0' cy='64' r='3' fill='%23D69F3A'/%3E%3Ccircle cx='64' cy='0' r='3' fill='%23D69F3A'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  gap: 3rem; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.hero-kicker { font-family: var(--font-ui); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 1.2rem; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.3rem); margin-bottom: .4em; }
.hero h1 span { color: var(--peach); }
.hero-city { font-size: 1.2rem; color: var(--peach); margin-bottom: .4rem; }
.hero-motto { font-style: italic; color: rgba(248, 212, 186, .75); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-seal { display: flex; justify-content: center; }
.seal-ring {
  position: relative; width: min(440px, 80vw); aspect-ratio: 1; border-radius: 50%;
  padding: 10px; background: conic-gradient(from 0deg, var(--gold), #F3D08A, var(--gold-dark), var(--gold), #F3D08A, var(--gold));
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 0 0 14px rgba(214, 159, 58, .12);
  animation: seal-in 1s cubic-bezier(.2, .7, .2, 1) both;
}
.seal-ring img { width: 100%; height: 100%; display: block; border-radius: 50%; background: #121a3a; }
@keyframes seal-in { from { opacity: 0; transform: scale(.94) rotate(-6deg); } }
.hero-bar { position: relative; background: rgba(0, 0, 0, .22); border-top: 1px solid rgba(248, 212, 186, .15); }
.hero-bar-inner { display: flex; flex-wrap: wrap; gap: .5rem 2.2rem; padding: 1rem 0; font-family: var(--font-ui); font-size: .9rem; }
.hero-bar-inner > * { display: inline-flex; align-items: center; gap: .5rem; color: var(--peach); text-decoration: none; }
.hero-bar-inner svg { color: var(--gold); }
.hero-bar-inner a:hover { color: #fff; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.2rem; }
  .hero-seal { order: -1; }
  .seal-ring { width: min(280px, 70vw); }
  .hero-actions { justify-content: center; }
  .hero-bar-inner { flex-direction: column; align-items: center; text-align: center; gap: .6rem; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tint { background: linear-gradient(180deg, var(--peach-soft), #FCEDE2); border-block: 1px solid var(--line); }
.section-maroon { background: var(--maroon); color: var(--peach); position: relative; overflow: hidden; }
.section-maroon::before {
  content: ""; position: absolute; inset: 0; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M30 12h4v8h8v4h-8v20h-4V24h-8v-4h8z' fill='%23F8D4BA'/%3E%3C/svg%3E");
}
.section-maroon .container { position: relative; }
.section-maroon h2, .section-maroon h3 { color: #fff; }
.section-maroon .kicker { color: var(--gold); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head.center { text-align: center; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.stack { display: grid; gap: 1.25rem; }

/* ---------------------------------------------------------------- cards */
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--gold), var(--rose)); opacity: 0; transition: opacity .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card h2, .card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.card h3 a, .card h2 a { color: var(--maroon); text-decoration: none; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.card p:last-child { margin-bottom: 0; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-kicker { display: flex; align-items: center; gap: .45rem; font-family: var(--font-ui); font-size: .74rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose) !important; margin-bottom: .7rem !important; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-ui); font-weight: 700; font-size: .88rem; color: var(--rose-dark); }
.card:hover .card-more svg, .explore-card:hover .card-more svg { transform: translateX(4px); }
.card-more svg { transition: transform .2s; }
.ann-card.wide { padding: 1.8rem 2rem; }

.saint-card { padding-top: 1.3rem; }
.saint-initial {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--maroon);
  background: radial-gradient(circle at 30% 30%, #FCE3CF, var(--peach));
  border: 2px solid var(--gold); margin-bottom: 1rem;
}
.feast { display: flex; align-items: center; gap: .4rem; font-family: var(--font-ui); font-size: .82rem !important; font-weight: 700; color: var(--gold-dark) !important; margin-bottom: .6rem !important; }
.feast-badge {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-ui); font-weight: 700; font-size: .92rem;
  background: var(--card); border: 1px solid var(--gold); color: var(--maroon); padding: .45rem 1rem; border-radius: 999px;
}
.feast-badge svg { color: var(--gold-dark); }

.feature-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(214, 159, 58, .16); color: var(--gold); margin-bottom: 1rem; border: 1px solid rgba(214, 159, 58, .4);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-icon.small { width: 44px; height: 44px; border-radius: 12px; color: var(--gold-dark); }
.feature-icon.small svg { width: 21px; height: 21px; }
.feature { padding: 1.8rem; border: 1px solid rgba(248, 212, 186, .18); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.feature p { color: rgba(248, 212, 186, .85); }

.explore-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.explore-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.explore-card .feature-icon { color: var(--rose); background: rgba(195, 79, 90, .1); border-color: rgba(195, 79, 90, .3); }
.explore-card p { color: var(--muted); }

/* ---------------------------------------------------------------- history */
.history { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.history-aside { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.facts dt { font-family: var(--font-display); font-size: 2rem; color: var(--rose); line-height: 1; margin-bottom: .4rem; }
.facts dd { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) {
  .history { grid-template-columns: 1fr; }
  .history-aside { position: static; }
}

.info-card { background: var(--maroon); color: var(--peach); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-lg); }
.info-card-title { color: #fff; font-size: 1.45rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(248, 212, 186, .2); }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list svg { color: var(--gold); margin-top: .25rem; width: 1.25em; height: 1.25em; }
.info-list div { display: flex; flex-direction: column; font-size: .98rem; line-height: 1.5; }
.info-list strong { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.info-list a { color: #fff; text-decoration: none; word-break: break-word; }
.info-list a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- page head */
.page-head {
  position: relative; overflow: hidden; color: var(--peach); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.2rem, 4vw, 3.2rem);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(214, 159, 58, .25), transparent 60%),
    linear-gradient(160deg, var(--maroon), var(--maroon-deep));
}
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--gold));
}
.page-head h1 { color: #fff; margin-bottom: .3em; max-width: 26ch; }
.page-head .kicker { color: var(--gold); }
.page-lead { font-size: 1.12rem; color: rgba(248, 212, 186, .9); max-width: 60ch; margin: 0; }
.page-lead a { color: var(--gold); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.4rem; padding: 0; font-family: var(--font-ui); font-size: .82rem; }
.crumbs li + li::before { content: "›"; margin-right: .3rem; color: var(--gold); }
.crumbs a { color: rgba(248, 212, 186, .8); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------- prose */
.prose { font-size: 1.1rem; line-height: 1.85; }
.prose p { margin: 0 0 1.15em; }
.prose > p.lead, .prose .lead { font-size: 1.22rem; color: var(--maroon); }
.prose strong { color: var(--maroon); }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose .img-left { float: left; margin: .3em 1.6em 1em 0; border-radius: var(--radius-sm); border: 4px solid #fff; box-shadow: var(--shadow); max-width: 42%; }
.prose .img-block { display: inline-block; border-radius: var(--radius-sm); border: 4px solid #fff; box-shadow: var(--shadow); margin: .4em 0 .6em; }
.prose::after { content: ""; display: block; clear: both; }
.dropcap > p:first-of-type::first-letter {
  float: left; font-family: var(--font-display); font-size: 4.2em; line-height: .82; padding: .08em .12em 0 0; color: var(--rose);
}
.hymn { font-size: var(--reader-size, 1.15rem); }
.hymn p { padding-left: 1.2rem; border-left: 2px solid rgba(214, 159, 58, .45); }
.announcement p:has(> strong:only-child) { color: var(--maroon); }

.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
table.schedule { width: 100%; border-collapse: collapse; font-size: .98rem; line-height: 1.5; }
table.schedule td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.schedule tr:last-child td { border-bottom: 0; }
table.schedule tr:nth-child(even) td { background: rgba(248, 212, 186, .18); }
table.schedule.dated td:first-child { font-family: var(--font-ui); font-weight: 700; color: var(--rose-dark); white-space: nowrap; width: 1%; }
table.schedule.dated td:first-child strong { color: var(--rose-dark); font-size: 1.25rem; }
@media (max-width: 640px) {
  table.schedule, table.schedule tbody, table.schedule tr, table.schedule td { display: block; width: 100%; }
  table.schedule tr { padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
  table.schedule tr:last-child { border-bottom: 0; }
  table.schedule td, table.schedule tr:nth-child(even) td { padding: .15rem 0; border: 0; background: none; }
  table.schedule tr:nth-child(even) { background: rgba(248, 212, 186, .18); }
  table.schedule td:first-child { width: auto; }
}

/* ---------------------------------------------------------------- ornament */
.ornament { display: flex; align-items: center; gap: 1rem; color: var(--gold); margin: 2.5rem auto; max-width: 420px; }
.ornament span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { width: 30px; height: 30px; }

.program-notes { margin-top: 2.5rem; }
.note-card { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; }
.note-card h2 { font-size: 1.3rem; margin-bottom: .6rem; }
.note-card p { margin-bottom: .6rem; font-size: 1rem; }
.note-card p:last-child { margin-bottom: 0; }
.note-card .de { color: var(--muted); font-style: italic; font-size: .93rem; }
.plain-links { margin: 0; padding-left: 1.1rem; }
.plain-links li { margin-bottom: .35rem; }

/* ---------------------------------------------------------------- layouts with side nav */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.with-side > div { max-width: 780px; }
.side-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.side-nav h2 { font-size: 1.2rem; padding-bottom: .7rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: .5rem .7rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-size: .95rem; line-height: 1.4; }
.side-nav a:hover { background: var(--peach-soft); }
.side-nav a[aria-current="page"] { background: var(--maroon); color: var(--peach); }
@media (max-width: 960px) {
  .with-side { grid-template-columns: 1fr; }
  .side-nav { position: static; }
}

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.pn { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; color: var(--maroon); transition: border-color .2s, box-shadow .2s; }
.pn:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--maroon); }
.pn span { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-ui); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
.pn strong { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; line-height: 1.3; }
.pn.next { text-align: right; align-items: flex-end; }
@media (max-width: 560px) { .prev-next { grid-template-columns: 1fr; } }

.reader-tools { display: flex; align-items: center; gap: .5rem; justify-content: flex-end; font-family: var(--font-ui); font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.reader-tools button { font-family: var(--font-display); font-size: 1rem; width: 42px; height: 38px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--card); color: var(--maroon); cursor: pointer; }
.reader-tools button:hover { border-color: var(--maroon); }

/* ---------------------------------------------------------------- list cards (metropolis) */
.list-cards { display: grid; gap: .8rem; }
.list-card { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.list-card:hover { transform: translateX(4px); border-color: var(--gold); color: var(--ink); }
.list-num { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); min-width: 2.2ch; }
.list-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.list-body strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--maroon); line-height: 1.3; }
.list-body span { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.list-card > svg { color: var(--rose); width: 22px; height: 22px; }

/* ---------------------------------------------------------------- filter */
.filter { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.filter-field { display: flex; align-items: center; gap: .6rem; flex: 1; max-width: 460px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 1.1rem; color: var(--muted); box-shadow: var(--shadow); }
.filter-field:focus-within { border-color: var(--rose); outline: 3px solid rgba(195, 79, 90, .18); }
.filter-field input { flex: 1; border: 0; background: none; font: inherit; font-family: var(--font-ui); font-size: 1rem; padding: .85rem 0; color: var(--ink); outline: none; min-width: 0; }
.filter-count { margin: 0; font-family: var(--font-ui); font-size: .88rem; color: var(--muted); }
.filter-empty { text-align: center; color: var(--muted); padding: 2rem 0; }
[data-filter-item][hidden] { display: none; }

/* ---------------------------------------------------------------- albums */
.album { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; color: var(--ink); }
.album:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.album-art { aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--peach); background: radial-gradient(circle at 30% 20%, var(--rose), var(--maroon) 70%); }
.album-art svg { width: 56px; height: 56px; opacity: .9; }
.album:nth-child(2) .album-art { background: radial-gradient(circle at 70% 20%, var(--gold), var(--maroon) 75%); }
.album:nth-child(3) .album-art { background: radial-gradient(circle at 30% 80%, var(--rose), var(--maroon-deep) 70%); }
.album:nth-child(4) .album-art { background: radial-gradient(circle at 50% 30%, var(--gold-dark), var(--maroon) 70%); }
.album-body { padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .3rem; }
.album-body strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--maroon); }
.album-body span { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-ui); font-size: .84rem; color: var(--rose-dark); font-weight: 600; }
.muted-note { margin-top: 1.5rem; font-family: var(--font-ui); font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 2rem; align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.actions-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.actions-row .btn { padding: .7rem 1.1rem; font-size: .9rem; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); min-height: 560px; height: 100%; background: var(--peach-soft); }
.map-frame iframe { width: 100%; height: 100%; min-height: 560px; border: 0; display: block; }
@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; }
  .map-frame, .map-frame iframe { min-height: 380px; }
}

/* contact form */
.contact-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2.5rem; align-items: start; }
.contact-form-intro h2 { margin-bottom: .8rem; }
.contact-form-intro p { color: var(--muted); }
.contact-form { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-family: var(--font-ui); font-weight: 700; font-size: .88rem; color: var(--maroon); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: .7rem .85rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(214, 159, 58, .35); }
.field [aria-invalid="true"] { border-color: var(--rose); }
.field-captcha input { max-width: 8rem; }
.field-hint { margin: 0; font-family: var(--font-ui); font-size: .8rem; color: var(--muted); }
.field-error { margin: 0; font-family: var(--font-ui); font-size: .84rem; font-weight: 600; color: var(--rose-dark); }
.field-check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; color: var(--ink); line-height: 1.45; cursor: pointer; }
.field-check input { margin-top: .2rem; width: 1.1rem; height: 1.1rem; accent-color: var(--maroon); flex: none; }
.req { color: var(--rose); }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form-alert { display: flex; gap: .6rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--radius-sm); font-family: var(--font-ui); font-size: .92rem; font-weight: 600; }
.form-alert svg { flex: none; margin-top: .1rem; }
.form-alert-ok { background: #E8F3E6; color: #1F5A23; border: 1px solid #B7D7B2; }
.form-alert-error { background: #FBE9EA; color: var(--rose-dark); border: 1px solid #EFC1C5; }
.form-alert ul { margin: .4rem 0 0; padding-left: 1.1rem; font-weight: 500; }
.form-alert ul a { color: inherit; }
.form-alert:focus { outline: 2px solid var(--rose); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 960px) {
  .contact-form-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; justify-content: center; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--maroon-deep); color: rgba(248, 212, 186, .85); font-size: .95rem; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.footer-brand img { width: 96px; height: 96px; margin-bottom: 1rem; }
.footer-title { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: .3rem; }
.footer-sub { font-size: .88rem; color: rgba(248, 212, 186, .7); }
.footer-motto { font-style: italic; color: var(--gold); font-size: .92rem; }
.footer-h { font-family: var(--font-ui); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 1.1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.footer-list li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.55; }
.footer-list svg { color: var(--gold); margin-top: .25rem; }
.site-footer a { color: var(--peach); text-decoration: none; word-break: break-word; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-legal { margin-top: 1rem; font-size: .8rem; color: rgba(248, 212, 186, .55); line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding: 1.3rem 0; border-top: 1px solid rgba(248, 212, 186, .14); font-family: var(--font-ui); font-size: .82rem; color: rgba(248, 212, 186, .6); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; } }

.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--rose); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.to-top svg { transform: rotate(-90deg); width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--maroon); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .to-top, .reader-tools, .prev-next, .side-nav, .cal-head, .ev-modal, .ev-lightbox { display: none !important; }
  .page-head { background: none; color: #000; }
  .page-head h1 { color: #000; }
}

/* ---------------------------------------------------------------- bilingual additions */
.badge {
  display: inline-block; margin-left: .5rem; padding: .15rem .55rem; border-radius: 999px;
  background: rgba(214, 159, 58, .16); color: var(--gold-dark); font-size: .68rem; letter-spacing: .08em;
}
.lang-notice {
  display: flex; gap: .9rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--rose); border-radius: var(--radius-sm); padding: 1rem 1.3rem; margin-bottom: 1.8rem;
  box-shadow: var(--shadow);
}
.lang-notice svg { color: var(--rose); width: 1.4em; height: 1.4em; margin-top: .15rem; }
.lang-notice p { margin: 0; color: var(--muted); }
.prose .img-center {
  display: block; margin: 0 auto 1.5rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); background: #fff;
}
.prose h3 { font-size: 1.5rem; margin: 1.6em 0 .6em; color: var(--rose-dark); }
.prose hr { border: 0; height: 1px; background: var(--line-strong); margin: 1.5em 0; }

/* ---------------------------------------------------------------- dynamic site additions */
.card-kicker time { margin-left: auto; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.badge-gr { background: rgba(195, 79, 90, .12); color: var(--rose-dark); margin: -.2rem 0 .6rem; align-self: flex-start; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 4rem 1rem; color: var(--muted); font-family: var(--font-ui); text-align: center; }
.empty-state svg { width: 48px; height: 48px; color: var(--gold); }

.album-cover { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--peach-soft); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.album:hover .album-cover img { transform: scale(1.04); }
.album-cover .album-art { height: 100%; aspect-ratio: auto; }
.albums .album-body span { color: var(--muted); font-weight: 500; }

.album-section .container { width: min(1280px, 100% - 2rem); }
.back-link { margin-top: 1.8rem; }
.carousel { position: relative; }
.carousel-stage { position: relative; background: var(--maroon-deep); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  height: min(76vh, 760px); outline: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; position: relative; display: flex; align-items: center; justify-content: center; }
.slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.4rem 3.4rem; color: #fff; font-size: 1rem; text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
}
.c-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: rgba(253, 246, 240, .92); color: var(--maroon); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3); transition: opacity .2s, transform .2s;
}
.c-btn svg { width: 26px; height: 26px; }
.c-btn:hover { background: #fff; }
.c-btn:disabled { opacity: 0; pointer-events: none; }
.c-prev { left: 1rem; }
.c-next { right: 1rem; }
.c-bar { position: absolute; right: .8rem; bottom: .8rem; display: flex; align-items: center; gap: .5rem; }
.c-counter { font-family: var(--font-ui); font-weight: 700; font-size: .85rem; color: #fff; background: rgba(0, 0, 0, .5); padding: .35rem .8rem; border-radius: 999px; }
.c-full { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .5); color: #fff; display: grid; place-items: center; cursor: pointer; }
.c-full:hover { background: rgba(0, 0, 0, .75); }
.carousel-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .9rem .1rem .4rem; scrollbar-width: thin; }
.thumb { flex: 0 0 auto; width: 92px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--peach-soft); opacity: .65; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; border-color: var(--rose); }
.carousel.is-full { background: #000; display: flex; flex-direction: column; }
.carousel.is-full .carousel-stage { flex: 1; border-radius: 0; }
.carousel.is-full .carousel-track { height: calc(100vh - 90px); }
.carousel.is-full .carousel-thumbs { padding: .6rem; background: #000; }
@media (max-width: 640px) {
  .carousel-track { height: 62vh; }
  .c-btn { width: 42px; height: 42px; }
  .c-prev { left: .5rem; }
  .c-next { right: .5rem; }
  .thumb { width: 68px; height: 52px; }
  .album-section .container { width: 100%; }
  .carousel-stage { border-radius: 0; }
  .carousel-thumbs, .back-link { padding-inline: 1rem; }
}

/* ---------------------------------------------------------------- calendar */
.cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.2rem; position: relative; overflow: hidden; }
.cal::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--gold), var(--rose), var(--maroon)); }
.cal-head { display: flex; align-items: center; gap: .6rem; margin: .3rem 0 1rem; }
.cal-title { flex: 1; margin: 0; text-align: center; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.cal-nav, .cal-today { font-family: var(--font-ui); border: 1px solid var(--line-strong); background: var(--paper); color: var(--maroon); border-radius: 10px; cursor: pointer; }
.cal-nav { width: 42px; height: 42px; display: grid; place-items: center; }
.cal-nav svg { width: 20px; height: 20px; }
.cal-today { height: 42px; padding: 0 1rem; font-weight: 700; font-size: .88rem; order: 4; }
.cal-nav:hover, .cal-today:hover { border-color: var(--maroon); background: var(--peach-soft); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-wd { font-family: var(--font-ui); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: .55rem 0; color: var(--muted); background: var(--peach-soft); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal-wd.is-sun { color: var(--rose-dark); }
.cal-day { position: relative; min-height: 108px; padding: .35rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.cal-day.is-out { background: rgba(248, 212, 186, .12); }
.cal-day.is-out .cal-num { opacity: .45; }
.cal-day.is-sun .cal-num { color: var(--rose-dark); }
.cal-num { align-self: flex-start; font-family: var(--font-ui); font-weight: 700; font-size: .85rem; color: var(--ink); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; padding: 0; }
button.cal-num { cursor: pointer; }
button.cal-num:hover { background: var(--peach-soft); }
.cal-day.is-today .cal-num { background: var(--rose); color: #fff; }
.cal-day.is-selected { background: rgba(214, 159, 58, .12); }
.cal-chips { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.cal-chip { display: flex; gap: .3rem; align-items: baseline; width: 100%; text-align: left; border: 0; border-left: 3px solid var(--gold); background: var(--peach-soft); color: var(--maroon); border-radius: 4px; padding: .22rem .35rem; font-family: var(--font-ui); font-size: .74rem; line-height: 1.25; cursor: pointer; min-width: 0; }
.cal-chip:hover { background: var(--peach); }
.cal-chip-time { font-weight: 800; color: var(--rose-dark); flex: none; }
.cal-chip-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cal-more { border: 0; background: none; font-family: var(--font-ui); font-size: .72rem; font-weight: 700; color: var(--rose-dark); text-align: left; padding: .1rem .2rem; cursor: pointer; }
.cal-dots { display: none; }

.cal-agenda { margin-top: 1.4rem; }
.cal-agenda-title { font-family: var(--font-ui); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 .7rem; }
.cal-none { color: var(--muted); margin: 0 0 .6rem; }
.cal-jump { font-family: var(--font-ui); font-weight: 700; font-size: .9rem; color: var(--rose-dark); background: none; border: 1px dashed var(--line-strong); border-radius: 10px; padding: .6rem .9rem; cursor: pointer; text-align: left; }
.cal-jump:hover { border-color: var(--rose); }
.cal-ag-day { display: flex; gap: .9rem; padding: .7rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.cal-ag-day.is-selected { background: rgba(214, 159, 58, .1); border-radius: 10px; padding-inline: .5rem; }
.cal-ag-day.is-past { opacity: .6; }
.cal-ag-badge { flex: none; width: 52px; text-align: center; font-family: var(--font-ui); }
.cal-ag-badge strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--rose); }
.cal-ag-badge span { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.cal-ag-items { flex: 1; display: grid; gap: .45rem; min-width: 0; }
.cal-ag-item { display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: .55rem .7rem; cursor: pointer; color: var(--ink); font: inherit; }
.cal-ag-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.cal-ag-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.cal-ag-text { display: flex; flex-direction: column; min-width: 0; }
.cal-ag-time { font-family: var(--font-ui); font-size: .8rem; font-weight: 800; color: var(--rose-dark); }
.cal-ag-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--maroon); line-height: 1.3; }
.cal-fallback ul { padding-left: 1.2rem; }

@media (max-width: 760px) {
  .cal { padding: .9rem .7rem; }
  .cal-head { flex-wrap: wrap; }
  .cal-today { order: 0; margin-left: auto; }
  .cal-title { order: -1; flex-basis: 100%; text-align: left; }
  .cal-day { min-height: 54px; align-items: center; padding: .25rem .1rem; }
  .cal-num { align-self: center; }
  .cal-chips { display: none; }
  .cal-dots { display: flex; gap: 3px; justify-content: center; }
  .cal-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
  .cal-day.is-today .cal-dots i { background: var(--gold); }
  .cal-wd { font-size: .66rem; letter-spacing: .02em; }
}

/* event pop-up and full-size image */
.ev-modal { width: min(560px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--radius); background: var(--card); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); overflow: auto; }
.ev-modal::backdrop, .ev-lightbox::backdrop { background: rgba(30, 6, 5, .62); backdrop-filter: blur(2px); }
.ev-inner { position: relative; }
.ev-close { position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(253, 246, 240, .94); color: var(--maroon); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.ev-close svg { width: 20px; height: 20px; }
.ev-image { display: block; position: relative; width: 100%; padding: 0; border: 0; background: var(--maroon-deep); cursor: zoom-in; }
.ev-image img { display: block; width: 100%; max-height: 340px; object-fit: cover; }
.ev-zoom-hint { position: absolute; right: .7rem; bottom: .7rem; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; }
.ev-body { padding: 1.4rem 1.6rem 1.6rem; }
.ev-date { font-family: var(--font-ui); font-weight: 700; font-size: .85rem; color: var(--rose-dark); margin: 0 2.5rem .4rem 0; }
.ev-body h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.ev-desc p { margin: 0 0 .8em; }
.ev-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.ev-lightbox[open] { display: grid; place-items: center; }
.ev-lightbox img { max-width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.ev-inner:focus { outline: none; }
