/* GALERIA */
.mw-galeria-img {
    width: 100%;
    margin: 30px auto;
    overflow: hidden;
    max-width: 940px;
    margin-bottom: 18px !important;
}

.splide.inline-galery-splide .splide__pagination {
    bottom: 1.8em;
    gap: 8px;
}

.splide.inline-galery-splide .splide__pagination .splide__pagination__page {
    width: 30px;
    height: 4px;
    border-radius: 5px;
    background-color: #ffffff;
    opacity: 0.8;
}

.splide.inline-galery-splide .splide__pagination .splide__pagination__page.is-active {
    opacity: 1;
    transform: unset;
}

.splide.inline-galery-splide .splide__arrow {
    background: #FF951C;
    width: 43px;
    height: 40px;
    opacity: 1;
    border-radius: unset;
}

.splide.inline-galery-splide .splide__arrow:disabled {
    opacity: .5 !important;
}

.splide.inline-galery-splide .splide__arrow svg {
    fill: #000000;
    width: 20px;
    height: 26px;
}

.splide.inline-galery-splide .splide__arrow svg path {
    transform: translate(15px, 10px);
}

.splide.inline-galery-splide .splide__arrow--prev {
    left: 0;
}

.splide.inline-galery-splide .splide__arrow--next {
    right: 0;
}

.inline-galery-splide .splide__slide {
    border-radius: 20px;
}

.mw-galeria figure {
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 500px;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

.mw-galeria figure img {
    width: inherit;
    height: inherit;
}

.mw-galeria figure > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    background: transparent linear-gradient(180deg, #0c101100 0%, #0c101199 100%) 0% 0% no-repeat padding-box;
    border-radius: 5px;
    cursor: pointer;
}

.mw-galeria figure > div > img {
    width: 78px;
    height: 78px;
}

.mw-galeria figure .imageCount {
    position: absolute;
    top: 20px;
    left: 20px;
    border: 1px solid #c20a0a;
    background-color: #ff951c;
    font-family: 'WorkSans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    color: #000;
    padding: 6px 15px;
    z-index: 10;
}

.mw-galeria img {
    width: 100%;
    transition: 0.3s;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
}

.mw-galeria img:hover {
    filter: brightness(105%);
    transform: scale(1.01);
}

.inline-galery-splide .splide__slide .mw-image-description {
    font-family: 'WorkSans', sans-serif;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: -0.24px;
    color: #000000;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#dynamic-modal {
    position: fixed;
    z-index: 10000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .9);
    justify-content: center;
    align-items: center;
    overflow: auto;
    transition: all .3s ease;
    backdrop-filter: blur(6px);
}

#dynamic-modal > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    max-width: 70%;
    height: 100%;
    max-height: 90%;
    margin: 0 auto;
}

#dynamic-modal > div > iframe {
    max-width: 100%;
    max-height: 100%;
    width: 90vw;
    height: auto;
    aspect-ratio: 16 / 9;
}

#dynamic-modal > div > button {
    color: #fff;
    background-color: #0373be;
    cursor: pointer;
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: 18px;
    line-height: 18px;
    padding: 5px;
    border-radius: 20px;
}

@media screen and (max-width: 768px) {
    .mw-galeria-img {
        position: relative;
        left: calc(-50vw + 50%);
        height: auto;
        width: 100vw !important;
    }

    .mw-galeria {
        padding: 0 20px;
    }

    .mw-galeria figure {
        height: 250px;
        max-height: 250px;
        border-radius: unset;
    }

    .mw-galeria img {
        border-radius: 0;
    }

    #dynamic-modal > div {
        max-width: 90%;
    }

    .splide.inline-galery-splide .splide__arrow {
        width: 36px;
        height: 34px;
    }

    .mw-galeria figure .imageCount {
        top: 10px;
        left: 10px;
        font-size: 12px;
        line-height: 12px;
        padding: 4px 12px;
    }
}
