body {
     min-height: 100vh;
     font-family: Onest, Arial, sans-serif;
     margin: 0;
     background-image:
         linear-gradient(to right, #ffffff99, #effff399), /* vrchní vrstva */
         url('/images/background-pattern.svg');           /* spodní vrstva */
     background-repeat: repeat;
     background-position: center top;                     /* nebo podle potřeby */
     background-size: contain;                            /* aby pokryl plochu */
 }

header {
    background: linear-gradient(to right, #FF00D933 0%,#FFFFFF00 22%, #FCC10080 45%, #FF00D980 100%);
    padding: 15px 0;
    height: 284px;

    @media (max-width: 1200px) {
        background: linear-gradient(to right, #FF00D933 0%,#FCC10040 22%, #FCC10080 45%, #FF00D980 100%);
    }
}

footer {
    background: none;
    height: auto;
    padding: 0;

    @media (min-width: 1200px) {
        height: 170px;
        padding: 0;
    }
}

img {
    max-width: 100% !important;
}

iframe {
   border-radius: 6px;
   margin: 20px auto 20px;
}

/* =========== SEPARATORS ============================================================================= */

hr.grey {
    border: none;
    height: 2px;
    background-color: #E5E5E5;
    margin: 20px 0;
}

/* =========== SECTION CONTAINERS ============================================================================= */

/* === SECTION TWOCARDS === */

.container-twocards {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 1200px;
    background: none;
    gap: 20px;
    justify-content: space-between;
    margin: -165px auto 30px;

    /*padding: 60px 3%;*/
    @media (min-width: 992px) {
        margin: -115px auto 60px;
    }

    @media (min-width: 1200px) {
        flex-direction: row;
    }

    @media (min-width: 1400px) {
        width: 1200px;
    }
}

.container-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    @media (min-width: 576px) {
        padding: 40px 40px 40px 20px;
    }

    @media (min-width: 1200px) {
        width: 50%;
    }
}

.container-card .card-image-rounded {
    display: none;

    @media (min-width: 576px) {
        display: block;
        width: 100%;
        height: 120px;
    }

    @media (min-width: 1200px) {
        display: block;
        width: 100%;
        height: 170px;
    }
}

.container-card .logo-trida {
    height: 90px;
    width: auto;

    &:hover {
        opacity: 0.7;
    }

    @media (min-width: 576px) {
        height: 120px;
    }
}

.card-tridy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    column-gap: 0;
}

.card-tridy a {
    display: flex;
    align-content: flex-end;
}

.card-info-all,
.card-content-all {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 30px 20px 30px;

    & .logotypes  {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: center;
        gap: 30px;
        padding: 0 40px;

        img {
            max-width: 190px !important;
            max-height: 160px !important;
        }
    }

    @media (min-width: 576px) {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 30px;
        padding: 0 20px 20px 20px;
    }
}

.card-content-all,
section.section--default  {
    width: calc(100% - 20px);

    @media (min-width: 576px) {
        width: calc(100% - 40px);
    }

    @media (min-width: 992px) {
        width: 780px;
    }
}
/*Razeni img v druhe sekci articlu detailu tridy*/
section.section--default p:has(a):not(:has(:not(a, img))) {
    display: flex;
}

.card-info-rows {
    @media (min-width: 576px) {
        width: calc(100% - 170px);
    }
}

.card-content-all {
    flex-direction: column;

    & img {
        border-radius: 6px;
        margin: 10px auto 10px;
    }
}

.card-content-all .card__head {
    display: flex;
    flex-wrap: wrap;
    column-gap: 60px;
    row-gap: 12px;
    padding-bottom: 12px;
}

/* === SECTION SINGLE CARD === */

.container-single-card,
.containers-gallery-list {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    background: white;
    border-radius: 20px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    gap: 20px;
    justify-content: center;
    margin: 100px auto 30px auto;
    max-width: 1200px;
    overflow: visible;
    padding: 150px 0 40px 0;

    @media (min-width: 576px) {
        padding: 220px 0 80px 0;
    }

    @media (min-width: 1000px) {
        padding: 150px 0 80px 0;
    }

    .border-tridy {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        position: absolute;
        top: 70px;
        align-items: flex-end;
        right: auto;
        z-index: 1;

        img {
            width: auto;
            height: 75px;
            z-index: 1;

            &:hover {
                opacity: 0.7;
            }

            @media (min-width: 576px) {
                width: auto;
                height: 102px;
            }
        }

        @media (min-width: 576px) {
            top: 90px;
            flex-wrap: nowrap;
        }

        @media (min-width: 992px) {
            right: 15%;
            column-gap: 0;
            top: -30px;
        }
    }

    .border-skoly {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        position: absolute;
        top: -23px;
        align-items: flex-end;
        right: auto;
        z-index: 1;

        a img {
            display: block;
            align-self: flex-end;
            width: 78px;
            height: auto;
            z-index: 1;

            @media (min-width: 576px) {
                width: 107px;
            }

            &:hover {
                opacity: 0.7;
            }
        }

        @media (min-width: 576px) {
            top: -40px;
        }

        @media (min-width: 992px) {
            left: 15%;
            column-gap: 10px;
            top: -44px;
        }

        a {
            position: relative;
            display: inline-block;

            img {
                box-shadow(0 0 8px rgba(255, 255, 255, 0));
            }

            &::after {
                content: "";
                box-shadow(0 0 8px rgba(255, 255, 255, 1));
                z-index: -1;
            }
        }

        &:has(.icons-rozcestnik) {
            top: -23px;

            @media (min-width: 576px) {
                top: -26px;
            }
        }
    }

    @media (min-width: 1200px) {
        flex-direction: column;
    }

    @media (min-width: 1400px) {
        width: 1200px;
    }

    .icons-rozcestnik {
    }

    .card__title {
        max-width: 770px;
        padding: 0;
    }
}
.container-single-card:first-of-type {
    margin: -145px auto 30px auto;

    @media (min-width: 992px) {
        margin: -50px auto 30px auto;
    }

    @media (min-width: 1200px) {
        margin: -145px auto 30px auto;
    }
}

.container-single-card .card-buttons * {
    /*margin-bottom: -10px;*/

    @media (min-width: 992px) {
        margin-bottom: 0;
    }
}

.containers-gallery-list {
    margin: 40px auto 30px auto;
}
.containers-gallery-list h4 {
    font-size: 24px;
    color: #202024;
    padding: 16px 20px;
}
.containers-gallery-list li a {
    color: transparent;
    text-decoration-style: unset;
    text-decoration: none !important;
}
.containers-gallery-list h4::after {
    display: inline-block;
    content: "";
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    margin-left: 10px;
}
.containers-gallery-list ul {
    list-style-type: none;
}

p.odkaz {

}

.text-twocolumns {
    column-count: 1;           /* počet sloupců */
    column-gap: 20px;          /* mezera mezi sloupci */
    column-fill: balance;      /* plynulé rozdělení textu */
    max-width: 780px;
    margin: 0 auto;            /* vystředění kontejneru */
    padding: 0;

    @media (min-width: 800px) {
        column-count: 2;
    }
}
.text-twocolumns p {
    break-inside: avoid; /* zabrání rozdělení odstavce mezi sloupce */

    @media (min-width: 992px) {
        width: 50%;
    }
}

.container-logo-partners {
    align-items: baseline;
    background: none;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-around;
    margin: 60px auto;
    max-width: 1200px;
    padding: 20px;
    width: auto;

    @media (min-width: 576px) {
        padding: 0;
    }

    @media (min-width: 1400px) {
        width: 1200px;
    }
}
.container-logo-partners img.logo {
    height: auto;
    width: 150px;
}
.container-logo-partners img.logo.eu {
    width: 300px;
}

.text-onecolumn {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    column-count: 1;           /* počet sloupců */
    column-gap: 20px;          /* mezera mezi sloupci */
    column-fill: balance;      /* plynulé rozdělení textu */
    width: 100%;
    max-width: 780px;
    margin: 0 auto;            /* vystředění kontejneru */

    h2 {
        font-weight: bold;
    }
    h2.wnd-align-center {
        font-weight: normal !important;
        font-size: 16px !important;
    }
}

.container-map {
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    overflow: hidden;
    padding: 60px 0;
    position: relative;

    iframe {
        border-radius: 20px;
        border: 0;
        display: block; /* odstraní nechtěné mezery */
        height: 250px;  /* nebo výška podle potřeby */
        width: 100%;    /* iframe vyplní kontejner */

        @media (min-width: 768px) {
            height: 375px;
        }

        @media (min-width: 1400px) {
            width: 1200px;
        }
    }
}

/* === Container Gallery carusel BEGIN */

.container-gallery {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 40px;
    padding-bottom: 0;
    width: 100%;

    @media (min-width: 576px) {
        padding: 40px 0;
    }
}

.carusel {
    align-items: center;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 60px;
}

.arrow {
    background: none;
    border: none;
    color: grey;
    cursor: pointer;
    font-size: 3rem;
    opacity: 0.6;
    transition: opacity 0.3s;
    z-index: 2;

    @media (max-width: 500px) {
        font-size: 2.5rem;
    }
}
.arrow:hover {
    opacity: 1;
}

.gallery-track {
    display: flex;
    gap: 50px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}
.gallery-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.thumb {
    aspect-ratio: 1 / 1; /* čtverec */
    border-radius: 20px;
    border: none;
    cursor: pointer;
    flex: 0 0 200px;
    overflow: hidden;
    transition: transform 0.3s ease;
    object-fit: cover;
    width: 200px;
    height: 200px;

    @media (max-width: 800px) {
        flex: 0 0 150px;
    }
}
.thumb:hover {
    transform: scale(1.05);
}
.thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Lightbox - gallery-carusel detail photo */
.lightbox {
    align-items: center;
    background: rgba(0,0,0,0.9);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-img {
    border-radius: 10px;
    max-height: 90%;
    max-width: 90% !important;
}

.close {
    color: white;
    cursor: pointer;
    font-size: 3rem;
    position: absolute;
    right: 40px;
    top: 20px;
    z-index: 99999;
}
/* === Container Gallery carusel END */

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.gallery__item {
    padding: 20px 5px 5px;
    width: 30%;
    flex: 0 0 auto;

    & img {
        display: block;
        width: 100%;
        height: 200px;
        border-radius: 20px;
    }
}
.gallery__thumb {
    width: 100%;
}
.gallery__link {
    display: block;
}

/* === Download file BEGIN === */
.download {
    list-style-type: none;
}

.btn-download {
    background-color: #f6fffe;
    border-radius: 5px;
    border: 1px solid #2ea148;
    line-height: 1.5em;
    margin: 5px 0 16px 4px;
    overflow: hidden;
    padding: 10px;
    text-overflow: ellipsis;
    white-space: wrap;

    @media (min-width: 768px) {
        width: 100%;
    }
}

.btn-download:hover {
    background-color: #8dce9c;
}
.btn-download span {
    color: #202024;
    display: block;
    overflow: hidden;
    text-decoration-color: #202024;
    text-overflow: ellipsis;
    white-space: wrap;
}
.btn-download a {
    color: #202024;
    text-decoration: none;
}
.btn-download span::before {
    content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktZG93bmxvYWQiIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTS41IDkuOWEuNS41IDAgMCAxIC41LjV2Mi41YTEgMSAwIDAgMCAxIDFoMTJhMSAxIDAgMCAwIDEtMXYtMi41YS41LjUgMCAwIDEgMSAwdjIuNWEyIDIgMCAwIDEtMiAySDJhMiAyIDAgMCAxLTItMnYtMi41YS41LjUgMCAwIDEgLjUtLjUiLz4KICA8cGF0aCBkPSJNNy42NDYgMTEuODU0YS41LjUgMCAwIDAgLjcwOCAwbDMtM2EuNS41IDAgMCAwLS43MDgtLjcwOEw4LjUgMTAuMjkzVjEuNWEuNS41IDAgMCAwLTEgMHY4Ljc5M0w1LjM1NCA4LjE0NmEuNS41IDAgMSAwLS43MDguNzA4eiIvPgo8L3N2Zz4=);
    font-weight: 400;
    line-height: 1;
    padding-right: 0.625rem;
    position: relative;
    top: 0.0625rem;
}

.row {
    --bs-gutter-x: 40px;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    /*margin-left: calc(var(--bs-gutter-x) * -.5);*/
    /*margin-right: calc(var(--bs-gutter-x) * -.5);*/
    /*margin-top: calc(var(--bs-gutter-y) * -1);*/

    @media (max-width: 992px) {
        display: flex;
        flex-direction: column;
    }
}
.row>* {
    flex-shrink: 0;
    margin-top: var(--bs-gutter-y);
    max-width: 100%;
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
    width: 100%;
}

.col {
    flex: 1 0 0;
}

/*zakomentovala jsem to kvuli icon-time v aktualitach*/
*, :after, :before {
    /*box-sizing: border-box;*/
}
/* === Download file END === */

.header-container {
    background: none;
    display: flex;
    justify-content: flex-end;
    margin: 0 5%;
    max-width: 1200px;

    @media (min-width: 1400px) {
        margin: 0 auto;
        padding: 0;
        width: 1200px;
    }
}

.footer-container {
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 5%;

    @media (min-width: 1400px) {
        padding: 0;
        width: 1200px;
    }
}

/* Fonty */

.container-single-card {
    & .card__title {
        font-size: 2rem !important;
    }
}

article h2 {
    padding-left: 0;
}

.fcolor__nademzi {
    color:  #2B432C;
}

.fcolor__napruhonu {
    color:  #6B2157;
}

.card--horizontal {
    position: relative;
    padding-bottom: 10px;
}

.ico-time {
    position: absolute;
    left: 0;
    top: -11px;
}
.ico-time img {
    width: 22px;
    height: 22px;
    margin-right: 4px;
    vertical-align: middle;
}

p, li {
    /*font-size: 0.75rem;*/

    /*@media (min-width: 576px) {*/
    /*    font-size: 1rem;*/
    /*}*/
}
p.datum {
    margin: 10px 20px 0 26px;
    padding-left: 4px;
}

p.odkaz {
    padding-bottom: 36px;
    padding-top: 20px;
}
p.odkaz a {
    align-items: center;
    background: white;
    border-radius: 60px;
    border: 1px solid #aa5f00;
    color: #aa5f00;
    column-gap: 10px;
    display: inline-flex;
    font-family: Onest, Arial, sans-serif;
    font-size: 11px;
    justify-content: space-between;
    padding: 8px 14px;
    text-decoration: none;
    text-transform: uppercase;
}
p.odkaz a::after {
    display: inline-block;
    content: "";
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='DarkGoldenrod' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    margin-left: 10px;
}


/* Fotky v detailech trid */

section.section--default:nth-of-type(2) p img,
section.section--default:nth-of-type(2) img {
    border-radius: 36px;
    padding: 16px;
}

.section__title {
    align-items: center;
    display: flex;
    flex-direction: column;
    font: bold 32px/1.2 Capriola, "Arial", sans-serif !important;
    padding-bottom: 55px;
    text-align: center;
    text-transform: lowercase;

    @media (min-width: 992px) {
        font: bold 45px/1.5 Capriola, "Arial", sans-serif !important;
        padding-bottom: 70px;
    }
}
.section__title:before {
    background: linear-gradient(to right, #FF00D920 0%,#FCC10050 45%, #FF00D950 100%);
    border: none;
    content: "";
    height: 5px;
    margin: 0 0 50px 0;
    width: 100%;

    @media (min-width: 992px) {
        width: 800px;
    }
}

.font-menu,
.font-menu a {
    color: black;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    text-wrap: wrap;
}
.font-menu a {
    text-wrap: nowrap;
}

.card__title,
h1.unique {
    font-family: Sansita Swashed, Arial, sans-serif;
    font-size: 32px !important;
    font-weight: 500 !important;
    padding-bottom: 0 !important;

    @media (min-width: 1000px) {
        font-size: 36px !important;
        padding-bottom: 24px !important;
    }

    @media (min-width: 1400px) {
        font-size: 38px !important;
    }

    & a {
        text-decoration: none !important;

        &:hover {
            opacity: 0.8;
        }
    }
}

.card__info {
    color: black;
    font-family: Onest, Arial, sans-serif;
    font-size: 0.75rem;
    padding-bottom: 36px;

    @media (min-width: 992px) {
        font-size: 18px;
    }

    @media (min-width: 1200px) and (max-width: 1400px) {
        font-size: 14px;
    }
}

.card-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 40px;
    row-gap: 20px;
    align-items: center;
    padding-bottom: 34px;
}

.container-single-card:has(.text-twocolumns) .card-buttons {
    @media (max-width: 1000px) {
        padding-bottom: 0;
    }
}

.container-single-card:has(.text-onecolumn) .card-buttons {
    padding-bottom: 0;
}

.button__link--primary,
.button__link--primary a {
    /*gap: 6px;*/
    align-items: center;
    border-radius: 60px;
    color: white;
    column-gap: 10px;
    display: inline-flex;
    font-family: Onest, Arial, sans-serif;
    font-size: 11px;
    justify-content: space-between;
    letter-spacing: normal;
    padding: 8px 14px;
    text-decoration: none;
    text-transform: uppercase;

    &:hover {
        opacity: 0.8;
    }

    &.color__nademzi {
        background-color:  #2B432C;
        border: 1px solid #2B432C;
    }

    &.color__napruhonu {
        background-color:  #6B2157;
        border: 1px solid #6B2157;
    }
}
[class*="button__link--"] {
    width: 190px;
}

.button__link--primary::after {
    content: "";
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.button__link--secondary,
.button__link--secondary a {
    /*column-gap: 10px;*/
    /*gap: 6px;*/
    align-items: center;
    border-radius: 60px;
    display: inline-flex;
    font-family: Onest, Arial, sans-serif;
    font-size: 11px;
    justify-content: space-between;
    letter-spacing: normal;
    padding: 8px 14px;
    text-decoration: none;
    text-transform: uppercase;

    &:hover {
        opacity: 0.8;
    }
    &.color__nademzi {
        background-color:  white;
        border: 1px solid #2B432C;
        color: #2B432C;
    }
    &.color__napruhonu {
        background-color: white;
        border: 1px solid #6B2157;
        color: #6B2157;
    }
}

.button__link--secondary::after {
    content: "";
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Hlavní logo slunce */
.logo-main {
    left: 50%;
    padding-top: 0;
    position: absolute;
    top: 10px;
    transform: translateX(-50%);
    z-index: 1;

    img:hover {
        transition: filter 0.5s ease, transform 0.7s ease;
    }

    @media (min-width: 1200px) {
        left: calc(50% - 600px + 112px);
    }

    .logo {
        height: auto;
        padding-top: 0;
        width: 150px;

        @media (min-width: 992px) {
            width: 100%;
        }
    }
}

main {
    flex: 1;
    padding: 20px;
}

/* Footer louka */
.footer-meadow {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* === hamburger BEGIN === */

.hamburger {
    background: transparent;
    cursor: pointer;
    display: none;
    padding: 20px;
    transition-duration: 0.15s;
    transition-property: opacity, filter;
    transition-timing-function: linear;

    @media (max-width: 1200px) {
        display: inline-block;
    }

// Normalize (<button>)
    font: inherit;
    color: inherit;
    text-transform: none;

    border: 0;
    margin: 0;
    overflow: visible;

    outline: none !important;

    &.is-active {
        .hamburger-inner,
        .hamburger-inner::before,
        .hamburger-inner::after {
            color: black;
        }
    }
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    background-color: black;
    display: none;

    @media (max-width: 1200px) {
        display: inline-block;
    }
}

.hamburger-box {
    background-color: transparent;
    display: none;
    height: 28px;
    position: relative;
    width: 28px;

    @media (max-width: 1200px) {
        display: inline-block;
    }
}

.hamburger-inner {
    display: block;
    margin-top: calc(2px / -2);
    top: 50%;

    &,
    &::before,
    &::after {
        background-color: black;
        border-radius: 0;
        height: 2px;
        position: absolute;
        transition-duration: 0.15s;
        transition-property: transform;
        transition-timing-function: ease;
        width: 28px;
    }
    &::before,
    &::after {
        content: "";
        display: block;
    }
    &::before {
        top: 8px;
    }
    &::after {
        bottom: 8px;
    }
}

/* == hamburger spin == */
.hamburger--spin {
    .hamburger-inner {
        transition-duration: 0.22s;
        transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);

        &::before {
            transition: top 0.1s 0.25s ease-in,
            opacity 0.1s ease-in;
        }

        &::after {
            transition: bottom 0.1s 0.25s ease-in,
            transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
        }
    }

    &.is-active {
        .hamburger-inner {
            transform: rotate(225deg);
            transition-delay: 0.12s;
            transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);

            &::before {
                top: 0;
                transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
            }
            &::after {
                bottom: 0;
                transform: rotate(-90deg);
                transition: bottom 0.1s ease-out,
                transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
            }
        }
    }
}
/* ======================= hamburger END ===== */

/* ======================= main menu BEGIN ===== */

/* Menu */
/* main hoorní a dolni menu */

.main-menu {
    display: none;
    justify-content: flex-end; /* zarovnání doprava */
    align-items: center;
    column-gap: 40px; /* mezery mezi položkami */
    row-gap: 30px;
    padding-right: 0;
    padding-top: 68px;
    /*overflow-y: hidden !important;*/

    @media (min-width: 1200px) {
        display: flex;
        flex-direction: row;
    }
}

.bottom-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-top: 30px;
    padding-bottom: 30px;

    @media (min-width: 768px) {
        flex-direction: row;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

.main-menu a, .bottom-menu a {
    position: relative;
}

.main-menu a::after, .bottom-menu a::after {
    background-color: rgba(0,0,0,0.5);
    border-radius: 0;
    bottom: -14px;
    content: "";
    height: 2px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    transform-origin: center;
    transform: scaleX(0);
    transition: all 0.1s ease;
}

.main-menu a:hover, .bottom-menu a:hover {
    color: rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.main-menu a:hover::after,
.main-menu a.active::after,
.bottom-menu a:hover::after,
.bottom-menu a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* mobile menu */

.mobile-menu__wrapper {

}

.mobile-menu {
    background: white;
    max-width: 700px;
    right: -700px;
    width: 100%;

    box-shadow: -5px 0 10px rgba( 0, 0, 0, 0 );
    transform: translate3d( 0, 0, 0 );
    transition: transform 500ms cubic-bezier( 0.645, 0.045, 0.355, 1 );

    bottom: 0;
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    z-index: 99998;
}

.mobile-menu--open {
    transform: translate3d(-700px, 0, 0);
    box-shadow: -5px 0 10px rgba( 0, 0, 0, 0.1 );
}

.mobile-menu__content {
    bottom: 86px;
    left: 0;
    overflow: auto;
    position: absolute;
    right: 0;
    top: 86px;
}

.mobile-menu__flex {
    display: flex;
    gap: 10px;
}

.mobile-menu__menu {
    font-weight: 600;
    list-style: none;
    margin: 0;
    padding: 0 20px;
}

.mobile-menu__menu li {
    border-top: 2px solid rgba(128, 128, 128, 0.1);
    text-transform: uppercase;
    text-align: center;
}

.mobile-menu__menu li:first-child {
    border-top: 0;
}

.mobile-menu__menu a {
    color: #2B432C;
    display: block;
    padding: 16px 0;
    text-decoration: none;
    text-align: left;
}

.mobile-menu__menu ul {
    list-style: none;
    padding: 10px;
}

.mobile-menu__menu ul li a {
    font-weight: 400;
    text-align: left;
}

.mobile-menu__menu ul li ul a {
    font-weight: bold;
}

.mobile-menu__address {
    font-size: 18px;
    padding-top: 60px;
    text-align: center;

    a {
        color: #6B2157;
        display: inline-block;
        margin-bottom: 15px;
    }
}

/* Hamburger ve vyjizdecim menu */
   .mobile-menu__hamburger {
       position: absolute;
       right: 16px;
       top: 20px;
   }

/* HAMBURGER */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    padding: 10px;
    z-index: auto;

    @media (min-width: 1200px) {
        display: none;
    }
}

/* POZADÍ ZA MENU */
.mobile-menu-overlay {
    background: rgba(0,0,0,0.6);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity .3s;
    z-index: 1200;
}

/* PANEL MENU */
.mobile-menu {
    background: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.3);
    height: 100%;
    padding: 20px;
    position: fixed;
    top: 0;
    transition: left .3s;
    width: 260px;
    z-index: 1300;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* TLAČÍTKO ZAVŘÍT */
.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    float: right;
    font-size: 30px;
}

/* MENU SEZNAM */
.mobile-menu-list {
    list-style: none;
    padding: 60px 0 0 0;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 18px;
}

.mobile-menu-list a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

/* PODMENU - menu v carde */
#podmenu a {
    color: #2B432C;
    display: block;
    padding: 16px 0;
    text-decoration: none;
}
#podmenu a:hover {
    font-weight: bold;
}

#podmenu ul {
    list-style: none;
    padding: 10px;
}

#podmenu ul li a {
    font-weight: 400;
}

#podmenu ul li ul a {
    font-weight: bold;
}
