/* Doplňky ke stránkám převzatým z wsu.cz */

/* Pás log klientů (místo Pro Gallery): pevná výška jako originál (72 px, mobil 51 px), mezera 32 px,
   nekonečný posun; loga černobílá, při najetí barevná, pás se nezastavuje */
#comp-mljtfn6f { overflow: hidden; }
.wsu-marquee { height: 72px; overflow: hidden; }
.wsu-marquee__track { display: flex; align-items: center; gap: 32px; height: 72px; width: max-content; animation: wsu-marquee 60s linear infinite; }
.wsu-marquee__track img { display: block; height: 72px !important; width: calc(72px * var(--r, 2)) !important; max-width: none; flex: 0 0 auto; object-fit: contain;
  filter: grayscale(1); opacity: .85; transition: filter .3s ease, opacity .3s ease; }
.wsu-marquee__track img:hover { filter: none; opacity: 1; }
@media (max-width: 750px) { .wsu-marquee, .wsu-marquee__track, .wsu-marquee__track img { height: 51px !important; } .wsu-marquee__track img { width: calc(51px * var(--r, 2)) !important; } }
@keyframes wsu-marquee { to { transform: translateX(calc(-50% - 16px)); } }
@media (prefers-reduced-motion: reduce) { .wsu-marquee__track { animation: none; } }

/* Slider týmu (místo Pro Gallery): karty 285×380, mezera 32, zaoblení 20, šipka vpravo */
#comp-mljrh61k { position: relative; }
.wsu-team { position: relative; height: 100%; }
.wsu-team__list { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; }
.wsu-team__list::-webkit-scrollbar { display: none; }
.wsu-team__item { flex: 0 0 285px; height: 380px; scroll-snap-align: start; }
.wsu-team__card { position: relative; display: block; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; }
.wsu-team__card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); transition: filter .4s ease; }
.wsu-team__card:hover img, .wsu-team__card:focus-visible img { filter: none; }
.wsu-team__card:focus-visible { outline: 2px solid #ee9d6b; outline-offset: 2px; }
.wsu-team__text { position: absolute; left: 12px; right: 12px; top: 296px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.wsu-team__name { font: 400 20px/25px playfair-display-v2, 'Playfair Display', serif; }
.wsu-team__role { font: 400 12px/16px roboto, Roboto, sans-serif; }
.wsu-team__arrow { position: absolute; top: 165px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: #000; display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.25); padding: 0; }
.wsu-team__arrow svg { width: 13px; height: 21px; }
.wsu-team__arrow--next { right: 23px; }
.wsu-team__arrow--prev { left: 23px; }
.wsu-team__arrow[hidden] { display: none; }

/* Popupy převzaté z originálu */
[id^="POPUPS_ROOT_"] { position: fixed; inset: 0; z-index: 10000; }
[id^="POPUPS_ROOT_"][hidden] { display: none; }

/* Hlášení formuláře */
.wsu-form-msg { margin: 12px 0 0; font: 400 15px/1.4 roboto, Roboto, sans-serif; color: #fff; }
.wsu-form-msg[data-state="error"] { color: #ffb4a2; }
.wsu-form-msg[data-state="ok"] { color: #b9f2c4; }

/* Seznamy článků blogu (místo Pro Gallery) */
.wsu-posts { display: grid; gap: 32px; width: 100%; }
.wsu-posts--feed, .wsu-posts--list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .wsu-posts--feed, .wsu-posts--list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 750px) { .wsu-posts--feed, .wsu-posts--list { grid-template-columns: 1fr; } }
.wsu-post { position: relative; background: #fff; color: #000; display: flex; flex-direction: column; overflow: hidden; }
.wsu-post--feed { border: 1px solid rgba(240, 240, 240, .75); height: 540px; }
.wsu-post--list { border: 1px solid rgba(0, 0, 0, .2); height: 496px; }
.wsu-post__link { position: absolute; inset: 0; z-index: 1; }
.wsu-post__link:focus-visible { outline: 2px solid #ee9d6b; outline-offset: -2px; }
.wsu-post__media { position: relative; display: block; overflow: hidden; background: #eee; }
.wsu-post--feed .wsu-post__media { aspect-ratio: 349 / 262; }
.wsu-post--list .wsu-post__media { aspect-ratio: 16 / 9; }
.wsu-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.wsu-post:hover .wsu-post__media img { transform: scale(1.03); }
.wsu-post__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(0, 0, 0, .55); display: grid; place-items: center; }
.wsu-post__play svg { width: 26px; height: 26px; fill: #fff; }
.wsu-post__body { padding: 24px 24px 0; display: flex; flex-direction: column; min-height: 0; }
.wsu-post__meta { font: 400 12px/14px roboto, Roboto, sans-serif; }
.wsu-post__title { margin: 0; font-family: playfair-display-v2, 'Playfair Display', serif; font-weight: 400; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.wsu-post__excerpt { font: 400 16px/24px roboto, Roboto, sans-serif; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.wsu-post--feed .wsu-post__body { text-align: center; align-items: center; padding-top: 27px; }
.wsu-post--feed .wsu-post__title { font-size: 22px; line-height: 30.8px; -webkit-line-clamp: 2; margin-top: 33px; }
.wsu-post--feed .wsu-post__excerpt { margin-top: 10px; }
.wsu-post--list .wsu-post__body { padding-top: 36px; }
.wsu-post--list .wsu-post__title { font-size: 21px; line-height: 29.4px; -webkit-line-clamp: 2; margin-top: 23px; }
.wsu-post--list .wsu-post__excerpt { margin-top: 11px; }
.wsu-posts--side { display: block; }
.wsu-post--side { flex-direction: row; gap: 11px; padding: 14px; height: 225px; border: 1px solid rgba(240, 240, 240, .75); box-sizing: border-box; max-width: 576px; }
.wsu-post--side .wsu-post__media { flex: 0 0 200px; height: 200px; }
.wsu-post--side .wsu-post__body { padding: 0; gap: 12px; }
.wsu-post--side .wsu-post__title { font-size: 20px; line-height: 25px; -webkit-line-clamp: 3; }
.wsu-post--side .wsu-post__title a { color: inherit; text-decoration: none; }
.wsu-post--side .wsu-post__cat { font: 400 14px/19.6px roboto, Roboto, sans-serif; color: #ee9d6b; text-decoration: none; }
@media (max-width: 750px) { .wsu-post--side { height: auto; } .wsu-post--side .wsu-post__media { flex-basis: 120px; height: 120px; } }

/* Nový článek bez převzaté stránky */
.wsu-figure { margin: 24px 0; }
.wsu-figure img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.wsu-figure figcaption { font: 400 14px/1.4 roboto, Roboto, sans-serif; text-align: center; margin-top: 8px; }
.wsu-video { position: relative; aspect-ratio: 16 / 9; margin: 24px 0; }
.wsu-video iframe, .wsu-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wsu-hr { border: 0; border-top: 1px solid rgba(0, 0, 0, .2); margin: 24px 0; }
.wsu-table table { border-collapse: collapse; width: 100%; }
.wsu-table td { border: 1px solid rgba(0, 0, 0, .2); padding: 8px; vertical-align: top; }

/* Stránka 404 */
/* Stránka 404: cesta rozvoje, která končí slepou uličkou */
.wsu-404 { pointer-events: auto; --o: #ee9d6b; --c: #d6d5f4; position: relative; overflow: hidden; padding: 170px 20px 90px; color: #fff; background: radial-gradient(900px 500px at 85% 20%, #2c3463 0%, transparent 70%), #1f2544; font: 400 18px/1.6 roboto, Roboto, Helvetica, Arial, sans-serif; }
.wsu-404__in { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.wsu-404__eyebrow { display: inline-block; margin: 0 0 18px; padding-bottom: 6px; border-bottom: 2px solid var(--o); color: var(--o); font: 500 20px/1.2 roboto, Roboto, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.wsu-404 h1 { margin: 0 0 20px; font: 400 clamp(38px, 5vw, 60px)/1.1 playfair-display-v2, 'Playfair Display', serif; color: #fff; }
.wsu-404__lead { margin: 0 0 22px; max-width: 34em; color: #e6e6f5; }
.wsu-404__lead span { color: var(--o); font-weight: 700; }
.wsu-404__hint { margin: 0 0 26px; padding: 14px 18px; border-left: 3px solid var(--o); background: rgba(255, 255, 255, .06); border-radius: 0 12px 12px 0; }
.wsu-404__hint a { color: var(--o); font-weight: 700; }
.wsu-404__cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.wsu-404__btn { display: inline-block; padding: 12px 32px; border-radius: 999px; border: 2px solid var(--o); background: var(--o); color: #fff; font: 600 17px/1.2 roboto, Roboto, sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.wsu-404__btn:hover { transform: translateY(-2px); background: #f3b48d; border-color: #f3b48d; }
.wsu-404__btn--ghost { background: transparent; color: var(--o); }
.wsu-404__btn--ghost:hover { background: var(--o); color: #fff; border-color: var(--o); }
.wsu-404__btn:focus-visible, .wsu-404__go a:focus-visible, .wsu-404__hint a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wsu-404__art { width: 100%; height: auto; overflow: visible; }
.wsu-404__road { fill: none; stroke: rgba(214, 213, 244, .35); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.wsu-404__walk { fill: none; stroke: var(--o); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: wsu404walk 3.2s cubic-bezier(.4, 0, .2, 1) .3s forwards; }
.wsu-404__stops circle { fill: #1f2544; stroke: var(--c); stroke-width: 3; }
.wsu-404__labels text { fill: var(--c); font: 500 14px roboto, Roboto, sans-serif; text-anchor: middle; letter-spacing: .03em; }
.wsu-404__sign rect { fill: var(--o); }
.wsu-404__sign rect:first-child { fill: #7a361c; }
.wsu-404__sign text { fill: #fff; font: 700 28px playfair-display-v2, 'Playfair Display', serif; text-anchor: middle; dominant-baseline: middle; }
.wsu-404__sign { transform-origin: 276px 60px; animation: wsu404sign 3.5s ease-in-out 3.4s infinite; }
.wsu-404__q text { fill: rgba(238, 157, 107, .55); font: 400 46px playfair-display-v2, 'Playfair Display', serif; animation: wsu404float 4s ease-in-out infinite; }
.wsu-404__q text + text { animation-delay: 1.6s; font-size: 32px; }
@keyframes wsu404walk { to { stroke-dashoffset: 0; } }
@keyframes wsu404sign { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
@keyframes wsu404float { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-8px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wsu-404__walk { animation: none; stroke-dashoffset: 0; } .wsu-404__sign, .wsu-404__q text { animation: none; } }
.wsu-404__go { max-width: 1140px; margin: 70px auto 0; }
.wsu-404__go h2 { margin: 0 0 22px; font: 400 32px/1.2 playfair-display-v2, 'Playfair Display', serif; color: #fff; }
.wsu-404__go ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wsu-404__go a { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 20px 22px; border-radius: 24px; background: var(--c); color: #1f1f2e; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.wsu-404__go a:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.wsu-404__go strong { font: 700 18px/1.25 roboto, Roboto, sans-serif; color: #7a361c; }
.wsu-404__go strong::after { content: ' →'; color: var(--o); }
.wsu-404__go span { font-size: 15px; line-height: 1.4; }
@media (max-width: 1000px) { .wsu-404 { padding-top: 130px; } .wsu-404__in { grid-template-columns: 1fr; } .wsu-404__art { max-width: 460px; margin: 0 auto; order: -1; } .wsu-404__go ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 750px) { .wsu-404 { padding: 110px 16px 60px; font-size: 17px; } .wsu-404__art { max-width: 320px; } .wsu-404__go { margin-top: 50px; } .wsu-404__go ul { gap: 12px; } .wsu-404__go a { padding: 16px; border-radius: 18px; } .wsu-404__btn { flex: 1 1 100%; text-align: center; } }
@media (max-width: 420px) { .wsu-404__go ul { grid-template-columns: 1fr; } }

/* Hamburger nad všemi prvky stránky */
[data-part="hamburger-overlay"] { z-index: 100000 !important; }

/* Popupy: rozměry kontejneru, které na originálu nastavuje skript Wixu, a ztmavení pozadí */
[id^="POPUPS_ROOT_"] { background: rgba(31, 37, 68, .9); }
[id^="POPUPS_ROOT_"] #popups-wrapper { position: absolute; top: 0; left: 0; right: 0; min-height: 100%; }
[id^="POPUPS_ROOT_"] #popups-wrapper > div { min-height: 100%; height: auto !important; }
[id^="POPUPS_ROOT_"] #popups-wrapper > div > [class*="-overflow-wrapper"] { position: relative !important; min-height: 100%; height: auto !important; }

/* Skrytý text pro čtečky obrazovky (např. doplněný nadpis H1) */
.wsu-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Blog na mobilu: karta podle obsahu, bez prázdného místa */
@media (max-width: 750px) {
  .wsu-post--feed, .wsu-post--list { height: auto; padding-bottom: 24px; }
  .wsu-post--feed .wsu-post__title, .wsu-post--list .wsu-post__title { margin-top: 14px; }
}

/* Odkaz „Přeskočit na obsah“ – viditelný jen při ovládání klávesnicí */
.wsu-skip { position: fixed; left: 12px; top: -60px; z-index: 100001; padding: 10px 18px; border-radius: 999px; background: #fff; color: #1f2544; font: 600 15px/1.2 roboto, Roboto, sans-serif; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.3); transition: top .15s; }
.wsu-skip:focus { top: 12px; outline: 2px solid #ee9d6b; outline-offset: 2px; }
main[tabindex="-1"]:focus { outline: none; }

/* Viditelný fokus u odkazů a tlačítek převzatých z Wixu (Wix ho skriptem skrývá jen při ovládání myší) */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, summary:focus-visible { outline: 2px solid #ee9d6b !important; outline-offset: 2px; }

/* Podnabídka otevřená z klávesnice (Wix ji zobrazuje jen při najetí myší) */
.NxO5nt[data-open="true"] .rpHatU[data-anchor=menuItem],
.NxO5nt[data-open="true"] .rpHatU[data-anchor=menuCustomWidth] { visibility: visible; display: grid !important; }
.NxO5nt[data-open="true"] .rpHatU[data-anchor=menuItem] *,
.NxO5nt[data-open="true"] .rpHatU[data-anchor=menuCustomWidth] * { visibility: visible; }

/* Kontaktní formulář v popupu: barvy a rozměry, které Wix Forms doplňuje skriptem (podle originálu) */
#POPUPS_ROOT_kontakt form {
  --wix-forms-formParagraphColor: 255, 255, 255;
  --wix-forms-formLinkColor: 238, 157, 107;
  --wix-forms-formInputErrorColor: 255, 180, 162;
}
#POPUPS_ROOT_kontakt [data-hook="ricos-viewer"] h1, #POPUPS_ROOT_kontakt [data-hook="ricos-viewer"] h2, #POPUPS_ROOT_kontakt [data-hook="ricos-viewer"] h3 {
  font-family: playfair-display-v2, 'Playfair Display', serif !important; font-weight: 400 !important; font-size: 32px !important; line-height: 1.3 !important; color: #fff !important; text-align: center;
}
#POPUPS_ROOT_kontakt [data-hook="ricos-viewer"] p, #POPUPS_ROOT_kontakt [data-hook="ricos-viewer"] span { color: #fff; }
#POPUPS_ROOT_kontakt textarea { width: 100% !important; min-height: 120px; resize: vertical; }
#POPUPS_ROOT_kontakt [data-hook="form-field-vase_zprava"], #POPUPS_ROOT_kontakt [data-hook="form-field-vase_zprava"] > * { width: 100%; }
#POPUPS_ROOT_kontakt [data-hook="submit-button"]:disabled { opacity: .6; cursor: progress; }
/* Popup vyšší než okno se posouvá sám (stránka pod ním je zamčená) */
[id^="POPUPS_ROOT_"] { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* Na mobilu kontaktní formulář přes celou obrazovku na plném pozadí (lepší čitelnost polí) */
@media (max-width: 750px) { #POPUPS_ROOT_kontakt { background: #1f2544; } }

/* Zavírací křížek popupů bílý (na tmavém pozadí) */
[id^="POPUPS_ROOT_"] .wixui-lightbox__close-button svg { fill: #fff !important; color: #fff; }
[id^="POPUPS_ROOT_"] .wixui-lightbox__close-button [role="button"] { cursor: pointer; }
[id^="POPUPS_ROOT_"] .wixui-lightbox__close-button [role="button"]:focus { outline: none; }
[id^="POPUPS_ROOT_"] .wixui-lightbox__close-button [role="button"]:focus-visible { outline: 2px solid #ee9d6b; outline-offset: 4px; border-radius: 4px; }
/* pole formuláře: zvýraznění jen při ovládání klávesnicí, při kliknutí jemné */
#POPUPS_ROOT_kontakt input:focus, #POPUPS_ROOT_kontakt textarea:focus { outline: none; }

@keyframes wsu-fade { from { opacity: 0; } }

/* AI HUB: ukázky se prolínají */
.ah-fade { display: grid; }
.ah-fade > img { grid-area: 1 / 1; opacity: 0; transition: opacity .9s ease; justify-self: center; cursor: pointer; }
.ah-fade > img.is-active { opacity: 1; position: relative; z-index: 1; }
.ah-fade > .ah-dots { grid-area: 2 / 1; }
.ah-dots button { width: 14px; height: 14px; transition: background .2s, transform .2s; }
.ah-dots button:hover { transform: scale(1.2); }

/* Podnabídka menu: bez posouvací animace Wixu (ta pod kurzorem způsobovala blikání), jen jemné prolnutí */
header .rpHatU { animation: none !important; }
header .NxO5nt[data-open="true"] .rpHatU[data-anchor=menuItem] > div { animation: wsu-drop .18s ease both; transform: none !important; }
@keyframes wsu-drop { from { opacity: 0; } to { opacity: 1; } }
/* vnořená podnabídka (Psychodiagnostika → Lumina …) stejně v obou variantách hlavičky */
header .SjbYta { background: rgb(17, 18, 44); padding: 6px 0; }
header .SjbYta a.B2qCAf, header .SjbYta a.B2qCAf * { font: 700 16px/1.25 roboto, Roboto, sans-serif !important; color: #fff !important; }
header .SjbYta a.B2qCAf { padding: 4px 0 !important; display: block; text-align: center; }
header .SjbYta a.B2qCAf:hover, header .SjbYta a.B2qCAf:hover * { color: #ee9d6b !important; }

/* Lišta po odrolování: tmavé pozadí, aby menu šlo přečíst i nad bílými sekcemi */
header { transition: background-color .3s ease, box-shadow .3s ease; }
header.wsu-scrolled { background-color: rgba(31, 37, 68, .94) !important; box-shadow: 0 2px 18px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Případové studie: menší mezera mezi poslední studií a patičkou */
#comp-mnenzab1 > [data-testid="responsive-container-content"] { padding-bottom: 12px !important; }

/* Zvětšený obrázek */
.wsu-lightbox { position: fixed; inset: 0; z-index: 100003; background: rgba(17, 18, 44, .94); display: grid; place-items: center; padding: 56px 16px 24px; cursor: zoom-out; animation: wsu-fade .2s ease; }
.wsu-lightbox:focus { outline: none; }
.wsu-lightbox__fig { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; cursor: default; }
.wsu-lightbox__fig img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; }
.wsu-lightbox__fig figcaption { color: #fff; font: 400 15px/1.4 roboto, Roboto, sans-serif; text-align: center; }
.wsu-lightbox__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; padding: 6px; border: 0; background: none; color: #fff; cursor: pointer; }
.wsu-lightbox__close svg { width: 100%; height: 100%; }
.wsu-lightbox__close:focus { outline: none; }
.wsu-lightbox__close:focus-visible { outline: 2px solid #ee9d6b; }

/* Lumina: certifikovaní kouči – jméno pod fotkou, hover jako na AI HUB */
.wsu-coach { overflow: visible !important; }
.wsu-coach a { position: relative; display: block; overflow: visible !important; transition: transform .25s ease; }
.wsu-coach__name { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; color: #fff; font: 600 16px/1.3 roboto, Roboto, sans-serif; text-align: center; transition: color .2s; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .wsu-coach a:hover { transform: translateY(-4px); }
  .wsu-coach a:hover .wsu-coach__name { color: #ee9d6b; text-decoration: underline; }
}
@media (max-width: 750px) { .wsu-coach__name { font-size: 14px; top: calc(100% + 8px); } }
/* víc místa pod sekcí s kouči (jména + odsazení od pásu pod ní) */
section.wsu-coaches { padding-bottom: 64px !important; }
@media (max-width: 750px) { section.wsu-coaches { padding-bottom: 40px !important; } }

/* ---------- Menu na desktopu (vlastní, nahrazuje menu Wixu – viz menus() v site.js) ---------- */
.wsu-nav { display: flex; align-items: center; justify-content: flex-end; width: 100%; height: 100%; pointer-events: auto; }
.wsu-nav__list { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.wsu-nav__item { position: relative; display: flex; align-items: center; height: 42px; }
.wsu-nav__link, .wsu-nav__caret {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; height: 100%;
  font: 700 18px/1 roboto, Roboto, Helvetica, Arial, sans-serif; color: #fff; text-decoration: none; white-space: nowrap;
  background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
  transition: color .2s, text-decoration-color .2s;
}
.wsu-nav__item--sub > .wsu-nav__link:not(.wsu-nav__toggle) { padding-right: 0; }
.wsu-nav__caret { padding: 0 10px 0 6px; }
.wsu-nav__chev { width: 12px; height: 8px; flex: none; transition: transform .2s; }
.wsu-nav__link:hover, .wsu-nav__link[aria-current="page"], .wsu-nav__link.is-current,
.wsu-nav__item--sub:hover > .wsu-nav__link, .wsu-nav__item--sub.is-open > .wsu-nav__link,
.wsu-nav__item--sub:hover > .wsu-nav__caret, .wsu-nav__item--sub.is-open > .wsu-nav__caret { color: #ee9d6b; text-decoration-color: currentColor; }
.wsu-nav__caret { text-decoration: none; }
.wsu-nav__item--sub:hover .wsu-nav__chev, .wsu-nav__item--sub.is-open .wsu-nav__chev { transform: rotate(180deg); }

/* panel: vycentrovaný pod položkou, horní odsazení je „můstek“, aby se při přejezdu myší nezavřel */
.wsu-nav__panel {
  position: absolute; top: 100%; left: 50%; z-index: 60; padding-top: 12px;
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease .12s, transform .18s ease .12s, visibility 0s linear .3s;
}
.wsu-nav__item--sub:hover > .wsu-nav__panel, .wsu-nav__item--sub.is-open > .wsu-nav__panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.wsu-nav__box {
  min-width: 220px; padding: 10px 0; background: #1f2544; border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px; box-shadow: 0 18px 40px rgba(6, 8, 24, .45);
}
.wsu-nav__sub, .wsu-nav__nested { list-style: none; margin: 0; padding: 0; }
.wsu-nav__sublink {
  display: block; padding: 8px 26px; text-align: center; white-space: nowrap;
  font: 700 18px/1.3 roboto, Roboto, Helvetica, Arial, sans-serif; color: #fff; text-decoration: none; transition: color .15s, background-color .15s;
}
.wsu-nav__sublink:hover, .wsu-nav__sublink[aria-current="page"] { color: #ee9d6b; }
.wsu-nav__sublink:hover { background: rgba(255, 255, 255, .04); }
.wsu-nav__nested { margin: 2px 18px 4px; padding: 4px 0; border-top: 1px solid rgba(238, 157, 107, .35); }
.wsu-nav__sublink--nested { padding: 5px 8px; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .88); }
.wsu-nav :focus-visible { outline: 2px solid #ee9d6b; outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .wsu-nav__panel, .wsu-nav__chev { transition: none !important; } }
@media screen and (max-width: 1000px) { .wsu-nav { display: none !important; } }

/* Souhlas s cookies (vlastní lišta, GA4 se načte až po souhlasu) */
.wsu-consent { position: fixed; left: 24px; bottom: 24px; z-index: 900; max-width: 440px; padding: 20px 22px; border-radius: 14px;
  background: #1f2544; color: #fff; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 40px rgba(6, 8, 24, .5);
  font: 400 15px/1.5 roboto, Roboto, Helvetica, Arial, sans-serif; pointer-events: auto; animation: wsu-consent-in .35s ease both; }
.wsu-consent p { margin: 0 0 14px; }
.wsu-consent a { color: #ee9d6b; }
.wsu-consent__btns { display: flex; gap: 10px; }
.wsu-consent__btns button { flex: 1; padding: 10px 16px; border-radius: 999px; border: 2px solid #ee9d6b; font: 600 15px/1.2 roboto, Roboto, sans-serif; cursor: pointer; transition: background-color .2s, color .2s; }
.wsu-consent__btns [data-c="no"] { background: transparent; color: #fff; }
.wsu-consent__btns [data-c="no"]:hover { background: rgba(238, 157, 107, .15); }
.wsu-consent__btns [data-c="yes"] { background: #ee9d6b; color: #1f2544; }
.wsu-consent__btns [data-c="yes"]:hover { background: #f4b48c; }
.wsu-consent :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wsu-cookie-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; pointer-events: auto; }
@keyframes wsu-consent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .wsu-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .wsu-consent { animation: none; } }

/* fotka na detailu lektora: Wix ji dělá 100,18 % široká, na mobilu přetékala o 1 px */
@media screen and (max-width: 1000px) { #comp-mljrvw5u5 { width: 100% !important; max-width: 100% !important; } }

/* Mobilní menu (hamburger): podnabídky jako rozbalovací seznam pod položkou (ovládá menus() v site.js) */
[data-part="hamburger-overlay"] li[data-part="menu-item"] > .fYThT1 { flex-direction: column; align-items: center; width: 100%; }
[data-part="hamburger-overlay"] li[data-part="menu-item"][data-open="true"] { height: auto !important; align-items: flex-start; }
[data-part="hamburger-overlay"] li[data-part="menu-item"] > div > .JFWRCg { display: none; flex-basis: 100%; width: 100%; }
[data-part="hamburger-overlay"] li[data-part="menu-item"][data-open="true"] > div > .JFWRCg { display: block; position: static !important; }
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU,
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU > div,
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU [data-hook="submenu"] {
  position: static !important; display: block !important; visibility: visible !important; opacity: 1 !important;
  transform: none !important; width: auto !important; height: auto !important; min-height: 0 !important; max-height: none !important;
  left: auto !important; top: auto !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; animation: none !important;
}
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU ul { display: flex !important; flex-direction: column; align-items: center; gap: 2px; margin: 6px 0 4px !important; padding: 0 !important; height: auto !important; visibility: visible !important; list-style: none; background: transparent !important; }
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU li { display: block !important; height: auto !important; width: auto !important; visibility: visible !important; opacity: 1 !important; text-align: center; }
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU a { display: inline-block !important; padding: 7px 12px !important; height: auto !important; visibility: visible !important; opacity: 1 !important; color: rgba(255, 255, 255, .9) !important; text-decoration: none; }
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU a, [data-part="hamburger-overlay"] li[data-open="true"] .rpHatU a * { font: 600 17px/1.3 roboto, Roboto, Helvetica, Arial, sans-serif !important; color: rgba(255, 255, 255, .9) !important; }
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU ul ul { margin: 0 0 4px !important; }
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU ul ul a, [data-part="hamburger-overlay"] li[data-open="true"] .rpHatU ul ul a * { font-size: 15px !important; font-weight: 500 !important; color: rgba(255, 255, 255, .72) !important; padding-top: 4px !important; padding-bottom: 4px !important; }
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU a[aria-current="page"], [data-part="hamburger-overlay"] li[data-open="true"] .rpHatU a:active * { color: #ee9d6b !important; }
[data-part="hamburger-overlay"] [data-part="menu-item-content"] button svg { transition: transform .2s; }
[data-part="hamburger-overlay"] li[data-open="true"] > div > [data-part="menu-item-content"] button svg { transform: rotate(180deg); }
[data-part="hamburger-overlay"] li[data-part="menu-item"][data-open="true"] > div > .JFWRCg > .rpHatU[data-part="dropdown-container"] { transform: none !important; translate: none !important; left: auto !important; right: auto !important; width: 100% !important; justify-self: stretch !important; grid-template-columns: 1fr !important; }

/* Kontaktní formulář: na mobilu e-mail a telefon každý na vlastním řádku; zpráva zaoblená jako ostatní pole */
#POPUPS_ROOT_kontakt textarea { border-radius: 10px !important; }
@media screen and (max-width: 750px) {
  /* mřížka s e-mailem a telefonem: buňky jsou popisek, pole, popisek, pole */
  #POPUPS_ROOT_kontakt .htcADB:has(input[type="email"]):has(input[type="tel"]) > div { grid-column: 1 / -1 !important; }
  #POPUPS_ROOT_kontakt .htcADB:has(input[type="email"]):has(input[type="tel"]) > div:nth-child(1) { grid-row: 1 !important; }
  #POPUPS_ROOT_kontakt .htcADB:has(input[type="email"]):has(input[type="tel"]) > div:nth-child(2) { grid-row: 2 !important; }
  #POPUPS_ROOT_kontakt .htcADB:has(input[type="email"]):has(input[type="tel"]) > div:nth-child(3) { grid-row: 3 !important; margin-top: 20px !important; }
  #POPUPS_ROOT_kontakt .htcADB:has(input[type="email"]):has(input[type="tel"]) > div:nth-child(4) { grid-row: 4 !important; }
}
/* hamburger: Wix při najetí myší (hover pravidla s !important) podnabídku posouvá a ukotvuje – vypnout */
[data-part="hamburger-overlay"] li[data-part="menu-item"] .rpHatU[data-part="dropdown-container"][data-anchor][data-align] { transform: none !important; translate: none !important; left: auto !important; right: auto !important; width: 100% !important; min-width: 0 !important; }
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU a:hover, [data-part="hamburger-overlay"] li[data-open="true"] .rpHatU li:hover { background: transparent !important; }
[data-part="hamburger-overlay"] li[data-open="true"] .rpHatU a:hover, [data-part="hamburger-overlay"] li[data-open="true"] .rpHatU a:hover * { color: #ee9d6b !important; }

/* slider týmu: tmavý přechod za jménem a pozicí, aby byly čitelné i na světlé fotce */
.wsu-team__card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 58%; background: linear-gradient(to bottom, rgba(14, 17, 38, 0) 0%, rgba(14, 17, 38, .55) 45%, rgba(14, 17, 38, .9) 100%); pointer-events: none; }
.wsu-team__text { z-index: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }

/* Úvod: kaňky Lumina + AI HUB vpravo (desktop: Lumina nahoře, pod ní AI HUB; mobil: AI HUB nad Luminou, výš nad lištou Safari) */
html.has-splash #comp-mt064yfg-pinned-layer, html.has-splash #comp-mt06gejb-pinned-layer, html.has-splash #comp-mt06i939-pinned-layer { display: none !important; }
.wsu-splash { position: fixed; z-index: 60; top: 72px; right: -45px; width: 227px; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
.wsu-splash a { display: block; pointer-events: auto; line-height: 0; transition: transform .25s ease, filter .25s ease; }
.wsu-splash a:hover { transform: scale(1.05) rotate(-2deg); filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); }
.wsu-splash a:focus-visible { outline: 2px solid #ee9d6b; outline-offset: 4px; border-radius: 50%; }
.wsu-splash img { width: 100%; height: auto; display: block; }
.wsu-splash__lumina { width: 100%; position: relative; z-index: 1; }
.wsu-splash__ai { width: 165px; margin: 22px 55px 0 0; position: relative; z-index: 2; animation: wsu-splash-bob 5s ease-in-out infinite; }
@keyframes wsu-splash-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .wsu-splash__ai { animation: none; } }
@media (max-width: 1000px) {
  .wsu-splash { top: calc(100svh - 314px); right: -16px; width: 185px; flex-direction: column-reverse; }
  .wsu-splash__ai { width: 138px; margin: 0 26px 4px 0; }
}
@media (max-width: 750px) {
  .wsu-splash { top: calc(100svh - 258px); right: -14px; width: 150px; }
  .wsu-splash__ai { width: 112px; margin: 0 22px 4px 0; }
}
