.wp-block[data-type="meta-box/block-two-topics"]{
    max-width: 100%;
    overflow: hidden;
}
.wp-block[data-type="meta-box/block-two-topics"] .two-topics .container{
    width: 100%;
}
.wp-block[data-type="meta-box/block-two-topics"] .two-topics .container .col-md-4{
    width: 360px;
    height: 80%;
}
.wp-block[data-type="meta-box/block-two-topics"] .two-topics .last{
    justify-content: flex-end;
    display: flex;
}
.wp-block[data-type="meta-box/block-two-topics"] .two-topics .last .col-md-4{
    height: 670px;
    width: 370px;
}
.wp-block[data-type="meta-box/block-two-topics"] .two-topics .two-topics-menu{
    margin-right: 490px;
    margin-top: 0px;
}
.wp-block[data-type="meta-box/block-two-topics"] .two-topics .last:after{
    width: 400%;
}
.two-topics{
    background-color: #45472d;
    height: 800px;
    color: white;
    position: relative;
    overflow: hidden;
}
.two-topics .wp-block-buttons{
    position: absolute;
    bottom: 80px;
    left: 50px;
}
.two-topics .container{
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, 0);
    height: 100%;
    z-index: 2;
}
.two-topics .container .row:not(.first){
    height: 100%;
    justify-content: flex-end;
    z-index: 2;
    position: relative;
}
.two-topics .col-md-4{
    padding-top: 130px;
    padding-left: 50px;
    padding-right: 50px;
}
.two-topics .col-md-4 h2{
    font-size: 34px;
    font-weight: bold;
    line-height: 120%;
    color: white;
    margin-bottom: 30px;
}
.two-topics .col-md-4 h3{
    font-size: 14px;
    color: #EAEA95;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: bold;
}
.two-topics .two-topics-menu{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    padding-left: 0px;
    margin-bottom: 0px;
    list-style: none;   
    z-index: 2; 
}
.two-topics .row.first .d-block{
    position: relative;
    z-index: 2;
}
.two-topics .col-md-4:before{
    content:"";
    width: calc((100vw - 1500px) / 2);
    height: 100%;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 1;
    background-color: #45472D;
    opacity: 0.9;
}
.two-topics .last:after{
    content: "";
    width: 199.5%;
    height: 60px;
    background-color: #FFFBF8;
    opacity: 0.7;
    position: absolute;
    top: 0px;
    left: -50%;
    transform: translate(-50%, 0);
    z-index: 0;
}
.two-topics .col-md-4:before{
    width: 100%;
}
.two-topics .col-md-4 .d-block{
    position: relative;
}
.two-topics .col-md-4 *{
    z-index: 2;
}
.two-topics .two-topics-menu li:first-child{
    margin-left: 15px;
}
.two-topics .two-topics-menu li a{
    padding: 20px 35px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    font-size: 13px;
    color: #3F3D36;
}
.two-topics .two-topics-menu li.active a,
.two-topics .two-topics-menu li a:hover{
    font-weight: bold;
    text-decoration: underline;
}
.two-topics #two-topics-image{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.two-topics #two-topics-image .image-item{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.two-topics #two-topics-image .image-item:not(.active){
    opacity: 0;
    z-index: -1;
}
.two-topics #two-topics-image .image-item{
    display: block;
    transition: opacity 700ms ease;
}
.two-topics #two-topics-image .image-item.active{
    opacity: 1;
    z-index: 1;
}
.two-topics #two-topics-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.two-topics .last{
    height: 100%;
    justify-content: flex-end;
    margin-left: calc((100% - 1320px) / 2 + 430px);
    position: relative;
    z-index: 3;
}
.two-topics .last .col-md-4{
    width: 50.5%;
}
.two-topics .z-index-menu{
    z-index: 4;
}

/* MODAL */
.two-topics .modal {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.85); 
}
.two-topics .modal.active {
    display: block;
    z-index: 10000;
}
.two-topics .modal .modal-content {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent !important;
}
.two-topics .close {
    position: fixed;
    top: 30px;
    right: 60px;
    z-index: 100;
}
.two-topics .close:hover,
.two-topics .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.two-topics .video-container {
    position: relative;
    width: 100%;
    max-width: 80% !important;
    height: 100%;
    overflow: hidden;
    max-width: 100%;
    border-radius: 20px;
}
.two-topics .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    border-radius: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


@media (min-width: 0px) and (max-width: 480px){
    .two-topics{
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .two-topics .last{
        margin-left: 0px;
        order: 1;
    }
    .two-topics #two-topics-image{
        order: 2;
        position: relative;
        height: 400px;
    }
    .two-topics .z-index-menu{
        order: 3;
    }
    .two-topics .last{
        height: auto;
    }
    .two-topics .last:after{
        display: none;
    }
    .two-topics .last .col-md-4{
        width: 100%;
        height: auto;
        padding-top: 60px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 160px;
    }
    .two-topics .two-topics-menu{
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto; 
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
        width: 100%;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
        -webkit-overflow-scrolling: touch; 
        background-color: hsl(0deg 0% 100% / 90%);
        padding-left: 0px
    }
    .two-topics .two-topics-menu li:first-child{
        margin-left: 0px;
    }
    .two-topics .two-topics-menu li a{
        white-space: nowrap;
    }
    .two-topics .wp-block-buttons{
        left: 30px;
    }
    .two-topics .video-container iframe{
        max-height: 75vh;
    }
    .two-topics .close{
        top: 30px;
        right: 25px;
    }
}
@media (min-width: 481px) and (max-width: 576px){
    .two-topics{
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .two-topics .last{
        margin-left: 0px;
        order: 1;
    }
    .two-topics #two-topics-image{
        order: 2;
        position: relative;
        height: 400px;
    }
    .two-topics .z-index-menu{
        order: 3;
    }
    .two-topics .last{
        height: auto;
    }
    .two-topics .last:after{
        display: none;
    }
    .two-topics .last .col-md-4{
        width: 100%;
        height: auto;
        padding-top: 60px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 160px;
    }
    .two-topics .two-topics-menu{
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto; 
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
        width: 100%;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
        -webkit-overflow-scrolling: touch; 
        background-color: hsl(0deg 0% 100% / 90%);
        padding-left: 0px
    }
    .two-topics .two-topics-menu li:first-child{
        margin-left: 0px;
    }
    .two-topics .two-topics-menu li a{
        white-space: nowrap;
    }
    .two-topics .wp-block-buttons{
        left: 30px;
    }
    .two-topics .video-container iframe{
        max-height: 75vh;
    }
    .two-topics .close{
        top: 30px;
        right: 25px;
    }
}
@media (min-width: 577px) and (max-width: 767px){
    .two-topics .video-container iframe{
        max-height: 75vh;
    }
    .two-topics .close{
        top: 30px;
        right: 25px;
    }
}
@media (min-width: 768px) and (max-width: 991px){
    .two-topics .video-container iframe{
        max-height: 75vh;
    }
    .two-topics .close{
        top: 30px;
        right: 25px;
    }
}
@media (min-width: 992px) and (max-width: 1199px){
    .two-topics .video-container iframe{
        max-height: 75vh;
    }
    .two-topics .close{
        top: 30px;
        right: 25px;
    }
}
@media (min-width: 1200px) and (max-width: 1340px){
    .two-topics .close{
        top: 30px;
        right: 25px;
    }
}