/* Pokojná, jednoduchá vizuálna identita farského webu Ladce. */
:root{
  --ink:#29332c;--deep:#293b30;--deep2:#465d4c;
  --cream:#f7f4ed;--cream2:#eee9de;--paper:#fffdf8;
  --gold:#687a5d;--gold-light:#d8e0ce;--muted:#657069;
  --line:#dedbd1;--shadow:0 12px 34px rgba(46,55,43,.06);
  --display:"DM Sans",Arial,sans-serif;--body:"DM Sans",Arial,sans-serif;
  --navigation-height:78px
}
body{background:var(--cream)}
h1,h2,h3{font-family:var(--display);font-weight:600;letter-spacing:-.045em}
h1 em,h2 em{font-style:normal;font-weight:600;color:#73856a}
a:focus-visible,button:focus-visible{outline-color:#829476}
.container{width:min(100% - 64px,1200px)}
.section-pad{padding:88px 0}
.topline{display:none}
.site-header{height:78px;background:var(--cream);border-bottom:1px solid var(--line)}
.site-header .container{width:min(100% - 64px,1360px)}
.header-inner{gap:24px}
.brand{gap:10px;color:var(--ink)}
.brand-logo{display:block;width:59px;height:48px;object-fit:contain;flex:none}
.brand-text strong{font-size:9px;letter-spacing:.12em;font-weight:600}
.brand-text em{font-family:var(--display);font-size:20px;font-weight:700;letter-spacing:-.05em}
.desktop-nav{gap:22px}
.desktop-nav a{color:#58645b;font-size:14px;font-weight:400}
.desktop-nav a:hover,.desktop-nav a[aria-current=page]{color:var(--deep)}
.desktop-nav a[aria-current=page]{box-shadow:0 2px 0 #9bab92;padding-bottom:4px}
.header-cta{border-radius:8px;background:var(--deep);font-size:12px;padding:12px 15px}
.header-cta:hover{background:var(--deep2)}
.notification-trigger{width:40px;height:40px;border-radius:8px;background:transparent;border-color:#cdd5c9}
.notification-trigger:hover{background:#e9eee5;border-color:#aebcaa}
/* Matná navigácia položená na úvodnej fotografii, podobne ako na Butkove. */
.site-header-over-hero{position:absolute;inset:0 0 auto;color:var(--paper);background:rgba(17,35,27,.9);border-bottom:1px solid #ffffff30}
.site-header-in-flow{position:relative;inset:auto}
@supports ((backdrop-filter:blur(8px)) or (-webkit-backdrop-filter:blur(8px))){
  .site-header-over-hero{background:rgba(17,35,27,.24);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
  .site-header-in-flow{background:rgba(17,35,27,.82)}
}
.site-header-over-hero .brand,.site-header-over-hero .desktop-nav a,.site-header-over-hero .menu-toggle{color:var(--paper)}
.site-header-over-hero .desktop-nav a:hover{color:#d8e0ce}
.site-header-over-hero .desktop-nav a[aria-current=page]{color:white;box-shadow:0 2px 0 #d8e0ce}
.site-header-over-hero .header-cta{background:#ffffff14;border:1px solid #ffffff60;color:white}
.site-header-over-hero .header-cta:hover{background:#ffffff28}
.site-header-over-hero .notification-trigger{color:var(--paper);border-color:#ffffff60}
.site-header-over-hero .notification-trigger:hover{background:#ffffff20;border-color:#ffffffa0}
.site-header-over-hero a:focus-visible,.site-header-over-hero button:focus-visible{outline-color:#d8e0ce}
.site-header-over-hero .mobile-nav{background:rgba(17,35,27,.96);color:var(--paper);border-bottom:1px solid #ffffff30;max-height:calc(100svh - 78px);overflow-y:auto}
.site-header-over-hero .mobile-nav a{border-color:#ffffff25}
.site-header-over-hero .mobile-nav a[aria-current=page]{color:#d8e0ce}
.eyebrow{font-size:11px;letter-spacing:.07em;text-transform:none;color:var(--gold)}
.eyebrow-dot{width:6px;height:6px;background:var(--gold)}
.eyebrow-line{display:none}
.button{border-radius:8px;min-height:50px;padding:14px 19px;font-size:13px;gap:21px;box-shadow:none}
.button:hover{transform:translateY(-2px);box-shadow:0 7px 19px rgba(41,59,48,.12)}
.button-light,.button-dark{background:var(--deep);color:white}
.button-light:hover,.button-dark:hover{background:var(--deep2)}
.text-link{font-size:13px;border-bottom:1px solid #aebda9;padding-bottom:5px}

/* Úvod s celoplošnou fotografiou a čitateľným textom na jemnom prechode. */
.home-hero{min-height:718px;background:var(--deep)}
.home-hero::before{display:block;z-index:0;background:linear-gradient(90deg,rgba(17,35,27,.80) 0%,rgba(17,35,27,.66) 30%,rgba(17,35,27,.20) 59%,rgba(17,35,27,.04) 100%),linear-gradient(0deg,rgba(17,35,27,.20),transparent 35%)}
.home-hero-photo{inset:0;width:100%;height:100%;z-index:-1;border-radius:0;overflow:hidden}
.home-hero-photo img{object-position:center 45%}
.home-hero-inner{min-height:718px;padding-top:78px;align-items:center;position:relative;z-index:1}
.hero-panel{width:min(650px,60%);padding:70px 0 85px;color:var(--paper);background:transparent;box-shadow:none}
.hero-panel::after{display:none}
.hero-panel .eyebrow{color:#e0e8d8;letter-spacing:.12em;text-transform:uppercase}
.hero-panel .eyebrow-dot{background:#d8e0ce}
.hero-panel h1{font-size:clamp(49px,5.2vw,76px);line-height:1.08;margin:28px 0 25px}
.hero-panel h1 em{color:#d8e0ce}
.hero-panel>p{max-width:460px;color:#edf0e8;font-size:16px;line-height:1.75}
.hero-actions{gap:24px;margin-top:32px}
.home-hero .button-light{background:var(--paper);color:var(--deep)}
.home-hero .button-light:hover{background:#d8e0ce}
.home-hero a:focus-visible{outline-color:#e0e8d8}
.hero-inline{color:var(--paper);font-weight:600;border-bottom:1px solid #b8c7b6}
.hero-inline:hover{color:#d8e0ce}
.hero-signature{max-width:430px;margin-top:48px;border-color:#ffffff40;color:#e0e8d8;letter-spacing:.12em}
.hero-signature span{color:#d8e0ce}
.hero-photo-credit{z-index:1;right:max(32px,calc((100vw - 1200px)/2));bottom:25px;padding:0;border-radius:0;background:transparent;font-size:9px;letter-spacing:.12em;color:#edf0e8}
.quick-links{margin-top:32px;background:transparent;box-shadow:none;gap:12px}
.quick-links>a{min-height:93px;padding:17px 18px;background:var(--paper);border:1px solid var(--line);border-radius:10px}
.quick-links>a:nth-child(2),.quick-links>a:last-child{border-right:1px solid var(--line)}
.quick-links>a:hover{background:#edf2e9;border-color:#bfccb9}
.quick-links>a>svg{color:var(--gold)}
.quick-icon{width:35px;height:35px;border:0;border-radius:8px;background:#e9eee5;color:var(--deep)}
.quick-links strong{font-family:var(--display);font-size:15px;font-weight:600}
.quick-links small{font-size:11px}

.now-section,.events-section{background:var(--cream)}
.announcements-section,.marriage-section,.community-section,.contact-bottom{background:#f0ece3}
.life-section{background:var(--paper)}
.now-grid,.life-grid,.story-grid,.community-grid,.contact-grid,.contact-bottom-grid{gap:78px}
.now-grid{align-items:start}
.now-copy h2,.section-heading h2,.life-copy h2,.story-copy h2,.community-grid h2,.contact-primary h2,.contact-bottom h2,.marriage-grid h2{font-size:clamp(38px,3.7vw,55px);line-height:1.16}
.now-copy p,.life-copy p,.story-copy p,.community-grid p,.contact-primary>p,.contact-bottom p,.marriage-grid>div>p{line-height:1.75;font-size:15px}
.next-mass-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:32px 34px}
.next-mass-card::before{display:none}
.next-mass-top{color:var(--muted)}
.next-mass-top span:first-child{color:var(--gold)}
.next-mass-card>strong{font-family:var(--display);font-size:37px;font-weight:600;letter-spacing:-.05em}
.next-mass-card>a{background:#e9eee5;border-radius:7px;color:var(--deep)}
.next-mass-card>a:hover{background:#dfe8db}
.section-heading{margin-bottom:31px}
.notice-grid,.event-grid{gap:14px}
.events-section .event-grid{grid-template-columns:repeat(auto-fit,minmax(265px,1fr))}
.events-section .event-grid .event-card:last-child{display:flex}
.events-empty{color:var(--muted);font-size:15px;line-height:1.7}
.notice-card,.event-card,.service-card,.aside-panel{background:var(--paper);border:1px solid var(--line);border-radius:11px;box-shadow:none}
.notice-card{padding:26px}
.notice-card:hover,.event-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.notice-card h3,.event-content h3,.service-card h3,.aside-panel h2,.aside-callout h3{font-family:var(--display);font-weight:600;letter-spacing:-.04em}
.notice-card h3{font-size:22px;margin-top:25px}
.notice-category,.event-date,.service-card>span{color:var(--gold)}
.notice-meta{color:#788078}
.notice-more,.poster-button,.event-link{color:var(--deep)}
.notice-card p{font-size:14px;line-height:1.65}
.notice-card p strong{color:var(--deep);font-weight:700}
.notice-category{display:inline-flex;align-items:center;width:max-content;padding:6px 9px;border-radius:5px;background:#e8eee5;color:#46664d;font-size:10px;line-height:1.2}
.notice-card[data-category="Sväté omše"] .notice-category{background:#e5eee5;color:#3f664d}
.notice-card[data-category="Spoločenstvo"] .notice-category{background:#e7eef0;color:#446876}
.notice-card[data-category="Pozvánky"] .notice-category{background:#f3eddf;color:#806548}
.notice-card[data-category="Farnosť"] .notice-category{background:#ece9f0;color:#695c78}
.notice-meta time{color:var(--muted);font-size:11px;letter-spacing:0;white-space:nowrap}
.event-image{height:235px}
.event-scope{background:var(--paper);border-radius:5px;color:var(--deep)}
.event-content h3{font-size:24px}
.event-place svg{color:var(--gold)}
.life-image img,.story-photo img,.community-grid img,.contact-bottom img{border-radius:12px}
.life-image span{background:#f7f4ed;color:var(--deep);border-radius:0 6px 0 12px}
.butkov-strip{background:var(--cream);color:var(--ink);padding:64px 0 88px}
.butkov-strip-inner{background:#e4e8df;border-radius:16px;overflow:hidden;gap:48px}
.butkov-strip-inner>div{padding:50px 0 50px 48px}
.butkov-strip h2 em{color:#73856a}
.butkov-strip p{color:var(--muted)}
.butkov-strip img{border-radius:0}

.page-hero{position:relative;isolation:isolate;background:var(--deep);color:var(--paper);padding:0;overflow:hidden}
.page-hero::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(17,35,27,.80) 0%,rgba(17,35,27,.66) 32%,rgba(17,35,27,.22) 65%,rgba(17,35,27,.05) 100%)}
.page-hero-grid{position:relative;z-index:1;display:flex;align-items:center;min-height:calc(420px + var(--navigation-height));gap:0;padding-block:64px;padding-top:calc(64px + var(--navigation-height))}
.page-hero-copy{width:min(760px,70%);padding:0}
.page-hero .eyebrow{color:#e0e8d8;letter-spacing:.12em;text-transform:uppercase}
.page-hero .eyebrow-dot{background:#d8e0ce}
.page-hero-symbol{display:inline-flex;align-items:center;color:#d8e0ce}
.page-hero-symbol svg{width:18px;height:18px}
.page-hero h1{font-size:clamp(48px,4.8vw,72px);line-height:1.08;margin:23px 0}
.page-hero h1 em{color:#d8e0ce}
.page-hero p{color:#e0e8d8;font-size:15px;max-width:550px;margin:0;line-height:1.8}
.page-hero-image{position:absolute;inset:0;z-index:-1;height:100%;width:100%}
.page-hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 45%;border-radius:0}
.page-hero-image::after{display:none}
.period-bar,.aside-panel.dark,.address-card{background:var(--deep);border-radius:9px}
.filter-button{border-color:#cdd5c9;border-radius:7px;color:var(--deep);padding:9px 14px}
.filter-button:hover,.filter-button.active{background:var(--deep);border-color:var(--deep)}
.aside-callout{background:#e6ece2;border-radius:9px}
.mass-day.today{background:#e8eee4;border-color:#cbd7c7;border-radius:7px}
.mass-day-label strong,.mass-entry strong,.milestone strong,.contact-person strong,.contact-method a,.address-card h3{font-family:var(--display);font-weight:600}
.mass-entry>span,.milestone strong,.contact-method a svg{color:var(--gold)}
.service-card{padding:27px}
.service-card>svg{color:var(--gold)}
.marriage-steps>div{border-color:#d3d8ce}
.poster-image-button,.poster-image-button img{border-radius:10px;overflow:hidden}
.poster-image-button span{background:#293b30e8}
.contact-photo img{border-radius:12px 12px 0 0}
.address-card{border-radius:0 0 12px 12px}
.parish-details{background:var(--paper);border-top:1px solid var(--line)}
.parish-details-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:78px;align-items:start}
.parish-details h2{font-size:clamp(32px,3vw,45px);line-height:1.17;margin:20px 0}
.parish-details p{color:var(--muted);font-size:15px;line-height:1.75;max-width:400px}
.parish-details-list{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 26px}
.parish-details-list>div{min-width:0;padding:16px 0;border-bottom:1px solid var(--line)}
.parish-details-list>div:first-child,.parish-details-list>div:nth-child(4),.parish-details-list>div:nth-child(5){grid-column:1/-1}
.parish-details-list dt{color:var(--gold);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px}
.parish-details-list dd{margin:0;color:var(--ink);font-size:16px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.parish-details-list .parish-iban{font-size:clamp(17px,2vw,23px);letter-spacing:.025em;font-variant-numeric:tabular-nums;user-select:all}
.footer{background:#303d33;color:#eef1ec}
.footer .brand{color:#eef1ec}
.footer-about p,.footer-bottom{color:#becabd}
.footer h2{color:#d7e5d1}
.footer-links a,.footer-contact a,.footer-contact p{color:#e1e9df}
.footer-links a:hover,.footer-contact a:hover{color:white}
.poster-dialog::backdrop,.notification-dialog::backdrop{background:#1b2c22c9}
.dialog-close{background:var(--deep);border-radius:8px}
.event-image-button{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.event-image-button img{display:block;width:100%;height:100%;object-fit:cover}
.event-image-button:focus-visible{outline:3px solid #829476;outline-offset:-5px}
.event-scope{pointer-events:none}
.poster-dialog{max-width:min(calc(100vw - 120px),850px);overflow:visible}
.poster-frame{position:relative}
.poster-dialog .dialog-close{position:absolute;z-index:2;top:0;right:-54px;width:42px;height:42px;border:1px solid #ffffffd9;border-radius:50%;background:#293b30e8;color:#fff;box-shadow:0 4px 18px #0005}
.poster-dialog .dialog-close:hover,.poster-dialog .dialog-close:focus-visible{background:var(--paper);color:var(--deep)}
.archive-section{background:#f0ece3}
.archive-timeline{position:relative;margin-top:35px}
.archive-timeline::before{content:"";position:absolute;top:0;bottom:0;left:157px;width:1px;background:#c9d1c5}
.archive-entry{position:relative;display:grid;grid-template-columns:128px minmax(0,1fr);gap:55px;padding:35px 0;border-top:1px solid #d7d6cc}
.archive-entry[hidden]{display:none}
.archive-entry::before{content:"";position:absolute;z-index:1;left:152px;top:46px;width:11px;height:11px;border:2px solid var(--gold);border-radius:50%;background:#f0ece3}
.archive-date{display:flex;flex-direction:column;gap:7px;padding-top:8px;color:var(--muted)}
.archive-date strong{font-size:30px;line-height:1;color:var(--deep);letter-spacing:-.05em}
.archive-date span{font-size:12px;line-height:1.5}
.archive-content{display:grid;grid-template-columns:minmax(0,1fr) 178px;gap:30px;align-items:start;padding:27px 30px;background:var(--paper);border:1px solid var(--line);border-radius:12px}
.archive-content-gallery{display:block}
.archive-type{display:block;margin-bottom:10px;color:var(--gold);font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.archive-copy h3{margin:0 0 12px;font-size:clamp(23px,2.4vw,31px);line-height:1.2}
.archive-copy p{max-width:620px;margin:0 0 16px;color:var(--muted);font-size:14px;line-height:1.7}
.archive-place{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:12px;line-height:1.5}
.archive-place svg{width:16px;height:16px;flex:none;color:var(--gold)}
.archive-link{display:inline-flex;align-items:center;gap:6px;margin-top:19px;color:var(--deep);font-size:12px;font-weight:700}
.archive-link svg{width:15px;height:15px}
.archive-poster{position:relative;display:block;width:100%;padding:0;border:0;border-radius:8px;overflow:hidden;background:#e9e8df;cursor:zoom-in;text-align:left}
.archive-poster img{display:block;width:100%;height:190px;object-fit:cover}
.archive-poster span{display:block;padding:10px 11px;background:#e9eee5;color:var(--deep);font-size:11px;font-weight:700}
.archive-gallery-label{display:block;margin-top:20px;color:var(--deep);font-size:12px;font-weight:700}
.archive-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:25px}
.archive-gallery-photo{display:block;padding:0;border:0;border-radius:7px;overflow:hidden;background:#e9e8df;cursor:zoom-in}
.archive-gallery-photo img{display:block;width:100%;height:175px;object-fit:cover;transition:transform .25s}
.archive-gallery-photo:hover img{transform:scale(1.035)}
.gallery-dialog{width:min(1440px,calc(100% - 28px));max-height:min(95vh,1000px);padding:0;border:1px solid #d9dfd3;border-radius:12px;overflow:hidden;background:var(--paper);color:var(--deep);box-shadow:0 30px 100px #14291b80}
.gallery-dialog::backdrop{background:#1b2c22c9;backdrop-filter:blur(5px)}
.gallery-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:96px;padding:20px 28px}
.gallery-dialog-header{background:var(--paper);border-bottom:1px solid var(--line)}
.gallery-dialog-header span{color:var(--gold);font-size:10px;font-weight:700;letter-spacing:.15em}
.gallery-dialog-header h2{margin:7px 0 0;font-size:20px;letter-spacing:-.03em}
.gallery-close{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid var(--line);border-radius:8px;background:var(--cream);color:var(--deep);cursor:pointer}
.gallery-close svg{width:20px;height:20px}
.gallery-close:hover{background:#e4ebdf;color:var(--deep)}
.gallery-stage{display:grid;grid-template-rows:minmax(0,1fr);min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,3.3fr) minmax(0,1fr);align-items:center;gap:12px;height:min(65vh,680px,calc(95vh - 180px));padding:0 12px;overflow:hidden;background:#dfe6da}
.gallery-active-frame{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;width:100%;height:calc(100% - 24px);min-width:0;overflow:hidden;border-radius:8px;background:#2d3f34;isolation:isolate}
.gallery-active-frame picture{position:relative;z-index:1;display:block;width:100%;height:100%;min-width:0;min-height:0}
.gallery-active-backdrop{position:absolute;inset:-35px;z-index:0;background-position:center;background-size:cover;filter:blur(32px) brightness(.4);opacity:.55}
.gallery-active-image{position:relative;z-index:1;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.gallery-active-image.is-switching{animation:gallery-image-in .42s cubic-bezier(.2,.7,.2,1) both}
.gallery-active-backdrop.is-switching{animation:gallery-backdrop-in .42s ease both}
@keyframes gallery-image-in{from{opacity:.35;transform:translateY(7px) scale(.99)}to{opacity:1;transform:none}}
@keyframes gallery-backdrop-in{from{opacity:.3}to{opacity:.55}}
.gallery-peek{position:relative;display:block;min-height:0;min-width:0;width:100%;height:78%;padding:0;overflow:hidden;border:0;border-radius:8px;background:#607363;color:#fff;cursor:pointer}
.gallery-peek img{display:block;width:100%;height:100%;object-fit:cover;opacity:.47;filter:blur(2px);transform:scale(1.04);transition:opacity .3s,filter .3s,transform .5s}
.gallery-peek:hover img,.gallery-peek:focus-visible img{opacity:.72;filter:none;transform:scale(1)}
.gallery-peek span{position:absolute;top:50%;display:grid;place-items:center;width:46px;height:46px;transform:translateY(-50%);border:1px solid #ffffffe6;border-radius:8px;background:#294132cf;font-size:22px}
.gallery-prev span{left:18px}.gallery-next span{right:18px}
.gallery-peek:hover span,.gallery-peek:focus-visible span{background:var(--paper);color:var(--deep)}
.gallery-dialog-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;min-height:82px;padding:12px 28px;background:var(--paper);border-top:1px solid var(--line)}
.gallery-position{font-size:12px;font-weight:700;letter-spacing:.15em}
.gallery-dots{display:flex;align-items:center;justify-content:center;gap:5px}
.gallery-dots button{display:grid;align-items:center;width:29px;height:36px;padding:0;border:0;background:transparent;cursor:pointer}
.gallery-dots button::before{content:"";grid-area:1/1;width:100%;height:3px;border-radius:5px;background:#bcc9b6}
.gallery-dots button span{z-index:1;grid-area:1/1;width:0;height:3px;border-radius:5px;background:var(--gold)}
.gallery-dots button[aria-current="true"]{width:45px}
.gallery-dots button[aria-current="true"] span{width:100%}
.gallery-dialog.is-playing .gallery-dots button[aria-current="true"] span{width:0;animation:gallery-progress 3s linear forwards}
@keyframes gallery-progress{to{width:100%}}
.gallery-play{display:grid;place-items:center;justify-self:end;width:38px;height:38px;border:1px solid var(--line);border-radius:8px;background:var(--cream);color:var(--deep);font-size:14px;cursor:pointer}
.gallery-play:hover{background:#e4ebdf;color:var(--deep)}
.gallery-dialog button:focus-visible{outline:2px solid #d6b778;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.gallery-active-image.is-switching,.gallery-active-backdrop.is-switching{animation:none}}
.responsive-picture{display:contents}
.notification-dialog{background:var(--cream);border-radius:12px}
.notification-heading-icon{background:#e5ece1;color:var(--deep);border-radius:8px}
.notification-close,.notification-save{border-radius:8px}
.notification-switch{background:#c3cec0}
.notification-choice input:checked+.notification-switch{background:var(--deep2)}
.notification-choice input:focus-visible+.notification-switch{outline-color:#829476}
.notification-save{background:var(--deep)}
.notification-save:hover{background:var(--deep2)}

@media(max-width:760px){
  :root{--navigation-height:70px}
  .archive-timeline::before{left:6px}
  .archive-entry{display:block;padding:28px 0 28px 26px}
  .archive-entry::before{left:1px;top:36px}
  .archive-date{flex-direction:row;align-items:baseline;gap:12px;padding:0 0 14px}
  .archive-date strong{font-size:24px}
  .archive-content{grid-template-columns:minmax(0,1fr) 125px;gap:14px;padding:20px}
  .archive-poster img{height:150px}
  .archive-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .archive-gallery-photo img{height:140px}
  .gallery-dialog{width:calc(100% - 12px);border-radius:12px}
  .gallery-dialog-header{min-height:78px;padding:12px 15px}
  .gallery-dialog-header h2{font-size:16px}
  .gallery-close{width:35px;height:35px}
  .gallery-stage{grid-template-columns:minmax(0,1fr) minmax(0,6fr) minmax(0,1fr);gap:5px;height:min(58vh,500px,calc(95vh - 145px));padding:0 5px}
  .gallery-active-frame{height:calc(100% - 12px);border-radius:6px}
  .gallery-peek{height:69%;border-radius:6px}
  .gallery-peek span{width:29px;height:29px;font-size:16px}
  .gallery-prev span{left:50%;transform:translate(-50%,-50%)}
  .gallery-next span{right:50%;transform:translate(50%,-50%)}
  .gallery-dialog-bottom{min-height:65px;gap:8px;padding:8px 12px}
  .gallery-dots{gap:2px}
  .gallery-dots button{width:17px;height:28px}
  .gallery-dots button[aria-current="true"]{width:30px}
  .gallery-play{width:32px;height:32px}
}
@media(max-width:450px){
  .archive-content:not(.archive-content-gallery){grid-template-columns:1fr}
  .archive-poster{max-width:200px}
  .archive-gallery-photo img{height:105px}
}

@media(max-width:1260px){
  .desktop-nav{gap:13px}
  .hero-panel{width:65%}
}
@media(max-width:1020px){
  .mobile-nav{background:var(--cream);border-bottom:1px solid var(--line)}
  .mobile-nav a[aria-current=page]{color:var(--deep)}
  .hero-panel{width:75%}
  .quick-links{grid-template-columns:repeat(2,1fr)}
  .quick-links>a:nth-child(-n+2){border-bottom:1px solid var(--line)}
}
@media(max-width:760px){
  .container,.site-header .container{width:min(100% - 36px,620px)}
  .section-pad{padding:70px 0}
  .site-header{height:70px}
  .home-hero,.home-hero-inner{min-height:720px}
  .home-hero::before{background:linear-gradient(0deg,rgba(17,35,27,.88) 0%,rgba(17,35,27,.76) 43%,rgba(17,35,27,.22) 75%,rgba(17,35,27,.03) 100%)}
  .home-hero-photo{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:0}
  .home-hero-photo img{object-position:48% top}
  .home-hero-inner{padding-top:70px;display:flex;align-items:flex-end}
  .site-header-over-hero .mobile-nav{max-height:calc(100svh - 70px)}
  .hero-panel{width:100%;padding:180px 0 36px}
  .hero-panel h1{font-size:clamp(42px,8.4vw,64px)}
  .hero-panel>p{font-size:15px}
  .hero-signature{margin-top:34px}
  .hero-photo-credit{display:none}
  .quick-links{margin-top:24px;gap:9px}
  .quick-links>a{padding:15px 12px;min-height:82px}
  .quick-links strong{font-size:13px}
  .quick-icon{width:30px;height:30px}
  .now-grid,.life-grid,.story-grid,.community-grid,.contact-grid,.contact-bottom-grid{gap:35px}
  .now-copy h2,.section-heading h2,.life-copy h2,.story-copy h2,.community-grid h2,.contact-primary h2,.contact-bottom h2,.marriage-grid h2{font-size:clamp(37px,8vw,54px)}
  .next-mass-card{padding:25px}
  .events-section .event-grid{grid-template-columns:1fr}
  .page-hero{padding:0}
  .page-hero::before{background:linear-gradient(90deg,rgba(17,35,27,.76),rgba(17,35,27,.38)),linear-gradient(0deg,rgba(17,35,27,.22),transparent)}
  .page-hero-grid{min-height:calc(340px + var(--navigation-height));padding-block:44px;padding-top:calc(44px + var(--navigation-height))}
  .page-hero-copy{width:100%}
  .page-hero h1{font-size:clamp(40px,9vw,58px);margin:20px 0}
  .page-hero p{font-size:14px}
  .page-hero-image{height:100%;margin:0}
  .page-hero-image img{border-radius:0}
  .parish-details-grid{grid-template-columns:1fr;gap:30px}
  .butkov-strip{padding:40px 0 56px}
  .butkov-strip-inner{gap:28px}
  .butkov-strip-inner>div{padding:32px 26px 0}
  .butkov-strip img{border-radius:0}
}
@media(max-width:450px){
  .hero-actions{gap:20px}
  .quick-links>a{gap:7px}
  .quick-icon{display:none}
  .quick-links strong{font-size:13px}
  .next-mass-card>strong{font-size:33px}
}


/* Week selection and history links share the announcement date header. */
.period-bar.announcement-period{display:block}
.period-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px}
.announcement-period .history-actions{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:16px;padding-top:14px;border-top:1px solid #ffffff26}
.announcement-period .history-actions:empty{display:none}
.announcement-period .history-step,.announcement-period .history-current{color:inherit;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.history-picker{position:relative;min-width:0}
.history-picker summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;border-radius:4px;padding:6px;margin:-6px}
.history-picker summary::-webkit-details-marker{display:none}
.history-picker summary>svg{flex-shrink:0}
.history-picker summary:hover{background:#ffffff12}
.history-picker[open] summary>svg:last-child{transform:rotate(180deg)}
.history-picker nav{position:absolute;top:calc(100% + 14px);left:0;width:360px;max-width:calc(100vw - 92px);z-index:10;padding:8px;background:var(--paper,#fff);color:var(--deep);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 30px #10281b26}
.history-picker ul{list-style:none;padding:0;margin:0;max-height:320px;overflow:auto}
.history-picker li+li{border-top:1px solid var(--line)}
.history-picker a{display:flex;flex-direction:column;gap:5px;padding:12px;color:var(--deep);text-decoration:none;border-radius:4px;font-weight:600}
.history-picker a span{font-size:12px;color:var(--muted);font-weight:400}
.history-picker a[aria-current="page"]{background:#eaf0e6}
.history-picker a:hover{background:#f0f3eb}
.announcement-period a:focus-visible,.history-picker summary:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:760px){.announcement-period .period-heading>strong{margin-top:0}.history-picker summary{flex-wrap:wrap}}


/* Na tablete zostáva navigácia viditeľná; miesto uvoľní skrytá akcia omší. */
.desktop-nav{gap:12px}
@media(min-width:1021px) and (max-width:1260px){
  .header-inner{gap:16px}
  .desktop-nav{gap:9px}
  .desktop-nav a{font-size:12px}
}

/* Úvodné odkazy zostávajú vedľa seba aj na telefóne. */
@media(max-width:760px){
  .hero-actions{flex-wrap:nowrap;align-items:center;gap:14px}
  .hero-actions .button{width:auto;min-width:0;padding:14px 12px;gap:10px;font-size:12px;white-space:nowrap}
  .hero-inline{font-size:12px;white-space:nowrap}
  .hero-inline svg{margin-left:7px}
}
@media(max-width:360px){
  .hero-actions{gap:10px}
  .hero-actions .button{padding:14px 9px;gap:6px;font-size:11px}
  .hero-inline{font-size:11px}
  .hero-inline svg{margin-left:4px}
}

@media(max-width:760px){.brand-logo{width:52px;height:42px}}

/* Portrét má užší rám; celá fotografia ostáva v dostupnej výške. */
.gallery-dialog.is-portrait .gallery-stage{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,1fr);height:min(72svh,760px,calc(95svh - 180px))}
@media(max-width:760px){.gallery-dialog.is-portrait .gallery-stage{grid-template-columns:minmax(0,1fr) minmax(0,6fr) minmax(0,1fr);height:min(72svh,700px,calc(95svh - 165px))}}

.contact-office-hours{margin:28px 0;padding:24px 28px;border:1px solid #d4ddce;border-radius:12px;background:#edf1e8}
.contact-office-hours h3{font-size:21px;line-height:1.3;margin:0 0 14px}
.contact-office-hours p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 12px}
.contact-office-hours p:last-child{margin-bottom:0}

.footer-social{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:#eef1ec;transition:color .2s}
.footer-social svg{width:21px;height:21px;flex:none}
.footer-social:hover{color:#bed4b8}

.footer-social-links{display:flex;align-items:center;gap:4px;margin-top:16px}

.contact-person{display:grid;grid-template-columns:88px minmax(0,1fr);gap:22px;align-items:center}
.contact-person strong{display:block;font-size:clamp(20px,2.2vw,25px);line-height:1.35}
.contact-person .priest-photo,.contact-person .priest-portrait{margin:0}
.contact-person .priest-photo-placeholder{display:grid;color:#7a8d70;font-size:24px;font-weight:500;letter-spacing:.02em}
@media(max-width:450px){.contact-person{gap:16px}}

/* Invitation to continue below the homepage introduction. */
.hero-scroll-cue{position:absolute;z-index:2;left:50%;transform:translateX(-50%);bottom:14px;display:inline-flex;flex-direction:column;align-items:center;gap:4px;min-height:48px;white-space:nowrap;color:#edf0e8;font-size:11px;letter-spacing:.08em;opacity:1;transition:opacity .2s}
.hero-scroll-cue:hover{opacity:1}
.hero-scroll-cue svg{width:38px;height:38px;stroke-width:2.2;animation:hero-scroll-hint 2.8s ease-in-out infinite}
.hero-scroll-cue:focus-visible{outline:2px solid #e0e8d8;outline-offset:5px;border-radius:3px}
@keyframes hero-scroll-hint{0%,100%{transform:translateY(-3px)}50%{transform:translateY(4px)}}
@media(max-width:760px){.home-hero .hero-panel{padding-bottom:100px}.hero-scroll-cue{bottom:18px}}
@media(prefers-reduced-motion:reduce){.hero-scroll-cue svg{animation:none}}

.mobile-nav a{font-size:15px;font-weight:400}

/* Úvodná sekcia miest úcty nadväzuje na blok farskej charity. */
.places-home{background:#eaf0e5}
.places-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.places-home h2{margin:20px 0;font-size:clamp(38px,3.7vw,55px);line-height:1.15}
.places-home p{max-width:590px;color:var(--muted);font-size:15px;line-height:1.75}
.places-home .button{margin-top:18px}
.places-home-card{padding:30px 34px;border:1px solid #cddbc9;border-radius:12px;background:var(--paper)}
.places-home-list{list-style:none;padding:0;margin:0}
.places-home-list li+li{border-top:1px solid var(--line)}
.places-home-list a{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:16px;padding:16px 12px;margin:0 -12px;border-radius:8px;color:var(--deep);transition:background-color .2s}
.places-home-list a:hover{background:#edf2e9}
.places-home-name{display:block;font-size:15px;line-height:1.45}
.places-home-list small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:4px}
.places-home-list svg{width:18px;height:18px;flex-shrink:0;color:#7b8e72}
@media(max-width:760px){.places-home-grid{grid-template-columns:1fr;gap:30px}.places-home-card{padding:24px}.places-home-name{font-size:14px}}

.places-home-type-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#edf2e9;color:var(--deep)}
.places-home-list .places-home-type-icon svg{width:23px;height:23px;color:inherit;stroke-width:1.4}

/* Logo vľavo, tri obsahové stĺpce ako skupina pri pravom okraji. */
.footer-main{display:flex;justify-content:space-between;align-items:flex-start;gap:70px}
.footer-about{flex:0 1 300px;min-width:0}
.footer-columns{display:grid;grid-template-columns:repeat(3,max-content);gap:56px;margin-left:auto}
.footer-links a{padding:3px 0}
.footer-contact .footer-contact-more{margin-top:18px;font-size:12px;text-decoration:underline;text-underline-offset:5px}
@media(min-width:761px) and (max-width:1100px){.footer-main{display:block}.footer-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:40px 0 0}}
@media(max-width:760px){.footer-main{display:block}.footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px;margin:36px 0 0}.footer-contact{grid-column:1/-1;padding-top:28px;border-top:1px solid #ffffff27}.footer-about p{max-width:440px}}

/* Spoločné riadky pozvaní na domove a v oznamoch. */
.event-list{display:grid;grid-template-columns:1fr;gap:16px}
.event-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:30px;padding:24px;align-items:start}
.event-row:hover{transform:none;box-shadow:none;border-color:#bdcbb7}
.event-row:hover img{transform:none}
.event-row .event-image{height:210px;min-height:0;border-radius:8px;background:#f0f1e9}
.event-row .event-image-button>.responsive-picture{display:block;width:100%;height:100%}
.event-row .event-image img{object-fit:contain}
.event-row .event-content{display:block;padding:0;min-width:0}
.event-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 18px}
.event-timing{display:flex;align-items:center;gap:14px}
.event-timing .event-date{font-size:10px}
.event-row .event-scope{position:static;display:inline-block;border-radius:5px;padding:4px 8px;background:#e8eee4;font-size:9px;letter-spacing:.06em}
.event-row .event-content h3{font-size:25px;line-height:1.25;margin:12px 0 10px}
.event-row .event-content>p{font-size:14px;line-height:1.8;margin:0;max-width:880px}
.event-row .event-place{margin:0 0 0 auto;padding:0;min-width:0;font-size:11px}
.event-row .event-actions{margin-top:14px;padding-top:12px}
@media(max-width:600px){.event-row{display:flow-root;padding:21px}.event-row .event-image{float:right;width:88px;height:124px;margin:0 0 16px 18px}.event-row .event-content h3{font-size:21px}.event-row .event-content>p{font-size:13px}.event-row .event-actions{clear:both}.event-meta{gap:8px}.event-row .event-date{font-size:10px}}

/* Farské oznamy na domove v jednom spoločnom paneli. */
.notice-panel{display:block;background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.notice-panel .notice-card{position:relative;padding:18px 26px 18px 44px;min-height:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}
.notice-panel .notice-card::before{content:"";position:absolute;left:22px;top:20px;bottom:20px;width:3px;border-radius:3px;background:var(--notice-accent,#9caf91)}
.notice-panel .notice-card:not([hidden])~.notice-card:not([hidden])::after{content:"";position:absolute;top:0;left:44px;right:26px;height:1px;background:var(--line)}
.notice-panel .notice-card[data-category="Sväté omše"]{--notice-accent:var(--calendar-mass)}
.notice-panel .notice-card[data-category="Spoločenstvo"]{--notice-accent:var(--calendar-event)}
.notice-panel .notice-card[data-category="Pozvánky"]{--notice-accent:var(--calendar-confession)}
.notice-panel .notice-card[data-category="Farnosť"]{--notice-accent:var(--calendar-activity)}
.notice-panel .notice-card h3{font-size:21px;line-height:1.3;margin:0}
.notice-panel .notice-card p{max-width:1000px;font-size:14px;line-height:1.65;margin:0;color:var(--ink)}
.notice-panel .notice-more{display:inline-flex;margin-top:9px}
@media(max-width:760px){.notice-panel .notice-card{padding:17px 18px 17px 34px}.notice-panel .notice-card::before{left:16px;top:19px;bottom:19px}.notice-panel .notice-card:not([hidden])~.notice-card:not([hidden])::after{left:34px;right:18px}.notice-panel .notice-card h3{font-size:20px}}

@media(max-width:800px){.event-timing{flex-wrap:wrap;gap:8px 12px}}
@media(max-width:600px){.event-timing{margin-left:0}.event-row .event-meta{display:block}.event-row .event-place{margin:10px 0 0}.event-row .event-content h3{margin-top:12px}}

.invitations-section{background:#e9eee5;border-top:1px solid #dce3d7;border-bottom:1px solid #dce3d7}
.invitations-section .event-card{background:var(--paper)}
.invitations-section .filter-button:not(.active){background:rgba(255,255,255,.55)}

.notice-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-bottom:9px}
.notice-card .notice-heading h3{flex:1 1 220px;min-width:0;margin:0}
.notice-heading .notice-meta{justify-content:flex-end;flex-wrap:wrap;gap:7px 12px;margin-left:auto;max-width:100%}
.notice-heading .notice-meta time{white-space:normal;letter-spacing:0}
.notice-panel .notice-heading{margin-bottom:6px}
@media(max-width:600px){.notice-card .notice-heading h3{flex-basis:100%}.notice-heading{gap:6px}.notice-heading .notice-meta{gap:6px 10px}}

.communities-section{background:#e9eee5}
.community-meeting-card{display:grid;grid-template-columns:1fr 1fr;gap:36px;padding:30px 34px;background:var(--paper);border:1px solid var(--line);border-radius:12px;scroll-margin-top:110px}
.community-meeting-card>div>svg{width:26px;height:26px;color:var(--gold)}
.community-meeting-card h3{font-family:var(--display);font-size:28px;margin:12px 0}
.community-meeting-card p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}
.community-meeting-card ul{list-style:none;margin:0;padding:0}
.community-meeting-card li{display:flex;align-items:center;gap:16px;padding:16px 0}
.community-meeting-card li+li{border-top:1px solid var(--line)}
.community-meeting-card li svg{width:20px;height:20px;color:var(--gold)}
.community-meeting-card li strong{display:block;font-size:15px}
.community-meeting-card li div>span{display:block;font-size:13px;color:var(--muted);margin-top:5px}
@media(max-width:760px){.community-meeting-card{grid-template-columns:1fr;gap:14px;padding:24px}}

/* Spoločné pravidlo pre akciu v hlavičke na všetkých stránkach. */
@media(max-width:1400px){.header-cta{display:none}}

/* Výraznejšie označenie typov; pozadia a spoločná paleta zostávajú pôvodné. */
.notice-card[data-category="Sväté omše"] .notice-category{color:var(--calendar-mass)}
.notice-card[data-category="Spoločenstvo"] .notice-category{color:var(--calendar-event)}
.notice-card[data-category="Pozvánky"] .notice-category{color:var(--calendar-confession)}
.notice-card[data-category="Farnosť"] .notice-category{color:var(--calendar-activity)}
.event-date{color:var(--calendar-event)}
.simple-mass-time strong,.home-mass-when strong,.mass-entry>span{color:var(--calendar-mass)}
@media(max-width:450px){.footer-bottom .footer-platform{margin-left:16px}}
