/* Písmo Lexend – uložené přímo na webu (bez Google Fonts: rychlejší a bez předávání údajů třetí straně) */
@font-face{font-family:'Lexend';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/lexend-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:'Lexend';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/lexend-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}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Lexend',system-ui,sans-serif;color:#14232E;-webkit-font-smoothing:antialiased;background:#EAF5FC}
a{color:#1667C7;text-decoration:none}
a:hover{color:#0F4E99}
img{max-width:100%}
h1,h2,h3{margin:0}
.page{position:relative;min-height:100vh;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(180deg,#E3F2FC 0%,#F4FAFE 45%,#FFF8EC 100%)}
.wrap{position:relative;width:100%;max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.blob{position:absolute;border-radius:50%;opacity:.35;pointer-events:none}
.b1{top:-120px;right:-80px;width:380px;height:380px;background:#FFD66B}
.b2{top:520px;left:-140px;width:340px;height:340px;background:#B8E08C}
.b3{top:1100px;right:-120px;width:300px;height:300px;background:#F5B3D6}
.stripe{position:relative;height:8px;display:grid;grid-template-columns:repeat(5,1fr)}
.stripe span:nth-child(1){background:#3FA9E8}.stripe span:nth-child(2){background:#8CCB4E}.stripe span:nth-child(3){background:#FFC93C}.stripe span:nth-child(4){background:#F27A7A}.stripe span:nth-child(5){background:#B57BE6}

.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);box-shadow:0 6px 24px -16px rgba(20,60,90,.45)}
.header{padding-top:12px;padding-bottom:12px;display:flex;flex-direction:column;gap:12px}
.header-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:14px;color:#14232E}
.brand:hover{color:#14232E}
.brand img{height:52px;width:auto;display:block}
.brand span{display:flex;flex-direction:column;line-height:1.1}
.brand strong{font-size:26px;font-weight:800;letter-spacing:-.01em}
.brand small{font-size:13px;color:#4A5D6B;margin-top:3px}
.contacts{display:flex;flex-wrap:wrap;gap:10px}
.pill{padding:10px 16px;border-radius:999px;background:#fff;color:#14232E;font-weight:500;font-size:14px}
.pill:hover{color:#14232E;background:#F2F8FC}
.burger{display:none;font-family:inherit;font-size:15px;font-weight:700;padding:11px 18px;border-radius:999px;border:0;background:#14324A;color:#fff;cursor:pointer}
.nav{display:flex;flex-wrap:wrap;gap:8px;position:relative;z-index:20}
.nav-item{position:relative;display:flex;align-items:center;border-radius:999px;transition:transform .15s}
.nav-item:hover{transform:translateY(-2px)}
.nav-item.active{box-shadow:inset 0 0 0 2px #14324A}
.nav-link{white-space:nowrap;padding:11px 18px;border-radius:999px;font-size:15px;font-weight:600;color:#14232E}
.nav-link:hover{color:#14232E}
.has-sub .nav-link{padding-right:4px}
.sub-toggle{flex:none;margin-right:8px;width:26px;height:26px;padding:0;border:0;background:transparent;font-size:13px;color:#14232E;cursor:pointer;border-radius:50%}
.sub{display:none;position:absolute;top:calc(100% + 6px);left:0;min-width:260px;max-width:360px;background:#fff;border-radius:18px;padding:8px;box-shadow:0 18px 40px -14px rgba(20,60,90,.35);flex-direction:column}
.sub::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}
.sub a{padding:10px 12px;border-radius:12px;font-size:14px;font-weight:500;color:#14232E;line-height:1.35}
.sub a.ind{padding-left:28px;color:#4A5D6B}
.sub a:hover,.sub a[aria-current]{background:#EEF6FC;color:#14232E}
@media (hover:hover){.has-sub:hover .sub{display:flex}}
.nav-item.open .sub{display:flex}

.page-hero{margin-top:24px;padding:clamp(28px,5vw,48px);border-radius:28px;background:#fff;box-shadow:0 6px 20px -12px rgba(20,60,90,.3);position:relative;overflow:hidden}
.page-hero::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:var(--accent,#BDE2F8);opacity:.7}
.crumbs{position:relative;z-index:1;display:flex;gap:8px;font-size:14px;color:#4A5D6B;margin-bottom:10px}
.crumbs a{color:#1667C7;font-weight:500}
.page-hero h1{position:relative;z-index:1;font-size:clamp(30px,4.5vw,48px);font-weight:800;letter-spacing:-.02em;line-height:1.1}
.content{padding-top:32px;padding-bottom:64px}
.prose{max-width:820px;background:#fff;border-radius:24px;padding:clamp(22px,4vw,40px);box-shadow:0 6px 20px -12px rgba(20,60,90,.3);font-size:17px;line-height:1.7;color:#22343F}
.prose p{margin:0 0 1em}
.prose p:last-child{margin-bottom:0}
.prose strong{color:#14232E}
.prose h2{font-size:22px;margin:1.4em 0 .5em}
.prose h2:first-child{margin-top:0}
.prose img{display:block;width:100%;height:auto;border-radius:18px;margin:1.4em 0 0}
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;max-width:1100px}
.contact-grid .prose{max-width:none}
.contact-grid .prose p{margin:0 0 .35em}
.map{margin-top:16px;max-width:1100px;border-radius:24px;overflow:hidden;background:#C9DCE8;aspect-ratio:16/7}
.map iframe{width:100%;height:100%;border:0;display:block}

.hero{position:relative;margin-top:24px;height:clamp(260px,38vw,460px);border-radius:28px;overflow:hidden;background:#C9DCE8}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(8,30,48,.7) 0%,rgba(8,30,48,0) 55%)}
.hero-text{position:absolute;z-index:1;pointer-events:none;left:0;right:0;bottom:0;padding:32px 36px 92px;display:flex;flex-direction:column;gap:10px}
.badge{align-self:flex-start;padding:6px 14px;border-radius:999px;background:#FFC93C;color:#14232E;font-size:13px;font-weight:700}
.hero h1{color:#fff;font-size:clamp(28px,4vw,50px);font-weight:800;letter-spacing:-.02em;line-height:1.05;max-width:720px;text-wrap:pretty}

.links{position:relative;z-index:5;margin:-64px 20px 0;padding:14px;background:#fff;border-radius:24px;box-shadow:0 18px 40px -18px rgba(20,60,90,.35);display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}
.links a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--s);color:#14232E;font-weight:600;font-size:15px;line-height:1.2;transition:transform .15s}
.links a:hover{transform:translateY(-2px);color:#14232E}
.links i.logo{background:#fff;padding:3px;overflow:hidden;box-shadow:0 0 0 1px rgba(20,40,60,.08)}
.links i.logo img{width:100%;height:100%;object-fit:contain;border-radius:8px;display:block}
.links i{font-style:normal;width:40px;height:40px;flex:none;border-radius:12px;background:var(--c);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:800}

.main{padding-top:56px;padding-bottom:56px;display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:32px;align-items:start}
.news{min-width:0;display:flex;flex-direction:column;gap:20px}
.news-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
h2{display:flex;align-items:center;gap:12px;font-size:34px;font-weight:800;letter-spacing:-.02em}
.dot{width:14px;height:14px;border-radius:50%;flex:none}
.filters{display:flex;flex-wrap:wrap;gap:6px}
.filters button{font-family:inherit;font-size:14px;font-weight:600;padding:9px 16px;border-radius:999px;border:0;background:#fff;color:#14232E;cursor:pointer}
.filters button.on{color:#fff}
.news-list{display:flex;flex-direction:column;gap:12px}
.post{display:flex;gap:20px;align-items:flex-start;padding:20px 22px;background:#fff;border-radius:20px;box-shadow:0 6px 20px -12px rgba(20,60,90,.3);color:#14232E;transition:transform .15s}
.post:hover{transform:translateY(-2px);color:#14232E}
.date{flex:none;width:62px;text-align:center;padding:10px 0;border-radius:14px;background:var(--s);display:flex;flex-direction:column;line-height:1.1}
.date b{font-size:24px;font-weight:800;color:var(--c)}
.date small{font-size:12px;font-weight:600;margin-top:2px}
.body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.cat{align-self:flex-start;padding:3px 10px;border-radius:999px;background:var(--s);font-size:12px;font-weight:700;color:var(--c)}
.title{font-size:18px;font-weight:600;line-height:1.3;text-wrap:pretty}
.excerpt{font-size:15px;color:#4A5D6B;line-height:1.5}
.arrow{flex:none;align-self:center;width:38px;height:38px;border-radius:50%;background:var(--s);color:var(--c);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700}
.more{align-self:center;font-family:inherit;font-size:15px;font-weight:700;padding:14px 28px;border-radius:999px;border:0;background:#FFC93C;color:#14232E;cursor:pointer;box-shadow:0 8px 20px -10px rgba(200,140,0,.6)}
.more:hover{background:#FFB800}
.more[hidden]{display:none}

.aside{min-width:0;display:flex;flex-direction:column;gap:16px}
.card{background:#fff;border-radius:20px;padding:22px;box-shadow:0 6px 20px -12px rgba(20,60,90,.3)}
.card h3{font-size:18px;font-weight:700;margin-bottom:12px}
.archive{display:flex;flex-wrap:wrap;gap:6px}
.archive a{font-size:13px;font-weight:500;padding:6px 11px;border-radius:999px;background:#E6F3FC;color:#14232E}
.archive a:hover{background:#CDE7F8;color:#14232E}
.contact{background:#3FA9E8;color:#fff;display:flex;flex-direction:column;gap:8px;font-size:15px}
.contact h3{margin-bottom:4px}
.contact a{color:#fff;font-weight:600}
.contact small{font-size:14px}
.contact .contact-title{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:700}
.contact .contact-title span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.22);font-size:15px;transition:transform .15s}
.contact .contact-title:hover span{transform:translateX(3px)}

.gallery-sec{padding-bottom:64px;display:flex;flex-direction:column;gap:20px}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:22px;display:block;background:#C9DCE8}

.footer{position:relative;margin-top:auto;background:#14324A;color:#D3E2EC}
.footer-in{padding-top:32px;padding-bottom:24px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px;font-size:14px}
.footer-col{display:flex;flex-direction:column;gap:6px}
.footer-col strong{color:#fff;font-size:16px}
.footer-links{display:flex;flex-wrap:wrap;gap:8px}
.footer-links a,.footer-links button{font-family:inherit;font-size:14px;font-weight:500;color:#fff;background:rgba(255,255,255,.1);border:0;padding:8px 14px;border-radius:999px;cursor:pointer}
.footer-links a:hover,.footer-links button:hover{background:rgba(255,255,255,.2);color:#fff}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding-top:16px;padding-bottom:24px;border-top:1px solid rgba(255,255,255,.12);font-size:13px}
.footer-bottom a{color:#FFC93C;font-weight:600}
.footer-bottom a:hover{color:#FFD966}
.cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:90;padding:12px;display:none}
.cookie-bar.open{display:block}
.cookie-in{max-width:1000px;margin:0 auto;background:#fff;border-radius:22px;padding:18px 20px;box-shadow:0 20px 50px -12px rgba(10,30,50,.45);display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.cookie-text{flex:1 1 420px;min-width:0}
.cookie-text strong{font-size:17px}
.cookie-text p{margin:4px 0 0;font-size:14px;line-height:1.5;color:#33454F}
.cookie-btns{display:flex;flex-wrap:wrap;gap:8px}
.cookie-btns button{font-family:inherit;font-size:15px;font-weight:700;padding:12px 20px;border-radius:999px;border:0;cursor:pointer}
.ck-pri{background:#FFC93C;color:#14232E}.ck-pri:hover{background:#FFB800}
.ck-sec{background:#EEF6FC;color:#14232E}.ck-sec:hover{background:#DCEEFA}
.inline-btn{font-family:inherit;font-size:inherit;font-weight:600;color:#1667C7;background:#EEF6FC;border:0;padding:2px 10px;border-radius:999px;cursor:pointer}
.prose ul{padding-left:1.3em}
.prose li{margin-bottom:.4em}
.consent-ph{height:100%;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;background:#EAF3F9}
.consent-ph p{margin:0;font-size:15px}
.consent-ph button{font-family:inherit;font-size:15px;font-weight:700;padding:12px 20px;border-radius:999px;border:0;background:#14324A;color:#fff;cursor:pointer}
.consent-ph a{font-size:14px;font-weight:600}

.docs{max-width:900px;display:flex;flex-direction:column;gap:10px}
.doc-row{display:flex;align-items:center;gap:14px;padding:14px 16px;background:#fff;border-radius:18px;box-shadow:0 6px 20px -12px rgba(20,60,90,.3)}
.doc-ico{flex:none;width:44px;height:44px;border-radius:12px;background:#FDE6EA;color:#C8203F;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}
.doc-name{flex:1;min-width:0;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.doc-act{flex:none;display:flex;gap:6px}
.doc-act a{padding:9px 14px;border-radius:999px;font-size:14px;font-weight:600}
.doc-view{background:#14324A;color:#fff}.doc-view:hover{background:#1F4766;color:#fff}
.doc-dl{background:#EEF6FC;color:#14232E}.doc-dl:hover{background:#DCEEFA;color:#14232E}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:14px;max-width:1100px}
.tile{display:flex;align-items:center;justify-content:space-between;padding:28px 24px;border-radius:22px;color:#14232E;font-size:20px;transition:transform .15s}
.tile:hover{transform:translateY(-3px);color:#14232E}
.pdf-modal{position:fixed;inset:0;z-index:100;background:rgba(10,25,38,.7);display:none;padding:clamp(0px,3vw,32px)}
.pdf-modal.open{display:flex}
.pdf-box{flex:1;display:flex;flex-direction:column;background:#fff;border-radius:clamp(0px,2vw,20px);overflow:hidden;max-width:1100px;margin:0 auto}
.pdf-bar{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #E3EAF0}
.pdf-bar strong{flex:1;min-width:0;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pdf-bar a,.pdf-bar button{font-family:inherit;padding:9px 14px;border-radius:999px;font-size:14px;font-weight:600;border:0;cursor:pointer;background:#EEF6FC;color:#14232E}
.pdf-box iframe{flex:1;width:100%;border:0}

.gal-sections{display:flex;flex-direction:column;gap:36px}
.gal-sec h2{font-size:24px;margin-bottom:14px}
.gal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px}
.gal-item{display:block;border-radius:18px;overflow:hidden;background:#C9DCE8;aspect-ratio:16/9;box-shadow:0 6px 20px -12px rgba(20,60,90,.3)}
.gal-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.gal-item:hover img{transform:scale(1.04)}
.lb{position:fixed;inset:0;z-index:100;background:rgba(8,18,28,.92);display:none;align-items:center;justify-content:center;padding:16px}
.lb.open{display:flex}
.lb img{max-width:100%;max-height:100%;border-radius:12px;object-fit:contain}
.lb button{position:absolute;font-family:inherit;border:0;cursor:pointer;background:rgba(255,255,255,.15);color:#fff;font-size:22px;width:48px;height:48px;border-radius:50%}
.lb .lb-x{top:16px;right:16px}.lb .lb-p{left:16px;top:50%;transform:translateY(-50%)}.lb .lb-n{right:16px;top:50%;transform:translateY(-50%)}
.doc-embed{max-width:1000px;display:flex;flex-direction:column;gap:12px}
.doc-embed iframe{width:100%;height:min(80vh,900px);border:0;border-radius:18px;background:#fff;box-shadow:0 6px 20px -12px rgba(20,60,90,.3)}

.month-note{display:flex;align-items:center;gap:10px;font-size:15px}
.month-note[hidden]{display:none}
.month-note button{font-family:inherit;font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;border:0;background:#fff;cursor:pointer}
.archive a.on{background:#14324A;color:#fff}
.post-meta{position:relative;z-index:1;display:flex;align-items:center;gap:12px;margin-top:12px;font-size:15px;color:#4A5D6B}
.cat-pill{padding:4px 12px;border-radius:999px;font-size:13px;font-weight:700;background:#E1F0FB;color:#1A78C2}
.cat-pill[data-cat="MŠ"]{background:#E7F5DA;color:#3E8E1F}.cat-pill[data-cat="Akce"]{background:#FFF1D1;color:#C46A00}
.wp{max-width:900px}
.wp figure{margin:1.2em 0}
.wp .img-link,.wp a[data-lightbox]{display:block}
.wp img{margin:0;max-width:100%;width:auto;height:auto;border-radius:16px}
.wp .aligncenter,.wp .aligncenter img{margin-left:auto;margin-right:auto;text-align:center}
.wp .aligncenter .img-link{display:inline-block}
.wp .has-text-align-center{text-align:center}.wp .has-text-align-right{text-align:right}
.wp .has-large-font-size{font-size:1.4em;line-height:1.35}.wp .has-medium-font-size{font-size:1.12em}.wp .has-small-font-size{font-size:.9em}
.wp .wp-block-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px;margin:1em 0}
.wp .wp-block-column>*:first-child{margin-top:0}
.wp .wp-block-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:10px}
.wp .wp-block-gallery figure{margin:0}
.wp .wp-block-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}
.wp .wp-block-table{overflow-x:auto;margin:1.2em 0}
.wp table{border-collapse:collapse;width:100%;font-size:.95em}
.wp td,.wp th{border:1px solid #DCE6EE;padding:8px 10px;text-align:left;vertical-align:top}
.wp .wp-block-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:1em 0}
.wp .wp-block-button__link{display:inline-block;padding:12px 22px;border-radius:999px;background:#FFC93C;color:#14232E;font-weight:700}
.wp .wp-block-button__link:hover{background:#FFB800;color:#14232E}
.wp ul,.wp ol{padding-left:1.3em}
.wp pre{white-space:pre-wrap;font-family:inherit}
.wp iframe{max-width:100%;border:0;border-radius:16px}
.doc-block{margin:10px 0;display:flex;flex-direction:column;gap:8px}
.doc-block .doc-row{box-shadow:none;background:#F4F9FD}
.docs .doc-prev{margin:-4px 0 8px;box-shadow:0 6px 20px -12px rgba(20,60,90,.3)}
.doc-prev{width:100%;height:520px;border:0;border-radius:14px;background:#F4F9FD}
.wp-block-column .doc-prev{height:400px}
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:2em;padding-top:1.4em;border-top:1px solid #E3EAF0}
.post-nav a{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:16px;background:#F4F9FD;color:#14232E;font-weight:600;font-size:15px;line-height:1.35}
.post-nav a small{font-size:12px;color:#4A5D6B;font-weight:500}
.post-nav .older{text-align:right}

/* jednotná šířka a zarovnání na střed pro všechny podstránky */
.page-hero,.content>*{max-width:960px!important;margin-left:auto!important;margin-right:auto!important}
.content>.prose+.contact-grid,.content>.contact-grid+.map{margin-top:16px}
.page-hero{text-align:center}
.page-hero .crumbs,.page-hero .post-meta{justify-content:center}
.page-hero h1{margin-left:auto;margin-right:auto;text-wrap:balance}
.wp img{display:block;margin-left:auto;margin-right:auto}
.wp .img-link{text-align:center}
.doc-prev,.wp-block-column .doc-prev,.doc-embed iframe{height:600px!important}
.wp .wp-block-columns{grid-template-columns:1fr}

.arch{display:flex;flex-direction:column;gap:18px}
.arch-tools{display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:22px;padding:18px;box-shadow:0 6px 20px -12px rgba(20,60,90,.3)}
.arch-tools input,.arch-tools select{font-family:inherit;font-size:15px;color:#14232E;padding:12px 16px;border-radius:14px;border:1px solid #D5E2EC;background:#F7FBFE;width:100%}
.arch-tools input:focus,.arch-tools select:focus{outline:2px solid #3FA9E8;outline-offset:1px}
.arch-tools .filters button{background:#EEF6FC}
.arch-tools .filters button small{opacity:.65;font-size:12px;margin-left:2px}
.arch-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.arch-count{font-size:14px;color:#4A5D6B}
.archive-all{display:inline-flex;margin-top:12px;font-weight:600;font-size:14px}

.c-address{background:#fff;border-radius:20px;padding:18px 22px;text-align:center;font-size:17px;box-shadow:0 6px 20px -12px rgba(20,60,90,.3);margin-bottom:16px}
.c-card{background:#fff;border-radius:22px;padding:22px;box-shadow:0 6px 20px -12px rgba(20,60,90,.3);border-top:8px solid var(--a);display:flex;flex-direction:column;gap:16px}
.c-card h2{font-size:21px}
.people{display:flex;flex-direction:column;gap:12px}
.person{display:flex;align-items:center;gap:12px}
.person .avatar{flex:none;width:46px;height:46px;border-radius:50%;color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}
.person small,.c-row small{display:block;font-size:13px;color:#4A5D6B;font-weight:500}
.person strong{display:block;font-size:17px;line-height:1.3}
.c-rows{display:flex;flex-direction:column;gap:10px;padding-top:14px;border-top:1px solid #E3EAF0}
.c-row span{font-size:16px;font-weight:600;overflow-wrap:anywhere}

.gal-sec h2{text-align:center}
.gal-grid{display:flex!important;flex-wrap:wrap;justify-content:center}
.gal-grid .gal-item{flex:0 0 calc(50% - 7px);aspect-ratio:16/10}

.tiles{display:flex!important;flex-wrap:wrap;justify-content:center;gap:14px}
.tiles .tile{flex:0 0 calc((100% - 28px)/3);flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:34px 20px;text-align:center;font-size:22px;box-shadow:0 6px 20px -12px rgba(20,60,90,.3)}
.tiles .tile span{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.7);font-size:16px}

/* barevné nadpisy z WordPressu (např. názvy kroužků) */
.wp p.has-large-font-size.has-text-color{display:table;margin:1.8em auto .5em;padding:10px 26px;border-radius:999px;font-size:1.55em;font-weight:800;letter-spacing:-.01em;background:color-mix(in srgb,currentColor 13%,#fff);box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 30%,#fff)}
.wp p.has-large-font-size.has-text-color:first-child{margin-top:0}
.wp p.has-large-font-size.has-text-color strong{font-weight:800}
.wp p.has-large-font-size.has-text-color+.wp-block-spacer{display:none}

@media (max-width:900px){
  .burger{display:block}
  .nav{display:none;flex-direction:column;flex-wrap:nowrap;gap:6px;background:#fff;border-radius:22px;padding:10px;box-shadow:0 18px 40px -14px rgba(20,60,90,.35)}
  .nav.open{display:flex}
  .nav-item{flex-wrap:wrap;border-radius:14px}
  .nav-item:hover{transform:none}
  .nav-link{flex:1;display:block;padding:13px 16px;border-radius:14px}
  .sub-toggle{width:40px;height:40px;font-size:16px;margin-right:4px}
  .sub{position:static;width:100%;box-shadow:none;max-width:none;min-width:0;padding:4px 6px 6px 14px;background:transparent}
  .sub::before{display:none}
  .has-sub:hover .sub{display:none}
  .nav-item.open .sub{display:flex}

  .main{grid-template-columns:1fr}
  .aside{display:grid;grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .wrap{padding-left:16px;padding-right:16px}
  .header{padding-top:10px;padding-bottom:10px;gap:10px}
  .brand img{height:46px}
  .brand strong{font-size:21px}
  .page-hero{margin-top:16px;border-radius:22px}
  .prose{font-size:16px;border-radius:20px}
  .map{aspect-ratio:4/3}
  .hero{margin-top:16px;border-radius:22px;height:300px}
  .hero-text{padding:20px 20px 84px}
  .links{margin:-60px 8px 0;padding:10px;grid-template-columns:1fr 1fr;gap:8px}
  .links a{padding:10px;font-size:14px;gap:10px}
  .links i{width:34px;height:34px;font-size:14px;border-radius:10px}
  .main{padding-top:40px;padding-bottom:40px;gap:24px}
  h2{font-size:28px}
  .filters{width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .filters button{flex:none}
  .post{gap:14px;padding:16px;border-radius:18px}
  .date{width:54px;padding:8px 0}
  .date b{font-size:20px}
  .title{font-size:16px}
  .excerpt{font-size:14px}
  .arrow{display:none}
  .tiles .tile{flex-basis:calc(50% - 7px);padding:26px 14px;font-size:19px}
  .arch-row{grid-template-columns:1fr 1fr}
  .arch-row #sort{grid-column:span 2}
  .doc-prev,.wp-block-column .doc-prev,.doc-embed iframe{height:65vh!important}
  .post-nav{grid-template-columns:1fr}
  .post-nav .older{text-align:left}
  .doc-embed iframe{height:70vh}
  .gal-grid{gap:8px}
  .gal-grid .gal-item{flex-basis:calc(50% - 4px)}
  .gal-item{border-radius:12px}
  .doc-row{flex-wrap:wrap}
  .doc-act{width:100%}
  .doc-act a{flex:1;text-align:center}
  .more{width:100%}
  .aside{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr 1fr;gap:10px}
  .gallery img{border-radius:16px}
  .gallery img:first-child{grid-column:span 2}
  .footer-in{flex-direction:column;font-size:13px}
  .footer-bottom{flex-direction:column}
  .cookie-btns{width:100%}
  .cookie-btns button{flex:1}
}

@media (min-width:901px){
  .nav{flex-wrap:nowrap;justify-content:space-between;gap:6px;padding-top:10px;border-top:1px solid #E3EAF0}
  .nav-item{flex:1 1 auto;justify-content:center}
  .nav-link{padding:10px 8px;font-size:clamp(12px,1.3vw,15px);text-align:center}
  .has-sub .nav-link{padding-right:0}
  .sub-toggle{margin-right:2px;width:22px}
}
@media (min-width:901px) and (max-width:1100px){
  .nav-link{padding:9px 5px}
  .sub-toggle{width:18px;font-size:11px}
}
.hero,.page-hero{margin-top:24px}

/* optimalizace */
html{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
img,iframe,video{max-width:100%}
.footer{content-visibility:auto;contain-intrinsic-size:auto 220px}
:focus-visible{outline:3px solid #1667C7;outline-offset:2px}
@supports (padding:max(0px)){.wrap{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}}
@media (max-width:640px){@supports (padding:max(0px)){.wrap{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}}}
/* Mobil: logo, název a tlačítko Menu na jednom řádku; dlouhé odkazy se zalomí; prázdné sloupce ze starého webu se skryjí */
.prose a{overflow-wrap:anywhere}
.wp-block-column:empty,.wp-block-columns:not(:has(>.wp-block-column:not(:empty))){display:none}
@media (max-width:640px){
  .header-top{flex-wrap:nowrap;gap:10px}
  .brand{gap:8px;min-width:0}
  .brand img{height:34px}
  .brand strong{font-size:18px}
  .brand small{font-size:12px;margin-top:2px}
  .burger{flex:none;padding:10px 16px}
}
@media (max-width:370px){.brand img{height:28px}.brand strong{font-size:16px}}
.arch-tools .filters{flex-wrap:wrap;overflow:visible}
/* ===== Animace (při „omezit pohyb“ je vypne pravidlo prefers-reduced-motion) ===== */
@keyframes a-up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes a-fade{from{opacity:0}to{opacity:1}}
@keyframes a-zoom{from{transform:scale(1.08)}to{transform:scale(1)}}
@keyframes a-pop{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
@keyframes a-grow{from{opacity:0;transform:scale(.3)}to{opacity:.7;transform:none}}
@keyframes a-drift{0%,100%{translate:0 0}50%{translate:34px -26px}}
.hero img{animation:a-zoom 1.8s cubic-bezier(.2,.7,.2,1) backwards}
.hero-text>*{animation:a-up .7s .2s cubic-bezier(.2,.7,.2,1) backwards}
.hero-text h1{animation-delay:.32s}
.links a{animation:a-up .6s .35s cubic-bezier(.2,.7,.2,1) backwards}
.links a:nth-child(2){animation-delay:.4s}.links a:nth-child(3){animation-delay:.45s}.links a:nth-child(4){animation-delay:.5s}.links a:nth-child(5){animation-delay:.55s}.links a:nth-child(n+6){animation-delay:.6s}
.page-hero{animation:a-up .6s cubic-bezier(.2,.7,.2,1) backwards}
.page-hero::after{animation:a-grow .9s .1s cubic-bezier(.2,.7,.2,1) backwards}
.content{animation:a-fade .6s .15s ease-out backwards}
.news-list .post{animation:a-up .45s cubic-bezier(.2,.7,.2,1) backwards}
.news-list .post:nth-child(2){animation-delay:.05s}.news-list .post:nth-child(3){animation-delay:.1s}.news-list .post:nth-child(4){animation-delay:.15s}.news-list .post:nth-child(n+5){animation-delay:.2s}
.post{transition:transform .15s,box-shadow .2s}.post:hover{box-shadow:0 12px 28px -14px rgba(20,60,90,.45)}
.blob{animation:a-drift 18s ease-in-out infinite}.b2{animation-duration:24s;animation-direction:reverse}.b3{animation-duration:29s}
.nav-item.open .sub{animation:a-pop .18s ease-out}
.lb.open,.pdf-modal.open{animation:a-fade .2s ease-out}
.lb.open img,.pdf-modal.open .pdf-box{animation:a-pop .25s ease-out}
.cookie-bar.open{animation:a-up .45s .4s cubic-bezier(.2,.7,.2,1) backwards}
.rv{opacity:0;transform:translateY(22px);transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1)!important}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.topbar,.footer,.blob,.cookie-bar,.burger,.more,.filters{display:none!important}body,.page{background:#fff!important}}
/* Úvod: logo místo fotky (nastavení heroLogo v administraci) */
.hero:has(.hero-logo){background:#fff;box-shadow:0 6px 24px -14px rgba(20,60,90,.35);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:28px 24px 96px}
.hero:has(.hero-logo)::after{display:none}
.hero img.hero-logo{position:static;width:auto;height:auto;max-width:min(100%,440px);max-height:62%;object-fit:contain;animation:a-fade .8s ease backwards}
.hero:has(.hero-logo) .hero-text{position:static;padding:0;align-items:center;text-align:center}
.hero:has(.hero-logo) .badge{align-self:center}
.hero:has(.hero-logo) h1{color:#14232E;font-size:clamp(22px,3vw,36px)}
@media (max-width:640px){.hero:has(.hero-logo){padding:20px 16px 84px}}
