/* =========================================================
   Kultúra v Levoči – verejná stránka
   Farby a rozloženie úvodnej stránky
   ========================================================= */

:root {
    --color-background: #f8f6f3;
    --color-surface: #ffffff;
    --color-text: #292522;
    --color-muted: #6b625c;
    --color-primary: #70453d;
    --color-primary-dark: #59362f;
    --color-accent: #d7a49a;
    --color-accent-light: #f0ded8;
    --color-border: #e3dcd6;
    --container-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--color-primary);
}

a:focus-visible {
    outline: 3px solid #245c9c;
    outline-offset: 4px;
}

.container {
    width: min(var(--container-width), calc(100% - 48px));
    margin: 0 auto;
}

/* Hlavička */

.site-header {
    position: relative;
    z-index: 2;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 88px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--color-text);
    text-decoration: none;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.brand-text strong {
    font-size: 1.1rem;
}

.brand-text > span {
    color: var(--color-muted);
    font-size: .82rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--color-text);
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--color-primary);
}

/* Úvodný blok */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--color-primary);
    color: #fff;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 88px;
    padding-bottom: 94px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--color-primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f0d5cc;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.hero-description {
    max-width: 630px;
    margin: 24px 0 30px;
    color: #f5eae6;
    font-size: 1.1rem;
    line-height: 1.8;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.button-light {
    background: #fff;
    color: var(--color-primary-dark);
}

.button-light:hover {
    background: var(--color-accent-light);
}

.hero-decoration {
    position: absolute;
    top: -150px;
    right: -80px;
    width: 510px;
    height: 510px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    pointer-events: none;
}

.hero-decoration::before,
.hero-decoration::after {
    position: absolute;
    inset: 40px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
}

.hero-decoration::after {
    inset: 90px;
}

/* Program podujatí */

.program-section {
    padding: 76px 0 86px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

.section-heading h2,
.about-section h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.section-intro {
    max-width: 350px;
    margin: 0 0 5px;
    color: var(--color-muted);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.event-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 7px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(41, 37, 34, .07);
}

.event-card-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px 22px 18px;
    background: #f0e2dc;
    border-bottom: 1px solid var(--color-border);
}

.event-category {
    display: inline-block;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 3px;
    background: #fff;
    color: var(--color-primary-dark);
    font-size: .75rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.event-date {
    color: var(--color-primary-dark);
    font-size: .92rem;
    font-weight: 700;
}

.event-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px 22px 22px;
}

.event-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.event-subtitle {
    margin: 8px 0 0;
    color: var(--color-primary);
    font-weight: 700;
}

.event-description {
    margin: 15px 0 20px;
    color: var(--color-muted);
    font-size: .94rem;
}

.event-meta {
    display: grid;
    gap: 13px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.event-meta p {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.meta-label {
    color: var(--color-muted);
}

.venue-address {
    display: block;
    margin-top: 2px;
    color: var(--color-muted);
    font-size: .84rem;
}

.event-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
}

.event-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.program-note {
    margin: 22px 0 0;
    color: var(--color-muted);
    font-size: .84rem;
}

.notice {
    padding: 42px 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 7px;
    text-align: center;
}

.notice-symbol {
    display: block;
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 2rem;
}

.notice h3 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    font-weight: 400;
}

.notice p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--color-muted);
}

.notice-error {
    border-color: #d8aaa3;
}

/* O projekte */

.about-section {
    padding: 70px 0;
    background: var(--color-accent-light);
}

.about-inner {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
    max-width: 920px;
}

.about-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(112, 69, 61, .35);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 2rem;
}

.about-section h2 {
    max-width: 680px;
}

.about-section .eyebrow {
    margin-bottom: 12px;
}

.about-section p:last-child {
    max-width: 700px;
    margin-bottom: 0;
    color: #554842;
}

/* Päta */

.site-footer {
    background: #292522;
    color: #f5efeb;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
}

.footer-inner p {
    margin: 0;
    font-size: .88rem;
}

.footer-inner a {
    color: #f0d5cc;
    font-size: .88rem;
    text-decoration: none;
}

.footer-inner a:hover {
    text-decoration: underline;
}

/* Responzívne rozloženie */

@media (max-width: 950px) {
    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content {
        padding-top: 72px;
        padding-bottom: 76px;
    }

    .hero-decoration {
        right: -240px;
    }
}

@media (max-width: 650px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 12px 22px;
    }

    .hero-content {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 11vw, 3.7rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-decoration {
        top: auto;
        right: -310px;
        bottom: -250px;
        width: 430px;
        height: 430px;
    }

    .program-section {
        padding: 54px 0 62px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .section-intro {
        margin: 0;
    }

    .event-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .event-card-top {
        padding: 18px;
    }

    .event-card-body {
        padding: 20px 18px;
    }

    .about-section {
        padding: 52px 0;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-symbol {
        width: 62px;
        height: 62px;
        font-size: 1.6rem;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Odkaz na detail podujatia v nadpise karty */
.event-title-link {
    color: inherit;
    text-decoration: none;
}

.event-title-link:hover,
.event-title-link:focus {
    color: #70453d;
    text-decoration: underline;
}

/* =========================================================
   REDIZAJN 2026 – Kultúra v Levoči
   Kultúrny magazín + mestský portál + živá kultúrna scéna
   ========================================================= */

:root {
    --color-background: #f7f4f0;
    --color-surface: #ffffff;
    --color-text: #211d1b;
    --color-muted: #514944;
    --color-primary: #b82025;
    --color-primary-dark: #8f151b;
    --color-accent: #f0d8d3;
    --color-accent-light: #f8eae6;
    --color-border: #ded5cf;
    --container-width: 1220px;
}

html {
    scroll-padding-top: 28px;
}

body {
    color: var(--color-text);
    background: var(--color-background);
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: var(--color-primary-dark);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

a:hover {
    color: #6f0d12;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #174ea6;
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 12px 16px;
    background: #ffffff;
    color: #211d1b;
    border: 2px solid #211d1b;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(var(--container-width), calc(100% - 48px));
}

/* Hlavička a skutočné logo */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    min-height: 100px;
    gap: 28px;
}

.brand {
    gap: 16px;
    min-width: 0;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 70px;
    flex: 0 0 100px;
    overflow: hidden;
    border-radius: 0;
    background: #ffffff;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text strong {
    font-size: 1.2rem;
    letter-spacing: -.025em;
}

.brand-text > span {
    color: #514944;
    font-size: .88rem;
}

.main-nav {
    gap: 26px;
}

.main-nav a {
    display: inline-block;
    padding: 10px 0;
    color: #211d1b;
    font-size: .95rem;
}

.main-nav a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* Výraznejšia titulná plocha */

.hero {
    background: var(--color-primary);
    color: #ffffff;
    isolation: isolate;
}

.hero-content {
    padding-top: clamp(64px, 9vw, 112px);
    padding-bottom: clamp(68px, 9vw, 116px);
}

.hero .eyebrow {
    color: #ffffff;
    letter-spacing: .16em;
}

.hero h1 {
    max-width: 850px;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.03;
}

.hero-description {
    max-width: 670px;
    color: #ffffff;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.8;
}

.button {
    min-height: 50px;
    border-radius: 3px;
    transition: background .2s ease, color .2s ease;
}

.button-light {
    background: #ffffff;
    color: #7f1015;
    border: 2px solid #ffffff;
}

.button-light:hover {
    background: #f8eae6;
    color: #6f0d12;
}

.hero-decoration {
    z-index: -1;
    border-width: 2px;
    border-color: rgba(255, 255, 255, .23);
}

.hero-decoration::before,
.hero-decoration::after {
    border-color: rgba(255, 255, 255, .2);
}

/* Nadpisy sekci */

.program-section {
    padding-top: clamp(56px, 7vw, 88px);
    padding-bottom: clamp(64px, 8vw, 96px);
}

.eyebrow {
    color: var(--color-primary-dark);
    font-size: .78rem;
    letter-spacing: .14em;
}

.section-heading {
    align-items: flex-end;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--color-text);
}

.section-heading h2,
.about-section h2 {
    font-weight: 700;
    letter-spacing: -.035em;
}

.section-intro {
    color: #514944;
}

/* Karty programu */

.event-grid {
    gap: 24px;
}

.event-card {
    border: 1px solid #ded5cf;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(33, 29, 27, .035);
    transition: transform .2s ease, box-shadow .2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(33, 29, 27, .1);
}

.event-card-top {
    min-height: 126px;
    padding: 22px 24px;
    background: #f4e3df;
    border-bottom: 3px solid var(--color-primary);
}

.event-category {
    padding: 4px 9px;
    border: 1px solid #c9aaa4;
    border-radius: 2px;
    background: #ffffff;
    color: #6f0d12;
    font-size: .76rem;
    line-height: 1.5;
}

.event-date {
    color: #6f0d12;
    font-size: .94rem;
    font-weight: 700;
}

.event-card-body {
    padding: 25px 24px 24px;
}

.event-card h3 {
    font-size: clamp(1.35rem, 2vw, 1.6rem);
    line-height: 1.28;
}

.event-title-link {
    color: #211d1b;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.event-title-link:hover,
.event-title-link:focus {
    color: #8f151b;
    text-decoration: underline;
}

.event-subtitle {
    color: #7f1015;
}

.event-description,
.event-meta,
.venue-address,
.program-note {
    color: #514944;
}

.event-meta {
    gap: 15px;
}

.event-meta p {
    line-height: 1.55;
}

.meta-label {
    color: #514944;
    font-weight: 700;
}

.event-link {
    color: #8f151b;
    border-top-color: #ded5cf;
    line-height: 1.5;
}

.event-link:hover {
    color: #6f0d12;
}

.notice {
    border-radius: 4px;
    padding: 44px 28px;
}

.notice-symbol {
    color: #8f151b;
}

/* Sekcia o projekte */

.about-section {
    background: #f0d8d3;
    border-top: 1px solid #d8b5ae;
}

.about-symbol {
    border: 2px solid #8f151b;
    color: #8f151b;
}

.about-section p:last-child {
    color: #342521;
}

/* Detail podujatia */

.event-detail {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 0 76px;
    color: #211d1b;
}

.event-detail a {
    color: #8f151b;
}

.event-detail .event-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 8px 0;
    font-weight: 700;
    text-decoration: none;
}

.event-detail .event-back:hover {
    text-decoration: underline;
}

.event-detail-header {
    margin-bottom: 36px;
    padding: 30px 0 32px;
    border-bottom: 3px solid #b82025;
}

.event-detail-category {
    margin-bottom: 12px;
    color: #8f151b;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.event-detail h1 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.event-detail-subtitle {
    max-width: 800px;
    color: #514944;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.event-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .9fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.event-detail-main {
    min-width: 0;
}

.event-detail-main h2,
.event-detail-panel h2 {
    margin: 30px 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.event-detail-main h2:first-child,
.event-detail-panel h2:first-child {
    margin-top: 0;
}

.event-detail-image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 3px;
}

.event-detail-description {
    color: #342f2b;
    font-size: 1.03rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.event-detail-panel {
    padding: 26px;
    background: #ffffff;
    border: 1px solid #ded5cf;
    border-top: 5px solid #b82025;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(33, 29, 27, .055);
}

.event-detail-fact {
    padding-bottom: 17px;
    margin-bottom: 17px;
    border-bottom: 1px solid #ded5cf;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.event-detail-fact:last-of-type {
    border-bottom: 0;
}

.event-detail-label {
    display: block;
    margin-bottom: 4px;
    color: #514944;
    font-size: .86rem;
}

.event-detail-term {
    padding: 16px;
    margin-bottom: 13px;
    background: #f7f4f0;
    border: 1px solid #ded5cf;
    border-left: 4px solid #b82025;
    border-radius: 2px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.event-detail-term-cancelled {
    background: #fff0f0;
    border-color: #b82025;
}

.event-detail-cancelled {
    color: #8f151b;
    font-weight: 700;
}

.event-detail-button {
    display: block;
    width: 100%;
    padding: 13px 16px;
    margin: 12px 0 0;
    background: #b82025;
    border: 2px solid #b82025;
    border-radius: 3px;
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
}

.event-detail-button:hover {
    background: #8f151b;
    border-color: #8f151b;
}

.event-detail-button-secondary {
    background: #ffffff;
    border-color: #8f151b;
    color: #8f151b !important;
}

.event-detail-button-secondary:hover {
    background: #f8eae6;
    color: #6f0d12 !important;
}

.event-detail-empty {
    padding: 18px;
    background: #f7f4f0;
    border-left: 4px solid #b82025;
    line-height: 1.65;
}

.event-detail-poster {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border: 1px solid #ded5cf;
}

/* Päta */

.site-footer {
    background: #211d1b;
    color: #ffffff;
}

.footer-inner {
    min-height: 82px;
    gap: 24px;
}

.footer-inner p {
    color: #ffffff;
}

.footer-inner a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-inner a:hover {
    color: #f4d4ce;
}

/* Mobilné zariadenia a prístupnosť */

@media (max-width: 900px) {
    .event-detail-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-detail-panel {
        max-width: none;
    }
}

@media (max-width: 650px) {
    .container,
    .event-detail {
        width: calc(100% - 32px);
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .brand {
        align-items: center;
        gap: 12px;
    }

    .brand-mark {
        width: 78px;
        height: 56px;
        flex-basis: 78px;
    }

    .brand-text strong {
        font-size: 1.05rem;
    }

    .main-nav {
        width: 100%;
        gap: 8px 22px;
    }

    .main-nav a {
        padding: 5px 0;
    }

    .hero-content {
        padding-top: 56px;
        padding-bottom: 62px;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 11vw, 3.7rem);
    }

    .section-heading {
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 20px;
    }

    .event-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .event-card-top {
        min-height: auto;
        padding: 18px;
    }

    .event-card-body {
        padding: 20px 18px;
    }

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

    .event-detail {
        padding-top: 24px;
        padding-bottom: 48px;
    }

    .event-detail-header {
        padding-top: 16px;
        padding-bottom: 24px;
        margin-bottom: 26px;
    }

    .event-detail-panel {
        padding: 20px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Filtre programu */
.program-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 32px;
    padding: 22px;
    background: #fff;
    border: 1px solid #ded5cf;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(33, 29, 27, 0.04);
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.filter-field label {
    color: #211d1b;
    font-size: 0.9rem;
    font-weight: 700;
}

.filter-field select,
.filter-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    color: #211d1b;
    background: #fff;
    border: 1px solid #81736d;
    border-radius: 7px;
    font: inherit;
}

.filter-field select:focus-visible,
.filter-field input:focus-visible,
.filter-submit:focus-visible,
.filter-reset:focus-visible {
    outline: 3px solid #8f151b;
    outline-offset: 3px;
}

.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 2px;
}

.filter-submit {
    border: 2px solid #8f151b;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.filter-reset {
    color: #8f151b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.filter-message {
    margin: -12px 0 24px;
    padding: 12px 15px;
    color: #211d1b;
    background: #f8eae6;
    border-left: 4px solid #8f151b;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .program-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .program-filters {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
        gap: 14px;
    }

    .filter-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .filter-submit {
        width: 100%;
        min-height: 46px;
    }

    .filter-reset {
        text-align: center;
    }
}


/* Filtre programu sú dočasne skryté. */
.program-filters,
.filter-message {
    display: none !important;
}


/* Kalendár opakujúcich sa podujatí */
.event-calendar {
    margin: 20px 0 24px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e6dfd8;
    border-radius: 16px;
    color: #211d1b;
    box-shadow: 0 8px 24px rgba(33, 29, 27, .05);
}

.event-calendar-heading {
    margin: 0 0 16px;
    font-size: 1.2rem;
    line-height: 1.35;
}

.event-calendar-navigation {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
}

.event-calendar-navigation h4 {
    margin: 0;
    text-align: center;
    text-transform: capitalize;
    font-size: 1.05rem;
}

.event-calendar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border: 1px solid #e0d7d0;
    border-radius: 10px;
    background: #f8f5f2;
    color: #211d1b;
    font: inherit;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.event-calendar-nav:hover:not(:disabled) {
    background: #B82025;
    border-color: #B82025;
    color: #fff;
}

.event-calendar-nav:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.event-calendar-weekdays,
.event-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.event-calendar-weekdays {
    margin-bottom: 7px;
}

.event-calendar-weekdays span {
    text-align: center;
    color: #6f625b;
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 0;
}

.event-calendar-blank {
    min-width: 0;
    min-height: 39px;
}

.event-calendar-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 39px;
    padding: 3px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #f7f4f1;
    color: #211d1b;
    font: inherit;
    font-size: .9rem;
    cursor: pointer;
}

.event-calendar-day:hover {
    border-color: #B82025;
}

.event-calendar-day.is-today {
    border-color: #B82025;
    font-weight: 800;
}

.event-calendar-day.is-selected {
    background: #211d1b;
    border-color: #211d1b;
    color: #fff;
    font-weight: 800;
}

.event-calendar-day.has-event::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    bottom: 3px;
    left: calc(50% - 2px);
    border-radius: 50%;
    background: #B82025;
}

.event-calendar-day.has-cancelled:not(.has-scheduled)::after {
    background: #777;
}

.event-calendar-day.is-selected.has-event::after {
    background: #fff;
}

.event-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
    color: #6f625b;
    font-size: .75rem;
}

.event-calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.calendar-legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #B82025;
}

.calendar-legend-dot.is-cancelled {
    background: #777;
}

.event-calendar-selection {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eee6e0;
}

.event-calendar-selection h4 {
    margin: 0 0 12px;
    font-size: 1rem;
    text-transform: capitalize;
}

.event-calendar-event {
    margin: 0 0 10px;
    padding: 13px;
    border: 1px solid #e9e0d9;
    border-left: 4px solid #B82025;
    border-radius: 9px;
    background: #fff;
    overflow-wrap: anywhere;
}

.event-calendar-event.is-cancelled {
    border-left-color: #777;
    background: #f5f3f1;
}

.event-calendar-event-title {
    display: block;
    margin-bottom: 6px;
    font-size: .9rem;
}

.event-calendar-event-time {
    font-size: 1rem;
    font-weight: 800;
}

.event-calendar-event-venue {
    margin-top: 8px;
    font-weight: 700;
}

.event-calendar-event-address,
.event-calendar-event-range {
    margin-top: 3px;
    color: #6f625b;
    font-size: .85rem;
}

.event-calendar-event-note {
    margin: 9px 0 0;
    white-space: pre-line;
    font-size: .9rem;
}

.event-calendar-cancelled-message {
    margin: 9px 0 0;
    color: #9b2025;
    font-weight: 800;
}

.event-calendar-empty {
    margin: 0;
    color: #6f625b;
    font-size: .9rem;
}

.event-calendar button:focus-visible {
    outline: 3px solid #B82025;
    outline-offset: 2px;
}

@media (max-width: 420px) {
    .event-calendar {
        padding: 12px;
        border-radius: 12px;
    }

    .event-calendar-weekdays,
    .event-calendar-grid {
        gap: 3px;
    }

    .event-calendar-day,
    .event-calendar-blank {
        min-height: 35px;
    }

    .event-calendar-day {
        font-size: .82rem;
        border-radius: 8px;
    }

    .event-calendar-legend {
        font-size: .7rem;
    }
}



/* Hlavny kalendar programu */
.program-calendar {
    margin-top: 24px;
    margin-bottom: 32px;
}

.program-calendar-past-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c9c9c9;
}

.event-calendar-day.is-past,
.event-calendar-day.is-past:hover,
.event-calendar-day.is-past:focus {
    color: #999;
    background: #e7e7e7;
    border-color: #dedede;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.event-calendar-day.is-past::after {
    display: none;
}

.event-calendar-event-title a {
    color: #8f151b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.event-calendar-event-title a:hover {
    text-decoration-thickness: 2px;
}

/* Grafické obrázky kariet podujatí */
.event-card {
    overflow: hidden;
    background: #fff;
}

.event-card-image-link,
.event-card-placeholder {
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.event-card-image-link {
    background: #f1e2df;
}

.event-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.event-card:hover .event-card-image {
    transform: scale(1.035);
}

.event-card-placeholder {
    position: relative;
    flex-direction: column;
    gap: 10px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 24%, rgba(255,255,255,.15) 0 12%, transparent 12.5%),
        linear-gradient(135deg, #6f0d12 0%, #8f151b 52%, #c38b80 100%);
}

.event-card-placeholder::before,
.event-card-placeholder::after {
    position: absolute;
    content: "";
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
}

.event-card-placeholder::before {
    top: -65px;
    right: -30px;
}

.event-card-placeholder::after {
    bottom: -90px;
    left: -35px;
    width: 190px;
    height: 190px;
}

.event-card-placeholder-mark {
    position: relative;
    z-index: 1;
    font-size: 2.8rem;
    line-height: 1;
    color: #f4e3df;
}

.event-card-placeholder-text {
    position: relative;
    z-index: 1;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    .event-card-image {
        transition: none;
    }

    .event-card:hover .event-card-image {
        transform: none;
    }
}



/* =========================================================
   Nová hlavička, navigácia, prevádzky a rozšírená päta
   ========================================================= */

.skip-link {
    position: absolute;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    background: #fff;
    color: #211d1b;
    border: 2px solid #211d1b;
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: relative;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #ded5cf;
}

.header-top {
    background: #292522;
    color: #fff;
    font-size: .82rem;
}
.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 38px;
}
.header-contact-shortcuts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 22px;
}
.header-contact-shortcuts a,
.header-top a {
    color: #fff;
    text-decoration: none;
}
.header-contact-shortcuts a:hover,
.header-top a:hover { text-decoration: underline; }
.header-address { color: #f0e8e4; }

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}
.social-links a:hover {
    background: #fff;
    color: #8f151b;
    text-decoration: none;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.brand {
    flex: 0 1 auto;
    gap: 14px;
}
.brand-mark {
    width: 92px;
    height: 62px;
    flex: 0 0 92px;
    overflow: hidden;
    background: #fff;
}
.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-text { min-width: 0; }
.brand-text strong {
    color: #211d1b;
    font-size: 1.3rem;
    line-height: 1.25;
}
.brand-text > span {
    max-width: 350px;
    color: #514944;
    font-size: .82rem;
    line-height: 1.4;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px 18px;
}
.main-nav a {
    color: #211d1b;
    text-decoration: none;
}
.main-nav .nav-top-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 12px 0;
    font-size: .87rem;
    font-weight: 700;
    line-height: 1.35;
}
.main-nav .nav-top-link:hover,
.main-nav .nav-top-link:focus-visible {
    color: #8f151b;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-dropdown-menu {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: -14px;
    display: none;
    min-width: 230px;
    padding: 8px;
    background: #fff;
    border: 1px solid #ded5cf;
    border-top: 3px solid #b82025;
    box-shadow: 0 12px 28px rgba(33,29,27,.14);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    color: #292522;
    font-size: .88rem;
    line-height: 1.4;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    background: #f8eae6;
    color: #8f151b;
    text-decoration: none;
}

.locations-section,
.contact-section {
    padding: clamp(54px, 7vw, 84px) 0;
    background: #fff;
}
.locations-section .section-heading,
.contact-section .section-heading {
    margin-bottom: 30px;
}
.location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.location-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #ded5cf;
    border-top: 4px solid #b82025;
    box-shadow: 0 3px 12px rgba(33,29,27,.04);
}
.location-card h3 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    line-height: 1.3;
}
.location-card p {
    flex: 1;
    margin: 0 0 20px;
    color: #514944;
    font-size: .94rem;
}
.location-card > a,
.unit-card > a {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #ded5cf;
    color: #8f151b;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
}
.location-card > a:hover,
.unit-card > a:hover { text-decoration: underline; }
.location-card-featured {
    background: #f8eae6;
    border-top-color: #8f151b;
}

.units-section {
    padding: clamp(54px, 7vw, 82px) 0;
    background: #f7f4f0;
    border-top: 1px solid #ded5cf;
    border-bottom: 1px solid #ded5cf;
}
.units-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    align-items: center;
    gap: 42px;
}
.units-inner h2,
.disclosure-inner h2 {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.15;
}
.units-inner > div > p:last-child,
.disclosure-inner > div > p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: #514944;
}
.unit-card {
    padding: 26px;
    background: #fff;
    border: 1px solid #ded5cf;
    border-top: 5px solid #b82025;
}
.unit-card-label {
    display: block;
    margin-bottom: 8px;
    color: #8f151b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.unit-card h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}
.unit-card p {
    color: #514944;
    font-size: .94rem;
}

.disclosure-section {
    padding: clamp(48px, 6vw, 72px) 0;
    background: #f0d8d3;
    border-bottom: 1px solid #d8b5ae;
}
.disclosure-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.disclosure-inner > div { max-width: 760px; }
.disclosure-button {
    flex: 0 0 auto;
    background: #8f151b;
    border: 2px solid #8f151b;
    color: #fff;
}
.disclosure-button:hover {
    background: #6f0d12;
    color: #fff;
}
.contact-section { background: #fff; }
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
}
.contact-main,
.contact-details {
    padding: 26px;
    background: #f8f6f3;
    border: 1px solid #ded5cf;
}
.contact-main h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}
.contact-main p,
.contact-details p { margin-top: 0; }
.contact-main p:last-child,
.contact-details p:last-child { margin-bottom: 0; }
.contact-main a,
.contact-details a { color: #8f151b; font-weight: 700; }
.contact-note {
    color: #514944;
    font-size: .88rem;
}

.site-footer {
    background: #292522;
    color: #f5efeb;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.3fr .8fr .7fr;
    gap: 44px;
    padding-top: 44px;
    padding-bottom: 42px;
}
.footer-identity p {
    margin: 9px 0 0;
    color: #e5dcd7;
    font-size: .9rem;
}
.footer-brand {
    display: inline-block;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}
.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}
.footer-links h2,
.footer-social h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1rem;
}
.footer-links a,
.footer-social a,
.footer-identity a {
    color: #f0d5cc;
    font-size: .9rem;
    text-decoration: none;
}
.footer-links a:hover,
.footer-social a:hover,
.footer-identity a:hover { text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.18);
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.footer-bottom p {
    margin: 0;
    color: #d9d0cb;
    font-size: .78rem;
}

@media (max-width: 1100px) {
    .header-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-top: 16px;
        padding-bottom: 12px;
    }
    .main-nav {
        justify-content: flex-start;
        gap: 0 20px;
    }
    .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .container { width: calc(100% - 32px); }
    .header-top-inner {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        padding-top: 9px;
        padding-bottom: 9px;
    }
    .header-contact-shortcuts {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
    .social-links-header {
        display: flex;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        margin-left: auto;
    }
    .social-links-header a {
        flex: 0 0 27px;
    }
    .header-address { font-size: .78rem; }
    .header-main { gap: 12px; }
    .brand { align-items: center; gap: 10px; }
    .brand-mark {
        width: 70px;
        height: 54px;
        flex-basis: 70px;
    }
    .brand-text strong { font-size: 1.12rem; }
    .brand-text > span { font-size: .75rem; }
    .main-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 0 16px;
    }
    .main-nav .nav-top-link {
        padding: 8px 0;
        font-size: .82rem;
    }
    .nav-dropdown-menu {
        left: 0;
        min-width: min(250px, calc(100vw - 36px));
    }
    .location-grid,
    .units-inner,
    .contact-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }
    .location-grid { gap: 14px; }
    .location-card { padding: 20px; }
    .units-inner { gap: 24px; }
    .disclosure-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }
    .footer-main { gap: 28px; padding-top: 34px; padding-bottom: 30px; }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 6px;
    }
}
@media (max-width: 390px) {
    .brand-mark {
        width: 58px;
        height: 48px;
        flex-basis: 58px;
    }
    .brand-text strong { font-size: 1rem; }
    .brand-text > span { font-size: .7rem; }
    .main-nav { gap: 0 12px; }
}




/* ---------------------------------------------------------
   Oprava sekcie organizačných útvarov a zverejňovania
   --------------------------------------------------------- */
.units-inner {
    display: block;
}
.units-heading {
    max-width: 760px;
    margin-bottom: 30px;
}
.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
    gap: 20px;
}
.units-grid .unit-card {
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
}
.units-grid .unit-card h3 {
    line-height: 1.3;
}
.disclosure-inner {
    display: block;
}
.disclosure-heading {
    max-width: 760px;
    margin-bottom: 30px;
}
.disclosure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 18px;
}
.disclosure-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 175px;
    padding: 24px;
    box-sizing: border-box;
    color: #292522;
    background: #fff;
    border: 1px solid #d8b5ae;
    border-top: 5px solid #8f151b;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}
.disclosure-card:hover,
.disclosure-card:focus-visible {
    color: #292522;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(41, 37, 34, .10);
}
.disclosure-card-label {
    margin-bottom: 10px;
    color: #8f151b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.disclosure-card h3 {
    margin: 0 0 22px;
    font-size: 1.25rem;
    line-height: 1.3;
}
.disclosure-card-link {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #ded5cf;
    color: #8f151b;
    font-size: .9rem;
    font-weight: 700;
}
.disclosure-card-featured {
    background: #f8eae6;
}
@media (prefers-reduced-motion: reduce) {
    .disclosure-card {
        transition: none;
    }
    .disclosure-card:hover,
    .disclosure-card:focus-visible {
        transform: none;
    }
}



/* Kontaktné údaje organizačných útvarov */
.units-inner {
    display: block;
}
.units-heading {
    max-width: 760px;
    margin-bottom: 30px;
}
.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px;
}
.units-grid .unit-card {
    min-width: 0;
    box-sizing: border-box;
}
.unit-contact {
    overflow-wrap: anywhere;
}
.unit-contact p {
    margin: 0 0 9px;
    color: #514944;
    font-size: .92rem;
}
.unit-contact p:last-child {
    margin-bottom: 0;
}
.unit-contact .unit-contact-name {
    margin-top: 16px;
    color: #292522;
    font-weight: 800;
}
.unit-contact .unit-contact-name:first-child {
    margin-top: 0;
}
.unit-contact a {
    color: #8f151b;
    text-decoration: none;
}
.unit-contact a:hover,
.unit-contact a:focus-visible {
    text-decoration: underline;
}
.unit-card-director {
    background: #f8eae6;
}
.disclosure-inner {
    display: block;
}
.disclosure-heading {
    max-width: 760px;
    margin-bottom: 30px;
}
.disclosure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 18px;
}
.disclosure-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 175px;
    padding: 24px;
    box-sizing: border-box;
    color: #292522;
    background: #fff;
    border: 1px solid #d8b5ae;
    border-top: 5px solid #8f151b;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}
.disclosure-card:hover,
.disclosure-card:focus-visible {
    color: #292522;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(41, 37, 34, .10);
}
.disclosure-card-label {
    margin-bottom: 10px;
    color: #8f151b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.disclosure-card h3 {
    margin: 0 0 22px;
    font-size: 1.25rem;
    line-height: 1.3;
}
.disclosure-card-link {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #ded5cf;
    color: #8f151b;
    font-size: .9rem;
    font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
    .disclosure-card {
        transition: none;
    }
    .disclosure-card:hover,
    .disclosure-card:focus-visible {
        transform: none;
    }
}


/* KVL_HERO_SLIDER_CSS */
/* Úvodný fotografický slider – Kultúra v Levoči */

.hero-slider {
    position: relative;
    width: 100%;
    height: clamp(260px, 39vw, 520px);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    isolation: isolate;
    background: #8f151b;
}

.hero-slider-track,
.hero-slide,
.hero-slider-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    z-index: 0;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
}

.hero-slide.is-active {
    z-index: 1;
    opacity: 1;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slider-overlay {
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(143, 21, 27, .48) 0%,
            rgba(184, 32, 37, .22) 48%,
            rgba(143, 21, 27, .38) 100%
        ),
        linear-gradient(
            0deg,
            rgba(33, 29, 27, .25) 0%,
            rgba(33, 29, 27, 0) 55%
        );
}

.hero-slider-controls {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 22px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
}

.hero-slider-dot {
    display: block;
    width: 11px;
    height: 11px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.hero-slider-dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

.hero-slider-dot:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 650px) {
    .hero-slider {
        height: 270px;
    }

    .hero-slider-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(143, 21, 27, .42),
                rgba(184, 32, 37, .25),
                rgba(143, 21, 27, .42)
            ),
            linear-gradient(
                0deg,
                rgba(33, 29, 27, .25),
                transparent 60%
            );
    }

    .hero-slider-controls {
        bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slider-dot {
        transition: none;
    }
}

/* KVL_HERO_SLIDER_PATCH_START */

/* Slider je pozadím hero sekcie. */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
}

.hero-slider-track,
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Prechod fotografie do červeného pozadia. */
.hero-slider-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(25, 10, 15, 0.42) 0%,
        rgba(70, 8, 20, 0.34) 42%,
        rgba(130, 12, 32, 0.72) 76%,
        #8b1029 100%
    );
}

.hero .hero-content {
    position: relative;
    z-index: 2;
}

.hero .hero-slider-controls {
    position: absolute;
    z-index: 4;
    right: max(24px, calc((100% - 1200px) / 2));
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero .hero-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.hero .hero-slider-dot.is-active {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.hero .hero-slider-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.hero .hero-decoration {
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero .hero-slider-controls {
        right: 20px;
        bottom: 18px;
    }

    .hero-slide img {
        object-position: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

/* KVL_HERO_SLIDER_PATCH_END */

/* KVL_HERO_SLIDER_DISPLAY_FIX_START */

/* Pozadie a fotografie zaberajú celý hero blok. */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #8b1029;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-slider-track,
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Jemné stmavenie fotografie pre čitateľnosť textu. */
.hero .hero-slider-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(25, 10, 15, 0.42) 0%,
        rgba(70, 8, 20, 0.28) 55%,
        rgba(139, 16, 41, 0.30) 100%
    );
}

.hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Prepínacie bodky na pravej strane. */
.hero .hero-slider-controls {
    position: absolute;
    z-index: 5;
    right: 28px;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.hero .hero-slider-dot {
    display: block;
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.hero .hero-slider-dot.is-active {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.hero .hero-slider-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.hero .hero-decoration {
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero .hero-slider-controls {
        right: 18px;
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

/* KVL_HERO_SLIDER_DISPLAY_FIX_END */



/* KVL_HERO_FULL_BACKGROUND_FIX */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #8b1029;
}

.hero > .hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero .hero-slider-track,
.hero .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero .hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

.hero .hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero .hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero > .hero-content,
.hero .hero-content {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .hero .hero-slide {
        transition: none;
    }
}


/* Responzívna navigácia Kultúra v Levoči */
.nav-toggle,
.nav-submenu-toggle {
    font: inherit;
    cursor: pointer;
}
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 44px;
    padding: 9px 14px;
    color: #fff;
    background: #8f151b;
    border: 1px solid #8f151b;
    border-radius: 4px;
    font-size: .9rem;
    font-weight: 700;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: #711016;
}
.nav-toggle-lines {
    display: flex;
    width: 22px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle-lines span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:first-child {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}
.nav-submenu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    min-height: 42px;
    color: #8f151b;
    background: transparent;
    border: 0;
    border-radius: 4px;
    font-size: 1.25rem;
}
.nav-submenu-toggle:hover,
.nav-submenu-toggle:focus-visible {
    background: #f8eae6;
}
.nav-submenu-toggle span {
    transition: transform .2s ease;
}
.nav-submenu-toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
}
.main-nav .nav-dropdown {
    flex-wrap: wrap;
}
.main-nav .nav-dropdown > .nav-top-link {
    min-width: 0;
}
.main-nav .nav-dropdown-menu {
    width: max-content;
    max-width: min(320px, calc(100vw - 36px));
}

@media (max-width: 900px) {
    .header-main {
        align-items: stretch;
        gap: 12px;
    }
    .header-main > .brand {
        align-self: flex-start;
    }
    .nav-toggle {
        display: inline-flex;
        align-self: flex-start;
    }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;
        padding: 8px 12px;
        background: #fff;
        border: 1px solid #ded5cf;
        border-top: 3px solid #b82025;
        box-shadow: 0 8px 22px rgba(33,29,27,.08);
    }
    .main-nav.is-open {
        display: flex;
    }
    .main-nav > .nav-top-link,
    .main-nav > .nav-dropdown > .nav-top-link {
        flex: 1 1 auto;
        min-height: 44px;
        padding: 12px 8px;
        font-size: .95rem;
    }
    .main-nav > .nav-dropdown {
        display: flex;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #eee6e1;
    }
    .main-nav > .nav-dropdown:last-of-type {
        border-bottom: 0;
    }
    .main-nav > .nav-top-link {
        display: flex;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #eee6e1;
    }
    .main-nav > .nav-dropdown > .nav-submenu-toggle {
        display: inline-flex;
    }
    .main-nav .nav-dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        max-width: none;
        min-width: 0;
        padding: 4px 0 8px 12px;
        border: 0;
        border-left: 2px solid #b82025;
        box-shadow: none;
        background: #faf7f4;
    }
    .main-nav .nav-dropdown.submenu-open .nav-dropdown-menu {
        display: block;
    }
    .main-nav .nav-dropdown-menu a {
        padding: 11px 12px;
        font-size: .92rem;
    }
    .main-nav .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }
    .main-nav .nav-dropdown.submenu-open:hover .nav-dropdown-menu,
    .main-nav .nav-dropdown.submenu-open:focus-within .nav-dropdown-menu {
        display: block;
    }
}

@media (max-width: 390px) {
    .header-main {
        gap: 10px;
    }
    .nav-toggle {
        width: 100%;
        justify-content: flex-start;
    }
    .main-nav {
        padding-right: 8px;
        padding-left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-toggle-lines span,
    .nav-submenu-toggle span {
        transition: none;
    }
}

/* RESPONSIVE NAVIGATION 1200: START */

/* Ikonový rozbaľovací prvok – bez farebnej plochy a bez textu */
.nav-toggle {
    display: none;
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #211d1b;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 52;
    -webkit-appearance: none;
    appearance: none;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: #f8eae6;
    outline-offset: 3px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    flex: 0 0 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.header-main.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-main.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.header-main.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobilné a tabletové rozbaľovacie menu */
@media (max-width: 1200px) {
    .header-main {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .header-main > .nav-toggle {
        display: inline-flex;
        order: 2;
        margin-left: auto;
        align-self: center;
    }

    .header-main > .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: auto;
        width: min(390px, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 10px;
        margin: 0;
        background: #fff;
        border: 1px solid #ded5cf;
        border-top: 3px solid #b82025;
        border-radius: 0 0 7px 7px;
        box-shadow: 0 14px 32px rgba(33, 29, 27, .18);
        z-index: 50;
    }

    .header-main.nav-open > .main-nav {
        display: flex;
    }

    .main-nav > .nav-top-link,
    .main-nav > .nav-dropdown > .nav-top-link {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 13px 12px;
        font-size: .94rem;
        line-height: 1.4;
        text-decoration: none;
        border-bottom: 1px solid #eee7e2;
    }

    .main-nav > .nav-top-link:hover,
    .main-nav > .nav-dropdown > .nav-top-link:hover,
    .main-nav > .nav-top-link:focus-visible,
    .main-nav > .nav-dropdown > .nav-top-link:focus-visible {
        background: #f8eae6;
        text-decoration: none;
    }

    .main-nav .nav-dropdown {
        display: block;
        position: relative;
        width: 100%;
    }

    .main-nav .nav-dropdown-menu {
        display: none;
        position: static;
        min-width: 0;
        width: auto;
        padding: 4px 0 7px 10px;
        margin: 0;
        border: 0;
        box-shadow: none;
        background: #fbf8f6;
    }

    .main-nav .nav-dropdown.submenu-open > .nav-dropdown-menu {
        display: block;
    }

    .main-nav .nav-dropdown:hover > .nav-dropdown-menu {
        display: none;
    }

    .main-nav .nav-dropdown.submenu-open:hover > .nav-dropdown-menu,
    .main-nav .nav-dropdown.submenu-open:focus-within > .nav-dropdown-menu {
        display: block;
    }

    .main-nav .nav-dropdown-menu a {
        display: block;
        padding: 10px 12px;
        font-size: .9rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .main-nav .nav-submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 38px;
        width: 38px;
        min-height: 38px;
        margin-left: 6px;
        border: 0;
        border-radius: 4px;
        background: transparent;
        color: #8f151b;
        cursor: pointer;
    }

    .main-nav .nav-submenu-toggle:hover,
    .main-nav .nav-submenu-toggle:focus-visible {
        background: #f8eae6;
    }

    .main-nav .nav-dropdown.submenu-open > .nav-top-link span,
    .main-nav .nav-dropdown.submenu-open > .nav-submenu-toggle {
        transform: rotate(180deg);
    }
}

/* Na širokých obrazovkách zostáva klasická horizontálna navigácia */
@media (min-width: 1201px) {
    .nav-toggle {
        display: none !important;
    }

    .header-main > .main-nav {
        position: static;
        display: flex;
        width: auto;
        max-width: none;
        max-height: none;
        overflow: visible;
        flex-direction: row;
        align-items: center;
        padding: 0;
        margin: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .main-nav .nav-submenu-toggle {
        display: none;
    }

    .main-nav .nav-dropdown-menu {
        position: absolute;
        min-width: 230px;
        width: auto;
        padding: 8px;
        background: #fff;
        border: 1px solid #ded5cf;
        border-top: 3px solid #b82025;
        box-shadow: 0 12px 28px rgba(33, 29, 27, .14);
    }

    .main-nav .nav-dropdown:hover > .nav-dropdown-menu,
    .main-nav .nav-dropdown:focus-within > .nav-dropdown-menu {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-toggle span {
        transition: none;
    }
}

/* RESPONSIVE NAVIGATION 1200: END */


/* Prevadzky: fotografia vlavo, text vpravo, odkaz cez celu sirku */
.locations-section .location-card {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    grid-template-areas:
        "image content"
        "link  link" !important;
    align-items: start !important;
    column-gap: 20px !important;
    row-gap: 16px !important;
    min-width: 0;
}

.locations-section .location-card > img.location-card-image {
    grid-area: image !important;
    display: block !important;
    width: 112px !important;
    height: 112px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
}

.locations-section .location-card > .location-card-content {
    grid-area: content !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    align-self: start !important;
}

.locations-section .location-card > .location-card-content h3 {
    margin-top: 0;
    overflow-wrap: anywhere;
}

.locations-section .location-card > .location-card-content p {
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.locations-section .location-card > a {
    grid-area: link !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px;
    margin: 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid #ded5cf !important;
    text-align: left !important;
    color: #8f151b !important;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.locations-section .location-card > a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .locations-section .location-card {
        grid-template-columns: 84px minmax(0, 1fr) !important;
        column-gap: 14px !important;
        row-gap: 14px !important;
        padding: 18px !important;
    }

    .locations-section .location-card > img.location-card-image {
        width: 84px !important;
        height: 84px !important;
    }
}

@media (max-width: 390px) {
    .locations-section .location-card {
        grid-template-columns: 68px minmax(0, 1fr) !important;
        column-gap: 12px !important;
        padding: 14px !important;
    }

    .locations-section .location-card > img.location-card-image {
        width: 68px !important;
        height: 68px !important;
    }
}


/* Povinné zverejňovanie: štyri karty v jednom riadku na PC. */
@media (min-width: 1200px) {
    .disclosure-section .disclosure-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* KVL_A11Y_TOUCH_TARGETS_V2 */
/* Klikateľná plocha najmenej 24 x 24 px, s rozostupom. */
.hero-slider-dot {
    box-sizing: content-box;
    min-width: 10px;
    min-height: 10px;
    padding: 7px;
    margin: 4px;
    background-clip: content-box;
}

.hero-slider-dot:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
