.page-template-homepage section.content-block {

    .section-inner{
        align-items: center;
        justify-content: center;
        .media-container {
            height: 463px;
            flex: 0 0 814px;

             video, iframe {
                height: 100%;
                width: 100%;
                object-fit: cover;
            }

            &.image{
                display: flex;
                align-items: center;
                flex: 0 0 630px;
            }

            img{
                margin-right: auto;
            }
        }
    }
  
}

.has-theme-green-background-color a.wp-block-button__link{
    color:#70b64e;
}


.wp-block-gallery figure.wp-block-image.has-nested-images, 
.wp-block-gallery figure.wp-block-image, .wp-block-gallery figure.size-large{
    /* width: initial !important;
    height: initial !important;
    flex-grow: 1 !important; */

    img{
         width: initial !important;

    }

    &.full-width{
        img{
            max-height: 100%;
        }
    }
} 

.columns-5.wp-block-gallery{
     figure.wp-block-image.has-nested-images,  figure.wp-block-image, figure.size-large{
        width: calc((100% / 5) - 6px) !important;
        height: calc((100% / 5) - 6px) !important;

        img{
            width: 100% !important;
            height: calc((100% / 5) - 6px) !important;
        }
    }
}
.columns-4.wp-block-gallery{
     figure.wp-block-image.has-nested-images,  figure.wp-block-image, figure.size-large{
        width: calc((100% / 4) - 6px) !important;
         height: calc((100% / 4) - 6px) !important;

         img{
            width: 100% !important;
            height: calc((100% / 4) - 6px) !important;
        }
    }
}
.columns-3.wp-block-gallery,.columns-default.wp-block-gallery{
     figure.wp-block-image.has-nested-images,  figure.wp-block-image, figure.size-large{
        width: calc((100% / 3) - 6px) !important;
        height: calc((100% / 3) - 6px) !important;

        img{
            width: 100% !important;
            height: calc((100% / 3) - 6px) !important;
        }
    }
}
.columns-2.wp-block-gallery{
     figure.wp-block-image.has-nested-images,  figure.wp-block-image, figure.size-large{
        width: calc((100% / 2) - 6px) !important;
        height: calc((100% / 2) - 6px) !important;

        img{
            width: 100% !important;
            height: calc((100% / 2) - 6px) !important;
        }
    }
}


.wp-block-gallery figure.wp-block-image.has-nested-images img, 
.wp-block-gallery figure.wp-block-image img, 
.wp-block-gallery figure.size-large img
 {
    width: initial !important;
    max-height: initial;
    max-width: initial;
 }

 html[lang="en-US"]{
    .swiper-slide.footer-slide .inner-wrap a .slide-info .slider-title h2 .ellip {
        text-align: left;
    }
 }