/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://elementor.com/hello-theme/
 Description:  Hello Elementor Child Theme
 Author:       Elementor Team
 Author URI:   https://elementor.com/
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
 */
 

/* Homepage Films section */
.homepage-film-main .elementor-custom-embed-play {
	background: #ffffff8a;
    padding: 15px;
    border-radius: 50px;
    justify-content: center;
    display: flex;
}

/* Force fixed background on mobile for specific container */
@media (max-width: 1024px) {
    .elementor-element-a28ac02, .elementor-element-a69dcb6 {
        background-attachment: fixed !important;
    }
}

/* Homepage slider */
.homepage-image-gallery-slider {
    width: 100% !important;
    max-width: 1080px !important;
    margin: 0 auto;
    box-sizing: border-box;
    min-width: 0 !important;
    overflow: hidden !important;
}

.homepage-image-gallery-slider .elementor-image-carousel-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.homepage-image-gallery-slider .swiper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.homepage-image-gallery-slider .swiper-wrapper {
    max-width: 100% !important;
}

.homepage-image-gallery-slider .swiper-slide {
    max-width: 100% !important;
    box-sizing: border-box;
}

.homepage-image-gallery-slider .swiper-slide-inner {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    display: block;
    box-sizing: border-box;
}

.homepage-image-gallery-slider .swiper-slide-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Tablet */
@media (max-width: 1024px) {
    .homepage-image-gallery-slider {
        width: 80vw !important;
        max-width: 80vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .homepage-image-gallery-slider .elementor-image-carousel-wrapper,
    .homepage-image-gallery-slider .swiper {
        width: 100% !important;
        max-width: 100% !important;
    }

    .homepage-image-gallery-slider .swiper-wrapper,
    .homepage-image-gallery-slider .swiper-slide {
        height: 450px;
    }

    .homepage-image-gallery-slider .swiper-slide-image {
        height: 450px;
        max-height: 450px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .homepage-image-gallery-slider {
        width: 80vw !important;
        max-width: 80vw !important;
    }

    .homepage-image-gallery-slider .swiper-wrapper,
    .homepage-image-gallery-slider .swiper-slide {
        height: 350px;
    }

    .homepage-image-gallery-slider .swiper-slide-image {
        height: 350px;
        max-height: 350px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .homepage-image-gallery-slider .swiper-wrapper,
    .homepage-image-gallery-slider .swiper-slide {
        height: 300px;
    }

    .homepage-image-gallery-slider .swiper-slide-image {
        height: 300px;
        max-height: 300px;
    }
}


/* Portfolio Page */

.portfolio-page-image-listing-main {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

.portfolio-page-image-listing {
    width: 100%;
    max-width: 1024px;
}

.portfolio-page-image-listing .gallery {
    width: 100%;
    max-width: 1024px;
    margin: 0;
}

.portfolio-page-image-listing .gallery-item {
    width: 100% !important;
    max-width: 1024px;
    margin: 0;
}

.portfolio-page-image-listing .gallery-icon {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.portfolio-page-image-listing .gallery-icon a {
    display: block;
    width: 100%;
    height: 100%;
}

.portfolio-page-image-listing .gallery-icon img {
    width: 100%;
    height: 100%;
    max-width: 1024px;
    max-height: 500px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

@media (max-width: 1024px) {

    .portfolio-page-image-listing-main,
    .portfolio-page-image-listing,
    .portfolio-page-image-listing .gallery,
    .portfolio-page-image-listing .gallery-item {
        width: 100%;
        max-width: 100%;
    }

    .portfolio-page-image-listing .gallery-icon {
        height: 450px;
    }

    .portfolio-page-image-listing .gallery-icon img {
        width: 100%;
        height: 450px;
        max-width: 100%;
        max-height: 450px;
        object-fit: cover;
        object-position: center center;
    }
}

@media (max-width: 767px) {

    .portfolio-page-image-listing-main,
    .portfolio-page-image-listing,
    .portfolio-page-image-listing .gallery,
    .portfolio-page-image-listing .gallery-item {
        width: 100%;
        max-width: 100%;
    }

    .portfolio-page-image-listing .gallery-icon {
        height: 350px;
    }

    .portfolio-page-image-listing .gallery-icon img {
        width: 100%;
        height: 350px;
        max-width: 100%;
        max-height: 350px;
        object-fit: cover;
        object-position: center center;
    }
}

@media (max-width: 480px) {

    .portfolio-page-image-listing .gallery-icon {
        height: 300px;
    }

    .portfolio-page-image-listing .gallery-icon img {
        height: 300px;
        max-height: 300px;
    }
}