/* ===========
GUTENBERG BLOCK - PICTURE 
============== */

.picture-inner img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.picture-inner {
    width: 100%;
    min-height: 350px;
    position: relative;
    display: block;
}

.picture-inner > a {
    display: block;
    position: relative;
}

.picture-content {
    padding: 3%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 768px;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 15;
    /* backdrop-filter: blur(2px); */
}

.picture-content.picture-content-nobg {
    padding: 0;
}

.picture-content > *:not(.picture-content-overlay):not(:last-child) {
    margin-bottom: 20px;
}

.picture-inner:not(.style-content-none) a:hover::after {
    display: none;
}

.picture-inner:not(.style-content-none) > a:hover::before {
    opacity: 0.1;
}

.picture-content-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.7;
}

.picture-content > :not(.picture-content-overlay) {
    position: relative;
}

.picture-content > *:last-child {
    margin-bottom: 0 !important;
}

.picture-inner .text-content > *:last-child {
    margin-bottom: 0 !important;
}

.picture-inner .swiper-wrapper .swiper-slide,
.picture-inner .swiper-wrapper {
    height: 100%;
}
/* CONTENT POSITION */

.style-content-none .picture-content {
    display: none !important;
}

.style-content-bl .picture-content {
    left: 4rem;
    bottom: 100px;
    top: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.style-content-br .picture-content {
    right: 4rem;
    bottom: 100px;
    top: auto;
    left: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.style-content-tl .picture-content {
    left: 4rem;
    top: 100px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.style-content-tr .picture-content {
    left: auto;
    right: 4rem;
    top: 100px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.style-content-cl .picture-content {
    left: 4rem;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.style-content-cr .picture-content {
    right: 4rem;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* ==== IMAGE POSITION ==== */

.style-imagepos-tl img {
    -o-object-position: left top;
    object-position: left top;
}

.style-imagepos-tc img {
    -o-object-position: center top;
    object-position: center top;
}

.style-imagepos-tr img {
    -o-object-position: right top;
    object-position: right top;
}

.style-imagepos-cl img {
    -o-object-position: left center;
    object-position: left center;
}

.style-imagepos-cc img {
    -o-object-position: center center;
    object-position: center center;
}

.style-imagepos-cr img {
    -o-object-position: right center;
    object-position: right center;
}

.style-imagepos-bl img {
    -o-object-position: left bottom;
    object-position: left bottom;
}

.style-imagepos-bc img {
    -o-object-position: center bottom;
    object-position: center bottom;
}

.style-imagepos-br img {
    -o-object-position: right bottom;
    object-position: right bottom;
}

/* SWIPER */

.picture-inner .swiper-button-next,
.picture-inner .swiper-button-prev {
    bottom: 30px;
    top: auto;
    left: 30px;
    right: auto;
}

.picture-inner .swiper-button-next {
    left: 105px;
}

.style-content-bl.picture-inner .swiper-button-next,
.style-content-bl.picture-inner .swiper-button-prev {
    right: 30px;
    left: auto;
}

.style-content-bl.picture-inner .swiper-button-prev {
    right: 105px;
}

.picture-inner.style-is-header {
    height: calc(100vh - 136px) !important;
}

body.admin-bar .picture-inner.style-is-header {
    height: calc(100vh - 168px) !important;
}

body.page-template-page-smallheader .picture-inner.style-is-header {
    height: calc(65vh - 136px) !important;
}

.picture-inner.style-is-header .swiper-pagination.swiper-pagination-bullets {
    bottom: 88px;
}

body.admin-bar .picture-inner.style-is-header {
    height: calc(100vh - 152px) !important;
}

.picture-inner.style-is-header {
    height: calc(100vh - 120px) !important;
}

@media screen and (max-width: 1300px) {
    .picture-inner.style-is-header {
        max-height: 1100px;
    }
}

@media screen and (max-width: 1024px) {
    /* .wp-block-column .picture-inner,
  .wp-block-column .picture-inner .swiper-wrapper,
  .wp-block-column .picture-inner .swiper-container {
    height: auto !important;
   height: 450px;
  } */

    .picture-inner.style-is-header {
        max-height: 768px;
    }
}

@media screen and (max-width: 768px) {
    .style-content-bl .picture-content,
    .style-content-br .picture-content,
    .style-content-tl .picture-content,
    .style-content-tr .picture-content,
    .style-content-cl .picture-content,
    .style-content-cr .picture-content,
    .style-content-cc .picture-content,
    .picture-content {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    .picture-inner.style-is-header,
    body.admin-bar .picture-inner.style-is-header {
        height: auto !important;
    }

    .picture-inner.style-is-header,
    body.admin-bar .picture-inner.style-is-header,
    .picture-inner .swiper-container {
        height: 370px !important;
    }

    .picture-inner .swiper-container .swiper-slide {
        height: 100%;
    }

    .picture-inner {
        height: auto !important;
    }

    .picture-inner {
        height: 400px !important;
    }

    .picture-content {
        border-bottom: 1px solid;
        padding: 30px 20px;
    }

    .picture-inner .swiper-container {
        padding-bottom: 0;
    }

    .picture-inner .swiper-button-next,
    .picture-inner .swiper-button-prev {
        bottom: 30px;
    }

    .picture-inner .swiper-pagination {
        display: none;
    }

    .style-is-header.picture-inner .picture-content-overlay {
        background-color: var(--color-4) !important;
        opacity: 1;
    }

    .style-is-header.picture-inner .text-content {
        color: white !important;
    }

    .style-is-header.picture-inner .text-content,
    .style-is-header.picture-inner .text-content * {
        text-align: center !important;
    }

    .style-is-header.picture-inner .picture-content {
        padding: 30px;
    }

    .picture-inner .swiper-pagination.swiper-pagination-bullets {
        display: none;
    }

    .style-is-header.picture-inner .picture-content {
        display: none;
    }
}

@media screen and (max-width: 560px) {
    .picture-inner .swiper-container {
        height: 320px !important;
    }

    .picture-inner .swiper-button-next {
        left: 86px;
    }

    .style-content-bl.picture-inner .swiper-button-prev {
        right: 86px;
    }

    .style-is-header.picture-inner .picture-content {
        padding: 20px;
    }
}
