.content {
    font-family: Roboto;
}

.breadcrumbs.breadcrumbs--invert {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;

    a {
        color: #10110A !important;
        font-weight: 300;
        font-size: 18px;
        line-height: 18px;
    }

;
}

.lang-wrapper {
    display: grid;
}

.section-ua,
.section-en {
    grid-area: 1 / 1; /* накладаємо в одну клітинку */
    width: 100%;
    /*transition: transform 0.35s ease, opacity 0.35s ease;*/
}

/* ---------- Початкове приховування (без transition) ---------- */

/*html.lang-ua .section-en {*/
/*    transform: scaleX(0);*/
/*    opacity: 0;*/
/*    pointer-events: none;*/
/*    transform-origin: right center;*/
/*}*/

/*html.lang-en .section-ua {*/
/*    transform: scaleX(0);*/
/*    opacity: 0;*/
/*    pointer-events: none;*/
/*    transform-origin: left center;*/
/*}*/

/* ---------- Анімація вмикається ТІЛЬКИ після init ---------- */

/*html.lang-ready .section-ua,*/
/*html.lang-ready .section-en {*/
/*    transition: transform 0.35s ease, opacity 0.35s ease;*/
/*}*/

/*.section-ua {*/
/*    transform-origin: left center;*/
/*}*/

/*.section-en {*/
/*    transform-origin: right center;*/
/*}*/

/*!* приховані стани *!*/
/*.lang-hidden-left {*/
/*    transform: translateX(-100%);*/
/*    opacity: 0;*/
/*    pointer-events: none;*/
/*}*/

/*.lang-hidden-right {*/
/*    transform: translateX(-100%);*/
/*    opacity: 0;*/
/*    pointer-events: none;*/
/*}*/

/*!* кнопки *!*/
/*.lang-switcher {*/
/*    margin-top: 24px;*/
/*    display: flex;*/
/*    gap: 32px;*/
/*}*/

/*.lang-btn {*/
/*    padding: 19px 24px;*/
/*    background: #fff;*/
/*    color: #000;*/
/*    cursor: pointer;*/
/*    font-family: ermilovbold;*/
/*    font-weight: 700;*/
/*    font-size: 16px;*/
/*    line-height: 16px;*/
/*    text-align: center;*/
/*    vertical-align: middle;*/
/*}*/

/*.lang-btn.active {*/
/*    background: #089B58;*/
/*    color: #fff;*/
/*}*/


.custom-player {
    padding: 120px 0;
    max-width: 920px;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
}

.player-cover {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.player-controls-container {
    max-width: 730px;
    padding: 25px;
    margin: 0 auto;
}

/* Слайдер */
/* Контейнер для слайдера, щоб великий індикатор не обрізався */
.player-slider {
    width: 100%;
    height: 14px;
/ / 40 px; /* Збільшуємо висоту зони, щоб індикатор влізав */
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    margin-bottom: 8px;
    cursor: pointer;
}

/* Стиль лінії (треку) для Chrome/Safari */
.player-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 3px;
}

/* Індикатор (Thumb) для Chrome/Safari/Edge */
.player-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
/ / 40 px;
    height: 14px;
/ / 40 px;
    background: #089B58;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -5px;
/ / - 18 px; /* Центрування відносно лінії: (висота_лінії/2) - (висота_індикатора/2) */
}

/* Стиль лінії для Firefox */
.player-slider::-moz-range-track {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 3px;
}

/* Індикатор (Thumb) для Firefox */
.player-slider::-moz-range-thumb {
    width: 14px;
/ / 40 px;
    height: 14px;
/ / 40 px;
    background: #089B58;
    border-radius: 50%;
    cursor: pointer;
}

.time-info {
    display: flex;
    justify-content: space-between;
    color: rgba(102, 102, 102, 0.7);
    font-weight: 300;
    font-size: 16px;
/ / 30 px;
    line-height: 100%;
    margin-bottom: 28px;
}

/* Кнопки */
.main-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin: 0 auto;
}

.main-controls svg {
    transition: transform 0.2s;
}

.main-controls button, .main-controls a {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
}

.post-controls, .wp-text-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    background: transparent;
}

.post-controls {
    margin-top: 40px;
}

.post-controls span, .post-controls a, .wp-text-accordion__toggle span {
    font-family: ermilovbold;
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    background: #fff;
    border: 3px solid #089B58;
    padding: 19px 24px;
    text-align: center;
}

.post-controls, .wp-text-accordion__toggle {
    span:hover, a:hover {
        background: #089B58;
        color: #fff;
    }
}

.post-controls .all-stations {
    background: #089B58;
    color: #fff;

    &:hover {
        background: #fff;
        color: #089B58;
    }
}


.main-controls .disabled {
    opacity: 0.3;
    pointer-events: none;
}

.post-controls .disabled {
    color: #999;
    border-color: #ccc;
    pointer-events: none;
}

.main-controls button:hover {
    transform: scale(1.05);
}

.main-controls .play-pause-btn span svg {
    /*width: 180px;*/
    /*height: 180px;*/
    width: 60px;
    height: 60px;
}

.main-controls {
    .nav-btn, .rewind-btn, .forward-btn {
        svg {
            /*width: 85px;*/
            /*height: 85px;*/
            width: 30px;
            height: 30px;
        }
    }
}

.map-wrapper {
    margin-top: 120px;
    margin-bottom: 120px;

    .map-title {
        font-family: ermilovbold;
        font-weight: 700;
        font-size: 32px;
        line-height: 130%;
        margin-bottom: 60px;
    }

    .map {
        width: 100%;
        height: 450px;
        background: #c8d3c9;

        iframe {
            height: 450px !important;
        }
    }

}

.gallery-wrapper {
    /*margin-bottom: 120px;*/

    .gallery-title {
        font-family: ermilovbold;
        font-weight: 700;
        font-size: 32px;
        line-height: 130%;
        margin-bottom: 60px;
    }
}

.swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    object-fit: cover;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-navigation-wrapper {
    margin: 32px auto;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    .swiper-button-next, .swiper-button-prev {
        margin: 0;
        position: static;
        width: 50px;
        height: 50px;
        border: 1px solid #DDE2E0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 14px;
        font-weight: 700;
        color: #000;
    }
}

.text-wrapper {
    margin-bottom: 120px;

    .text-title {
        font-family: ermilovbold;
        font-weight: 700;
        font-size: 32px;
        line-height: 130%;
        margin-bottom: 60px;
    }

    .text-content {
        font-family: Roboto;
        font-weight: 400;
        font-size: 18px;
        line-height: 150%;

        p {
            margin-bottom: 2em;
        }
    }


}

/*!* Стан "згорнуто" *!*/

/*.wp-text-accordion.is-collapsed .wp-text-accordion__content p:nth-child(n+3) {*/
/*    display: none;*/
/*}*/

/*!* Мобільний — лише 1 абзац *!*/
/*@media (max-width: 992px) {*/
/*    .wp-text-accordion.is-collapsed .wp-text-accordion__content p:nth-child(n+2) {*/
/*        display: none;*/
/*    }*/
/*}*/

.wp-text-accordion__content {
    transition: height 0.5s ease;
    overflow: hidden;
}

@media (max-width: 992px) {

    #main {
        margin-top: 0;
    }

    .header-main {
        display: none;
    }

    .audioguide-main {
        .lang-switcher {
            margin-top: 24px;

            .lang-btn {
                padding: 12px;
                flex: 0;
            }
        }


    }

    .audioguide-single.visual-top {
        background-image: none !important;
        background: #fff;
        padding-top: 50px;
        padding-bottom: 24px;
        min-height: unset;
        border: 0;

        .visual-top__sign {
            display: none;
        }

        .visual-top__ctn {
            flex-direction: column-reverse;
        }

    }

    .visual-top:before, .visual-top:after {
        background: none !important;
        height: 0;
    }

    .lang-switcher {
        width: 100%;
        margin-top: 0;
        margin-bottom: 40px;

        .lang-btn {
            flex: 1;
            border: 3px solid #089B58;
        }
    }

    .lang-wrapper {
        .ttl1 {
            font-family: ermilovbold;
            font-weight: 700;
            font-size: 37px !important;
            line-height: 110% !important;
            color: #fff;
            margin-bottom: 12px;
        }

        .ttl2 {
            font-family: ermilovbold;
            font-weight: 700;
            font-size: 25px !important;
            line-height: 100% !important;
            color: #fff;
            margin-bottom: 24px;
        }
    }

    .audioguide-single .lang-wrapper {
        .ttl1 {
            color: #000;
        }

        .ttl2 {
            color: #089B58;
        }
    }

    .custom-player {
        padding: 0;
        max-width: 100%;
    }

    .player-cover {
        width: 100%;
        height: 200px;
    }

    .player-controls-container {
        max-width: 100%;
        padding: 25px 0;
        margin: 0 auto;
    }

    /* Слайдер */
    /* Контейнер для слайдера, щоб великий індикатор не обрізався */
    .player-slider {
        width: 100%;
        height: 10px;
    / / 40 px; /* Збільшуємо висоту зони, щоб індикатор влізав */
        background: transparent;
        appearance: none;
        -webkit-appearance: none;
        margin-bottom: 8px;
        cursor: pointer;
    }

    /* Стиль лінії (треку) для Chrome/Safari */
    .player-slider::-webkit-slider-runnable-track {
        width: 100%;
        height: 2px;
        background: #eee;
        border-radius: 3px;
    }

    /* Індикатор (Thumb) для Chrome/Safari/Edge */
    .player-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 10px;
    / / 20 px;
        height: 10px;
    / / 20 px;
        background: #089B58;
        border-radius: 50%;
        cursor: pointer;
        margin-top: -4px;
    / / - 9 px; /* Центрування відносно лінії: (висота_лінії/2) - (висота_індикатора/2) */
    }

    /* Стиль лінії для Firefox */
    .player-slider::-moz-range-track {
        width: 100%;
        height: 2px;
        background: #eee;
        border-radius: 3px;
    }

    /* Індикатор (Thumb) для Firefox */
    .player-slider::-moz-range-thumb {
        width: 10px;
    / / 20 px;
        height: 10px;
    / / 20 px;
        background: #089B58;
        border-radius: 50%;
        cursor: pointer;
    }

    .time-info {
        font-size: 14px;
        margin-bottom: 13px;
    }

    /* Кнопки */
    .main-controls {
        justify-content: center;
    / / space-between;
        gap: 24px;
    / / 0;
    }

    .main-controls .play-pause-btn span svg {
        width: 40px;
    / / 80 px;
        height: 40px;
    / / 80 px;
    }

    .main-controls {
        .nav-btn, .rewind-btn, .forward-btn {
            svg {
                width: 20px;
            / / 40 px;
                height: 20px;
            / / 40 px;
            }
        }
    }

    .post-controls {
        margin-top: 15px;
        margin-bottom: 40px;
        gap: 12px;
    }

    .post-controls span, .post-controls a, .wp-text-accordion__toggle span {
        height: stretch;
        align-content: center;
        padding: 12px;
        font-size: 12px;
        line-height: 12px;
        flex: 1;
    }

    .map-wrapper {
        margin-bottom: 60px;

        .map-title {
            font-size: 19px;
            margin-bottom: 13px;
        }

        .map {
            height: 180px;

            iframe {
                height: 180px !important;
            }
        }
    }

    .gallery-wrapper {
        margin-bottom: 60px;

        .gallery-title {
            font-size: 19px;
            margin-bottom: 13px;
        }
    }

    .swiper {
        overflow: visible;
    }

    .swiper-navigation-wrapper {
        display: none;
    }

    .text-wrapper {
        margin-bottom: 60px;

        .text-title {
            font-size: 19px;
            margin-bottom: 13px;
        }

        .text-content {
            font-size: 16px;
        }
    }

}


.stations-grid {
    padding: 48px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stations-load-more-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    .stations-load-more {
        font-family: ermilovbold;
        font-weight: 700;
        font-size: 16px;
        line-height: 16px;
        background: #fff;
        border: 3px solid #089B58;
        padding: 19px 24px;

        &:hover {
            background: #089B58;
            color: #fff;
        }
    }
}

.station-card {
    padding: 15px;
    background: #F0F0F0;
    box-shadow: 9px 9px 21px 0 #00000040;
    transition: all 0.3s ease;

    &:hover {
        transform: scale(1.05);
    }
}

.station-cover {
    position: relative;

    img, .img-holder {
        width: 100%;
        height: 180px;
        object-fit: cover;
        background: #E2E2E2;
    }

    &:after {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        position: absolute;
        content: '';

        background: url('data:image/svg+xml;utf8,<svg width="180" height="180" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_507_14691)"><rect width="180" height="180" rx="90" fill="%23089B58"/><path d="M121.169 94.4893L76.6306 118.279C72.8508 120.296 68 117.854 68 113.788V66.2086C68 62.1492 72.8438 59.7006 76.6306 61.7239L121.169 85.5135C122.029 85.9653 122.744 86.6185 123.241 87.4066C123.738 88.1948 124 89.09 124 90.0014C124 90.9128 123.738 91.808 123.241 92.5962C122.744 93.3843 122.029 94.0375 121.169 94.4893Z" fill="white"/></g><defs><clipPath id="clip0_507_14691"><rect width="180" height="180" fill="white"/></clipPath></defs></svg>') no-repeat center;
        background-size: 80px;
    }
}

.station-title section {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;

    .s-title {
        font-family: ermilovbold;
        font-weight: 700;
        font-size: 24px;
        line-height: 130%;
        text-align: center;
    }

    .s-subtitle {
        font-family: Roboto;
        font-weight: 300;
        font-size: 18px;
        line-height: 120%;
        text-align: center;
    }
}

.page-description {
    margin-top: 80px;

    p {
        font-family: Roboto;
        font-weight: 400;
        font-size: 18px;
        line-height: 120%;
        margin-bottom: 2em;
    }

}

@media (max-width: 992px) {

    .stations-grid {
        padding-top: 10px;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .station-card {
        padding: 7px;
    }

    .station-cover {
        position: relative;

        img, .img-holder {
            height: 85px;
        }

        &:after {
            background-size: 40px;
        }
    }

    .station-title section {
        padding: 12px;
        gap: 12px;

        .s-title {
            font-size: 19px;
        }

        .s-subtitle {
            font-size: 14px;
        }
    }

    .page-description {
        margin-top: 40px;

        p {
            font-size: 14px;
        }

    }
}





