html.cms-loading body {
    opacity: 0;
}

html.cms-ready body {
    opacity: 1;
    transition: opacity 0.18s ease;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.header {
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 0;
}

.header-logo {
    margin: 0 20px 0 0;
    padding: 0;
}

.header-logo img {
    max-width: 15vw;
    width: auto;
    height: auto;
}

.header-extended-body-text {
    position: relative;
    z-index: 2;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.language-switch button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.language-switch button.is-active {
    color: #fff;
}

.mobile-header-settings-side-menu .language-switch {
    color: #222;
    padding: 10px 20px;
}

.mobile-header-settings-side-menu .language-switch button {
    color: #888;
}

.mobile-header-settings-side-menu .language-switch button.is-active {
    color: #222;
}

.ESK-arts-production-images img {
    width: 30vw;
    max-width: none;
    height: auto;
    display: block;
    object-fit: contain;
}

.gallery {
    width: 80%;
}

.gallery-images {
    width: 100%;
}

.gallery-images img {
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    object-fit: contain;
}

.latest-causes-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.latest-causes-card {
    min-width: 0;
    padding: 16px;
}

.latest-causes-card-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.footer-logo-text {
    font-size: clamp(0.7rem, 1.1vw, 1rem);
    margin-left: 16px;
}

.footer-quick-link-title,
.footer-get-in-touch-title,
.footer-address-title,
.footer-socials-follow-us-title {
    font-size: clamp(1rem, 1.5vw, 1.4rem);
}

.footer-address-description {
    max-width: 180px;
}

.ESK-arts-production-text-slider {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    width: 100%;
}

.ESK-arts-production-text-slider .slider {
    grid-column: 1 / -1;
    width: 100%;
}

.slider input[type="range"],
.latest-causes-card-donate input[type="range"] {
    --progress: 0%;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 10px;
    margin: 10px 0 16px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background-color: #ece4dc;
    background-image: linear-gradient(#f29c60, #f29c60);
    background-repeat: no-repeat;
    background-size: var(--progress) 100%;
    pointer-events: none;
    accent-color: #f29c60;
}

.slider input[type="range"]::-webkit-slider-runnable-track,
.latest-causes-card-donate input[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
    border: none;
    border-radius: 999px;
    background: transparent;
}

.slider input[type="range"]::-webkit-slider-thumb,
.latest-causes-card-donate input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin-top: -3px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e77b3a;
    box-shadow: 0 0 0 1px #e77b3a;
}

.slider input[type="range"]::-moz-range-track,
.latest-causes-card-donate input[type="range"]::-moz-range-track {
    height: 10px;
    border: none;
    border-radius: 999px;
    background: #ece4dc;
}

.slider input[type="range"]::-moz-range-progress,
.latest-causes-card-donate input[type="range"]::-moz-range-progress {
    height: 10px;
    border: none;
    border-radius: 999px;
    background: #f29c60;
}

.slider input[type="range"]::-moz-range-thumb,
.latest-causes-card-donate input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e77b3a;
    box-shadow: 0 0 0 1px #e77b3a;
}

@media (max-width: 1100px) {
    .latest-causes-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ESK-arts-production-images img {
        width: 38vw;
    }
}

@media (max-width: 768px) {
    .header-settings-language {
        display: flex !important;
        margin-right: 8px;
    }

    .latest-causes-cards {
        grid-template-columns: 1fr;
    }

    .fun-facts-card {
        max-width: 100%;
        min-width: 0;
        flex: 1 1 100%;
    }

    .footer-address-description {
        max-width: none;
    }

    .ESK-arts-production-images img {
        width: 100%;
    }

    .mobile-ESK-arts-production-images img {
        width: 100%;
        max-width: none;
        height: auto;
    }
}
