/* ============================================================
   PEMATSTAV GROUP – hlavní styly webu
   Struktura a třídy jsou sdílené se sesterskými CMS (předloha skibruntal),
   paleta a písma jsou z odsouhlaseného designu: tmavá šedá #1A1A1A,
   zlatá #EFC030, nadpisy Oswald, text Inter. Názvy proměnných (--navy,
   --blue…) zůstávají kvůli sdíleným stylům administrace (css/admin.css).
   Úpravy vzhledu oproti předloze jsou v sekci „Vzhled pematstav“ na konci.
============================================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* tmavá šedá (role „navy“ ze sdíleného základu) */
    --navy: #1A1A1A;
    --navy-deep: #0F0F0F;
    --navy-soft: #2D2D2D;
    /* zlatá (role „blue“ – odkazy, nadtitulky, ikony, primární tlačítko) */
    --blue: #EFC030;
    --blue-dark: #D4A820;
    --blue-light: #FBF3D6;
    --sky: #F5D560;
    /* světlé neutrální tóny */
    --ice: #ECECE6;
    --ice-2: #CFCFC8;
    --ice-3: #DEDED8;
    --snow: #F5F5F0;
    --text: #1A1A1A;
    --muted: #5A5A5A;
    --line: #E0E0E0;
    --white: #FFFFFF;
    --error: #D32F2F;
    --success: #388E3C;

    --font-heading: 'Oswald', 'Arial Narrow', 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max-width: 1280px;
    /* --header-bar = výška lišty hlavičky, --header-height navíc započítá
       bezpečnou zónu nahoře (iPhone s viewport-fit=cover); main.js ji pak
       přepíše změřenou výškou hlavičky. */
    --header-bar: 84px;
    --header-height: calc(var(--header-bar) + env(safe-area-inset-top, 0px));
    --radius: 12px;
    --radius-sm: 6px;
    --radius-pill: 4px;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 20px 46px rgba(0, 0, 0, 0.16);
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.08);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* aliasy pro sdílené admin styly */
    --color-border: var(--line);
    --color-white: var(--white);
    --color-text: var(--text);
    --color-text-light: var(--muted);
    --color-bg-light: var(--snow);
    --color-primary: var(--blue);
    --color-error: var(--error);
    --color-success: var(--success);
    --color-gold: var(--blue);
    --color-gold-dark: var(--blue-dark);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
    /* Safari na iOS 26 ignoruje theme-color a barvu své lišty bere z pozadí
       stránky / prvku u okraje – nenechávat průhledné. */
    background-color: var(--white);
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: var(--header-height);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > main,
body > .page-content {
    flex: 1 0 auto;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--navy);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    flex-shrink: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.08;
    color: var(--navy);
    letter-spacing: 0.005em;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    --gutter: 1.25rem;
    padding: 0 var(--gutter);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.6rem;
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
}

.eyebrow p {
    margin: 0;
}

/* ------------------------------------------------------------
   Tlačítka
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    padding: 0.95rem 1.9rem;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.btn--primary:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(239, 192, 48, 0.3);
}

.btn--outline {
    background: transparent;
    border-color: var(--navy);
    color: var(--navy);
}

.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--ice-3);
    color: var(--navy);
}

.btn--ghost:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: var(--white);
}

.btn--light {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.btn--light:hover {
    background: var(--ice);
    border-color: var(--ice);
    color: var(--navy);
}

.btn--sm {
    font-size: 0.92rem;
    padding: 0.65rem 1.3rem;
}

.btn--lg {
    font-size: 1.15rem;
    padding: 1.1rem 2.3rem;
}

.btn--full {
    width: 100%;
}

/* ------------------------------------------------------------
   Hlavička + navigace
   ------------------------------------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* Neprůhledné pozadí bez backdrop-filter: Safari na iOS 26 vzorkuje barvu
       horní lišty z fixního prvku u okraje a rozmazání na něm vzorkování
       rozbije (lišta zůstane bílá i nad tmavým obsahem). Pozadí 0.96 bylo
       stejně prakticky neprůhledné. */
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.header.is-scrolled {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.header.is-hidden {
    transform: translateY(-100%);
}

.header.header--menu-open {
    z-index: 1040;
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    height: var(--header-bar);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo__img {
    height: 90px;
    width: auto;
}

.logo__img--footer {
    height: 96px;
}

.logo__img--login {
    height: 90px;
    margin: 0 auto;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav--mobile {
    display: none;
}

.nav__list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.15rem;
}

.nav__link {
    display: block;
    position: relative;
    padding: 0.6rem 0.9rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.25rem;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.nav__link:hover {
    color: var(--blue);
}

.nav__link:hover::after {
    transform: scaleX(1);
}

.nav__link--disabled {
    color: var(--muted);
    cursor: default;
}

.nav__link--disabled::after {
    display: none;
}

.nav__item--inactive {
    text-decoration: line-through;
    text-decoration-thickness: from-font;
    opacity: 0.6;
}

.nav__arrow {
    font-size: 0.7rem;
    margin-left: 0.15rem;
}

.nav__dropdown {
    position: relative;
}

.nav__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0.5rem;
    min-width: 230px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    list-style: none;
    z-index: 100;
}

.nav__dropdown:hover .nav__submenu {
    display: block;
}

.nav__submenu li a,
.nav__submenu-link {
    display: block;
    padding: 0.5rem 1.1rem;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--text);
    transition: background 0.2s, color 0.2s;
}

.nav__submenu li a:hover {
    background: var(--snow);
    color: var(--blue);
}

.nav__submenu-item {
    position: relative;
}

.nav__submenu--child {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    background: transparent;
    min-width: 0;
}

.nav__submenu--child li a {
    font-size: 0.9rem;
    padding: 0.35rem 1.1rem;
    color: var(--muted);
}

.header__cta {
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--navy);
    transition: width 0.3s ease;
}

.hamburger span:nth-child(2) {
    width: 20px;
}

.hamburger:hover span {
    width: 28px;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav__footer {
    display: none;
}

/* Měření přirozené šířky menu (initAdaptiveNav v main.js) */
html.nav-measuring .nav--desktop {
    display: flex !important;
    position: absolute;
    visibility: hidden;
    pointer-events: none;
    flex: none;
    width: max-content;
}

/* === Sbalené menu (hamburger) — řízeno třídou html.nav-collapsed z main.js === */
:where(html.nav-collapsed) .hamburger {
    display: flex;
}

:where(html.nav-collapsed) .nav--desktop {
    display: none !important;
}

:where(html.nav-collapsed) .header__cta {
    display: none;
}

:where(html.nav-collapsed) .nav--mobile {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 320px;
    max-width: 88vw;
    background: var(--white);
    z-index: 1050;
    padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) 0;
    overflow: hidden;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0);
}

:where(html.nav-collapsed) .nav--mobile.active {
    transform: translateX(0);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
}

:where(html.nav-collapsed) .nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
    min-height: var(--header-height);
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--snow);
}

:where(html.nav-collapsed) .nav__header-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
}

:where(html.nav-collapsed) .nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    cursor: pointer;
    color: var(--navy);
    transition: all 0.25s ease;
}

:where(html.nav-collapsed) .nav__close:hover {
    border-color: var(--blue);
    color: var(--blue);
}

:where(html.nav-collapsed) .nav__body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

:where(html.nav-collapsed) .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    flex: none;
}

:where(html.nav-collapsed) .nav__list > li {
    border-bottom: 1px solid var(--line);
}

:where(html.nav-collapsed) .nav__list > li:last-child {
    border-bottom: none;
}

:where(html.nav-collapsed) .nav__admin-add {
    padding: 0.75rem 1.5rem;
}

:where(html.nav-collapsed) .nav__link {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
}

:where(html.nav-collapsed) .nav__link::after {
    display: none;
}

:where(html.nav-collapsed) .nav__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    width: 20px;
    height: 20px;
    margin-left: auto;
}

:where(html.nav-collapsed) .nav__arrow::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: rotate(-45deg);
    transition: transform 0.35s var(--ease);
}

:where(html.nav-collapsed) .nav__dropdown.active > .nav__link .nav__arrow::after {
    transform: rotate(45deg);
}

:where(html.nav-collapsed) .nav--mobile .nav__dropdown:hover .nav__submenu {
    display: none;
}

:where(html.nav-collapsed) .nav--mobile .nav__dropdown.active > .nav__submenu {
    display: block;
}

:where(html.nav-collapsed) .nav--mobile .nav__dropdown.active .nav__submenu--child {
    display: block;
}

:where(html.nav-collapsed) .nav__submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0.5rem;
    display: none;
    background: var(--snow);
}

:where(html.nav-collapsed) .nav__submenu li a,
:where(html.nav-collapsed) .nav__submenu-link {
    font-size: 1rem;
    padding: 0.6rem 1.5rem 0.6rem 2rem;
}

:where(html.nav-collapsed) .nav__submenu--child {
    padding: 0;
    margin-left: 1rem;
    background: transparent;
}

:where(html.nav-collapsed) .nav__footer {
    display: block;
    padding: 1.25rem 1.5rem 1.75rem;
    border-top: 1px solid var(--line);
    background: var(--snow);
    margin-top: auto;
}

:where(html.nav-collapsed) .nav__footer-divider {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
    margin-bottom: 1rem;
}

:where(html.nav-collapsed) .nav__footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

:where(html.nav-collapsed) .nav__footer-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text);
}

:where(html.nav-collapsed) .nav__footer-item svg {
    color: var(--blue);
}

:where(html.nav-collapsed) .nav__footer-social {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

:where(html.nav-collapsed) .nav__footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--navy);
    background: var(--white);
}

:where(html.nav-collapsed) .nav__footer-cta {
    display: inline-flex;
    margin-bottom: 1rem;
}

:where(html.nav-collapsed) .nav__footer-brand {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
}

/* ------------------------------------------------------------
   Hero úvodní stránky
   ------------------------------------------------------------ */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #FAFAF7 0%, var(--ice) 55%, #ECECE6 100%);
    padding: 3.5rem 0 7rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 45%),
        radial-gradient(circle at 85% 10%, rgba(245, 213, 96, 0.22), rgba(245, 213, 96, 0) 40%);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero__eyebrow::before {
    content: '';
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
    flex-shrink: 0;
}

.hero__eyebrow p {
    margin: 0;
}

.hero__title {
    font-size: clamp(2.8rem, 5.6vw, 4.9rem);
    font-weight: 800;
    line-height: 0.98;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--navy);
    margin-bottom: 1.4rem;
    text-wrap: balance;
}

.hero__text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text);
    max-width: 34rem;
    margin-bottom: 2rem;
}

.hero__text p + p {
    margin-top: 0.75rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

/* Koláž fotek */
.hero__collage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    aspect-ratio: 4 / 3.15;
}

.hero__photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ice-3);
    box-shadow: var(--shadow-card);
    border: 4px solid var(--white);
}

.hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.hero__photo:hover img {
    transform: scale(1.04);
}

.hero__photo--1 {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.hero__photo--2 {
    grid-column: 2;
    grid-row: 1;
}

.hero__photo--3 {
    grid-column: 2;
    grid-row: 2;
}

.hero__photo-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 1rem 0.7rem;
    font-size: 0.85rem;
    color: var(--white);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero__photo:hover .hero__photo-caption {
    opacity: 1;
}

.hero__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--navy);
    background: linear-gradient(160deg, var(--ice), var(--ice-2));
    grid-column: 1 / -1;
}

.hero__badge {
    position: absolute;
    left: -18px;
    bottom: -18px;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--white);
    transform: rotate(-6deg);
    z-index: 2;
}

.hero__badge-year {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.85;
}

.hero__badge strong {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
}

.hero__peaks {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 90px;
    color: var(--white);
    pointer-events: none;
}

.peaks {
    display: block;
    width: 100%;
    height: 100%;
}

/* Pásek pod hero */
.hero__strip {
    position: relative;
    z-index: 2;
    margin-top: -3.4rem;
}

.hero__strip-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(var(--strip-count, 4), minmax(0, 1fr));
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
    overflow: hidden;
}

.hero__strip-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.35rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--navy);
    border-right: 1px solid var(--line);
}

.hero__strip-item:last-child {
    border-right: none;
}

.hero__strip-item--empty {
    grid-column: 1 / -1;
    justify-content: center;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
}

.hero__strip-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ------------------------------------------------------------
   Hlavička podstránky
   ------------------------------------------------------------ */
.page-header {
    position: relative;
    background: linear-gradient(160deg, #FAFAF7 0%, var(--ice) 70%, #ECECE6 100%);
    padding: 3rem 0 5.5rem;
    overflow: hidden;
}

.page-header--no-image {
    padding-bottom: 5rem;
}

.page-header__peaks {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 64px;
    color: var(--white);
    pointer-events: none;
}

.page-header .container {
    position: relative;
}

.page-header__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.page-header--image-side .page-header__layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.page-header--image-side .page-header__layout--size-1-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.page-header--image-side .page-header__layout--size-2-3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.page-header--image-left .page-header__layout > .page-header__media {
    order: -1;
}

.page-header__content {
    max-width: 46rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb__sep {
    color: var(--ice-2);
}

.breadcrumb__current {
    color: var(--navy);
    font-weight: 600;
}

.page-header__title {
    font-size: clamp(2.4rem, 4.6vw, 3.9rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.page-header__description {
    font-size: 1.15rem;
    color: var(--text);
}

.page-header__description p + p {
    margin-top: 0.6rem;
}

.page-header__content > .admin-tools--inline {
    margin-top: 1.25rem;
}

.page-header__media {
    position: relative;
}

.page-header__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 440px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 4px solid var(--white);
}

.page-header--detail .page-header__media img {
    max-height: 380px;
}

.page-header__eyebrow svg {
    width: 16px;
    height: 16px;
}

/* ------------------------------------------------------------
   Obsah stránky
   ------------------------------------------------------------ */
.page-content {
    position: relative;
}

.page-main {
    max-width: 62rem;
    margin: 0 auto;
    padding: 1.5rem 0 3.5rem;
}

.page-main--home {
    max-width: none;
    padding: 0 0 1rem;
}

.page-main__content + .page-main__items,
.page-main__items + .media-manager,
.page-main__content + .media-manager {
    margin-top: 3rem;
}

.page-main__items .staff-section,
.page-main__items .blok-section {
    padding: 0;
}

.rich-text {
    font-size: 1.06rem;
    line-height: 1.7;
}

.rich-text h2 {
    font-size: 2rem;
    text-transform: uppercase;
    margin: 2.2rem 0 0.8rem;
}

.rich-text h3 {
    font-size: 1.5rem;
    margin: 1.8rem 0 0.6rem;
}

.rich-text h4 {
    font-size: 1.2rem;
    margin: 1.4rem 0 0.5rem;
}

.rich-text h2:first-child,
.rich-text h3:first-child,
.rich-text h4:first-child {
    margin-top: 0;
}

.rich-text p {
    margin-bottom: 1rem;
}

.rich-text p:last-child {
    margin-bottom: 0;
}

.rich-text ul,
.rich-text ol {
    margin: 0 0 1.1rem 1.4rem;
}

.rich-text li {
    margin-bottom: 0.35rem;
}

.rich-text ul li::marker {
    color: var(--blue);
}

.rich-text ol li::marker {
    color: var(--blue);
    font-weight: 700;
}

.rich-text strong {
    color: var(--navy);
    font-weight: 700;
}

.rich-text a:not(.btn) {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: rgba(239, 192, 48, 0.4);
    text-underline-offset: 3px;
}

.rich-text a:not(.btn):hover {
    color: var(--navy);
    text-decoration-color: currentColor;
}

.rich-text blockquote {
    position: relative;
    margin: 1.75rem 0;
    padding: 1.4rem 1.6rem 1.4rem 2.2rem;
    border-left: 4px solid var(--blue);
    background: var(--snow);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
}

.rich-text blockquote p:last-child {
    margin-bottom: 0;
}

.rich-text img {
    border-radius: var(--radius-sm);
}

.rich-text figure {
    margin: 1.5rem 0;
}

.rich-text figcaption {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.4rem;
}

.rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.98rem;
}

.rich-text th,
.rich-text td {
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.rich-text th {
    background: var(--snow);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
}

.rich-text hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 2rem 0;
}

.rich-text .btn {
    text-decoration: none;
    margin-top: 0.5rem;
}

/* kontaktní karty a mapa (obsah stránky Kontakt) */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.contact-card {
    padding: 1.6rem 1.7rem;
    border-radius: var(--radius);
    background: var(--snow);
    border: 1px solid var(--line);
}

.contact-card h3 {
    margin-top: 0;
    font-size: 1.45rem;
    text-transform: uppercase;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    margin: 0.5rem 0 1rem;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

/* ------------------------------------------------------------
   Sekce (podstránky vykreslené uvnitř stránky)
   ------------------------------------------------------------ */
.page-subsection {
    position: relative;
    padding: 4.5rem 0;
}

.page-content--home .page-subsection:first-of-type {
    padding-top: 4rem;
}

.page-subsection--bg-ledova,
.page-subsection--bg-modra,
.page-subsection--bg-bila,
.page-subsection--photo {
    margin: 0.75rem 0;
}

.page-subsection--bg-ledova {
    background: var(--snow);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.page-subsection--bg-bila {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.page-subsection--bg-modra {
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
}

.page-subsection--bg-modra .page-subsection__title,
.page-subsection--bg-modra .page-subsection__link,
.page-subsection--bg-modra .rich-text strong,
.page-subsection--bg-modra h3 {
    color: var(--white);
}

.page-subsection--bg-modra .eyebrow {
    color: var(--sky);
}

.page-subsection--bg-modra .rich-text a:not(.btn) {
    color: var(--sky);
}

.page-subsection--photo {
    background-color: var(--navy);
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 55%, rgba(0, 0, 0, 0.3) 100%), var(--section-photo);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 0;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.page-subsection--photo .container {
    width: 100%;
}

.page-subsection--photo .page-subsection__content-wrap {
    max-width: 40rem;
}

.page-subsection--photo .page-subsection__title,
.page-subsection--photo .page-subsection__link {
    color: var(--white);
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
}

.page-subsection--photo .eyebrow {
    color: var(--sky);
}

.page-subsection--photo .rich-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
}

.page-subsection--inactive .container {
    opacity: 0.55;
}

.page-subsection--inactive .page-subsection__title {
    text-decoration: line-through;
    text-decoration-thickness: from-font;
}

.page-subsection__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.page-subsection__layout:last-child {
    margin-bottom: 0;
}

.page-subsection__layout--full {
    grid-template-columns: minmax(0, 1fr);
}

.page-subsection__layout--full .page-subsection__content-wrap {
    max-width: 52rem;
}

.page-subsection__layout--image-right,
.page-subsection__layout--image-left {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.page-subsection__layout--size-1-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.page-subsection__layout--size-2-3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.page-subsection__layout--image-left .page-subsection__media {
    order: -1;
}

.page-subsection__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-subsection__title {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    text-transform: uppercase;
    line-height: 1;
    text-wrap: balance;
}

.page-subsection__title--placeholder {
    color: var(--muted);
}

.page-subsection__title--placeholder small {
    font-size: 0.9rem;
    font-family: var(--font-body);
    text-transform: none;
    font-weight: 400;
}

.page-subsection__link {
    color: inherit;
}

.page-subsection__link:hover {
    color: var(--blue);
}

.page-subsection__intro {
    font-size: 1.15rem;
    color: var(--text);
}

.page-subsection--bg-modra .page-subsection__intro {
    color: rgba(255, 255, 255, 0.9);
}

.page-subsection__intro + .page-subsection__content {
    margin-top: 1rem;
}

.page-subsection__more {
    margin-top: 1.6rem;
}

.page-subsection__media {
    position: relative;
}

.page-subsection__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 480px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 4px solid var(--white);
}

.page-subsection__all {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

/* ------------------------------------------------------------
   Sdílené prvky karet
   ------------------------------------------------------------ */
.card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.9rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
}

.card-more svg {
    transition: transform 0.25s ease;
}

.card-more:hover svg {
    transform: translateX(4px);
}

.card-bg-ledova,
.blok-card--bg-ledova,
.blok-inline-item--bg-ledova {
    background: var(--blue-light) !important;
}

.card-bg-seda,
.blok-card--bg-seda,
.blok-inline-item--bg-seda {
    background: #F1F1EE !important;
}

.card-bg-bila,
.blok-card--bg-bila,
.blok-inline-item--bg-bila {
    background: var(--white) !important;
}

.card-bg-modra,
.blok-card--bg-modra,
.blok-inline-item--bg-modra {
    background: var(--navy) !important;
    color: var(--white);
}

.blok-card--bg-modra .blok-card__name,
.blok-card--bg-modra .rich-text strong,
.card-bg-modra .staff-card__name,
.blok-inline-item--bg-modra .blok-inline-item__title {
    color: var(--white);
}

.blok-card--bg-modra .card-more,
.card-bg-modra .card-more,
.blok-inline-item--bg-modra .card-more {
    color: var(--sky);
}

.blok-card--bg-modra .blok-card__icon,
.blok-card--bg-modra .blok-card__number {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.card-border-zadne { --card-border: transparent; }
.card-border-seda { --card-border: var(--line); }
.card-border-ledova { --card-border: var(--ice-2); }
.card-border-modra { --card-border: var(--navy); }

[class*="card-border-"] {
    border: 2px solid var(--card-border, var(--line)) !important;
}

/* Karty bloku */
.blok-section {
    padding: 0.5rem 0 0;
}

.blok-grid {
    display: grid;
    grid-template-columns: repeat(var(--items-per-row, 3), minmax(0, 1fr));
    gap: 1.5rem;
}

.blok-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.blok-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.blok-card__photo {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ice);
}

.blok-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.blok-card:hover .blok-card__photo img {
    transform: scale(1.05);
}

.blok-card--image-full {
    justify-content: center;
    box-shadow: none;
}

.blok-card--image-full .blok-card__photo {
    aspect-ratio: auto;
    background: var(--white);
    padding: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;
}

.blok-card--image-full .blok-card__photo img {
    width: auto;
    height: auto;
    max-height: 96px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.blok-card--image-full:hover .blok-card__photo img {
    transform: scale(1.04);
}

.blok-card--image-full .blok-card__body {
    padding: 0 1rem 1rem;
    text-align: center;
}

.blok-card--image-full .blok-card__name {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
}

.blok-card__icon,
.blok-card__number {
    width: 62px;
    height: 60px;
    border-radius: 16px;
    margin: 1.6rem 1.6rem 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    color: var(--blue);
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.blok-card__icon svg {
    width: 28px;
    height: 28px;
}

.blok-card__number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}

.blok-card:hover .blok-card__icon,
.blok-card:hover .blok-card__number {
    background: var(--navy);
    color: var(--white);
}

.blok-card__overlay-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.blok-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.4rem 1.6rem 1.6rem;
}

.blok-card--badge .blok-card__body {
    padding-top: 1.1rem;
}

.blok-card__name {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.blok-card__perex {
    font-size: 1rem;
    color: var(--muted);
}

.blok-card__perex p:last-child {
    margin-bottom: 0;
}

.card-more--static {
    color: var(--blue);
}

.blok-grid--ratio-1-4 .blok-card__name,
.blok-grid--ratio-1-5 .blok-card__name {
    font-size: 1.3rem;
}

.blok-grid--ratio-1-5 .blok-card__body,
.blok-grid--ratio-1-4 .blok-card__body {
    padding: 1.2rem 1.3rem 1.4rem;
}

/* Bloky pod sebou (fotka vedle textu) */
.blok-inline-list {
    display: grid;
    gap: 1.5rem;
}

.blok-inline-item {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.blok-inline-item__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: stretch;
}

.blok-inline-item--size-1-2 .blok-inline-item__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.blok-inline-item--size-2-3 .blok-inline-item__grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.blok-inline-item--image-right .blok-inline-item__image {
    order: 2;
}

.blok-inline-item--no-image .blok-inline-item__grid {
    grid-template-columns: minmax(0, 1fr);
}

.blok-inline-item__image {
    min-height: 240px;
    background: var(--ice);
}

.blok-inline-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blok-inline-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    color: var(--blue);
    min-height: 160px;
}

.blok-inline-item__icon svg {
    width: 44px;
    height: 44px;
}

.blok-inline-item__card {
    display: flex;
    flex-direction: column;
    padding: 2rem 2.2rem;
}

.blok-inline-item__title {
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.blok-inline-item__text {
    font-size: 1.02rem;
}

/* Karty osob / výhod / kurzů */
.staff-section {
    padding: 0.5rem 0 0;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(var(--items-per-row, 3), minmax(0, 1fr));
    gap: 1.5rem;
}

.staff-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.staff-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.staff-card__photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ice);
}

.staff-card--personal .staff-card__photo {
    aspect-ratio: 1;
}

.staff-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-card__avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    margin: 1.7rem 1.6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(150deg, var(--blue), var(--navy));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.04em;
}

.staff-card__icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    margin: 1.6rem 1.6rem 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    color: var(--blue);
}

.staff-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.3rem 1.6rem 1.6rem;
}

.staff-card__name {
    font-size: 1.45rem;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.staff-card--personal .staff-card__perex {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
}

.staff-card__perex {
    font-size: 1rem;
    color: var(--muted);
}

.staff-card__perex p:last-child {
    margin-bottom: 0;
}

.staff-card__contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.9rem;
    font-size: 0.98rem;
}

.staff-card__contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
}

.staff-card__contact a:hover {
    color: var(--blue);
}

.staff-card__contact svg {
    color: var(--blue);
}

.course__badge {
    align-self: flex-start;
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--blue-light);
    color: var(--blue);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.course__price {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--navy);
    margin-top: 0.8rem;
}

.course__price span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Aktuality – výpis pod sebou */
.news-list {
    display: grid;
    gap: 1.5rem;
}

.news-item {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.news-item__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: stretch;
}

.news-item--size-1-2 .news-item__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.news-item--size-2-3 .news-item__grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.news-item--image-right .news-item__image {
    order: 2;
}

.news-item--no-image .news-item__grid {
    grid-template-columns: minmax(0, 1fr);
}

.news-item__image {
    background: var(--ice);
    min-height: 220px;
    max-height: 340px;
    overflow: hidden;
}

.news-item__image a,
.news-item__image img {
    display: block;
    width: 100%;
    height: 100%;
}

.news-item__image img {
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.news-item:hover .news-item__image img {
    transform: scale(1.04);
}

.news-item__image a.photo-link,
.news-card__media a.photo-link {
    cursor: zoom-in;
}

/* Lightbox otevřený na jediné fotce (aktualita) – bez šipek a náhledů */
.lightbox-overlay--single .lightbox-nav,
.lightbox-overlay--single .lightbox-thumbs {
    display: none;
}

.news-item__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.7rem 2rem 1.8rem;
}

.news-item__date,
.news-card__date {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--blue-light);
    margin-bottom: 0.8rem;
}

.news-item__title {
    font-size: 1.75rem;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    line-height: 1.05;
}

.news-item__title a {
    color: inherit;
}

.news-item__title a:hover {
    color: var(--blue);
}

.news-item__text {
    font-size: 1.02rem;
    color: var(--text);
}

/* Aktuality – mřížka karet */
.news-grid {
    display: grid;
    grid-template-columns: repeat(var(--items-per-row, 3), minmax(0, 1fr));
    gap: 1.5rem;
}

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.news-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ice);
}

.news-card__media a {
    display: block;
    height: 100%;
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.news-card:hover .news-card__media img {
    transform: scale(1.05);
}

.news-card__media-placeholder {
    display: flex;
    align-items: flex-end;
    height: 100%;
    color: var(--ice-2);
    background: linear-gradient(160deg, var(--snow), var(--ice));
}

.news-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: 1.3rem 1.5rem 1.5rem;
}

.news-card__title {
    font-size: 1.45rem;
    text-transform: uppercase;
    line-height: 1.08;
    margin-bottom: 0.5rem;
}

.news-card__title a {
    color: inherit;
}

.news-card__title a:hover {
    color: var(--blue);
}

.news-card__perex {
    font-size: 0.98rem;
    color: var(--muted);
}

/* Fotogalerie – karty galerií */
.gallery-section {
    position: relative;
}

.gallery-carousel__track {
    display: grid;
    grid-template-columns: repeat(var(--items-per-row, 4), minmax(0, 1fr));
    gap: 1.25rem;
}

.gallery-card {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.gallery-card__link {
    display: block;
    color: inherit;
}

.gallery-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ice);
}

.gallery-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.gallery-card:hover .gallery-card__image img {
    transform: scale(1.06);
}

.gallery-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    color: var(--muted);
    font-size: 0.95rem;
    background: linear-gradient(160deg, var(--snow), var(--ice));
}

.gallery-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.4rem 1.1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.gallery-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.gallery-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.gallery-card__meta svg {
    width: 14px;
    height: 14px;
}

/* ------------------------------------------------------------
   Karusely (vodorovné pásy prvků)
   ------------------------------------------------------------ */
.news-carousel__track,
.staff-carousel__track,
.blok-carousel__track,
.gallery-carousel__track:not(.gallery-carousel__track--grid) {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* Dráha má overflow kvůli posouvání a stín karet by ořízla – proto rezerva
       na stín (padding) vykompenzovaná záporným okrajem: nahoře zdvih karty 6px + rozptyl
       stínu, dole posun 20px + rozptyl 46px (--shadow-card-hover); vodorovně přesně gutter
       kontejneru, takže karta sedí na kraji a další nevykukuje. */
    padding: 2.5rem var(--gutter, 1.25rem) 4.5rem;
    margin: -2.5rem calc(-1 * var(--gutter, 1.25rem)) -4.5rem;
    scroll-padding: 0 var(--gutter, 1.25rem);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-carousel__track::-webkit-scrollbar,
.staff-carousel__track::-webkit-scrollbar,
.blok-carousel__track::-webkit-scrollbar,
.gallery-carousel__track::-webkit-scrollbar {
    display: none;
}

/* Vodorovně dráha končí přesně na okraji gutteru (sousední karta je od kraje dál
   než gutter, takže v klidu nikdy nevykukuje). Aby stín krajní karty v gutteru
   nekončil ostrou hranou, maska ho přes šířku gutteru plynule ztlumí. */
@media (min-width: 901px) {
    .news-carousel__track,
    .staff-carousel__track,
    .blok-carousel__track,
    .gallery-carousel__track:not(.gallery-carousel__track--grid) {
        -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--gutter, 1.25rem), #000 calc(100% - var(--gutter, 1.25rem)), transparent);
        mask-image: linear-gradient(to right, transparent, #000 var(--gutter, 1.25rem), #000 calc(100% - var(--gutter, 1.25rem)), transparent);
    }
}

/* Dráha má záporný horní okraj (rezerva na stín) a překrývala by spodní část šipek –
   šipky musí zůstat nad ní, jinak kliknutí občas skončí na dráze. */
.news-carousel__nav,
.staff-carousel__nav,
.blok-carousel__nav,
.gallery-carousel__nav {
    position: relative;
    z-index: 1;
}

.news-carousel__track > *,
.staff-carousel__track > *,
.blok-carousel__track > *,
.gallery-carousel__track:not(.gallery-carousel__track--grid) > * {
    flex: 0 0 calc((100% - (var(--items-per-row, 3) - 1) * 1.5rem) / var(--items-per-row, 3));
    scroll-snap-align: start;
}

.news-carousel__nav,
.staff-carousel__nav,
.blok-carousel__nav,
.gallery-carousel__nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.news-carousel__nav[hidden],
.staff-carousel__nav[hidden],
.blok-carousel__nav[hidden],
.gallery-carousel__nav[hidden] {
    display: none;
}

.news-carousel__btn,
.staff-carousel__btn,
.blok-carousel__btn,
.gallery-carousel__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.news-carousel__btn:hover,
.staff-carousel__btn:hover,
.blok-carousel__btn:hover,
.gallery-carousel__btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* ------------------------------------------------------------
   Fotky a dokumenty stránky / prvku
   ------------------------------------------------------------ */
.media-manager {
    margin-top: 1rem;
}

.page-gallery {
    margin-top: 2.5rem;
}

.page-gallery__title,
.page-documents-section__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.9rem;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.page-gallery__count {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-light);
    border-radius: var(--radius-pill);
    padding: 0.15rem 0.6rem;
}

/* Obal je container, aby šla výška řádku odvodit ze šířky mřížky (cqw).
   Výšku řádků určuje pevně grid-auto-rows, ne obsah dlaždic – fotky jsou
   absolutně umístěné a do výpočtu řádků nevstupují. Jinak Chrome roztáhl
   řádky podle přirozené výšky načtené fotky na výšku v dlaždici 2×2. */
.photo-wall-frame {
    container-type: inline-size;
}

.photo-wall {
    --wall-cols: 4;
    --wall-gap: 0.85rem;
    display: grid;
    grid-template-columns: repeat(var(--wall-cols), minmax(0, 1fr));
    grid-auto-rows: calc((100cqw - (var(--wall-cols) - 1) * var(--wall-gap)) / var(--wall-cols) * 0.75);
    grid-auto-flow: dense; /* zaplní díru před dlaždicí 2×2, která se nevešla na konec řádku */
    gap: var(--wall-gap);
}

.photo-wall__item {
    position: relative;
    display: block;
    min-height: 0;
    aspect-ratio: 4 / 3; /* záloha pro prohlížeče bez cqw */
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--ice);
    box-shadow: var(--shadow-soft);
}

.photo-wall__item:nth-child(6n + 1) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.photo-wall__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

/* Fotky ve zdi se objevují rychleji a zpoždění se počítá v main.js
   podle pořadí v právě zobrazené dávce, ne podle pořadí na stránce. */
.photo-wall__item.is-visible {
    transition-duration: 0.45s;
    transition-delay: calc(var(--stagger, 0) * 60ms);
}

.photo-wall__item:hover img {
    transform: scale(1.05);
}

.photo-wall__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.6rem 0.8rem 0.6rem;
    font-size: 0.85rem;
    color: var(--white);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-wall__item:hover .photo-wall__caption {
    opacity: 1;
}

.page-documents-section {
    margin-top: 2.5rem;
}

.page-documents {
    display: grid;
    gap: 0.6rem;
}

.page-documents__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0.9rem 0.6rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-documents__item:hover {
    border-color: var(--ice-2);
    box-shadow: var(--shadow-soft);
}

.page-documents__link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
    min-width: 0;
    color: var(--text);
    font-weight: 500;
}

.page-documents__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--blue-light);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-documents__name {
    flex: 1;
    min-width: 0;
}

.doc-extension {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.1rem 0.45rem;
}

.page-documents__download {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    white-space: nowrap;
}

/* ------------------------------------------------------------
   Detail prvku
   ------------------------------------------------------------ */
.page-content--detail .item-detail {
    max-width: 62rem;
    margin: 0 auto;
    padding: 1.5rem 0 3.5rem;
}

.item-detail__content {
    max-width: 48rem;
}

.item-detail__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    margin-top: 1rem;
}

.item-detail__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.item-detail__contact-item svg {
    color: var(--blue);
}

.item-detail__back {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.item-detail__back .btn:hover svg {
    transform: translateX(-3px);
}

.item-detail--inactive .item-detail__content {
    opacity: 0.6;
}

/* ------------------------------------------------------------
   Kontaktní formulář
   ------------------------------------------------------------ */
.section--contact-form {
    padding: 3rem 0 4.5rem;
}

.contact-form-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
}

.contact-form-box__intro {
    padding: 3rem 2.75rem;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-box__intro {
    position: relative;
    isolation: isolate;
    padding-bottom: 7rem;
}

.contact-form-box__peaks {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 110px;
    z-index: -1;
    pointer-events: none;
}

.contact-form-box__peaks-back {
    fill: rgba(255, 255, 255, 0.12);
}

.contact-form-box__peaks-front {
    fill: rgba(255, 255, 255, 0.09);
}

.contact-form-box__intro .eyebrow {
    color: var(--sky);
}

.contact-form-box__title {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0.9rem;
}

.contact-form-box__subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.contact-form-box__contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-form-box__contacts a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    font-weight: 600;
}

.contact-form-box__contacts a:hover {
    color: var(--sky);
}

.contact-form-box__contacts svg {
    color: var(--sky);
}

.contact-form-box__form {
    position: relative;
    padding: 2.75rem 2.75rem 2.5rem;
    background: var(--white);
}

.contact-form-box__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

/* šířky polí z administrace (1/3, 1/2, 2/3, 1/1) */
.contact-form-box__field--w13 {
    grid-column: span 2;
}

.contact-form-box__field--w12 {
    grid-column: span 3;
}

.contact-form-box__field--w23 {
    grid-column: span 4;
}

.contact-form-box__field--w11 {
    grid-column: 1 / -1;
}

.contact-form-box__title--placeholder {
    opacity: 0.6;
}

.contact-form-box__title--placeholder small {
    font-size: 0.6em;
    font-weight: 400;
}

.contact-form-box__subtitle p + p {
    margin-top: 0.6em;
}

.contact-form-box__form--empty {
    display: flex;
    align-items: center;
    color: var(--muted);
}

.field-float {
    position: relative;
    margin-bottom: 0;
}

.field-float .form-control {
    padding: 1.35rem 1rem 0.55rem;
    background: var(--snow);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.field-float .form-control::placeholder {
    color: transparent;
    transition: color 0.2s ease;
}

.field-float .form-control:focus::placeholder,
.field-float--static .form-control::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

.field-float .form-control:focus {
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(239, 192, 48, 0.14);
}

.field-float label {
    position: absolute;
    left: 1rem;
    top: 0.95rem;
    font-size: 1rem;
    color: var(--muted);
    pointer-events: none;
    transition: all 0.2s ease;
}

.field-float .form-control:focus + label,
.field-float .form-control:not(:placeholder-shown) + label,
.field-float--static .form-control + label {
    top: 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
}

.field-float--textarea .form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form-box__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.contact-form-box__bottom .form-checkbox {
    flex: 1 1 260px;
    font-size: 0.9rem;
    color: var(--muted);
    align-items: flex-start;
}

.contact-form-box__bottom .form-checkbox input {
    margin-top: 0.15rem;
}

.contact-form-box__bottom .btn--submit {
    flex-shrink: 0;
}

/* Základ formulářů (login, kontakt) */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(239, 192, 48, 0.14);
}

.form-control--textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
    cursor: pointer;
    flex-shrink: 0;
}

.form-errors {
    background: #FFF0F0;
    border: 1px solid #FFCDD2;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.form-error {
    color: var(--error);
    font-size: 0.9rem;
}

/* ------------------------------------------------------------
   Patička
   ------------------------------------------------------------ */
.footer {
    position: relative;
    background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: rgba(255, 255, 255, 0.82);
    padding: 5.5rem 0 0;
    margin-top: auto;
}

.footer__peaks {
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 70px;
    color: var(--white);
    transform: scaleY(-1);
    pointer-events: none;
}

.footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 0.8fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer__brand-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin: 1rem 0 0.5rem;
}

.footer__brand-text {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 22rem;
}

.footer__heading {
    font-size: 1.15rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 1.1rem;
}

.footer__contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__contact-item {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--sky);
}

.footer__contact-item:hover {
    color: var(--white);
}

.footer__contact-item:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__contact-item svg {
    color: var(--sky);
    margin-top: 0.2rem;
}

.footer__company {
    margin-top: 1rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer__social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.footer__social-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.footer__content {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.78);
}

.footer__content h3,
.footer__content h4 {
    font-size: 1.15rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky);
    margin: 0 0 1.1rem;
}

.footer__content strong {
    color: var(--white);
}

/* odkazy v textu patičky (selektor s .rich-text musí přebít obecné .rich-text a:not(.btn):hover) */
.footer__content a:not(.btn),
.footer__content.rich-text a:not(.btn) {
    color: var(--sky);
    text-decoration: underline;
    text-decoration-color: rgba(245, 213, 96, 0.4);
    text-underline-offset: 3px;
}

.footer__content a:not(.btn):hover,
.footer__content.rich-text a:not(.btn):hover {
    color: var(--white);
    text-decoration-color: currentColor;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer__links a {
    color: var(--sky);
    font-weight: 500;
}

.footer__links a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer__copy a {
    color: var(--sky);
}

.footer__copy a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__copy-sep {
    margin: 0 0.4rem;
}

/* ------------------------------------------------------------
   Lightbox
   ------------------------------------------------------------ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 2000;
}

.lightbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 92vw;
    max-height: 92vh;
}

.lightbox-image {
    max-width: min(92vw, 1400px);
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    background: #111111;
}

.lightbox-video {
    display: none;
    max-width: min(92vw, 1400px);
    max-height: 80vh;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-video.is-visible {
    display: block;
}

.lightbox-embed {
    display: none;
    width: min(92vw, 1400px, calc(80vh * 16 / 9));
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-embed.is-visible {
    display: block;
}

.lightbox-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.lightbox-image.is-hidden {
    display: none;
}

/* Popis fotky pod zvětšenou fotkou (fotky.popis přes data-caption odkazu) */
.lightbox-caption {
    display: none;
    max-width: min(92vw, 900px);
    padding: 0 0.5rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    overflow-wrap: anywhere;
}

.lightbox-caption.is-visible {
    display: block;
}

/* S popisem nechat fotce/videu méně výšky, ať se popis i náhledy vejdou na obrazovku */
.lightbox-overlay.has-caption .lightbox-image,
.lightbox-overlay.has-caption .lightbox-video {
    max-height: 72vh;
}

.lightbox-overlay.has-caption .lightbox-embed {
    width: min(92vw, 1400px, calc(72vh * 16 / 9));
}

.lightbox-thumb--video::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform: translate(-40%, -50%);
    border-left: 9px solid var(--white);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

/* Odznak přehrání na dlaždici videa ve fotogalerii */
.photo-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    transition: transform 0.3s var(--ease), background 0.3s ease;
}

.photo-play svg {
    margin-left: 3px;
}

.photo-wall__item--video:hover .photo-play,
.photo-item--video:hover .photo-play {
    transform: scale(1.08);
    background: var(--blue);
}

.lightbox-close {
    position: fixed;
    top: calc(20px + env(safe-area-inset-top, 0px));
    right: calc(24px + env(safe-area-inset-right, 0px));
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav--prev {
    left: 20px;
}

.lightbox-nav--next {
    right: 20px;
}

.lightbox-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: min(92vw, 900px);
    padding: 6px 4px 2px;
    scrollbar-width: thin;
}

.lightbox-thumb {
    position: relative;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    padding: 0;
    cursor: pointer;
    flex: 0 0 auto;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.lightbox-thumb:hover {
    opacity: 1;
}

.lightbox-thumb img {
    width: 68px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.lightbox-thumb.is-active {
    border-color: var(--sky);
    opacity: 1;
}

/* ------------------------------------------------------------
   Cookie lišta
   ------------------------------------------------------------ */
.cookie-consent {
    position: fixed;
    left: calc(1rem + env(safe-area-inset-left, 0px));
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    width: min(440px, calc(100vw - 2rem));
    z-index: 1200;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.cookie-consent-trigger {
    position: fixed;
    left: calc(1rem + env(safe-area-inset-left, 0px));
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1190;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.cookie-consent__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 1.1rem;
}

.cookie-consent__title {
    width: 100%;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.cookie-consent__text {
    font-size: 0.9rem;
    line-height: 1.45;
}

.cookie-consent__text a {
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

#cookieConsentSettingsToggle {
    order: 1;
    margin-right: auto;
}

#cookieConsentSaveSettings {
    order: 2;
}

#cookieConsentAccept {
    order: 3;
}

.cookie-consent__actions .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

.cookie-consent__settings-link {
    color: var(--muted);
    font-size: 0.82rem;
    text-decoration: underline;
}

.cookie-consent--expanded .cookie-consent__settings-link {
    display: none;
}

.cookie-consent__settings {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--snow);
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-consent[hidden],
.cookie-consent__settings[hidden],
.cookie-consent-trigger[hidden],
.cookie-consent__actions .btn[hidden] {
    display: none !important;
}

.cookie-consent__setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}

.cookie-consent__setting-row:last-of-type {
    border-bottom: none;
}

.cookie-consent__setting-row small,
.cookie-consent__setting-row p {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.cookie-consent__setting-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
    flex-shrink: 0;
}

.cookie-consent__tag {
    color: var(--muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

/* ------------------------------------------------------------
   Přihlášení a chybové stránky
   ------------------------------------------------------------ */
.login-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--snow), var(--ice));
    padding: 2rem 1rem;
}

.login-box {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
}

.login-box__header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.login-box__header .logo {
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
}

.login-box__header h2 {
    font-size: 1.6rem;
    text-transform: uppercase;
}

.login-box__footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.flash-messages:empty {
    display: none;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.flash--success {
    background: #E8F5E9;
    color: var(--success);
    border: 1px solid #C8E6C9;
}

.flash--error {
    background: #FFF0F0;
    color: var(--error);
    border: 1px solid #FFCDD2;
}

.flash--info {
    background: var(--blue-light);
    color: var(--blue-dark);
    border: 1px solid #F5D560;
}

.error-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: linear-gradient(160deg, var(--snow), var(--ice));
}

.error-page__inner {
    text-align: center;
}

.error-page__inner--card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    max-width: 640px;
    width: 100%;
    box-shadow: var(--shadow-card);
}

.error-page__eyebrow {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.error-page__inner h1 {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(120deg, var(--blue), var(--navy));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-page__title {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.error-page__lead {
    color: var(--muted);
    margin-bottom: 2rem;
}

.error-page__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.error-page__links {
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
}

.error-page__links-label {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.error-page__links-list {
    display: flex;
    gap: 0.5rem 1.4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-page__link {
    font-weight: 600;
}

/* ------------------------------------------------------------
   Animace při scrollování (data-animate, main.js)
   ------------------------------------------------------------ */
[data-animate] {
    opacity: 0;
    will-change: opacity, transform;
}

[data-animate="fade-up"] {
    transform: translateY(32px);
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate="zoom-in"] {
    transform: scale(0.94);
}

/* V karuselu se karty nezmenšují: prohlížeč přichytí dráhu na zmenšenou kartu
   a po doběhnutí animace by zůstala o pár pixelů posunutá. */
.news-carousel__track > [data-animate="zoom-in"]:not(.is-visible),
.staff-carousel__track > [data-animate="zoom-in"]:not(.is-visible),
.blok-carousel__track > [data-animate="zoom-in"]:not(.is-visible),
.gallery-carousel__track > [data-animate="zoom-in"]:not(.is-visible) {
    transform: translateY(32px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--stagger, 0) * 90ms);
}

.item-card--inactive {
    opacity: 0.55;
}

[data-animate].item-card--inactive.is-visible {
    opacity: 0.55;
}

.item-card--inactive .staff-card__name,
.item-card--inactive .blok-card__name,
.item-card--inactive .news-item__title,
.item-card--inactive .news-card__title,
.item-card--inactive .gallery-card__title {
    text-decoration: line-through;
    text-decoration-thickness: from-font;
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hero__photo img,
    .blok-card,
    .staff-card,
    .news-card,
    .news-item,
    .gallery-card {
        transition: none !important;
    }
}

/* ------------------------------------------------------------
   Responzivita
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
    .hero__inner {
        gap: 2.5rem;
    }

    .hero__title {
        font-size: clamp(2.6rem, 5.4vw, 4rem);
    }

    .blok-grid,
    .news-grid,
    .staff-grid {
        grid-template-columns: repeat(min(var(--items-per-row, 3), 3), minmax(0, 1fr));
    }

    .gallery-carousel__track--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    :root {
        --header-bar: 80px;
    }

    .logo__img {
        height: 62px;
    }

    .hero {
        padding: 2.5rem 0 6rem;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .hero__collage {
        aspect-ratio: 16 / 10;
        max-width: 640px;
    }

    .hero__strip-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__strip-item {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .hero__strip-item:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .hero__strip-item:nth-last-child(-n + 2) {
        border-bottom: none;
    }

    .page-header--image-side .page-header__layout,
    .page-header--image-side .page-header__layout--size-1-2,
    .page-header--image-side .page-header__layout--size-2-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-header--image-left .page-header__layout > .page-header__media {
        order: 0;
    }

    .page-header__media img {
        max-height: 340px;
    }

    .page-subsection {
        padding: 3.5rem 0;
    }

    .page-subsection__layout--image-right,
    .page-subsection__layout--image-left,
    .page-subsection__layout--size-1-2,
    .page-subsection__layout--size-2-3 {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .page-subsection__layout--image-left .page-subsection__media {
        order: 0;
    }

    .page-subsection__media img {
        max-height: 360px;
    }

    .page-subsection--photo {
        padding: 4.5rem 0;
        min-height: 0;
    }

    .blok-grid,
    .news-grid,
    .staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-carousel__track--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-carousel__track > *,
    .staff-carousel__track > *,
    .blok-carousel__track > *,
    .gallery-carousel__track:not(.gallery-carousel__track--grid) > * {
        flex-basis: calc((100% - 1.5rem) / 2);
    }

    .news-item__grid,
    .news-item--size-1-2 .news-item__grid,
    .news-item--size-2-3 .news-item__grid,
    .blok-inline-item__grid,
    .blok-inline-item--size-1-2 .blok-inline-item__grid,
    .blok-inline-item--size-2-3 .blok-inline-item__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-item--image-right .news-item__image,
    .blok-inline-item--image-right .blok-inline-item__image {
        order: 0;
    }

    .news-item__image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .photo-wall {
        --wall-cols: 3;
    }

    .contact-form-box {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form-box__intro,
    .contact-form-box__form {
        padding: 2.25rem 1.75rem;
    }

    .contact-form-box__intro {
        padding-bottom: 5.5rem;
    }

    .contact-form-box__peaks {
        height: 80px;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .lightbox-nav--prev {
        left: 8px;
    }

    .lightbox-nav--next {
        right: 8px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .container {
        --gutter: 1rem;
        padding: 0 var(--gutter);
    }

    .btn {
        padding: 0.85rem 1.4rem;
        font-size: 1rem;
    }

    .btn--lg {
        padding: 1rem 1.6rem;
        font-size: 1.05rem;
    }

    .hero {
        padding: 2rem 0 5.5rem;
    }

    .hero__title {
        font-size: clamp(2.4rem, 11vw, 3rem);
    }

    .hero__text {
        font-size: 1.08rem;
    }

    .hero__collage {
        gap: 0.6rem;
    }

    .hero__badge {
        width: 90px;
        height: 90px;
        left: -8px;
        bottom: -12px;
    }

    .hero__badge strong {
        font-size: 1.6rem;
    }

    .hero__peaks {
        height: 56px;
    }

    .hero__strip {
        margin-top: -2.5rem;
    }

    .hero__strip-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__strip-item {
        padding: 1rem 1.2rem;
        font-size: 1.05rem;
        border-right: none !important;
        border-bottom: 1px solid var(--line);
    }

    .hero__strip-item:last-child {
        border-bottom: none;
    }

    .page-header {
        padding: 2.25rem 0 4.5rem;
    }

    .page-header__peaks {
        height: 44px;
    }

    .page-header__title {
        font-size: clamp(2.1rem, 9vw, 2.8rem);
    }

    .page-subsection {
        padding: 2.75rem 0;
    }

    .page-subsection__title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .page-subsection__title-row {
        flex-direction: column;
    }

    .blok-grid,
    .news-grid,
    .staff-grid,
    .gallery-carousel__track--grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* na mobilu vždy jen jeden prvek přes celou šířku */
    .news-carousel__track > *,
    .staff-carousel__track > *,
    .blok-carousel__track > *,
    .gallery-carousel__track:not(.gallery-carousel__track--grid) > * {
        flex-basis: 100%;
    }

    .news-item__card,
    .blok-inline-item__card {
        padding: 1.4rem 1.3rem 1.5rem;
    }

    .news-item__title {
        font-size: 1.5rem;
    }

    .photo-wall {
        --wall-cols: 2;
        --wall-gap: 0.5rem;
    }

    .contact-form-box__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form-box__field--w13,
    .contact-form-box__field--w12,
    .contact-form-box__field--w23 {
        grid-column: 1 / -1;
    }

    .footer {
        padding-top: 4.5rem;
    }

    .footer__peaks {
        height: 46px;
    }

    .footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .footer__copy {
        justify-content: center;
        text-align: center;
    }

    .rich-text h2 {
        font-size: 1.7rem;
    }

    .rich-text blockquote {
        font-size: 1.2rem;
        padding: 1.1rem 1.2rem 1.1rem 1.5rem;
    }

    .page-documents__download {
        display: none;
    }

    .map-embed iframe {
        height: 280px;
    }
}

/* Odkazy se stylem z editoru (Phone, Email, Facebook, Whatsapp, Web, Place):
   ikona před textem přes CSS masku v barvě odkazu – na webu i v editoru */
.rich-text a.phone,
.rich-text a.email,
.rich-text a.fb,
.rich-text a.wa,
.rich-text a.web,
.rich-text a.place,
.ck-content a.phone,
.ck-content a.email,
.ck-content a.fb,
.ck-content a.wa,
.ck-content a.web,
.ck-content a.place {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

.rich-text a.phone::before,
.rich-text a.email::before,
.rich-text a.fb::before,
.rich-text a.wa::before,
.rich-text a.web::before,
.rich-text a.place::before,
.ck-content a.phone::before,
.ck-content a.email::before,
.ck-content a.fb::before,
.ck-content a.wa::before,
.ck-content a.web::before,
.ck-content a.place::before {
    content: '';
    width: 1.05em;
    height: 1.05em;
    flex: 0 0 1.05em;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.rich-text a.phone::before,
.ck-content a.phone::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.rich-text a.email::before,
.ck-content a.email::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.rich-text a.fb::before,
.ck-content a.fb::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
}

.rich-text a.wa::before,
.ck-content a.wa::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.5 8.5 0 0 1-8.5 8.5c-1.5 0-2.9-.4-4.1-1.1L3 20l1.4-4.9A8.5 8.5 0 1 1 21 11.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.5 8.5 0 0 1-8.5 8.5c-1.5 0-2.9-.4-4.1-1.1L3 20l1.4-4.9A8.5 8.5 0 1 1 21 11.5z'/%3E%3C/svg%3E");
}

.rich-text a.web::before,
.ck-content a.web::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
}

.rich-text a.place::before,
.ck-content a.place::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

/* odkazy v textu formuláře na tmavém pozadí (musí přebít .rich-text a:not(.btn)) */
.contact-form-box__intro .rich-text a:not(.btn) {
    color: var(--sky);
    text-decoration-color: rgba(245, 213, 96, 0.45);
}

.contact-form-box__intro .rich-text a:not(.btn):hover {
    color: var(--white);
    text-decoration-color: currentColor;
}

/* ============================================================
   Vzhled pematstav (přepisy nad sdíleným základem)
   Převzato z odsouhlaseného designu webu (původní style.css, záloha
   ZALOHA/2026-10-23-pred-zakladem-skibruntal): průhledná hlavička přes hero
   fotku s logem v plné velikosti, hero přes celou obrazovku, sekce přes celou
   šířku (obsah | velká fotka se zkosenou hranou), tmavé sekce se zlatými
   akcenty, kontaktní blok vlevo text / vpravo formulář, tmavá patička se
   zlatou linkou. Hory z loga skibruntal (peaks) se nezobrazují.
   ============================================================ */

/* --- Základ: Inter 16 px, jemnější šedé texty --- */
:root {
    --header-bar: 124px;        /* logo 100 px + 12 px nad a pod (jako v původním designu) */
    --panel: #EDECEA;           /* šedý panel formuláře */
    --muted: #555555;
    --muted-2: #666666;
}

body {
    font-size: 16px;
    line-height: 1.6;
}

/* úvodní stránka: hlavička je průhledná a leží přes hero, obsah proto začíná u horního okraje */
body.page--home {
    padding-top: 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.eyebrow {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.eyebrow::before {
    display: none;
}

.peaks,
.hero__peaks,
.page-header__peaks,
.footer__peaks,
.contact-form-box__peaks {
    display: none !important;
}

.rich-text {
    line-height: 1.7;
}

.rich-text p,
.rich-text li {
    color: var(--muted);
}

.rich-text strong {
    color: var(--text);
    font-weight: 600;
}

/* --- Tlačítka (Inter 0.875 rem, zlatá s tmavým textem, rádius 4 px) --- */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: none;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    border: 2px solid transparent;
    box-shadow: none;
}

.btn--primary {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--navy);
    font-weight: 600;
}

.btn--primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--navy);
    box-shadow: none;
    transform: none;
}

.btn--outline {
    background: transparent;
    border-color: var(--blue);
    color: var(--blue-dark);
}

.btn--outline:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--navy);
}

/* tlačítko v tmavé sekci = rámeček jako „Zobrazit všechny realizace“ v návrhu */
.btn--light,
.btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.7rem 1.25rem;
}

.btn--light:hover,
.btn--ghost:hover {
    background: rgba(239, 192, 48, 0.08);
    border-color: var(--blue);
    color: var(--blue);
}

.btn--sm {
    font-size: 0.8rem;
    padding: 0.65rem 1.4rem;
}

.btn--lg {
    font-size: 0.9rem;
    padding: 1rem 2rem;
}

/* tlačítka v hero (Oswald, verzálky, ostřejší rádius) */
.btn--hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 2px;
    border: 2px solid var(--blue);
    background: var(--blue);
    color: var(--navy);
}

.btn--hero:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--navy);
}

.btn--hero-outline {
    border-color: rgba(255, 255, 255, 0.6);
    background: transparent;
    color: var(--white);
}

.btn--hero-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* --- Hlavička: pevná, na úvodní stránce průhledná přes hero, po odrolování tmavá --- */
.header {
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.page--home .header:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
}

.header.is-scrolled {
    background: var(--navy);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.header__inner {
    padding: 0 1rem;
    gap: 1.25rem;
}

.logo__img {
    height: 100px;
}

.logo__img--footer {
    height: 48px;
}

.logo__img--login {
    height: 72px;
}

.nav__list {
    gap: 0;
}

.nav__link {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.85rem;
}

.nav__link::after {
    display: none;
}

.nav__link:hover {
    color: var(--blue);
}

.nav__link--disabled {
    color: rgba(255, 255, 255, 0.55);
}

.nav__arrow {
    font-size: 0.65rem;
}

.nav__submenu {
    left: 0;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav__submenu li a,
.nav__submenu-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    padding: 0.4rem 1rem;
}

.nav__submenu li a:hover {
    background: var(--snow);
    color: var(--blue-dark);
}

.nav__submenu--child li a {
    font-size: 0.8rem;
    text-transform: none;
    color: var(--muted);
}

.nav__add-page {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.8);
}

/* Po přihlášení přibude v menu tlačítko „Přidat stránku“ (32 px) a 7 položek by se do hlavičky
   (max. 1280 px) nevešlo o pár pixelů; správci se proto odstupy položek o 1,6 px zmenší.
   Návštěvník vidí původní rozměry. */
body.is-admin .nav__link {
    padding: 0.5rem 0.75rem;
}

/* tlačítko poptávky v hlavičce */
.header__cta {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.65rem 1.4rem;
    border-radius: 2px;
}

.hamburger span {
    background: var(--white);
}

/* prostřední čárka hamburgeru zlatá (akcent jako u nadtitulků) */
.hamburger span:nth-child(2) {
    background: var(--blue);
}

/* Vodorovné přetečení: základ ho ořezává jen na body, což iOS Safari (a některé Androidy) ignoruje – stránka se dá
   posunout doprava a hamburger „uteče“ mimo displej. Proto ořez i na html (clip nedělá posuvný kontejner) a zavřené
   vysunuté menu (fixed + translateX(100 %), 320 px vpravo za okrajem) je skutečně skryté, ne jen odsunuté. */
html {
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    overflow-x: clip;
}

:where(html.nav-collapsed) .nav--mobile:not(.active) {
    visibility: hidden;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), visibility 0s linear 0.45s;
}

/* mobilní menu: tmavý panel jako v původním designu */
:where(html.nav-collapsed) .nav--mobile {
    background: var(--navy);
    color: var(--white);
}

/* hlavička a patička panelu jsou v základu světlé – tady celý panel tmavý, text světlý, zlaté akcenty */
:where(html.nav-collapsed) .nav__header {
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(239, 192, 48, 0.35);
}

:where(html.nav-collapsed) .nav__header-title {
    color: var(--blue);
}

:where(html.nav-collapsed) .nav__close {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    background: none;
}

:where(html.nav-collapsed) .nav__close:hover {
    border-color: var(--blue);
    color: var(--blue);
}

:where(html.nav-collapsed) .nav__list > li {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

:where(html.nav-collapsed) .nav__link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
}

:where(html.nav-collapsed) .nav__submenu {
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

:where(html.nav-collapsed) .nav__footer {
    background: var(--navy-deep);
    border-top-color: rgba(255, 255, 255, 0.12);
}

:where(html.nav-collapsed) .nav__footer-item,
:where(html.nav-collapsed) .nav__footer-item a {
    color: rgba(255, 255, 255, 0.82);
}

:where(html.nav-collapsed) .nav__footer-social-link {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    background: none;
}

:where(html.nav-collapsed) .nav__footer-brand {
    color: rgba(255, 255, 255, 0.55);
}

:where(html.nav-collapsed) .nav__submenu li a,
:where(html.nav-collapsed) .nav__submenu-link {
    color: rgba(255, 255, 255, 0.86);
    text-transform: none;
}

:where(html.nav-collapsed) .nav__submenu li a:hover {
    background: rgba(239, 192, 48, 0.08);
    color: var(--blue);
}

:where(html.nav-collapsed) .nav__footer {
    border-top-color: rgba(255, 255, 255, 0.12);
}

:where(html.nav-collapsed) .nav__footer-item {
    color: rgba(255, 255, 255, 0.75);
}

:where(html.nav-collapsed) .nav__footer-item svg {
    color: var(--blue);
}

:where(html.nav-collapsed) .nav__footer-social-link {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--blue);
}

:where(html.nav-collapsed) .nav__footer-brand {
    color: rgba(255, 255, 255, 0.5);
}

/* --- Hero: fotka přes celou obrazovku s tmavým překryvem, hlavička leží přes ni --- */
.hero {
    background: var(--navy);
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero--no-photo {
    min-height: 0;
}

.hero__bg {
    background: none;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(100deg, rgba(15, 15, 15, 0.88) 0%, rgba(20, 20, 20, 0.75) 40%, rgba(20, 20, 20, 0.35) 70%, transparent 100%);
    z-index: 1;
}

.hero__inner {
    display: block;
    width: 100%;
    padding-top: calc(var(--header-bar) + 3rem);
    padding-bottom: 5rem;
    z-index: 2;
}

.hero__content {
    max-width: 620px;
}

.hero__eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--blue);
    margin-bottom: 1rem;
}

.hero__eyebrow::before {
    display: none;
}

.hero__title {
    color: var(--white);
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero__title em,
.hero__title strong {
    color: var(--blue);
    font-style: normal;
}

.hero__text,
.hero__text p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px;
}

.hero__text {
    margin-bottom: 2.5rem;
}

.hero__actions {
    gap: 1rem;
}

.hero__placeholder {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Hlavička podstránky: bílá, nadpis jako v návrhu (Oswald 2,2 rem), foto s rádiusem 16 px --- */
.page-header {
    background: var(--white);
    padding: 3rem 0 1rem;
}

.page-header--no-image {
    padding-bottom: 1rem;
}

.breadcrumb {
    font-size: 0.85rem;
}

.page-header__title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.15;
}

.page-header__description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--muted);
}

.page-header__media img {
    border: none;
    box-shadow: none;
    border-radius: 16px;
    background: var(--white);
}

/* ikona služby (PNG) místo fotky v záhlaví: nezvětšovat na celou plochu */
.page-header__media img[src$=".png"] {
    object-fit: contain;
    background: var(--navy);
    padding: 2rem;
    aspect-ratio: 4 / 3;
}

/* --- Sekce: bez mezer mezi sebou, odsazení 5 rem, nadpisy Oswald 2,5 rem --- */
.page-subsection {
    padding: 5rem 0;
}

.page-content--home .page-subsection:first-of-type {
    padding-top: 5rem;
}

.page-subsection--bg-ledova,
.page-subsection--bg-modra,
.page-subsection--bg-bila,
.page-subsection--photo {
    margin: 0;
}

.page-subsection--bg-ledova,
.page-subsection--bg-bila {
    border-top: none;
    border-bottom: none;
}

.page-subsection--bg-ledova {
    background: #F0F0EC;
}

.page-subsection__title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.15;
}

.page-subsection__title-row {
    margin-bottom: 0.75rem;
}

.page-subsection__intro,
.page-subsection__intro p {
    font-size: 1.05rem;
    color: var(--muted);
}

.page-subsection__content,
.page-subsection__content p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.page-subsection__layout--full .page-subsection__content-wrap {
    max-width: 44rem;
}

.page-subsection__layout {
    margin-bottom: 2.5rem;
}

.page-subsection__media img {
    border: none;
    box-shadow: none;
    border-radius: 16px;
}

/* ikona služby (PNG) vedle textu sekce: na tmavém poli, nezvětšovat na celou plochu */
.page-subsection__media img[src$=".png"] {
    object-fit: contain;
    background: var(--navy);
    padding: 2rem;
    aspect-ratio: 4 / 3;
}

/* tmavá sekce */
.page-subsection--bg-modra {
    background: var(--navy);
}

.page-subsection--bg-modra .eyebrow,
.page-subsection--photo .eyebrow {
    color: var(--blue);
}

.page-subsection--bg-modra .page-subsection__intro,
.page-subsection--bg-modra .page-subsection__intro p,
.page-subsection--bg-modra .rich-text,
.page-subsection--bg-modra .rich-text p,
.page-subsection--bg-modra .rich-text li {
    color: rgba(255, 255, 255, 0.7);
}

.page-subsection--bg-modra .rich-text a:not(.btn) {
    color: var(--blue);
}

.page-subsection--bg-modra .btn--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.page-subsection--bg-modra .btn--outline:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--navy);
}

/* sekce s fotkou na pozadí (technika): fotka ztlumená pod tmavým překryvem jako v návrhu */
.page-subsection--photo {
    background-image: linear-gradient(rgba(26, 26, 26, 0.86), rgba(26, 26, 26, 0.86)), var(--section-photo);
    display: block;
    min-height: 0;
    padding: 5rem 0;
}

.page-subsection--photo .page-subsection__content-wrap {
    max-width: 44rem;
}

.page-subsection--photo .page-subsection__title,
.page-subsection--photo .page-subsection__link {
    font-size: 2.5rem;
}

.page-subsection--photo .rich-text,
.page-subsection--photo .rich-text p,
.page-subsection--photo .page-subsection__intro,
.page-subsection--photo .page-subsection__intro p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

/* --- Sekce s fotkou vedle textu: přes celou šířku, polovina obsah, polovina fotka se zkosenou hranou --- */
.page-subsection--split,
.page-content--home .page-subsection--split:first-of-type {
    padding: 0;
    /* fotka najíždí zboku (data-animate) – ať před odhalením nerozšiřuje stránku */
    overflow: hidden;
}

.page-subsection--split > .container {
    max-width: none;
    padding: 0;
}

.page-subsection--split .page-subsection__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    /* jednotná výška bloků s fotkou nezávislá na množství textu (obsah je svisle na středu);
       roste se šířkou okna, aby fotka byla na větších obrazovkách vyšší */
    min-height: clamp(520px, 42vw, 680px);
    margin: 0;
}

.page-subsection--split .page-subsection__layout--size-1-3 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.page-subsection--split .page-subsection__layout--size-2-3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.page-subsection--split .page-subsection__layout--image-left.page-subsection__layout--size-1-3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.page-subsection--split .page-subsection__layout--image-left.page-subsection__layout--size-2-3 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.page-subsection--split .page-subsection__content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    background: var(--white);
    /* obsah max. 36 rem uprostřed poloviny, nejméně 4 rem od okraje */
    padding: 5rem max(4rem, calc((100% - 36rem) / 2));
}

.page-subsection--split.page-subsection--bg-modra .page-subsection__content-wrap {
    background: var(--navy);
}

.page-subsection--split.page-subsection--bg-ledova .page-subsection__content-wrap {
    background: #F0F0EC;
}

.page-subsection--split .page-subsection__title {
    font-size: 2.2rem;
    margin: 0.25rem 0 0.5rem;
}

.page-subsection--split .page-subsection__media {
    position: relative;
    min-height: 100%;
    clip-path: polygon(6% 0, 100% 0, 100% 100%, 0% 100%);
}

.page-subsection--split-left .page-subsection__media {
    clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%);
}

.page-subsection--split .page-subsection__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* prvky uvnitř obsahové poloviny (výhody = statistiky 2×2 jako v návrhu) */
.page-subsection__items {
    margin-top: 2.5rem;
}

.page-subsection--split .staff-grid {
    gap: 1.5rem 2rem;
}

.page-subsection--split .staff-card--vyhody {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.page-subsection--split .staff-card--vyhody:hover {
    transform: none;
    box-shadow: none;
}

.page-subsection--split .staff-card--vyhody .staff-card__icon {
    width: auto;
    height: auto;
    margin: 0.2rem 0 0;
    background: none;
    border-radius: 0;
    color: var(--blue);
}

.page-subsection--split .staff-card--vyhody .staff-card__icon svg {
    width: 28px;
    height: 28px;
}

.page-subsection--split .staff-card--vyhody .staff-card__body {
    padding: 0;
}

.page-subsection--split .staff-card--vyhody .staff-card__name {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    margin-bottom: 0.2rem;
}

.page-subsection--split .staff-card--vyhody-text .staff-card__name {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
    color: var(--text);
}

.page-subsection--split .staff-card--vyhody .staff-card__perex,
.page-subsection--split .staff-card--vyhody .staff-card__perex p {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.page-subsection--split .staff-card--vyhody .card-more {
    font-size: 0.75rem;
    padding-top: 0.4rem;
}

.page-subsection--split .staff-card--attach {
    min-height: 90px;
}

/* --- Karty v tmavých sekcích: průsvitné, zlatý hover (služby, technika) --- */
.page-subsection--photo .blok-card,
.page-subsection--photo .staff-card,
.page-subsection--photo .news-card,
.page-subsection--photo .news-item,
.page-subsection--photo .blok-inline-item,
.page-subsection--bg-modra .blok-card,
.page-subsection--bg-modra .staff-card,
.page-subsection--bg-modra .news-card,
.page-subsection--bg-modra .news-item,
.page-subsection--bg-modra .blok-inline-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: var(--white);
}

.page-subsection--photo .blok-card:hover,
.page-subsection--photo .staff-card:hover,
.page-subsection--photo .news-card:hover,
.page-subsection--photo .news-item:hover,
.page-subsection--photo .blok-inline-item:hover,
.page-subsection--bg-modra .blok-card:hover,
.page-subsection--bg-modra .staff-card:hover,
.page-subsection--bg-modra .news-card:hover,
.page-subsection--bg-modra .news-item:hover,
.page-subsection--bg-modra .blok-inline-item:hover {
    background: rgba(239, 192, 48, 0.07);
    border-color: rgba(239, 192, 48, 0.35);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.page-subsection--photo .blok-card__name,
.page-subsection--photo .staff-card__name,
.page-subsection--photo .news-card__title,
.page-subsection--photo .news-item__title,
.page-subsection--photo .blok-inline-item__title,
.page-subsection--bg-modra .blok-card__name,
.page-subsection--bg-modra .staff-card__name,
.page-subsection--bg-modra .news-card__title,
.page-subsection--bg-modra .news-item__title,
.page-subsection--bg-modra .blok-inline-item__title,
.page-subsection--bg-modra .blok-card--image-full .blok-card__name,
.page-subsection--bg-modra .rich-text strong {
    color: var(--white);
}

.page-subsection--photo .blok-card__perex,
.page-subsection--photo .blok-card__perex p,
.page-subsection--photo .staff-card__perex,
.page-subsection--photo .news-card__perex,
.page-subsection--photo .blok-inline-item__text,
.page-subsection--bg-modra .blok-card__perex,
.page-subsection--bg-modra .blok-card__perex p,
.page-subsection--bg-modra .staff-card__perex,
.page-subsection--bg-modra .news-card__perex,
.page-subsection--bg-modra .blok-inline-item__text {
    color: rgba(255, 255, 255, 0.6);
}

.page-subsection--photo .card-more,
.page-subsection--photo .card-more--static,
.page-subsection--bg-modra .card-more,
.page-subsection--bg-modra .card-more--static {
    color: var(--blue);
}

.page-subsection--photo .blok-card__icon,
.page-subsection--photo .blok-card__number,
.page-subsection--photo .staff-card__icon,
.page-subsection--bg-modra .blok-card__icon,
.page-subsection--bg-modra .blok-card__number,
.page-subsection--bg-modra .staff-card__icon {
    background: transparent;
    color: var(--blue);
}

.page-subsection--bg-modra .blok-card:hover .blok-card__icon,
.page-subsection--bg-modra .blok-card:hover .blok-card__number,
.page-subsection--photo .blok-card:hover .blok-card__icon,
.page-subsection--photo .blok-card:hover .blok-card__number {
    background: transparent;
    color: var(--blue);
    transform: scale(1.08);
}

.page-subsection--photo .blok-card__photo,
.page-subsection--bg-modra .blok-card__photo,
.page-subsection--bg-modra .blok-card--image-full .blok-card__photo {
    background: transparent;
}

.page-subsection--photo .blok-carousel__btn,
.page-subsection--photo .gallery-carousel__btn,
.page-subsection--photo .news-carousel__btn,
.page-subsection--photo .staff-carousel__btn,
.page-subsection--bg-modra .blok-carousel__btn,
.page-subsection--bg-modra .gallery-carousel__btn,
.page-subsection--bg-modra .news-carousel__btn,
.page-subsection--bg-modra .staff-carousel__btn {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
}

.page-subsection--photo .blok-carousel__btn:hover,
.page-subsection--photo .gallery-carousel__btn:hover,
.page-subsection--photo .news-carousel__btn:hover,
.page-subsection--photo .staff-carousel__btn:hover,
.page-subsection--bg-modra .blok-carousel__btn:hover,
.page-subsection--bg-modra .gallery-carousel__btn:hover,
.page-subsection--bg-modra .news-carousel__btn:hover,
.page-subsection--bg-modra .staff-carousel__btn:hover {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

/* karty služeb (ikona PNG + název) v tmavé sekci = „Co děláme“ z návrhu */
.page-subsection--bg-modra .blok-card--image-full,
.page-subsection--photo .blok-card--image-full {
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 2.25rem 1.5rem;
    border-radius: 12px;
}

.page-subsection--bg-modra .blok-card--image-full .blok-card__photo,
.page-subsection--photo .blok-card--image-full .blok-card__photo {
    width: 72px;
    height: 72px;
    min-height: 0;
    padding: 0;
    margin: 0 auto 1.25rem;
}

.page-subsection--bg-modra .blok-card--image-full .blok-card__photo img,
.page-subsection--photo .blok-card--image-full .blok-card__photo img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

.page-subsection--bg-modra .blok-card--image-full .blok-card__body,
.page-subsection--photo .blok-card--image-full .blok-card__body {
    padding: 0;
    align-items: center;
    /* tělo vyplní zbytek karty, aby šipka (::after) byla u všech karet na stejné úrovni dole */
    flex: 1 1 auto;
    justify-content: flex-start;
    width: 100%;
}

.page-subsection--bg-modra .blok-card--image-full .blok-card__name,
.page-subsection--photo .blok-card--image-full .blok-card__name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* pod názvem zlatá šipka „→“ jako v návrhu (karta služby nemá odkaz „Více“, šipka je čistě z CSS), na hover se pohupuje */
.page-subsection--bg-modra .blok-card--image-full.blok-card--clickable .blok-card__body::after,
.page-subsection--photo .blok-card--image-full.blok-card--clickable .blok-card__body::after {
    content: "→";
    display: block;
    margin-top: auto;
    padding-top: 1.25rem;
    color: var(--blue);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1;
    transition: color 0.3s ease;
}

.page-subsection--bg-modra .blok-card--image-full.blok-card--clickable:hover .blok-card__body::after,
.page-subsection--photo .blok-card--image-full.blok-card--clickable:hover .blok-card__body::after {
    animation: pematArrowSlide 0.9s ease-in-out infinite;
}

@keyframes pematArrowSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

/* Tlačítko „Zobrazit vše“ / „Všechny fotogalerie“ pod pásem karet: pás (posuvný kontejner) má dole 72 px rezervu na stín
   karet vykompenzovanou záporným okrajem, takže zasahuje do tlačítka a jako posuvný prvek zachytává kurzor – tlačítko
   pak reaguje jen na spodním okraji. Řádek s tlačítkem se proto vykresluje nad pásem. */
.page-subsection__all {
    position: relative;
    z-index: 1;
}

/* Dlouhé nedělitelné texty (e-mail, adresa, telefon v odkazu) se při zvětšeném systémovém písmu na telefonu
   nevejdou do sloupce – smí se zalomit kdekoli, jinak roztáhnou stránku do šířky. */
.rich-text,
.rich-text a,
.contact-form-box,
.contact-form-box a,
.page-header__description,
.page-header__description a,
.item-detail__contact a,
.staff-card__contact a {
    overflow-wrap: anywhere;
}

/* --- Karty obecně: rádius 12 px, jemnější --- */
.blok-card,
.staff-card,
.news-card,
.news-item,
.gallery-card,
.blok-inline-item {
    border-radius: 12px;
}

.blok-card,
.staff-card,
.news-card,
.news-item,
.blok-inline-item {
    box-shadow: none;
}

.blok-card:hover,
.staff-card:hover,
.news-card:hover,
.news-item:hover,
.blok-inline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.blok-card__icon,
.blok-card__number,
.staff-card__icon {
    border-radius: 10px;
}

.blok-card__name,
.staff-card__name {
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.blok-card__perex,
.blok-card__perex p,
.staff-card__perex,
.staff-card__perex p,
.news-card__perex {
    font-size: 0.92rem;
    line-height: 1.6;
}

.card-more {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

.blok-card--image-full .blok-card__photo img {
    max-height: 72px;
}

.blok-card--image-full .blok-card__name {
    color: var(--text);
}

/* výhody mimo split sekci: velké číslo v názvu, popisek pod ním */
.staff-card--vyhody .staff-card__name {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
}

.staff-card--vyhody .staff-card__perex,
.staff-card--vyhody .staff-card__perex p {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.staff-card--vyhody .staff-card__icon {
    width: 48px;
    height: 48px;
    margin: 1.4rem 1.4rem 0;
}

.staff-card--vyhody .staff-card__icon svg {
    width: 24px;
    height: 24px;
}

/* galerie: popisek decentnější */
.gallery-card__title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.gallery-card__meta {
    font-size: 0.78rem;
}

/* --- Kontaktní blok před patičkou: přes celou šířku, vlevo text (bílá), vpravo formulář (šedá, zkosená hrana) --- */
.section--contact-form {
    padding: 0;
}

.contact-form-box {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    min-height: 560px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.contact-form-box__intro {
    background: var(--white);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 4rem;
    isolation: auto;
}

.contact-form-box__intro-inner {
    width: 100%;
    max-width: 420px;
}

.contact-form-box__intro .eyebrow {
    color: var(--blue);
}

.contact-form-box__title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.15;
    color: var(--text);
    margin: 0.5rem 0 1rem;
}

.contact-form-box__subtitle,
.contact-form-box__subtitle p,
.contact-form-box__subtitle li {
    color: var(--muted-2);
    font-size: 0.95rem;
    line-height: 1.7;
}

.contact-form-box__subtitle {
    margin-bottom: 0;
}

.contact-form-box__intro .rich-text a:not(.btn) {
    color: var(--blue-dark);
    text-decoration: none;
}

.contact-form-box__intro .rich-text a:not(.btn):hover {
    color: var(--blue);
}

.contact-form-box__intro .rich-text strong {
    display: block;
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
}

.contact-form-box__form-panel {
    background: var(--panel);
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 4rem 5rem 6rem;
}

.contact-form-box__form-inner {
    width: 100%;
    max-width: 800px;
}

.contact-form-box__form-label {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 1.75rem;
}

.contact-form-box__form {
    padding: 0;
    background: transparent;
}

.contact-form-box__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

/* pole pod sebou, popisek vlevo od pole */
.contact-form-box__field {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.contact-form-box__field label {
    display: block;
    margin: 0;
    min-width: 10rem;
    flex-shrink: 0;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-form-box__field--textarea {
    align-items: flex-start;
}

.contact-form-box__field--textarea label {
    padding-top: 0.85rem;
}

.contact-form-box__field .form-control {
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    color: var(--text);
    font-size: 0.95rem;
}

.contact-form-box__field .form-control::placeholder {
    color: #AAAAAA;
}

.contact-form-box__field .form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(239, 192, 48, 0.15);
}

.contact-form-box__field textarea.form-control {
    resize: none;
    min-height: 120px;
}

.contact-form-box__bottom {
    margin-top: 1.25rem;
}

.contact-form-box__bottom .form-checkbox {
    font-size: 0.8rem;
    color: var(--muted-2);
}

.contact-form-box__bottom .form-checkbox a {
    color: var(--blue-dark);
}

.contact-form-box__bottom .btn--submit {
    min-width: 170px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-form-box__form--empty {
    color: var(--muted);
}

/* --- Patička: tmavá se zlatou linkou nahoře, sloupce oddělené svislou linkou --- */
.footer {
    background: var(--navy);
    border-top: 3px solid var(--blue);
    padding: 4rem 0 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 0;
    padding-bottom: 3rem;
}

.footer__brand,
.footer__col {
    padding: 0 2.5rem;
}

.footer__brand {
    padding-left: 0;
}

.footer__col {
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__col:last-child {
    padding-right: 0;
}

.footer__brand-title {
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin: 1.25rem 0 0.5rem;
    overflow-wrap: anywhere;
}

.footer__brand,
.footer__col {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer__brand-text,
.footer__brand-text p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.87rem;
    line-height: 1.7;
}

.footer__heading,
.footer__content h3,
.footer__content h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--white);
    padding-left: 0.75rem;
    border-left: 2px solid var(--blue);
    margin-bottom: 1.5rem;
}

.footer__contact {
    gap: 0.75rem;
}

.footer__contact-item {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.87rem;
}

.footer__contact-item svg {
    color: var(--blue);
}

.footer__contact-item:hover {
    color: var(--blue);
}

.footer__contact-item:hover span {
    text-decoration: none;
}

.footer__company {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.87rem;
}

.footer__social-link {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.45);
}

.footer__social-link:hover {
    background: rgba(239, 192, 48, 0.08);
    border-color: var(--blue);
    color: var(--blue);
}

.footer__content,
.footer__content p,
.footer__content li {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.87rem;
    line-height: 1.7;
}

.footer__content a:not(.btn),
.footer__content.rich-text a:not(.btn) {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer__content a:not(.btn):hover,
.footer__content.rich-text a:not(.btn):hover {
    color: var(--blue);
}

.footer__links {
    gap: 0.55rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.87rem;
    font-weight: 400;
    display: inline-block;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer__links a:hover {
    color: var(--blue);
    padding-left: 0.35rem;
    text-decoration: none;
}

.footer__copy {
    position: relative;
    border-top: none;
    padding: 0 0 1.25rem;
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer__copy::before {
    content: '';
    flex-basis: 100%;
    height: 1px;
    margin-bottom: 1.25rem;
    background: linear-gradient(to right, var(--blue) 0%, rgba(239, 192, 48, 0.3) 30%, rgba(255, 255, 255, 0.06) 100%);
}

.footer__copy a {
    color: rgba(255, 255, 255, 0.45);
}

.footer__copy a:hover {
    color: var(--blue);
    text-decoration: none;
}

/* --- Přihlášení: bílé logo potřebuje tmavý podklad --- */
.login-box__header .logo {
    background: var(--navy);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.2rem;
}

/* --- Datum u aktualit, štítky, lightbox --- */
.news-item__date,
.news-card__date,
.course__badge {
    color: var(--blue-dark);
}

.lightbox-thumb.is-active {
    border-color: var(--blue);
}

/* --- Responzivita --- */
/* Menu zůstává rozbalené, dokud se vedle loga vejde (měří initAdaptiveNav v main.js); aby se vešlo
   i na menších monitorech, je do 1250 px logo a menu o něco menší. Hamburger až na mobilu. */
@media (max-width: 1250px) {
    :root {
        --header-bar: 96px;
    }

    .logo__img {
        height: 72px;
    }

    .nav__link {
        font-size: 0.75rem;
        padding: 0.5rem 0.7rem;
    }

    .header__cta {
        font-size: 0.72rem;
        padding: 0.55rem 1rem;
    }
}

@media (max-width: 1200px) {
    .hero__title {
        font-size: 3rem;
    }
}

@media (max-width: 1000px) {
    .contact-form-box__form-panel {
        padding: 4rem 3rem 4rem 5rem;
    }

    .contact-form-box__intro {
        padding: 4rem 3rem;
    }

    .footer__brand,
    .footer__col {
        padding: 0 1.5rem;
    }

    .footer__brand {
        padding-left: 0;
    }
}

@media (max-width: 900px) {
    :root {
        --header-bar: 84px;
    }

    .logo__img {
        height: 60px;
    }

    .hero {
        min-height: 0;
    }

    .hero__inner {
        padding-top: calc(var(--header-bar) + 2.5rem);
        padding-bottom: 4rem;
    }

    .hero__title {
        font-size: 2.4rem;
    }

    .page-subsection,
    .page-content--home .page-subsection:first-of-type {
        padding: 3.5rem 0;
    }

    .page-subsection__title,
    .page-subsection--photo .page-subsection__title,
    .page-subsection--photo .page-subsection__link {
        font-size: 1.9rem;
    }

    .page-subsection--split .page-subsection__layout,
    .page-subsection--split .page-subsection__layout--size-1-3,
    .page-subsection--split .page-subsection__layout--size-2-3,
    .page-subsection--split .page-subsection__layout--image-left.page-subsection__layout--size-1-3,
    .page-subsection--split .page-subsection__layout--image-left.page-subsection__layout--size-2-3 {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .page-subsection--split .page-subsection__content-wrap {
        padding: 3rem 1.5rem;
    }

    .page-subsection--split .page-subsection__media,
    .page-subsection--split-left .page-subsection__media {
        min-height: 320px;
        clip-path: none;
        order: -1;
    }

    .page-subsection--split .page-subsection__title {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 2rem 0 1rem;
    }

    /* minmax(0, 1fr): sloupec se smí zmenšit pod šířku obsahu – jinak při zvětšeném systémovém písmu na telefonu
       (slovo PEMATSTAV, dlouhý e-mail) mřížka přeteče přes okraj a stránka jde posouvat do strany */
    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .footer__brand,
    .footer__col {
        padding: 0;
        border-left: none;
        min-width: 0;
    }

    .footer__brand {
        grid-column: 1 / -1;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
}

@media (max-width: 768px) {
    .contact-form-box {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .contact-form-box__form-panel {
        clip-path: none;
        padding: 3.5rem 1.5rem;
    }

    .contact-form-box__intro {
        padding: 3.5rem 1.5rem;
        justify-content: flex-start;
    }

    .contact-form-box__field {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }

    .contact-form-box__field label,
    .contact-form-box__field--textarea label {
        min-width: 0;
        padding-top: 0;
    }

    .contact-form-box__bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form-box__bottom .btn--submit {
        min-width: 0;
        width: 100%;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn--hero {
        font-size: 0.82rem;
        padding: 0.85rem 1.75rem;
    }
}

@media (max-width: 600px) {
    .hero__title {
        font-size: 2rem;
    }

    /* statistiky 2×2 i na mobilu, ale těsnější, aby nepřetékaly */
    .page-subsection--split .staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1rem;
    }

    .page-subsection--split .staff-card--vyhody {
        gap: 0.5rem;
        min-width: 0;
    }

    .page-subsection--split .staff-card--vyhody .staff-card__body {
        min-width: 0;
    }

    .page-subsection--split .staff-card--vyhody .staff-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .page-subsection--split .staff-card--vyhody .staff-card__name {
        font-size: 1.8rem;
    }

    /* textová výhoda (bez číslovky) zůstává malá jako na větších obrazovkách */
    .page-subsection--split .staff-card--vyhody-text .staff-card__name {
        font-size: 0.85rem;
    }

    .page-subsection--split .staff-card--vyhody .staff-card__perex,
    .page-subsection--split .staff-card--vyhody .staff-card__perex p {
        font-size: 0.7rem;
        letter-spacing: 0.05em;
        overflow-wrap: anywhere;
    }

    .footer {
        padding-top: 3rem;
    }

    /* telefon: patička v jednom sloupci jako v základu (přepis 1fr 1fr výše by jinak platil i tady) */
    .footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
