@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');
:root{--dark:#07528c;--blue:#009bd6;--yellow:#ffe560;--pale:#e6f8ff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:white;color:var(--dark);font-family:Nunito,Arial,sans-serif;overflow-x:hidden}button,a{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.wrap{width:min(100% - 110px,1180px);margin:auto}h1,h2,h3{font-family:Fredoka,'Trebuchet MS',sans-serif;letter-spacing:.1px}h2{font-size:clamp(30px,3.7vw,44px);margin:0;line-height:1.1;font-weight:650}.decor{font-family:Arial,sans-serif;font-size:.85em;font-weight:400;color:#1faedd;margin-left:12px;white-space:nowrap}.header{height:88px;width:100%;max-width:none;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:23px;background:white;position:relative;z-index:15;padding:0 max(24px,calc((100vw - 1200px)/2))}.header>*{position:relative;z-index:2}.header::after{content:'';position:absolute;left:0;right:0;bottom:-24px;height:30px;pointer-events:none;z-index:1;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%2064%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%200H1440V18C1360%2030%201288%2038%201204%2034%201094%2029%201015%209%20915%2014%20800%2020%20734%2043%20620%2043%20508%2043%20431%2018%20318%2018%20192%2018%2095%2040%200%2034Z%22%20fill%3D%22white%22%20stroke%3D%22%23ffe56c%22%20stroke-width%3D%2222%22%20stroke-linejoin%3D%22round%22%20paint-order%3D%22stroke%20fill%22%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat}.brand{text-align:center;white-space:nowrap;transform:rotate(-4deg);display:grid;line-height:1}.brand strong{font-family:Fredoka,Arial,sans-serif;color:#098dc7;font-size:clamp(31px,4.5vw,51px);font-weight:700;letter-spacing:-2px;text-shadow:1px 2px 0 #07528c}.brand small{font-size:14px;color:#095392;padding-top:4px}.logo-duck{font-size:.7em;display:inline-block;transform:rotate(10deg);text-shadow:none}.header nav{display:flex;align-items:center;gap:clamp(12px,2.2vw,33px);font-size:13px;font-weight:700}.header nav a:hover{color:#009bd6}.pill{display:inline-flex;align-items:center;justify-content:center;gap:15px;border:0;border-radius:999px;font-weight:800;white-space:nowrap}.yellow{background:var(--yellow);color:#064578}.pill.yellow:hover,.arrow.yellow:hover{background:#fff39a}.header-book{padding:11px 23px;font-size:14px}.menu{display:none}.hero{height:610px;position:relative;isolation:isolate;background:#067bb9;overflow:hidden;--hero-bg:url('assets/hero-scene.webp');--hero-pos:center 42%;--hero-size:cover}.hero-photo{position:absolute;inset:0;background-image:var(--hero-bg);background-position:var(--hero-pos);background-size:var(--hero-size);background-repeat:no-repeat;transform:scale(1.012);overflow:hidden}.water-motion{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,38,103,.73) 0%,rgba(0,72,124,.43) 27%,rgba(0,73,134,0) 55%)}.hero-content{position:relative;z-index:3;width:min(100% - 115px,1200px);margin:auto;padding-top:140px}.hero h1{font-size:clamp(64px,8vw,99px);line-height:.98;letter-spacing:-2px;font-weight:700;color:white;margin:0 0 27px;text-shadow:0 4px 9px #004a8761}.hero h1 em{font-style:normal;font-size:.58em;color:var(--yellow);letter-spacing:-1px;display:block;margin-top:4px}.hero-link{font-size:17px;padding:17px 27px}.hero-link span:last-child{margin-left:12px;font-size:21px}.wave{position:absolute;left:0;width:100%;pointer-events:none}.bottom-yellow{height:78px;bottom:0;z-index:11}.bottom-blue{height:53px;bottom:-1px;z-index:9}.bubbles{position:absolute;inset:0;z-index:7;pointer-events:none;overflow:hidden}.bubble{position:absolute;bottom:-90px;width:var(--size);height:var(--size);border-radius:50%;border:1px solid rgba(255,255,255,.65);background:radial-gradient(circle at 28% 21%,rgba(255,255,255,.93) 0 7%,rgba(255,255,255,.12) 15%,transparent 48%),radial-gradient(circle at 74% 76%,rgba(0,158,230,.28),transparent 55%);box-shadow:inset 2px 2px 8px #ffffff91,inset -4px -4px 12px #087ac479,0 1px 11px #d6f8ff7c;animation:rise var(--duration) linear infinite;animation-delay:var(--delay);pointer-events:auto;cursor:pointer}.bubble.pop{animation:none;scale:1.3;opacity:0;transition:scale .23s,opacity .23s}@keyframes rise{0%{transform:translate3d(0,0,0);opacity:0}8%{opacity:.86}85%{opacity:.85}100%{transform:translate3d(var(--drift),-590px,0);opacity:0}}.updates{background:var(--pale);padding:28px 0 26px;position:relative}.updates-layout{display:flex;gap:25px;align-items:center}.updates h2{flex-shrink:0;white-space:nowrap}.arrow{width:47px;height:47px;border:0;border-radius:50%;display:inline-grid;place-items:center;font-size:28px;font-weight:400;flex:none}.arrow.pale{background:#cbedfc;color:#07699f}.news-item{background:white;border-radius:26px;display:flex;align-items:center;gap:24px;padding:9px 14px 9px 12px;max-width:470px;min-height:90px;flex:1;margin-left:auto;box-shadow:0 5px 18px #91d0ed22}.news-item img{width:84px;height:70px;border-radius:18px;object-fit:cover}.news-item strong{font-size:17px;line-height:1.25;flex:1}.news-item .arrow{width:45px;height:45px}.courses{padding:43px 0 46px}.course-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;margin-top:28px}.course button{width:100%;border:0;background:none;color:inherit;text-align:left;padding:0}.photo-shape{display:block;width:100%;aspect-ratio:1.13;position:relative;border-radius:48% 54% 40% 46%;padding:9px;background:#c0eeff}.photo-shape.pink{background:linear-gradient(130deg,#ffc9d5 30%,#fff0a0 70%)}.photo-shape.blue{background:#bceaff}.photo-shape.lemon{background:#ffec9e}.photo-shape img{width:100%;height:100%;object-fit:cover;border-radius:45% 55% 42% 45%;display:block}.course-label{display:flex;justify-content:space-between;align-items:center;gap:4px;margin-top:14px;font-family:Fredoka,Arial,sans-serif;font-size:clamp(17px,2.1vw,24px);font-weight:600;line-height:1.05}.course-label .arrow{font-family:Nunito,Arial,sans-serif;font-size:25px;font-weight:400;width:47px;height:47px}.arrow.cyan{background:#65d2ed;color:white}.course button:hover img{filter:saturate(1.1);transform:scale(1.025)}.course img{transition:transform .25s}.about{background:#e6f8ff;position:relative;overflow:hidden}.about-layout{min-height:255px;display:grid;grid-template-columns:1fr 1.12fr;align-items:center;gap:70px;padding-top:17px;padding-bottom:18px;position:relative}.portrait-surround{height:244px;width:320px;max-width:100%;padding:10px 18px;border-radius:49% 54% 41% 40%;background:#ffe779;transform:rotate(-5deg);margin-left:38px}.portrait-surround img{height:100%;width:100%;object-fit:cover;border-radius:47% 48% 42% 46%;transform:rotate(5deg)}.about-copy{position:relative;z-index:1}.about-copy h2{margin-bottom:11px}.about-copy p{font-size:20px;line-height:1.34;color:#099bd2;margin:0 0 18px}.outline{border:1px solid #16a9dc;border-radius:30px;background:transparent;color:#07528c;padding:12px 24px;font-size:14px;font-weight:800}.outline:hover{background:white}.about-bubble{position:absolute;width:58px;height:58px;border-radius:50%;border:2px solid #82d7f5;box-shadow:inset 4px 4px 10px #fff;right:50px;top:45px}.about-bubble.two{width:28px;height:28px;right:12px;top:160px}.reservation{background:linear-gradient(120deg,#0875b6,#008bcf 48%,#04599b);position:relative;color:white;min-height:215px;overflow:hidden}.reservation-layout{min-height:195px;display:flex;align-items:center;gap:36px;position:relative;padding-bottom:20px}.reservation-title{display:flex;gap:23px;align-items:center;flex:1}.reservation h2{color:white;font-size:44px}.reservation p{margin:5px 0 0;color:white;font-size:18px;line-height:1.3}.cal-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:white;color:#009ed2;font-size:40px}.reservation .pill{padding:16px 34px;font-size:19px;position:relative;z-index:2}.rubber-duck{object-fit:contain;width:205px;max-height:145px;position:relative;z-index:1;filter:drop-shadow(0 8px 8px #0060a5)}.footer-wave{height:57px;bottom:-1px}.footer-layout{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:16px}.footer-layout a:hover{text-decoration:underline}dialog{max-width:min(460px,calc(100% - 35px));border:0;border-radius:24px;padding:32px 34px;box-shadow:0 16px 70px #003e6570;color:#07528c}dialog::backdrop{background:#00284999}dialog h2{font-size:33px;margin-bottom:12px}dialog p{line-height:1.5}.dialog-close{border:0;background:none;font-size:30px;position:absolute;right:16px;top:7px}#dialog-ok{padding:12px 23px;margin-top:14px}

@media(max-width:850px){.header{width:100%;height:82px;padding:0 18px}.header::after{bottom:-20px;height:24px}.header nav{gap:13px;font-size:12px}.header-book{padding:10px 13px}.wrap,.hero-content{width:calc(100% - 54px)}.hero{height:555px}.hero-photo{background-position:52% center;--hero-pos:52% center}.updates-layout{gap:13px}.updates h2{font-size:30px}.news-item{gap:10px}.course-grid{gap:14px}.about-layout{gap:30px}.portrait-surround{margin-left:0}.rubber-duck{width:155px}}
@media(max-width:650px){.header{gap:9px;padding:0 14px;height:78px}.header::after{bottom:-18px;height:22px}.header .brand strong{font-size:34px}.brand small{font-size:11px}.header-book{font-size:12px;padding:10px}.menu{display:block;border:0;background:none;font-size:23px;margin-left:auto;color:#07528c}.header nav{display:none;position:absolute;top:70px;left:0;right:0;background:white;padding:18px;border-radius:0 0 18px 18px;box-shadow:0 14px 26px #00558a30;flex-direction:column;align-items:flex-start;gap:15px}.header nav.open{display:flex}.wrap,.hero-content{width:calc(100% - 38px)}.hero{height:540px}.hero-photo{background-position:58% center;--hero-pos:58% center}.hero-shade{background:linear-gradient(90deg,#002e7399,transparent 92%)}.hero-content{padding-top:82px}.hero h1{font-size:clamp(55px,12vw,78px)}.hero-link{font-size:15px;padding:14px 19px}.updates{padding:24px 0}.updates-layout{flex-wrap:wrap;gap:12px}.updates h2{width:100%;font-size:32px}.updates .arrow.pale{display:none}.news-item{min-width:100%;margin:0}.courses{padding:34px 0 35px}.course-grid{grid-template-columns:repeat(2,1fr);row-gap:25px}.course-label{font-size:20px}.about-layout{display:flex;flex-direction:column;gap:15px;padding:32px 0;align-items:flex-start}.portrait-surround{width:min(100%,330px);height:235px;margin:0 auto}.about-copy p{font-size:18px}.reservation-layout{min-height:290px;align-items:flex-start;flex-direction:column;justify-content:center;gap:14px;padding-bottom:35px}.reservation-title{flex:none}.reservation h2{font-size:36px}.reservation .pill{margin-left:87px;font-size:16px}.rubber-duck{position:absolute;right:-12px;bottom:26px;width:125px;opacity:.9}.footer-layout{flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;padding:22px 0}.bubble{opacity:.5}}@media(prefers-reduced-motion:reduce){.bubble{animation:none;opacity:.5}.water-motion{display:none}html{scroll-behavior:auto}}

/* POPLAV – oprava 26. 10. 2026: korálová tlačítka a přednost žluté vlny. */
:root{--coral-start:#ff7c7c;--coral-end:#fb586d}
.pill.yellow, .header-book, #dialog-ok{background:linear-gradient(115deg,var(--coral-start),var(--coral-end));color:#fff;box-shadow:0 6px 18px rgba(239,80,105,.12)}
.pill.yellow:hover, .header-book:hover, #dialog-ok:hover{background:linear-gradient(115deg,#ff8c8b,#ff6979);color:#fff}
/* Vlny jsou před ostatními prvky HERO a žlutá má vyšší vrstvu než modrá. */
.hero .bottom-yellow{z-index:12}
.hero .bottom-blue{z-index:10}
/* Délka animace odpovídá nové výšce HERO. */
@keyframes rise{0%{transform:translate3d(0,0,0);opacity:0}8%{opacity:.86}85%{opacity:.85}100%{transform:translate3d(var(--drift),-730px,0);opacity:0}}
@media(max-width:650px){.hero-content{padding-top:96px}.hero .bottom-yellow{height:68px}.hero .bottom-blue{height:46px}}

/* Vysunuti zlute vlny do popredi: zachovan puvodni horni profil, vice zlute plochy pod nim. */
@media(min-width:851px){.hero{height:645px}}
.hero .bottom-yellow{height:110px;bottom:0;z-index:13}
.hero .bottom-blue{bottom:-30px;z-index:9}
@media(min-width:651px) and (max-width:850px){.hero{height:590px}}
@media(max-width:650px){.hero{height:570px}.hero .bottom-yellow{height:99px;bottom:0}.hero .bottom-blue{bottom:-26px}}

/* POPLAV – Aktuality: vyšší sekce, obsah svisle vystředěný.
   Horní okraj pod žlutou vlnou se nemění; následující sekce se odsune dolů. */
.updates {
  min-height: 255px;
  display: flex;
  align-items: center;
  padding: 28px 0;
}
.updates-layout {
  width: min(100% - 110px, 1180px);
  align-items: center;
}
@media (max-width: 850px) {
  .updates-layout { width: calc(100% - 54px); }
}
@media (max-width: 650px) {
  .updates { min-height: 235px; padding: 28px 0; }
  .updates-layout { width: calc(100% - 38px); }
}

/* Posun celeho obsahu pod zlutou vlnou o cca 10 % vysky vlny.
   Zacatek zlute vlny a vse nad ni zustava na puvodnim miste. */
@media (min-width:851px){.hero{height:656px}.hero .bottom-yellow{height:121px}}
@media (min-width:651px) and (max-width:850px){.hero{height:601px}.hero .bottom-yellow{height:121px}}
@media (max-width:650px){.hero{height:580px}.hero .bottom-yellow{height:109px}}


/* POPLAV – horní lišta: portrét Moniky vedle tlačítka Rezervovat */
.header-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:16px;position:relative;z-index:4}.header-book{position:relative;z-index:4}.header-portrait{display:block;position:relative;z-index:5;transform:translateY(12px)}.header-portrait-shape{display:block;width:190px;height:155px;padding:9px 13px;background:#ffe56c;border-radius:48% 54% 41% 39%;transform:rotate(-5deg);box-shadow:0 6px 16px rgba(0,96,150,.12)}.header-portrait img{display:block;width:100%;height:100%;object-fit:cover;border-radius:46% 48% 43% 45%;transform:rotate(5deg)}

@media (min-width:651px){
  .header{display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(260px,1fr);column-gap:20px;padding-left:clamp(24px,4vw,70px);padding-right:clamp(24px,4vw,70px);overflow:visible}
  .header .brand{justify-self:start}
  .header nav{justify-self:center}
  .header .header-actions{justify-self:end}
  .header-book{margin-right:4px;align-self:center}
  .header-portrait{margin-right:-4px;margin-bottom:-64px}
}

@media (min-width:651px) and (max-width:1020px){
  .header-actions{gap:12px}
  .header-portrait-shape{width:126px;height:98px}
  .header-book{padding:11px 19px;font-size:13px}
}

@media (max-width:650px){
  .header-actions{display:flex;align-items:center;justify-self:end;gap:0}
  .header-portrait{display:none}
  .header-book{font-size:12px;padding:10px}
}

/* Nové obrázkové logo POPLAV – původní textové logo nahrazeno kačenkou */
.header .brand-image{display:flex;align-items:center;justify-content:center;transform:none;line-height:normal;align-self:center;z-index:5}
.header .brand-image img{display:block;width:210px;height:200px;object-fit:contain;max-width:none;transform:translateY(7px)}
@media(max-width:850px){.header .brand-image img{width:92px;height:86px;transform:translateY(6px)}}
@media(max-width:650px){.header .brand-image img{width:72px;height:68px;transform:translateY(2px)}}

/* OPRAVA: velké logo je mimo rozměrový tok headeru. Výška lišty zůstává 88 px. */
@media (min-width: 651px) {
  .header { height:88px; grid-template-columns:minmax(160px,1fr) auto minmax(260px,1fr); align-items:center; }
  .header .brand-image {
    position:absolute;
    top: -35px;
    left: 5px;
    width:210px;
    height:200px;
    display:block;
    z-index:20;
    transform:none;
  }
  .header .brand-image img {
    width:240px;
    height:240px;
    transform:translateY(7px);
  }
  .header nav {grid-column:2; grid-row:1; align-self:center; justify-self:center;}
  .header .header-actions {grid-column:3; grid-row:1; align-self:center; justify-self:end;}
}
@media (min-width:651px) and (max-width:850px) {
  .header .brand-image {left:18px;width:92px;height:86px;}
  .header .brand-image img {width:92px;height:86px;transform:translateY(6px);}
}
@media (max-width:650px) {
  .header .brand-image {position:relative;top:auto;left:auto;flex:0 0 72px;width:72px;height:68px;align-self:center;}
  .header .brand-image img {width:72px;height:68px;transform:translateY(2px);}
}

.header .header-book {
    transform: translate(15px, 0px);
}

/* HERO – hlavní nadpis */
.hero h1 {
    letter-spacing: 2px;
    margin-bottom: 45px;
}

/* HERO – žlutý podnadpis */
.hero h1 em {
    letter-spacing: 2px;
}

/* HERO – posunutí celého obsahu doleva */
.hero-content {
    transform: translateX(-25px);
}
/* POPLAV – Aktuality: zvlnění obou hran, větší odstup od žluté HERO vlny.
   Tato úprava zasahuje pouze do sekce Aktuality a posouvá následující obsah přirozeným tokem stránky. */
.updates {
  position: relative;
  isolation: isolate;
  min-height: 450px;
  padding: 90px 0 46px;
  margin-bottom: 32px;
  background: #e6f8ff;
  overflow: visible;
}
.updates-layout {
  position: relative;
  z-index: 2;
  align-items: center;
}
/* Žlutá plocha vytvoří měkký přechod z HERO do světle modrých Aktualit.
   Hranice je skutečná plynulá Bézierova křivka (nikoli polygon se zlomy). */
.updates::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 65px;
  pointer-events: none;
  background: #ffe56c;
  clip-path: polygon(0 0,100% 0,100% 7%,96% 13%,92% 23%,88% 34%,84% 44%,80% 48%,76% 44%,72% 34%,68% 23%,64% 13%,60% 9%,56% 15%,52% 26%,48% 37%,44% 44%,40% 45%,36% 38%,32% 28%,28% 19%,24% 14%,20% 18%,16% 30%,12% 42%,8% 47%,4% 38%,0 22%);
}
/* Světle modré tělo plynule přesahuje do následující bílé sekce. */
.updates::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: 65px;
  pointer-events: none;
  background: #e6f8ff;
  clip-path: polygon(0 0,100% 0,100% 56%,96% 49%,92% 40%,88% 32%,84% 28%,80% 30%,76% 41%,72% 51%,68% 63%,64% 69%,60% 64%,56% 52%,52% 42%,48% 35%,44% 37%,40% 47%,36% 61%,32% 70%,28% 67%,24% 57%,20% 46%,16% 36%,12% 34%,8% 42%,4% 53%,0 62%);
}
@media (max-width:650px) {
  .updates {min-height: 285px; padding: 72px 0 42px; margin-bottom: 26px;}
  .updates::before {height: 25px;}
  .updates::after {height: 26px;}
}


/* ===== POPLAV / AKTUALITY V2: obsah nad kartami, čtyři karty + obrázek napravo ===== */
.updates{display:block;min-height:510px;padding:112px 0 65px;margin-bottom:68px}
.updates[hidden],.news-status[hidden],.news-nav[hidden]{display:none!important}
.updates-inner{position:relative;z-index:2}
.updates-inner h2{margin:0 0 34px;text-align:left;white-space:normal}
.updates-content{display:grid;grid-template-columns:minmax(0,1fr) 148px;align-items:center;gap:24px}
.updates-carousel{min-width:0}
.news-track{--per-view:4;--gap:13px;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--per-view) - 1)*var(--gap))/var(--per-view));gap:var(--gap);width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-padding:1px;overscroll-behavior-x:contain;padding:4px 1px 14px}
.news-track::-webkit-scrollbar{display:none}
.news-card-shell{min-width:0;max-width:480px;min-height:244px;padding:5px;background:linear-gradient(130deg,#ffe679 0%,#ffe679 22%,#bceaff 75%,#84d7f4 100%);border-radius:32px 25px 34px 26px;scroll-snap-align:start;box-shadow:0 9px 20px rgba(7,82,140,.08)}
.news-card-shell:nth-child(2n){border-radius:25px 34px 28px 36px;background:linear-gradient(145deg,#a5e6fc,#ffeb91)}
.news-card-shell:nth-child(3n){border-radius:36px 24px 35px 30px;background:linear-gradient(130deg,#ffd5dd,#ffec99 70%)}
.news-card{width:100%;height:100%;min-height:234px;padding:17px 13px 15px;background:#fff;border:0;border-radius:27px 21px 29px 22px;text-align:left;display:flex;flex-direction:column;align-items:stretch;color:#07528c;transition:transform .2s,box-shadow .2s;cursor:pointer}
.news-card:hover{transform:translateY(-3px);box-shadow:0 7px 18px #1578ac1b}
.news-card:focus-visible,.news-control:focus-visible{outline:3px solid #007db5;outline-offset:3px}
.news-meta{display:flex;gap:5px;justify-content:space-between;align-items:flex-start;min-height:23px;flex-wrap:wrap}
.news-date{color:#218fc4;font-size:10px;font-weight:800;line-height:1.2}
.news-pinned{font-size:10px;color:#ad4e45;background:#ffe7d8;padding:2px 6px;border-radius:999px;font-weight:800}
.news-title{font-family:Fredoka,'Trebuchet MS',sans-serif;font-size:clamp(14px,1.4vw,19px);line-height:1.16;font-weight:600;margin-top:10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.news-excerpt{font-size:12.3px;line-height:1.46;color:#327da1;margin:10px 0 13px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line}
.news-thumb{width:100%;height:61px;object-fit:cover;border-radius:15px;margin:7px 0 2px}
.news-thumb+.news-title{margin-top:7px}
.news-thumb~.news-excerpt{-webkit-line-clamp:2}
.news-card-bottom{margin-top:auto;padding-top:5px;display:flex;align-items:center;justify-content:space-between;gap:4px}
.news-read{font-size:11px;font-weight:800;color:#1293c7}
.news-read-arrow{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#ffe56c;font-size:19px;color:#07528c}
.news-nav{min-height:43px;margin-top:9px;display:flex;align-items:center;justify-content:center;gap:15px}
.news-control{background:#fff;border:2px solid #b4e5f7;border-radius:50%;height:36px;width:36px;color:#07528c;font-size:27px;line-height:1;cursor:pointer}
.news-control:disabled{opacity:.35;cursor:default}
#news-count{font-size:12px;color:#1675a5;font-weight:800;min-width:88px;text-align:center}
.news-status{font-size:15px;color:#07528c;margin:0;min-height:90px;display:flex;align-items:center}
.updates-mascot{align-self:center;position:relative;min-width:0;pointer-events:none}
.mascot-halo{width:148px;height:165px;border-radius:51% 48% 45% 55%;background:#ffeb9a;display:grid;place-items:center;transform:rotate(-8deg)}
.mascot-halo img{width:134px;max-height:146px;object-fit:contain;transform:rotate(8deg);filter:drop-shadow(0 9px 9px #146e9233)}
.mascot-bubble{position:absolute;border:2px solid #8cdbf5;border-radius:50%;box-shadow:inset 2px 2px 7px #fff9}
.mascot-bubble.bubble-one{width:27px;height:27px;right:1px;top:-20px}
.mascot-bubble.bubble-two{width:16px;height:16px;left:3px;bottom:-15px}
.footer-admin{font-size:13px;color:#6188a1;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.dialog-image{display:block;width:min(100%,360px);max-height:260px;object-fit:cover;border-radius:16px;margin:14px 0 0}
.dialog-image[hidden]{display:none}
#dialog-description{white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:700px) and (max-width:1099px){
 .updates-content{grid-template-columns:minmax(0,1fr) 140px;gap:20px}
 .news-track{--per-view:2;--gap:16px}
 .news-title{font-size:19px}
 .mascot-halo{width:138px;height:155px}.mascot-halo img{width:125px}
}
@media(max-width:699px){
 .updates{min-height:unset;padding:77px 0 43px;margin-bottom:37px}
 .updates-inner h2{font-size:clamp(31px,7vw,40px);margin-bottom:22px}
 .updates::before{height:40px}
 .updates::after{height:36px}
 .updates-content{display:block;position:relative}
 .updates-carousel{width:calc(100% - 80px);min-width:0}
 .news-track{--per-view:1;--gap:12px;padding-bottom:9px}
 .news-card-shell{min-height:210px}
 .news-card{min-height:200px}
 .news-title{font-size:18px}
 .updates-mascot{position:absolute;right:-12px;top:15px;width:86px}
 .mascot-halo{width:90px;height:105px}.mascot-halo img{width:89px;max-height:96px}
 .mascot-bubble.bubble-one{right:0;top:-10px;width:16px;height:16px}
 .mascot-bubble.bubble-two{display:none}
 .news-nav{margin-top:7px}
 .footer-admin{margin-top:6px}
}
@media(max-width:370px){.updates-carousel{width:calc(100% - 68px)}.updates-mascot{right:-15px;top:28px}.mascot-halo{width:75px;height:85px}.mascot-halo img{width:75px}}
@media(prefers-reduced-motion:reduce){.news-card{transition:none}}


/* POPLAV / AKTUALITY: animovaný Ťupík – náhrada pouze pravého obrázku. */
.mascot-halo{position:relative;overflow:visible}
.mascot-halo .mascot-video,
.mascot-halo .mascot-video-fallback,
.mascot-halo .mascot-video-still{
  position:absolute;
  width:330px;
  height:330px;
  max-width:none;
  max-height:none;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) rotate(8deg);
  object-fit:contain;
  /* Průhledné VP9 video – žádný bílý čtverec za kačenkou. */
  pointer-events:none;
}
.mascot-halo .mascot-video-fallback,
.mascot-halo .mascot-video-still{display:none}
.mascot-halo.mascot-video-error .mascot-video{display:none}
.mascot-halo.mascot-video-error .mascot-video-fallback{display:block}
@media(min-width:700px) and (max-width:1099px){
  .mascot-halo .mascot-video,.mascot-halo .mascot-video-fallback,.mascot-halo .mascot-video-still{width:305px;height:305px}
}
@media(max-width:699px){
  .mascot-halo .mascot-video,.mascot-halo .mascot-video-fallback,.mascot-halo .mascot-video-still{width:205px;height:205px}
}
@media(max-width:370px){
  .mascot-halo .mascot-video,.mascot-halo .mascot-video-fallback,.mascot-halo .mascot-video-still{width:180px;height:180px}
}
@media(prefers-reduced-motion:reduce){
  .mascot-halo:not(.mascot-video-error) .mascot-video{display:none}
  .mascot-halo .mascot-video-fallback{display:none}
  .mascot-halo .mascot-video-still{display:block}
}
