/* 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
}
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)}
.header-inner{gap:24px}
.brand{gap:10px;color:var(--ink)}
.brand-icon{width:35px;height:35px;border:1px solid #91a08d;border-radius:50%}
.brand-icon::before{width:1px;height:19px}.brand-icon::after{height:1px;width:14px;top:14px}
.brand-icon span{display: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:12px;font-weight:600}
.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}
.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}

/* Stručný úvod s fotografiou kostola vedľa textu. */
.home-hero{min-height:575px;background:var(--cream)}
.home-hero::before{display:none}
.home-hero-photo{inset:45px max(32px,calc((100vw - 1200px)/2)) 45px auto;width:min(43%,530px);z-index:0;border-radius:18px;overflow:hidden}
.home-hero-photo img{object-position:center}
.home-hero-inner{min-height:575px;align-items:center;position:relative;z-index:1}
.hero-panel{width:54%;padding:50px 7% 50px 0;color:var(--ink);background:transparent;box-shadow:none}
.hero-panel::after{display:none}
.hero-panel .eyebrow{color:var(--gold)}
.hero-panel h1{font-size:clamp(49px,4.8vw,72px);line-height:1.09;margin:25px 0 22px}
.hero-panel h1 em{color:#73856a}
.hero-panel>p{max-width:460px;color:var(--muted);font-size:15px;line-height:1.75}
.hero-actions{gap:24px;margin-top:27px}
.hero-inline{color:var(--deep);font-weight:600;border-bottom:1px solid #aebda9}
.hero-signature{max-width:430px;margin-top:43px;border-color:var(--line);color:#7a847b;letter-spacing:.07em}
.hero-signature span{color:var(--gold)}
.hero-photo-credit{right:max(47px,calc((100vw - 1200px)/2 + 15px));bottom:59px;padding:7px 9px;border-radius:5px;background:#293b308c;font-size:8px}
.quick-links{margin-top:0;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: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-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-list-stacked{grid-template-columns:minmax(0,1fr);gap:13px;margin-top:0}
.notice-list-stacked .notice-card{min-height:0;padding:24px 28px;border-left:3px solid #b7c8b0}
.notice-list-stacked .notice-card h3{margin:14px 0 9px;font-size:22px}
.notice-list-stacked .notice-card p{margin:0;color:var(--ink);font-size:15px;line-height:1.7}
.notice-list-stacked .notice-card .notice-more{margin-top:15px}
.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:#e4e8df;color:var(--ink)}
.butkov-strip h2 em{color:#73856a}
.butkov-strip p{color:var(--muted)}
.butkov-strip img{border-radius:12px 0 0 12px}

.page-hero{background:#f0ece3;padding:56px 0}
.page-hero-grid{gap:58px}
.page-hero h1{font-size:clamp(50px,5vw,73px);line-height:1.08}
.page-hero p{color:var(--muted);font-size:15px}
.page-hero-image{height:310px}
.page-hero-image img{border-radius:12px}
.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(94vw,1060px);max-height:94vh;padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #0009}
.gallery-dialog::backdrop{background:#1b2c22e8}
.gallery-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 23px;border-bottom:1px solid var(--line)}
.gallery-dialog-header span{color:var(--gold);font-size:10px;font-weight:700;letter-spacing:.1em}
.gallery-dialog-header h2{margin:3px 0 0;font-size:22px}
.gallery-close,.gallery-dialog-controls button{display:grid;place-items:center;flex:none;width:40px;height:40px;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,.gallery-dialog-controls button:hover{background:#e4ebdf}
.gallery-dialog-image{display:grid;place-items:center;height:min(68vh,700px);background:#e7e7e0}
.gallery-dialog-image img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.gallery-dialog-controls{display:flex;align-items:center;justify-content:center;gap:20px;padding:11px 20px}
.gallery-position{min-width:65px;text-align:center;color:var(--muted);font-size:12px}
.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){
  .notice-list-stacked .notice-card{padding:22px}
  .notice-list-stacked .notice-card p{font-size:14px}
  .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-header{padding:12px 15px}
  .gallery-dialog-header h2{font-size:17px}
  .gallery-dialog-image{height:min(65vh,600px)}
}
@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}
  .home-hero-photo{width:42%}
  .hero-panel{width:55%}
}
@media(max-width:1020px){
  .mobile-nav{background:var(--cream);border-bottom:1px solid var(--line)}
  .mobile-nav a[aria-current=page]{color:var(--deep)}
  .home-hero-photo{right:32px;width:42%}
  .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{width:min(100% - 36px,620px)}
  .section-pad{padding:70px 0}
  .site-header{height:70px}
  .home-hero,.home-hero-inner{min-height:0}
  .home-hero-photo{position:relative;inset:auto;width:calc(100% - 36px);height:245px;margin:20px auto 0;border-radius:11px}
  .home-hero-inner{padding-top:0;display:block}
  .hero-panel{width:100%;padding:34px 0 43px}
  .hero-panel h1{font-size:clamp(45px,9vw,64px)}
  .hero-panel>p{font-size:14px}
  .hero-signature{margin-top:34px}
  .hero-photo-credit{display:none}
  .quick-links{margin-top:0;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:43px 0 0}
  .page-hero h1{font-size:clamp(49px,9vw,66px)}
  .page-hero-image{height:225px}
  .page-hero-image img{border-radius:10px 10px 0 0}
  .parish-details-grid{grid-template-columns:1fr;gap:30px}
  .butkov-strip img{border-radius:10px 0 0 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}
}
