/* Písma Inter a Lora (licencia SIL OFL) uložené priamo na webe: návštevník sa nepripája na Google. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-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: "Lora"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/lora-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/lora-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: "Lora"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/lora-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/lora-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; }

/* Kruciáta oslobodenia človeka – nový dizajn
   Farby: biela a jemná modrá. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-tint: #e9f1fa;
  --text: #1c2a3a;
  --muted: #5c6c7e;
  --line: #e2eaf3;
  --blue: #2c5aa0;
  --blue-dark: #1f4278;
  --blue-light: #d9e7f7;
  --gold: #f3cf3a;
  --alert: #b4373a;
  --alert-bg: #fdf3f3;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28, 42, 58, .05), 0 8px 24px rgba(28, 42, 58, .06);
  --shadow-hover: 0 2px 4px rgba(28, 42, 58, .06), 0 16px 40px rgba(28, 42, 58, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --w: 1240px;
  --w-narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--text); margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: var(--w-narrow); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* --- Tlačidlá ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .75em 1.35em; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid var(--blue);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue-light); }
.btn-ghost:hover { background: var(--bg-tint); color: var(--blue-dark); border-color: var(--blue-light); }

/* --- Hlavička a menu ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-size: .98rem; line-height: 1.2; }
.brand strong { color: var(--blue); font-weight: 700; }
.brand:hover { color: var(--text); }
.brand img { flex: none; }
.brand-pope { object-fit: cover; object-position: 50% 15%; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-top, .nav-contact, .nav-search {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 .93rem var(--font); color: var(--text); white-space: nowrap;
  background: none; border: 0; cursor: pointer;
  padding: 9px 12px; border-radius: 999px; text-decoration: none;
}
.nav-top svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.nav-top:hover, .nav-top[aria-expanded="true"], .nav-search:hover { background: var(--bg-tint); color: var(--blue-dark); }
.nav-top[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-item.is-active > .nav-top { color: var(--blue); }
.nav-contact { background: var(--blue); color: #fff; margin-left: 6px; padding: 9px 16px; }
.nav-contact:hover { background: var(--blue-dark); color: #fff; }
.nav-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-search span { display: none; }

.nav-panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 6px);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-item:last-of-type .nav-panel, .nav-item:nth-last-of-type(2) .nav-panel { left: auto; right: 0; transform: translateY(6px); }
.nav-item.open .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item:nth-last-of-type(2).open .nav-panel { transform: none; }
.nav-panel-inner {
  display: flex; gap: 32px; padding: 22px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.nav-group { min-width: 190px; }
.nav-group-title { margin: 0 0 8px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav-group ul { list-style: none; margin: 0; padding: 0; }
.nav-group a {
  display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: .93rem; line-height: 1.35; white-space: nowrap;
}
.nav-group a:hover, .nav-group a[aria-current] { background: var(--bg-tint); color: var(--blue-dark); }

.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; padding: 12px 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .main-nav {
    /* absolute voči hlavičke (nie fixed): hlavička má backdrop-filter, v ňom by fixed menu ostalo vysoké len ako hlavička */
    position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
    height: calc(100vh - 69px); height: calc(100dvh - 69px); margin-left: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; overflow-y: auto; padding: 12px 16px 40px;
  }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-top { width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-top:hover, .nav-top[aria-expanded="true"] { background: none; }
  .nav-panel, .nav-item .nav-panel, .nav-item:nth-last-of-type(2) .nav-panel {
    position: static; transform: none; opacity: 1; visibility: visible; display: none;
  }
  .nav-item.open .nav-panel, .nav-item:nth-last-of-type(2).open .nav-panel { display: block; transform: none; }
  .nav-panel-inner { flex-direction: column; gap: 18px; padding: 14px 4px 18px; border: 0; box-shadow: none; border-radius: 0; }
  .nav-group a { white-space: normal; padding: 8px 10px; }
  .nav-contact { margin: 18px 0 0; justify-content: center; padding: 13px; font-size: 1rem; }
  .nav-search { justify-content: center; margin-top: 8px; padding: 13px; border: 1px solid var(--line); font-size: 1rem; }
  .nav-search span { display: inline; }
  body.menu-open { overflow: hidden; }
}

/* --- Úvodná stránka ------------------------------------------------------ */
.eyebrow { margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

.hero {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(44, 90, 160, .10), transparent 70%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px; padding-top: 40px; padding-bottom: 72px; }

/* riadok "Dnes": dátum · meniny · liturgický deň */
.today {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 0;
  margin-top: 28px; padding: 7px 8px 7px 16px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 999px;
  font-size: .86rem; color: var(--muted);
}
.today[hidden] { display: none; }
.today-date { font-weight: 600; color: var(--text); }
.today-item { display: inline-flex; align-items: center; gap: 7px; }
.today-item::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: #b6c3d2; margin: 0 12px; }
.today strong { color: var(--text); font-weight: 600; }
.today-lit { color: var(--text); text-decoration: none; padding: 3px 12px 3px 0; border-radius: 999px; }
.today-lit:hover { color: var(--blue-dark); }
.today-more { color: var(--blue); font-weight: 500; white-space: nowrap; }
.today-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-light); flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.today-dot[data-farba="zelená"] { background: #3d8b5a; }
.today-dot[data-farba="biela"] { background: #fff; }
.today-dot[data-farba="červená"] { background: #c0392b; }
.today-dot[data-farba="fialová"] { background: #7a4d9e; }
.today-dot[data-farba="ružová"] { background: #e391b2; }
.today-dot[data-farba="čierna"] { background: #222; }
@media (max-width: 800px) {
  .today { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 20px; }
  .today[hidden] { display: none; }
  .today-item::before { display: none; }
  .today-lit { padding: 0; flex-wrap: wrap; }
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 18px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { margin: 0; justify-self: center; }
.hero-erb { display: block; width: 240px; height: auto; filter: drop-shadow(0 14px 28px rgba(10, 30, 70, .35)); }

.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-notices { padding: 40px 0 8px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 20px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.section-head .section-title { margin: 0; }
.section-lead { color: var(--muted); margin: -8px 0 28px; max-width: 40em; }
.link-more { font-weight: 500; text-decoration: none; }

.notices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.notice {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm); padding: 18px 20px; font-size: .97rem; box-shadow: var(--shadow);
}

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--text); }
.card-img { aspect-ratio: 16 / 10; background: var(--bg-tint); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 14px; }
.card-more { margin-top: auto; font-size: .88rem; font-weight: 500; color: var(--blue); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.tile:hover { border-color: var(--blue-light); box-shadow: var(--shadow); color: var(--text); }
.tile h3 { font-size: 1.05rem; color: var(--blue-dark); margin-bottom: 6px; }
.tile p { margin: 0; font-size: .93rem; color: var(--muted); }
.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: 24px; padding: 24px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff;
}
.callout h3 { color: #fff; margin-bottom: 4px; }
.callout p { margin: 0; opacity: .88; }
.callout .btn { background: #fff; color: var(--blue-dark); border-color: #fff; }
.callout .btn:hover { background: var(--bg-tint); }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 18px; border-radius: 999px; background: var(--bg-tint); color: var(--blue-dark);
  text-decoration: none; font-weight: 500; font-size: .95rem; transition: background .2s;
}
.chip:hover { background: var(--blue-light); }
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 500; }
.link-list a::after { content: "→"; color: var(--blue); transition: transform .2s; }
.link-list a:hover { color: var(--blue-dark); }
.link-list a:hover::after { transform: translateX(3px); }

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; padding-bottom: 48px; }
  .hero-figure { order: -1; justify-self: start; }
  .hero-erb { width: 110px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 48px 0; }
}

/* --- Podstránky ---------------------------------------------------------- */
.page-head { background: linear-gradient(180deg, var(--bg-soft), #fff); padding: 56px 0 28px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.page-foot { padding-top: 24px; padding-bottom: 72px; }

.prose { padding-bottom: 8px; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 1.55rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.22rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--blue); }
.prose img { border-radius: var(--radius-sm); margin: 8px 0; vertical-align: middle; }
.prose a img { transition: opacity .2s; }
.prose a img:hover { opacity: .88; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose blockquote, .prose .ramcek {
  margin: 1.5em 0; padding: 18px 22px; background: var(--bg-soft);
  border-left: 4px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose .ramcek em, .prose blockquote em { font-family: var(--serif); }
.prose strong.pozor { color: var(--alert); }
.prose .tabulka { margin: 1.5em 0; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose td, .prose th { padding: 10px 12px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); }
.prose .video { position: relative; aspect-ratio: 16 / 9; margin: 1.5em 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose audio { width: 100%; margin: .5em 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .page-head { padding: 36px 0 20px; }
  .prose table, .prose tr, .prose td, .prose th { display: block; width: 100%; }
  .prose td, .prose th { padding: 8px 0; }
  .prose tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .prose td { border: 0; }
}

/* --- Hľadanie ------------------------------------------------------------ */
.search-box {
  display: flex; align-items: center; gap: 12px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow);
}
.search-box:focus-within { border-color: var(--blue); }
.search-box svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 15px 0; font: inherit; background: none; color: var(--text); }
.results { list-style: none; margin: 8px 0 72px; padding: 0; }
.results li { border-bottom: 1px solid var(--line); }
.results a { display: block; padding: 16px 0; text-decoration: none; color: var(--text); }
.results a strong { display: block; color: var(--blue-dark); margin-bottom: 2px; }
.results a span { font-size: .9rem; color: var(--muted); }
.results mark { background: var(--blue-light); color: inherit; border-radius: 3px; padding: 0 2px; }

/* --- Pätička ------------------------------------------------------------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 36px; }
.footer-grid p.muted { margin: 14px 0 0; max-width: 30em; }
.footer-title { margin: 0 0 12px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer li a { color: var(--text); text-decoration: none; }
.site-footer li a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* --- Príspevky z administrácie ------------------------------------------- */
.card-date { margin: 0 0 6px; font-size: .8rem; font-weight: 500; color: var(--muted); }
.card-img-empty { display: grid; place-items: center; }
.card-img-empty img { width: 64px !important; height: auto !important; opacity: .35; }
.archive-note { margin: 32px 0 72px; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; margin-bottom: 16px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-tint); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; }
.gallery a:hover img { transform: scale(1.04); opacity: .92; }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

.prose img { cursor: zoom-in; }
.prose a img, .prose .card img, .prose .video img { cursor: pointer; }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 20, 32, .94); overflow: hidden; touch-action: pan-y pinch-zoom; }
.lightbox::backdrop { background: rgba(12, 20, 32, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); border-radius: 6px; cursor: pointer; margin: 0; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.lightbox.lb-jedna img { cursor: default; }
.lightbox.lb-jedna .lb-prev, .lightbox.lb-jedna .lb-next { display: none; }
.lightbox button {
  position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12);
  width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .9rem; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } }

/* --- Administrácia -------------------------------------------------------- */
.admin { padding: 40px 0 80px; }
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.admin-bar h1 { margin: 0; font-size: 1.9rem; }
.admin-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow); }
.admin-box h2 { font-size: 1.3rem; margin-bottom: 16px; }
.admin-login { max-width: 420px; margin: 72px auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.field input[type=text], .field input[type=password], .field input[type=date], .field input[type=email], .field textarea {
  width: 100%; font: inherit; color: var(--text); padding: 11px 14px;
  border: 1px solid #cdd8e5; border-radius: var(--radius-sm); background: #fff;
}
.field textarea { min-height: 220px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.msg { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; }
.msg-ok { background: #ecf7ef; color: #1e6b3a; }
.msg-err { background: var(--alert-bg); color: var(--alert); }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 0; }
.post-list img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--bg-tint); flex: none; }
.post-list .meta { flex: 1; min-width: 0; }
.post-list .meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-list .meta span { font-size: .85rem; color: var(--muted); }
.btn-small { padding: .45em 1em; font-size: .85rem; }
.btn-danger { background: transparent; color: var(--alert); border-color: #efcfd0; }
.btn-danger:hover { background: var(--alert-bg); color: var(--alert); border-color: #efcfd0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.photo-grid figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid figcaption { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; font-size: .82rem; }
.photo-grid label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.drop {
  display: block; padding: 28px; border: 2px dashed #cdd8e5; border-radius: var(--radius); text-align: center;
  color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s;
}
.drop:hover, .drop.over { border-color: var(--blue); background: var(--bg-soft); }
.drop input { display: none; }
.drop strong { color: var(--blue); }
.notice-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.notice-row { flex-wrap: wrap; align-items: center; }
.notice-row textarea { min-height: 70px; flex: 1 1 100%; }
.notice-do { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-right: auto; font-size: .9rem; font-weight: 500; color: var(--muted); }
.notice-do input { width: auto; padding: 6px 10px; }
.notice-do span { color: #b42318; font-weight: 500; }
.notice-stary textarea { opacity: .6; }
.progress { margin-top: 12px; font-weight: 500; color: var(--blue-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.admin-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.admin-nav form { margin: 0; }
.admin-nav .nav-search span, .admin-nav .nav-search { display: inline-flex; }
.msg { white-space: pre-line; }

/* --- Modré pozadie (návrh 2, ktorý si vybrala Kruciáta) ------------------
   Rovnaká modrá ako na pôvodnom webe (#00bfff). Obsah leží v bielych kartách,
   nadpisy a text priamo na modrej sú tmavomodré, pätička je tmavomodrá.
   Celý vzhľad sa dá vrátiť zmazaním tejto časti. */
:root {
  --page-blue: #00bfff;
  --page-blue-top: #2ec9ff;
  --page-blue-bottom: #00b0f0;
  --on-blue: #0b2447;
  --on-blue-muted: #143a63;
  --navy: #0b2f57;
  --navy-text: #d6e6f5;
  --navy-muted: #a9c4de;
  --navy-accent: #8fd8ff;
  --shadow-blue: 0 2px 6px rgba(0, 40, 80, .10), 0 12px 32px rgba(0, 40, 80, .15);
}
html { background: var(--page-blue); }
body { background: linear-gradient(180deg, var(--page-blue-top) 0, var(--page-blue) 520px, var(--page-blue-bottom) 100%) fixed; }
main { --muted: var(--on-blue-muted); }
/* pätička vždy na spodku okna, aj keď je stránka krátka */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* text priamo na modrej */
.eyebrow { color: var(--navy); }
.hero h1, .section-title, .page-head h1, .admin-bar h1 { color: var(--on-blue); }
.hero-figure figcaption { color: var(--on-blue); }
.section-head a, .section-head a:hover { color: var(--on-blue); font-weight: 600; }
.hero .btn-ghost, .page-foot .btn-ghost { background: #fff; border-color: #fff; color: var(--blue-dark); }
.hero .btn-ghost:hover, .page-foot .btn-ghost:hover { background: var(--bg-tint); border-color: var(--bg-tint); }

/* úvodná stránka */
.hero { background: transparent; border-bottom: 0; }
.section-soft { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.split { gap: 24px; align-items: start; }
.split > div { min-width: 0; background: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-blue); }
.card, .tile { border-color: transparent; box-shadow: var(--shadow-blue); }

/* oznamy: jeden polopriehľadný panel, oznamy ako zoznam s jemnými čiarami */
.notices {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 48px;
  overflow: hidden; padding: 0 clamp(18px, 3vw, 32px);
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 40, 80, .08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.notice {
  position: relative; margin-top: -1px; padding: 20px 0 20px 26px;
  background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .5); border-radius: 0; box-shadow: none;
  color: var(--on-blue); font-size: .98rem; line-height: 1.6;
}
.notice::before {
  content: ""; position: absolute; left: 2px; top: 29px; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35);
}
.notice a { color: var(--on-blue); font-weight: 600; }
.callout { background: linear-gradient(135deg, var(--blue-dark), var(--navy)); }

/* podstránky, príspevky, hľadanie: text v bielej karte */
.page-head { background: transparent; }
.prose:not(:empty) {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-blue);
  padding-top: clamp(22px, 4vw, 40px); padding-bottom: clamp(14px, 3vw, 32px);
  padding-left: clamp(18px, 4vw, 44px); padding-right: clamp(18px, 4vw, 44px);
}
@media (max-width: 800px) { .prose:not(:empty) { width: auto; margin-left: 8px; margin-right: 8px; border-radius: var(--radius-sm); } }
/* podstránky a príspevky: svetlý list s nadpisom, okolo priesvitný lem ako pri oznamoch */
.page-sheet { padding: clamp(24px, 5vw, 56px) 0 clamp(40px, 7vw, 88px); }
.sheet {
  background: #fff; border-radius: 24px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .22), 0 0 0 11px rgba(255, 255, 255, .35), 0 24px 60px rgba(0, 40, 80, .18);
  overflow: hidden;
}
.sheet-head {
  padding: clamp(24px, 4.5vw, 44px) clamp(20px, 5vw, 52px) clamp(18px, 3vw, 28px);
  background: linear-gradient(180deg, #e8f6ff, #fff);
  border-bottom: 1px solid var(--line);
}
.sheet-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--on-blue); margin: 0; text-wrap: balance; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 12px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { color: var(--blue-dark); text-decoration: underline; }
.crumbs span[aria-hidden] { color: #9db4cc; font-weight: 400; }
.sheet .prose, .sheet .prose:not(:empty) {
  background: none; box-shadow: none; border-radius: 0; margin: 0; width: auto;
  padding: clamp(22px, 4vw, 40px) clamp(20px, 5vw, 52px) clamp(8px, 2vw, 16px);
  --muted: #5c6c7e; color: #23344a; line-height: 1.75;
}
.sheet .prose:empty { display: none; }
.sheet .prose .intro { font-size: 1.08rem; font-weight: 600; color: var(--on-blue); line-height: 1.6; }
.sheet .prose a { text-decoration-color: rgba(44, 90, 160, .35); }
.sheet .prose a:hover { text-decoration-color: currentColor; }
.sheet .gallery { margin: 0; padding: 0 clamp(20px, 5vw, 52px) 24px; }
.sheet .gallery:empty { display: none; }
.sheet-foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px clamp(20px, 5vw, 52px); border-top: 1px solid var(--line); background: var(--bg-soft);
  font-size: .95rem; font-weight: 600;
}
.sheet-foot a { color: var(--blue); text-decoration: none; }
.sheet-foot a:hover { color: var(--blue-dark); text-decoration: underline; }
@media (max-width: 800px) {
  .page-sheet .container { padding-left: 14px; padding-right: 14px; }
  .sheet { border-radius: 18px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .22), 0 16px 40px rgba(0, 40, 80, .16); }
}
.results:not(:empty) { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-blue); padding: 4px 24px; }
.results li:last-child { border-bottom: 0; }
.search-box { border-color: #fff; }

/* pätička */
.site-footer { background: var(--navy); border-top: 0; color: var(--navy-text); }
.site-footer .muted, .footer-bottom, .footer-bottom a { color: var(--navy-muted); }
.footer-title { color: var(--navy-accent); }
.site-footer li a, .brand-footer, .brand-footer:hover { color: #fff; }
.site-footer li a:hover { color: var(--navy-accent); }
.brand-footer strong { color: var(--navy-accent); }
.footer-bottom { border-top-color: rgba(255, 255, 255, .15); }

/* --- Modlitebník --------------------------------------------------------- */
.prosba-form {
  margin: 0 clamp(20px, 5vw, 52px) clamp(24px, 4vw, 36px); padding: clamp(18px, 3vw, 26px);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px;
}
.prosba-polia { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.prosba-form .field label span { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 4px; }
.prosba-form .field textarea { min-height: 130px; }
.prosba-form .field input, .prosba-form .field textarea { background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.prosby { padding: 0 clamp(20px, 5vw, 52px) clamp(16px, 3vw, 28px); }
.prosby h2 { display: flex; align-items: baseline; gap: 10px; font-size: 1.45rem; color: var(--on-blue); margin: 0 0 6px; }
.prosby h2 span { font-family: var(--font); font-size: .85rem; font-weight: 500; color: var(--muted); }
.prosba { padding: 18px 0; border-bottom: 1px solid var(--line); }
.prosba:last-of-type { border-bottom: 0; }
.prosba-kto { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0 0 6px; font-size: .92rem; color: var(--muted); }
.prosba-kto strong { color: var(--on-blue); font-weight: 600; }
.prosba-kto time { margin-left: auto; font-size: .85rem; }
.prosba-text { margin: 0; color: #23344a; line-height: 1.7; overflow-wrap: anywhere; }
.strankovanie { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.strankovanie a { font-weight: 600; text-decoration: none; }
@media (max-width: 640px) {
  .prosba-polia { grid-template-columns: 1fr; }
  .prosba-kto time { margin-left: 0; width: 100%; }
}
.hladat-riadok { display: flex; gap: 8px; }
.hladat-riadok input { flex: 1; }
.prosby-admin { list-style: none; margin: 0; padding: 0; }
.prosby-admin li { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); }
.prosby-admin li > div { min-width: 0; flex: 1; }
.prosby-admin .prosba-kto strong { color: var(--text); }

/* --- Fotogaléria --------------------------------------------------------- */
.album { margin-top: 2.2em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.album h2 { margin-top: 0; }
.sheet .prose .album .gallery { padding: 0; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.prose .gallery img { margin: 0; border-radius: 0; }

/* --- Aplikácia Rosario na úvodnej stránke -------------------------------- */
.app-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; }
.app-ikona { flex: none; border-radius: 15px; box-shadow: 0 4px 12px rgba(0, 40, 80, .15); }
.app-card h3 { font-size: 1.05rem; color: var(--blue-dark); margin: 0 0 4px; }
.app-card p { margin: 0 0 12px; font-size: .93rem; color: #4a5b6e; line-height: 1.55; }
.app-odkazy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.app-odkazy img { display: block; height: 40px; width: auto; }
.app-coskoro, .app-play { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 8px; font-size: .88rem; font-weight: 600; }
.app-coskoro { color: var(--muted); border: 1px dashed #b6c6d8; }
.app-play { background: #000; color: #fff; text-decoration: none; }
.app-play:hover { color: #fff; opacity: .85; }

/* --- Rýchle odkazy pod úvodom (veľké tlačidlá, aby sa dali ľahko nájsť) --- */
.section-quick { padding: 0 0 8px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-height: 84px;
  background: rgba(255, 255, 255, .88); border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 40, 80, .10); text-decoration: none; color: var(--on-blue);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.quick-item:hover { background: #fff; color: var(--on-blue); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 40, 80, .16); }
.quick-item:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.quick-ikona { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-dark); }
.quick-ikona svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-item strong { display: block; font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.quick-item small { display: block; font-size: .93rem; color: var(--on-blue-muted); line-height: 1.4; }
@media (max-width: 900px) { .quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .quick { grid-template-columns: 1fr; gap: 10px; } .quick-item { min-height: 72px; } }

/* --- Podstránky na počítači: list + bočný panel -------------------------- */
.sheet-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; align-items: start; }
.sheet-side { display: grid; gap: 20px; }
.side-box {
  background: #fff; border-radius: 18px; padding: 18px 14px 14px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .22), 0 16px 40px rgba(0, 40, 80, .14);
}
.side-title { margin: 0 10px 8px; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a {
  display: block; padding: 9px 12px; border-radius: 10px; line-height: 1.35;
  color: var(--on-blue); text-decoration: none; font-size: .97rem;
}
.side-list a:hover { background: var(--bg-tint); color: var(--blue-dark); }
.side-list a[aria-current] { background: var(--blue-light); font-weight: 600; box-shadow: inset 3px 0 0 var(--blue); }
.side-quick .side-list a::after { content: " →"; color: var(--blue); }
@media (min-width: 1081px) {
  .sheet .prose { font-size: 1.04rem; }
}
@media (min-width: 1081px) and (min-height: 860px) {
  .sheet-side { position: sticky; top: 92px; }
}
@media (max-width: 1080px) {
  .sheet-wrap { grid-template-columns: 1fr; max-width: 860px; }
  .sheet-side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
}
@media (max-width: 800px) {
  .sheet-wrap { gap: 24px; }
  .side-box { box-shadow: 0 0 0 4px rgba(255, 255, 255, .22), 0 10px 28px rgba(0, 40, 80, .12); }
}

/* --- Modlitebná reťaz: voľné (žlté) a obsadené termíny ------------------ */
.retaz-prehlad {
  margin: 1.6em 0 1em; padding: 18px 20px; border-radius: 14px;
  background: #fffbe0; border: 1px solid #f1dc6b;
}
.retaz-volne-nadpis { margin: 0 0 8px !important; font-weight: 700; color: var(--on-blue); }
.retaz-volne { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px !important; padding: 0 !important; }
.retaz-volne li { margin: 0 !important; padding: 6px 12px; border-radius: 999px; background: #ffe94d; color: #3d3300; font-size: .95rem; }
.retaz-legenda { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 !important; font-size: .9rem; color: var(--muted); }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg::before { content: ""; width: 18px; height: 18px; border-radius: 5px; }
.lg-volne::before { background: #ffe94d; border: 1px solid #e2c400; }
.lg-obsadene::before { background: #fde3e3; border: 1px solid #f0b4b4; }
.prose .tabulka:has(.retaz) { border-radius: 12px; border: 1px solid var(--line); }
.prose table.retaz { min-width: 820px; table-layout: fixed; border-collapse: separate; border-spacing: 3px; font-size: .78rem; line-height: 1.35; }
.retaz th, .retaz td { padding: 8px 6px !important; text-align: center !important; vertical-align: middle !important; border: 0 !important; border-radius: 6px; }
.retaz tr:first-child th { background: var(--on-blue); color: #fff; font-size: .82rem; font-weight: 600; }
.retaz th.hodina { width: 92px; background: var(--bg-tint); color: var(--on-blue); font-weight: 700; white-space: nowrap; }
.retaz td.obsadene { background: #fde3e3; color: #5a1f1f; }
.retaz td.obsadene strong { font-weight: 600; }
.retaz td.obsadene hr { margin: 6px 8px; border: 0; border-top: 1px solid #f0b4b4; }
.retaz td.volne { background: #ffe94d; color: #3d3300; font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
@media (max-width: 640px) {
  .prose table.retaz { display: table; width: auto; }
  .prose table.retaz tr { display: table-row; width: auto; padding: 0; border: 0; }
  .prose table.retaz th, .prose table.retaz td { display: table-cell; width: auto; }
  .retaz th.hodina { position: sticky; left: 0; z-index: 1; width: 78px; }
  .retaz-volne li { font-size: .9rem; }
}
/* stránka s tabuľkou reťaze: list na celú šírku, panel pod ním */
.sheet-wrap:has(table.retaz) { grid-template-columns: 1fr; }
.sheet-wrap:has(table.retaz) .sheet-side { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.retaz th, .retaz td { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (min-width: 1081px) { .prose table.retaz { min-width: 0; font-size: .8rem; } }
.retaz-skok { margin: 0 0 1.4em !important; } .sheet .prose .retaz-skok a { color: #fff; text-decoration: none; } #volne-terminy { scroll-margin-top: 90px; }

/* --- Spoločenstvá: úvod a novinky z administrácie -------------------------- */
[hidden] { display: none !important; }
.sheet .spol-uvod { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.sheet .spol-uvod p:last-child { margin-bottom: 0; }
.spol-novinky { padding: clamp(22px, 4vw, 36px) clamp(20px, 5vw, 52px) clamp(18px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.spol-novinky h2 { font-size: 1.4rem; margin: 0 0 18px; color: var(--on-blue); }
.cards-small { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cards-small .card { border-color: var(--line); box-shadow: var(--shadow); }
.cards-small .card h3 { font-size: .98rem; margin-bottom: 10px; }
.cards-small .card-body { padding: 14px 16px 16px; }
.spol-viac { margin: 18px 0 0; font-weight: 600; }

/* Aktuality a fotky: staršie aktuality pod novými */
#vsetky-prispevky + #starsie-aktuality { margin-top: 48px; }
.starsie-nadpis { font-size: 1.35rem; margin-bottom: 18px; }

/* príspevok: PDF prílohy a spoločenstvá */
.prilohy { list-style: none; margin: 0; padding: 0 clamp(20px, 5vw, 52px) 20px; display: grid; gap: 10px; }
.prilohy a {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg-soft); text-decoration: none; font-weight: 600; color: var(--blue-dark);
}
.prilohy a:hover { border-color: var(--blue-light); background: var(--bg-tint); }
.priloha-ikona { flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .05em; color: #fff; background: #c0392b; border-radius: 5px; padding: 4px 6px; }
.prispevok-spol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0 clamp(20px, 5vw, 52px) 24px; font-size: .9rem; color: #5c6c7e; }
.prispevok-spol .chip { padding: 6px 14px; font-size: .88rem; }

/* administrácia: voľby pri príspevku, prílohy, návod */
.volby { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.volby label {
  display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 500 !important;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
}
.volby label:has(input:checked) { border-color: var(--blue); background: var(--bg-tint); color: var(--blue-dark); }
.volby-skupina { flex-basis: 100%; margin: 4px 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.volby-skupina summary { padding: 10px 16px; font-weight: 600; cursor: pointer; }
.volby-skupina summary span { margin-left: 8px; font-weight: 400; font-size: .85rem; color: #5c6c7e; }
.volby-skupina .volby { padding: 4px 14px 14px; }
.spol-admin-skupina { margin: 28px 0 12px; font-size: 1.15rem; }
.zaskrtnut { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; cursor: pointer; }
.zaskrtnut input { margin-top: 4px; }
.prilohy-admin { list-style: none; margin: 0; padding: 0; }
.prilohy-admin li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.prilohy-admin li:last-child { border-bottom: 0; }
.prilohy-admin label { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 !important; font-weight: 400 !important; font-size: .88rem; }
.post-list .meta .stitok { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--bg-tint); color: var(--blue-dark); font-size: .75rem; }
.spol-admin textarea { min-height: 140px; }
.navod h2 { margin-top: 0; }
.navod ol, .navod ul { padding-left: 1.3em; }
.navod li { margin-bottom: .5em; }
.navod .tip { background: var(--bg-soft); border-left: 4px solid var(--blue); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.admin-menu { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
