.home .section-header .row.text-container {
    top: 85%;
}

.wp-block-group.narrow {
    margin-left: auto;
    margin-right: auto;
    max-width: 940px;
    width: 100%;
}

/* START TITLE IMAGES */
.text-title-images .images {
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.text-title-images .images .image {
    min-height: 420px;
    width: calc(50% - 15px);
}

/* only for About Page */
.page-id-372 .text-title-images .images .image:first-of-type {
    width: calc(50% - 15px);
}

.text-title-images .images .image-text {
    font-size: var(--font-size-medium-small);
}
/* END TITLE IMAGES */

/* START DETAILS */
.wp-block-details {
    margin: 15px 0;
}

.wp-block-details summary {
    border: 3px solid #ff7800;
    background: #fff;
    border-radius: 12px;
    color: #000;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px;
}

.wp-block-details:open summary {
    background: #ff7800;
    color: #fff;
}

.wp-block-details p,
.wp-block-details .wp-block-list {
    font-size: 16px;
    margin: 20px;
}
/* END DETAILS */

/* START MEDIA-TEXT */
.wp-block-media-text {
    margin: 50px 0;
}

.wp-block-media-text .wp-block-media-text__media {
    border-radius: 30px;
    overflow: hidden;
}

.wp-block-media-text.with-details .wp-block-media-text__media {
    padding-bottom: 74.685%;
    position: relative;
}

.wp-block-media-text.with-details .wp-block-media-text__media img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    position: absolute;
}
/* END MEDIA-TEXT */


/* START TEXT&VIDEO SIDES */
.section-text-image.section-text-video .content-image-wrapper {
    border-radius: 30px;
    overflow: hidden;
}

.section-text-image.section-text-video .content-image-wrapper .cover {
    align-items: center;
    background-image: url('../img/video-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #292c67cf;
    border-radius: 30px;
    color: #fff;
    display: flex;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.section-text-image.section-text-video .content-image-wrapper .cover:before {
    background-color: #292c67cf;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.section-text-image.section-text-video .content-image-wrapper .cover span {
    position: relative;
    z-index: 1;
}

.section-text-image.section-text-video .content-image-wrapper .cover.is-hidden {
    display: none;
}
/* END TEXT&VIDEO SIDES */

@media (max-width: 1180px) {
    .text-title-images .images {
        gap: 30px;
    }
}

@media (max-width: 840px) {
    .text-title-images .images {
        gap: 15px;
    }

    .text-title-images .images .image {
        margin: 0 auto;
        max-width: 620px;
        width: 100%;
    }
    
    .text-title-images .images .image:first-of-type {
        width: 100%
    }

    /* only for About Page */
    .page-id-372 .text-title-images .images .image:first-of-type {
        width: 100%
    }

    .wp-block-media-text.with-details {
        display: flex;
        flex-wrap: wrap;
    }
    
    .wp-block-media-text.with-details .wp-block-media-text__media,
    .wp-block-media-text.with-details .wp-block-media-text__content {
        width: 100%;
    }
    
    .wp-block-media-text.with-details .wp-block-media-text__content {
        margin: 0 auto;
        max-width: 700px;
        padding: 0 0 30px 0;
        width: 100%;
    }
}

@media (max-width: 781px) {
    .wp-block-columns .wp-block-column .has-text-align-right,
    .wp-block-columns .wp-block-column .has-text-align-left {
        text-align: center;
    }
}

@media screen and (max-width: 640px) {
    .social-links-icon-wrapper {
        top: calc(100% - 30px);
    }

    .home .section-header .row.text-container {
        top: 75%;
    }
}