/* ==========================================================================
   S-VK Trstená – main stylesheet
   ========================================================================== */

:root {
    --navy-950: #050f26;
    --navy-900: #071634;
    --navy: #0b1f4d;
    --navy-700: #16337a;
    --blue-50: #f3f6fc;
    --blue-100: #e6edf9;
    --blue-200: #cdd9ef;
    --yellow: #ffc928;
    --yellow-600: #f0b400;
    --yellow-100: #fff5d1;
    --white: #fff;
    --text: #0f1b33;
    --muted: #5a6680;
    --line: #e2e8f3;
    --green: #1e9e5a;
    --red: #d64545;

    --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Roboto Condensed", "Roboto", system-ui, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(11, 31, 77, .06), 0 8px 24px rgba(11, 31, 77, .08);
    --shadow-lg: 0 18px 50px rgba(11, 31, 77, .18);
    --container: 1240px;
    --measure: 760px;      /* readable text width */
    --gutter: 16px;
    --space: 56px;         /* between page sections */
    --space-sm: 32px;      /* between blocks inside content */
    --header-h: 68px;
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --space: 88px; --space-sm: 48px; --header-h: 80px; }
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 8px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.text-yellow { color: var(--yellow); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.25em; border-radius: 10px; border: 2px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: .9em 1.6em; font-size: 16px; }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-600); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.logo__mark { display: block; width: auto; height: 50px; }
img.logo__mark { object-fit: contain; }
.logo__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); text-transform: uppercase; }
.logo__name { font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.logo__place { font-size: 13px; font-weight: 700; letter-spacing: .28em; color: var(--yellow); }
@media (min-width: 768px) { .logo__mark { height: 60px; } .logo__name { font-size: 30px; } }
.logo--black { color: var(--navy); }

.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav__list a { display: block; color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.main-nav__list .current-menu-item > a,
.main-nav__list .current_page_parent > a,
.main-nav__list .current-menu-ancestor > a { color: var(--yellow); }

.nav-toggle { display: inline-flex; background: none; border: 0; color: var(--white); padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1079px) {
    .main-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--navy-900); padding: 16px var(--gutter) 32px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
    .admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .main-nav__list { flex-direction: column; }
    .main-nav__list a { padding: 14px 4px; font-family: var(--font-display); font-size: 26px; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .main-nav__cta { align-self: stretch; padding: 1em; font-size: 17px; }
    .nav-open { overflow: hidden; }
}
@media (min-width: 783px) and (max-width: 1079px) { .admin-bar .main-nav { top: calc(var(--header-h) + 32px); } }

@media (min-width: 1080px) {
    .nav-toggle { display: none; }
    .main-nav { display: flex; align-items: center; gap: 36px; }
    .main-nav__list { gap: 30px; }
    .main-nav__list a { padding: 28px 0; }
    .main-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 3px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transition: transform .2s; }
    .main-nav__list a:hover::after,
    .main-nav__list .current-menu-item > a::after,
    .main-nav__list .current_page_parent > a::after { transform: scaleX(1); }
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 22, 52, .94) 0%, rgba(7, 22, 52, .78) 45%, rgba(7, 22, 52, .25) 100%); }
.hero__inner { padding-block: 72px 120px; }
.hero__title { color: var(--white); font-size: clamp(42px, 8vw, 76px); font-weight: 800; max-width: 12ch; margin-bottom: 20px; }
.hero__title span { display: block; }
.hero__text { max-width: 540px; font-size: 18px; color: rgba(255, 255, 255, .88); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) { .hero { min-height: 600px; display: flex; align-items: center; } .hero__inner { padding-block: 96px 150px; } }

.kicker { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.kicker--dark { color: var(--yellow-600); }

/* Quick info cards --------------------------------------------------------- */
.quick { display: grid; gap: 14px; }
@media (min-width: 900px) { .quick { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.quick__card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--text); border-bottom: 4px solid transparent; transition: transform .2s, border-color .2s; }
.quick__card:hover { transform: translateY(-3px); border-bottom-color: var(--yellow); }
.quick__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow-100); color: var(--navy); flex: none; }
.quick__icon .icon { width: 28px; height: 28px; }
.quick__body { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--muted); flex: 1; }
.quick__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy); }
.quick__body strong { color: var(--text); font-weight: 600; }
.quick__link { color: var(--navy-700) !important; margin-top: 4px; }
.quick__arrow { color: var(--navy); align-self: flex-end; transition: transform .2s; }
.quick__card:hover .quick__arrow { transform: translateX(4px); }

/* Sections --------------------------------------------------------------- */
.section { padding-block: var(--space); }
.section + .section:not(.section--tinted) { padding-top: 0; }
.section--tinted { background: var(--blue-50); }
.section--tinted + .section { padding-top: var(--space); }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__head .section__title { margin: 0; }
.section__title { font-size: clamp(32px, 4.5vw, 44px); font-weight: 800; }
.section__subtitle { font-size: 22px; margin: 32px 0 16px; color: var(--muted); font-weight: 700; }
.section__head + .section__subtitle { margin-top: 0; }
.section__more { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-700); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.section__more:hover { color: var(--yellow-600); }
.section__more .icon { transition: transform .2s; }
.section__more:hover .icon { transform: translateX(3px); }
.block-title { font-size: 26px; margin: 0 0 14px; }
.panel > .block-title:first-child, .layout-split__side > .block-title:first-child { margin-top: 0; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 28px; } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.empty-note { display: flex; align-items: center; gap: 10px; padding: 20px 24px; background: var(--blue-50); border: 1px dashed var(--blue-200); border-radius: var(--radius); color: var(--muted); margin: 0; }
.section--tinted .empty-note { background: var(--white); }

/* Cards ------------------------------------------------------------------ */
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--blue-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.card__title { font-size: 24px; margin-bottom: 8px; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--navy-700); }
.card__text { color: var(--muted); font-size: 15px; flex: 1; }
.card__arrow { color: var(--navy); align-self: flex-start; }
.card__arrow .icon { width: 24px; height: 24px; transition: transform .2s; }
.card:hover .card__arrow .icon { transform: translateX(4px); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 12px; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }

/* Albums ----------------------------------------------------------------- */
.album-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: var(--white); text-decoration: none; aspect-ratio: 4 / 3; isolation: isolate; }
.album-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; z-index: -2; }
.album-card:hover .album-card__img { transform: scale(1.05); }
.album-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 22, 52, 0) 40%, rgba(7, 22, 52, .88) 100%); }
.album-card__overlay { position: absolute; inset: auto 0 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.album-card__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.1; }
.album-card__meta { display: flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.album-card__dot { opacity: .6; }
.album-card--featured .album-card__title { font-size: clamp(26px, 3vw, 34px); }
.album-card--all::after { background: rgba(7, 22, 52, .62); }
.album-card--all .album-card__overlay { inset: 0; justify-content: center; align-items: center; text-align: center; }
.album-card--all .album-card__title { color: var(--yellow); }

.gallery-teaser { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.gallery-teaser .album-card--featured { grid-column: 1 / -1; }
@media (min-width: 900px) {
    .gallery-teaser { gap: 20px; grid-template-columns: 2fr 1.25fr 1fr; grid-template-rows: repeat(2, 230px); }
    .gallery-teaser .album-card { aspect-ratio: auto; }
    .gallery-teaser .album-card--featured { grid-column: 1; grid-row: 1 / 3; }
    .gallery-teaser .album-card--all { grid-column: 3; grid-row: 1 / 3; }
    .gallery-teaser--1 { grid-template-columns: 2fr 1fr; }
    .gallery-teaser--1 .album-card--all { grid-column: 2; }
    .gallery-teaser--2 .album-card:nth-child(2) { grid-row: 1 / 3; }
}

.album-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .album-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .album-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.album-grid--spaced { margin-top: 24px; }

.album-header { position: relative; background: var(--navy-900); color: var(--white); overflow: hidden; isolation: isolate; }
.album-header__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(2px); transform: scale(1.04); z-index: -1; }
.album-header__inner { padding-block: 40px 44px; }
@media (min-width: 768px) { .album-header__inner { padding-block: 64px; } }
.album-header__title { color: var(--white); font-size: clamp(36px, 6vw, 60px); font-weight: 800; margin: 12px 0 14px; }
.album-header__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; color: rgba(255, 255, 255, .88); }
.album-header__meta > * { display: inline-flex; align-items: center; gap: 6px; }
.album-header__meta a { color: var(--yellow); text-decoration: none; }
.album-header__text { max-width: 720px; margin-top: 18px; color: rgba(255, 255, 255, .85); }
.album-header__text p:last-child { margin: 0; }
.album-header__text a { color: var(--yellow); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; font-size: 15px; }
.back-link:hover { color: var(--yellow); }

.photo-grid { display: grid; gap: 6px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
@media (min-width: 1024px) { .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
@media (min-width: 1280px) { .photo-grid { grid-template-columns: repeat(5, 1fr); } }
.photo-grid__item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--blue-100); }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.photo-grid__item:hover img { transform: scale(1.05); }
.photo-grid--preview { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 768px) { .photo-grid--preview { grid-template-columns: repeat(5, 1fr); } }

/* Tournaments ------------------------------------------------------------ */
.tournament-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.tournament-card:hover { transform: translateY(-3px); border-color: var(--yellow); }
.tournament-card.status-open { background: var(--yellow-100); border-color: var(--yellow); }
.tournament-card__date { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 15px; }
.tournament-card__date .icon { color: var(--yellow-600); }
.tournament-card__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.15; color: var(--navy); }
.tournament-card__place { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.tournament-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.tournament-card__arrow { color: var(--navy); transition: transform .2s; }
.tournament-card:hover .tournament-card__arrow { transform: translateX(4px); }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--blue-100); color: var(--navy-700); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--open { background: var(--yellow); color: var(--navy); }
.status--closed { background: #fde7e7; color: var(--red); }
.status--done { background: #e3f4ea; color: var(--green); }

.facts { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: -64px; position: relative; z-index: 2; } }
.facts__item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.facts__item > .icon { width: 28px; height: 28px; color: var(--yellow-600); }
.facts__item > span { display: flex; flex-direction: column; }
.facts__item small { color: var(--muted); font-size: 13px; }
.facts__item strong { color: var(--navy); }

/* About band ------------------------------------------------------------- */
.about { display: grid; background: var(--blue-50); margin-top: 24px; }
.about__media { min-height: 260px; position: relative; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__body { padding: 40px var(--gutter); }
.about__body p { color: var(--muted); max-width: 560px; }
.about__stats { list-style: none; margin: 0; padding: 0 var(--gutter) 40px; display: grid; gap: 20px; }
.about__stats li { display: flex; align-items: center; gap: 14px; }
.about__stats .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--yellow-100); color: var(--navy); }
.about__stats span { display: flex; flex-direction: column; color: var(--muted); font-size: 14px; }
.about__stats strong { font-family: var(--font-display); font-size: 22px; color: var(--navy); }
@media (min-width: 900px) {
    .about { grid-template-columns: 1fr 1.2fr .8fr; align-items: center; }
    .about__media { align-self: stretch; min-height: 380px; }
    .about__body { padding: 56px 48px; }
    .about__stats { padding: 56px 48px 56px 0; }
}

/* Page header ------------------------------------------------------------- */
.page-header { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.page-header__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-header.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 22, 52, .95) 0%, rgba(7, 22, 52, .75) 60%, rgba(7, 22, 52, .5) 100%); }
.page-header__inner { padding-block: 48px 56px; }
@media (min-width: 1024px) { .page-header__inner { padding-block: 80px 112px; } }
.page-header__title { color: var(--white); font-size: clamp(38px, 6vw, 64px); font-weight: 800; margin: 0; max-width: 18ch; }
.page-header__text { max-width: var(--measure); margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .85); }

/* Filter / pagination ---------------------------------------------------- */
.filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter__item { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--blue-50); border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.filter__item:hover { border-color: var(--navy); }
.filter__item.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--blue-50); color: var(--navy); font-weight: 700; text-decoration: none; }
.pagination .page-numbers.current { background: var(--navy); color: var(--white); }
.pagination a.page-numbers:hover { background: var(--yellow); }

/* Article / prose -------------------------------------------------------- */
.article__header { padding-top: var(--space); }
.article__header > * { max-width: var(--measure); }
.article__title { font-size: clamp(36px, 5.5vw, 58px); font-weight: 800; margin: 6px 0 16px; }
.article__lead { font-size: 20px; color: var(--muted); }
.article__cover { margin-block: var(--space-sm); }
.article__cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }

/* Low specificity (:where) so component styles inside content always win. */
.prose { font-size: 18px; line-height: 1.7; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose :where(h2) { font-size: 32px; margin: 1.4em 0 .5em; }
.prose :where(h3) { font-size: 25px; margin: 1.4em 0 .5em; }
.prose :where(h4) { font-size: 20px; margin: 1.2em 0 .4em; }
.prose :where(a:not([class])) { color: var(--navy-700); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose :where(ul, ol) { padding-left: 1.3em; margin: 0 0 1em; }
.prose :where(li) { margin-bottom: .35em; }
.prose :where(li)::marker { color: var(--yellow-600); font-weight: 700; }
.prose :where(blockquote) { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--yellow); font-size: 1.1em; color: var(--navy); font-style: italic; }
.prose :where(blockquote p:last-child) { margin-bottom: 0; }
.prose :where(img) { border-radius: var(--radius-sm); }
.prose :where(figure) { margin: 1.5em 0; }
.prose :where(figcaption) { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.prose :where(table) { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1em 0; }
.prose :where(th, td) { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose :where(th) { color: var(--navy); }
.prose :where(td p) { margin: 0; }
.prose .wp-block-gallery { gap: 8px; }

/* Gutenberg content: everything starts at the same left edge as the page title.
   Text keeps a readable width, S-VK blocks / wide blocks use the full container. */
.entry { padding-block: var(--space); }
.entry > * {
    width: min(var(--measure), 100% - 2 * var(--gutter));
    margin: 0 auto 1.1em max(var(--gutter), (100% - var(--container)) / 2);
}
.entry > :where(.alignwide, .svk-block, .wp-block-columns, .wp-block-gallery, .is-style-cta, .wp-block-group.has-background) {
    width: min(var(--container), 100% - 2 * var(--gutter));
}
.entry > .alignfull { width: 100%; margin-left: 0; margin-right: 0; }
.entry > .svk-block--club-data:not(.alignwide):not(.alignfull) { width: min(var(--measure), 100% - 2 * var(--gutter)); }
.entry > :where(h2, h3, h4) { margin-top: 1.6em; margin-bottom: .5em; }
.entry > :where(.svk-block, .alignwide, .alignfull, .wp-block-group, .wp-block-columns, .wp-block-gallery) { margin-top: var(--space-sm); margin-bottom: var(--space-sm); }
.entry > :where(h2, h3, h4) + .svk-block { margin-top: .75em; }
.entry > :first-child { margin-top: 0; }
.entry > :last-child { margin-bottom: 0; }
.entry > .alignfull:last-child { margin-bottom: calc(-1 * var(--space)); }
.entry--article, .entry--after { padding-top: 0; }
.entry--after { padding-bottom: var(--space); }

/* Homepage = sections */
.entry--home { padding-top: 0; }
.entry--home > .svk-block { margin-block: var(--space); }
.entry--home > .wp-block-cover:first-child { margin-block: 0; }
.entry--home > .is-style-svk-quick { margin-top: -72px; position: relative; z-index: 2; }
@media (min-width: 900px) { .entry--home > .is-style-svk-quick { margin-top: -90px; } }
.entry--home > .is-style-section-head { margin-top: var(--space); }
.entry > .is-style-section-head + * { margin-top: 0; }

.entry > .wp-block-group.has-background { padding: 32px; border-radius: var(--radius); }
.entry .wp-block-button__link { display: inline-flex; align-items: center; gap: .5em; padding: .9em 1.6em; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; background: var(--yellow); color: var(--navy); }
.entry .wp-block-button__link:hover { background: var(--yellow-600); }
.entry .is-style-outline .wp-block-button__link { background: transparent; border: 2px solid currentColor; color: var(--navy); }
.entry .wp-block-separator { border: 0; height: 4px; width: 64px; background: var(--yellow); border-radius: 2px; margin: 40px auto; }
.entry .wp-block-image img { border-radius: var(--radius); }
:is(.cta-band, .is-style-cta) :where(h2, h3) { color: var(--white); margin-top: 0; }
:is(.cta-band, .is-style-cta) :where(a:not([class])) { color: var(--yellow); }
:is(.cta-band, .is-style-cta) .wp-block-buttons { margin: 0; }
.entry :is(.cta-band, .is-style-cta) .is-style-outline .wp-block-button__link { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.entry :is(.cta-band, .is-style-cta) .is-style-outline .wp-block-button__link:hover { background: var(--white); color: var(--navy); }
/* Classic themes wrap group content in __inner-container. */
.wp-block-group:is(.cta-band, .is-style-cta) > .wp-block-group__inner-container { display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }
:is(.cta-band, .is-style-cta) .wp-block-group p { margin: 0; }
@media (min-width: 900px) {
    .wp-block-group:is(.cta-band, .is-style-cta) > .wp-block-group__inner-container { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}
.entry--article { padding-top: 0; }
.is-style-checks { list-style: none; padding: 0 !important; }
.is-style-checks li { position: relative; padding-left: 34px; margin-bottom: .7em; }
.is-style-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }

.inline-link-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; margin-bottom: 48px; border-radius: var(--radius); background: var(--yellow-100); color: var(--navy); text-decoration: none; }
.inline-link-card > .icon:first-child { width: 28px; height: 28px; color: var(--yellow-600); }
.inline-link-card span { display: flex; flex-direction: column; flex: 1; }
.inline-link-card small { color: var(--muted); }

/* Layout helpers --------------------------------------------------------- */
.layout-split { display: grid; gap: 40px; }
@media (min-width: 1024px) { .layout-split { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .panel { padding: 32px; } }

.data-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: 15px; }
.data-list dt { color: var(--muted); }
.data-list dd { margin: 0; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }

.link-list { list-style: none; margin: 0; padding: 0; }
.link-list a { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; }
.link-list a:hover span { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--yellow); }
.link-list small { color: var(--muted); font-weight: 400; }

.people { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .people { grid-template-columns: repeat(4, 1fr); } }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.person__photo { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; margin-bottom: 14px; background: var(--navy); border: 4px solid var(--yellow); display: grid; place-items: center; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo span { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--yellow); }
.person__name { font-family: var(--font-display); font-size: 22px; color: var(--navy); }
.person__role { color: var(--muted); font-size: 15px; }
.person__contact { font-size: 14px; margin-top: 4px; }

:is(.cta-band, .is-style-cta) { display: flex; flex-direction: column; gap: 20px; padding: 32px 24px; border-radius: var(--radius); background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
:is(.cta-band, .is-style-cta)::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 150px; height: 150px; border-radius: 50%; border: 18px solid var(--yellow); opacity: .9; }
@media (min-width: 900px) { :is(.cta-band, .is-style-cta)::after { right: -60px; top: -60px; bottom: auto; width: 220px; height: 220px; border-width: 28px; } }
:is(.cta-band, .is-style-cta) > * { position: relative; z-index: 1; }
.cta-band__title { color: var(--white); font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
:is(.cta-band, .is-style-cta) p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { :is(.cta-band, .is-style-cta) { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px 48px; padding-right: 200px; } }

.documents { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .documents { grid-template-columns: repeat(2, 1fr); } }
.document { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: border-color .2s, transform .2s; }
.document:hover { border-color: var(--yellow); transform: translateY(-2px); }
.document__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--yellow-100); flex: none; }
.document__body { display: flex; flex-direction: column; flex: 1; }
.document__body small { color: var(--muted); }

.steps { display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px; } }
.steps .panel { position: relative; }
.steps__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-family: var(--font-display); font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.steps .block-title { margin-top: 0; }
.qr { margin-top: 20px; }
.qr img { max-width: 220px; border-radius: var(--radius-sm); border: 1px solid var(--line); }

.schedule { display: grid; gap: 14px; margin-bottom: 28px; }
@media (min-width: 640px) { .schedule { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .schedule { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.schedule__item { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.schedule__item.is-next { border-left-color: var(--yellow); background: var(--yellow-100); }
.schedule__day { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .02em; }
.schedule__time { font-size: 24px; font-weight: 700; color: var(--text); }
.schedule__place { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; }
.schedule__note { font-size: 14px; color: var(--muted); font-style: italic; }
.schedule__badge { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: var(--yellow); font-size: 12px; font-weight: 700; }

.contact { display: grid; gap: 28px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 420px 1fr; } }
.contact__cards { display: grid; gap: 12px; align-content: start; }
.contact__card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); }
a.contact__card:hover { border-color: var(--yellow); }
.contact__card > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--yellow-100); }
.contact__card span { display: flex; flex-direction: column; }
.contact__card small { color: var(--muted); }
.contact__legal { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.contact__map { min-height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--blue-100); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

.not-found { text-align: center; }
.not-found__code { font-family: var(--font-display); font-size: 120px; font-weight: 800; line-height: 1; color: var(--yellow); margin: 0; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: 15px; padding-top: 56px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; } }
.site-footer__brand p { margin: 16px 0; }
.site-footer__title { font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--yellow); margin-top: 3px; }
.site-footer__small { font-size: 13px; margin-top: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.supporter { display: flex; align-items: center; gap: 12px; color: var(--white); }
.supporter__logo { width: 48px; height: auto; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--yellow); color: var(--navy); }

/* Lightbox --------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: rgba(3, 9, 24, .97); color: var(--white); opacity: 0; transition: opacity .2s; touch-action: none; user-select: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; position: relative; z-index: 2; }
.lightbox__counter { font-weight: 600; font-size: 15px; padding-left: 8px; font-variant-numeric: tabular-nums; }
.lightbox__tools { display: flex; gap: 4px; }
.lightbox__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; text-decoration: none; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .12); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__stage { position: relative; flex: 1; overflow: hidden; }
.lightbox__track { display: flex; height: 100%; will-change: transform; }
.lightbox__slide { flex: 0 0 100%; display: grid; place-items: center; padding: 0 0 8px; }
@media (min-width: 768px) { .lightbox__slide { padding: 0 72px 16px; } }
.lightbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 52px; height: 52px; background: rgba(255, 255, 255, .1); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@media (max-width: 767px) { .lightbox__nav { display: none; } }
.lightbox__caption { text-align: center; padding: 6px 16px 16px; font-size: 15px; color: rgba(255, 255, 255, .8); min-height: 1em; }
.lightbox__spinner { width: 36px; height: 36px; border: 3px solid rgba(255, 255, 255, .2); border-top-color: var(--yellow); border-radius: 50%; animation: svk-spin .8s linear infinite; }
@keyframes svk-spin { to { transform: rotate(360deg); } }
body.lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* WordPress core classes -------------------------------------------------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Club styles for core Gutenberg blocks (Štýly panel in the editor)
   ========================================================================== */

/* Cover → "Hero S-VK" */
.wp-block-cover.is-style-svk-hero { min-height: 540px; padding: 72px 0 120px; justify-content: flex-start; }
@media (min-width: 1024px) { .wp-block-cover.is-style-svk-hero { min-height: 640px; padding: 96px 0 150px; } }
.is-style-svk-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(7, 22, 52, .94) 0%, rgba(7, 22, 52, .78) 45%, rgba(7, 22, 52, .25) 100%) !important; opacity: 1 !important; }
.wp-block-cover.is-style-svk-hero .wp-block-cover__inner-container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; color: var(--white); }
.is-style-svk-hero .wp-block-cover__inner-container > * { max-width: 620px; margin-left: 0; margin-right: 0; }
.is-style-svk-hero h1, .is-style-svk-hero h2 { color: var(--white); font-size: clamp(42px, 8vw, 76px); font-weight: 800; line-height: 1.02; margin: 0 0 20px; }
.is-style-svk-hero p { font-size: 18px; color: rgba(255, 255, 255, .88); }
.is-style-svk-hero mark { background: none; }
.is-style-svk-hero .wp-block-buttons { margin-top: 32px; gap: 12px; }
.is-style-svk-hero .is-style-outline .wp-block-button__link { color: var(--white); border: 2px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .04); }
.is-style-svk-hero .is-style-outline .wp-block-button__link:hover { background: var(--white); color: var(--navy); }

/* Paragraph → "Malý nadpis" / "Odkaz so šípkou" */
p.is-style-kicker { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow-600); margin-bottom: 14px; }
.is-style-svk-hero p.is-style-kicker, .is-style-cta p.is-style-kicker { color: var(--yellow); font-size: 13px; }
p.is-style-more-link { font-weight: 700; font-size: 15px; margin-top: 0; margin-bottom: 0; }
p.is-style-more-link a { color: var(--navy-700); text-decoration: none; }
p.is-style-more-link a::after { content: " →"; display: inline-block; transition: transform .2s; }
p.is-style-more-link a:hover { color: var(--yellow-600); }
p.is-style-more-link a:hover::after { transform: translateX(3px); }

/* Group → "Nadpis sekcie s odkazom" */
.wp-block-group.is-style-section-head,
.wp-block-group.is-style-section-head > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.is-style-section-head { margin-bottom: 28px !important; }
.is-style-section-head h2 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 800; margin: 0 !important; }

/* Group → "Karta" */
.wp-block-group.is-style-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px 24px; border-bottom: 4px solid var(--yellow); }
.is-style-card h3, .is-style-card h2 { font-size: 22px; margin: 0 0 6px !important; }
.is-style-card p { font-size: 15px; color: var(--muted); margin: 0 0 8px; }
.is-style-card p:last-child { margin-bottom: 0; }

/* Columns → "Karty cez hero" */
.wp-block-columns.is-style-svk-quick { gap: 14px; margin-bottom: 0; }
@media (min-width: 900px) { .wp-block-columns.is-style-svk-quick { gap: 20px; } }
.is-style-svk-quick > .wp-block-column { display: flex; flex-direction: column; }
.is-style-svk-quick > .wp-block-column > * { flex: 1; margin: 0; }
.is-style-svk-quick .svk-block, .is-style-svk-quick .quick__card { height: 100%; }
.quick__card { box-shadow: var(--shadow-lg); }

/* Media & text → "O klube S-VK" */
.wp-block-media-text.is-style-svk-about { background: var(--blue-50); }
.is-style-svk-about .wp-block-media-text__media { align-self: stretch; min-height: 300px; }
.is-style-svk-about .wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; }
.wp-block-media-text.is-style-svk-about .wp-block-media-text__content { padding: var(--space-sm) var(--gutter); }
@media (min-width: 900px) { .wp-block-media-text.is-style-svk-about .wp-block-media-text__content { padding: var(--space) 48px; } }
.is-style-svk-about .wp-block-media-text__content > * { max-width: 600px; }
.is-style-svk-about h2 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 800; }
.is-style-svk-about p:not(.is-style-kicker):not(.is-style-more-link) { color: var(--muted); }

/* Menu item with CSS class "menu-cta" → yellow button in the header */
.main-nav__list .menu-cta > a { display: inline-flex; align-items: center; gap: .5em; background: var(--yellow); color: var(--navy) !important; border-radius: 10px; font-weight: 700; }
.main-nav__list .menu-cta > a:hover { background: var(--yellow-600); }
.main-nav__list .menu-cta > a::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: 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='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: 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='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 1080px) {
    .main-nav__list .menu-cta { margin-left: 6px; }
    .main-nav__list .menu-cta > a { padding: .7em 1.25em; margin-block: 16px; }
    .main-nav__list .menu-cta > a::after { display: none; }
}
@media (max-width: 1079px) {
    .main-nav__list .menu-cta > a { justify-content: center; margin-top: 20px; padding: 16px; font-family: var(--font); font-size: 18px; border: 0; }
}
.site-footer .menu-cta { display: none; }

/* Membership application form ---------------------------------------------- */
.form { display: grid; gap: 18px; max-width: var(--measure); }
.form__row--2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-weight: 700; font-size: 15px; color: var(--navy); }
.field input, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--blue-200); border-radius: var(--radius-sm); background: var(--white); color: var(--text); font: inherit; font-size: 16px; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px var(--yellow-100); }
.field__hint { color: var(--muted); font-size: 14px; }
.field__password { position: relative; display: block; }
.field__password input { padding-right: 48px; }
.field__reveal { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.field__reveal:hover { color: var(--navy); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.check--consent { font-size: 14px; color: var(--muted); }
.form__account { padding: 18px; background: var(--blue-50); border-radius: var(--radius-sm); }
.form__account[hidden] { display: none; }
.form__trap { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.form-errors { padding: 16px 20px; border-radius: var(--radius-sm); background: #fde7e7; color: #8a1f1f; }
.form-errors ul { margin: 6px 0 0; padding-left: 1.2em; }
.form-success { display: flex; gap: 16px; align-items: flex-start; max-width: var(--measure); padding: 24px; border-radius: var(--radius); background: #e3f4ea; color: #145c37; }
.form-success > .icon { width: 32px; height: 32px; flex: none; }
.form-success strong { display: block; font-family: var(--font-display); font-size: 24px; color: #145c37; }
.form-success p { margin: 4px 0 0; }

/* Members-only albums -------------------------------------------------------- */
.album-card--locked { background: var(--navy); }
.album-card--locked::after { background: linear-gradient(180deg, rgba(7, 22, 52, 0) 40%, rgba(7, 22, 52, .6) 100%); }
.album-card__lock { position: absolute; top: 16px; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--yellow); font-size: 13px; font-weight: 700; }
.members-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 22px; margin-bottom: 28px; border-radius: var(--radius); background: var(--blue-50); color: var(--navy); }
.members-note > .icon { width: 24px; height: 24px; color: var(--yellow-600); }
.members-note p { margin: 0; flex: 1; min-width: 240px; }
.members-note__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.locked { max-width: var(--measure); }
.locked__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow-100); color: var(--navy); margin-bottom: 16px; }
.locked__icon .icon { width: 26px; height: 26px; }
.locked__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.site-footer__member .icon { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.wp-block-column > .wp-block-group.is-style-card:only-child { height: 100%; }

/* Group → "Podpora / partner" (Mesto Trstená on the homepage) */
.wp-block-group.is-style-supporter,
.wp-block-group.is-style-supporter > .wp-block-group__inner-container { display: flex; flex-direction: column; gap: 20px; }
.wp-block-group.is-style-supporter { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.is-style-supporter .wp-block-image { margin: 0; flex: none; }
.is-style-supporter .wp-block-image img { width: 96px; height: auto; border-radius: 0; }
.is-style-supporter p { margin: 0; color: var(--muted); }
.is-style-supporter p.is-style-kicker { color: var(--yellow-600); margin-bottom: 6px; }
.is-style-supporter h2, .is-style-supporter h3 { margin: 0 0 6px !important; font-size: 28px; }
@media (min-width: 768px) {
    .wp-block-group.is-style-supporter,
    .wp-block-group.is-style-supporter > .wp-block-group__inner-container { flex-direction: row; align-items: center; gap: 32px; }
    .wp-block-group.is-style-supporter { padding: 32px 40px; }
}
.site-footer__widgets .wp-block-image { margin: 0 0 14px; }
.site-footer__widgets .wp-block-image img { width: 64px; height: auto; padding: 6px; background: var(--white); border-radius: var(--radius-sm); }

/* Homepage joke ------------------------------------------------------------ */
.joke { position: relative; display: flex; gap: 20px; padding: 28px 24px; border-radius: var(--radius); background: var(--yellow-100); overflow: hidden; }
.joke__mark { flex: none; font-family: var(--font-display); font-size: 120px; font-weight: 800; line-height: .8; color: var(--yellow); margin-top: -4px; }
.joke__body { flex: 1; min-width: 0; }
.joke__label { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow-600); margin: 0 0 10px; }
.joke__text { font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; line-height: 1.45; color: var(--navy); min-height: 2.9em; transition: opacity .15s; }
.joke__text.is-changing { opacity: 0; }
.joke__text p { margin: 0 0 .4em; }
.joke__text p:last-child { margin-bottom: 0; }
.joke__next { margin-top: 20px; }
.joke__next:active .icon { transform: rotate(180deg); }
.joke__next .icon { transition: transform .3s; }
@media (min-width: 768px) { .joke { padding: 40px 48px; gap: 32px; } .joke__mark { font-size: 160px; } }
.site-footer .logo__mark { height: 88px; }

/* Group → "Zvýraznený box (žltý)" – e.g. Telegram on the Tréningy page */
.wp-block-group.is-style-highlight { padding: 28px 24px; border-radius: var(--radius); background: var(--yellow-100); border-left: 6px solid var(--yellow); }
.is-style-highlight h2 { margin-top: 0 !important; }
.is-style-highlight .wp-block-columns { margin: 0; gap: 24px 48px; align-items: center; }
.is-style-highlight .wp-block-buttons { margin-top: 20px; gap: 10px; }
.is-style-highlight .wp-block-image { margin: 0; text-align: center; }
.is-style-highlight .wp-block-image img { width: 100%; max-width: 220px; border-radius: var(--radius-sm); background: var(--white); padding: 8px; margin-inline: auto; }
.is-style-highlight .wp-block-image figcaption { font-size: 14px; color: var(--muted); }
@media (min-width: 782px) {
    .wp-block-group.is-style-highlight { padding: 40px 48px; }
    .is-style-highlight .wp-block-column:last-child:not(:first-child) { flex: 0 0 240px; }
}

/* Tournament team registration --------------------------------------------- */
/* Detail: text on the left, registered teams + form on the right. */
.tournament-body { padding-block: var(--space); display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 1024px) { .tournament-body:not(.tournament-body--solo) { grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; } }
.tournament-body--solo .registration { max-width: 640px; }
.entry--column { padding-block: 0; }
.entry--column > *, .entry--column > :where(.alignwide, .alignfull, .svk-block, .wp-block-columns, .wp-block-gallery, .is-style-cta, .wp-block-group.has-background) { width: auto; margin-left: 0; margin-right: 0; }
.registration { display: grid; gap: 28px; scroll-margin-top: 100px; }
.registration__main .section__title { margin-bottom: 16px; font-size: clamp(26px, 3vw, 34px); }
.registration__count { display: inline-grid; place-items: center; min-width: 32px; height: 28px; padding: 0 8px; margin-left: 6px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-family: var(--font); font-size: 15px; font-weight: 700; vertical-align: 4px; }
.registration__list { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; }
.registration__list li::marker { color: var(--yellow-600); font-weight: 700; }
.registration__empty { margin: 0; color: var(--muted); }

.badge--members { display: inline-flex; align-items: center; gap: 4px; background: var(--navy); color: var(--yellow); }
.badge--members .icon { width: 12px; height: 12px; }
/* Members area hub */
.members-docs { display: grid; gap: 12px; }
@media (min-width: 768px) { .members-docs { grid-template-columns: repeat(2, 1fr); } }
.members-docs__item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: border-color .2s, transform .2s; }
.members-docs__item:hover { border-color: var(--yellow); transform: translateY(-2px); }
.members-docs__item > .icon:first-child { width: 44px; height: 44px; padding: 11px; border-radius: 10px; background: var(--yellow-100); flex: none; }
.members-docs__item span { display: flex; flex-direction: column; flex: 1; }
.members-docs__item small { color: var(--muted); }

/* Tables in content (e.g. task lists for members) */
.entry > .wp-block-table { width: min(var(--container), 100% - 2 * var(--gutter)); overflow-x: auto; }
.entry .wp-block-table table { border-collapse: collapse; min-width: 640px; font-size: 15px; }
.entry .wp-block-table :is(th, td) { border: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; }
.entry .wp-block-table thead { border: 0; }
.entry .wp-block-table thead th { background: var(--navy); color: var(--white); font-weight: 700; }
.entry .wp-block-table tbody tr:nth-child(even) { background: var(--blue-50); }
.entry .wp-block-table td strong { color: var(--green); }

/* Tournament waiting list */
.registration__subtitle { margin: 22px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 19px; color: var(--navy); }
.registration__count--muted { background: var(--blue-50); color: var(--muted); }
.registration__list--waiting { color: var(--muted); }
.registration__list--waiting li::marker { color: var(--muted); }
.form-waitlist { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; padding: 16px 18px; border-radius: 10px; background: #fff6d6; border: 1px solid #f5d77a; color: #5c4400; font-size: 15px; }
.form-waitlist > .icon { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--yellow-600); }
.form-waitlist p { margin: 0; }
.form-waitlist strong { color: var(--navy); }
.form-success--waiting { background: #fff6d6; color: #5c4400; }
.form-success--waiting strong { color: var(--navy); }
