.custom_item-template-7 {
    position: relative;
    margin: 0;
}

.custom_item-template-7 .modtitle {
    margin-bottom: var(--margin);
    margin-top: var(--margin);
} 

.custom_item-template-7 .cta_links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--margin-2);
    margin-bottom: var(--margin);
}

@media (max-width: 991px) {
    .custom_item-template-7 {
        flex-direction: column-reverse;
        padding: var(--margin-1) !important;
        margin: 0;
        border-radius: var(--border-radius_2);
        background: #fff8e8;
    } 
    
    .custom_item-template-7 .module_description {
        text-align: justify;
        margin-bottom: var(--margin);
        font-size: var(--text-size-9);
    }

    .custom_item-template-7 .cta_links a.btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--margin-2);
        width: 110px;
        padding: var(--margin-2);
        font-size: var(--text-size-9);
        font-weight: bold;
    }

    .custom_item-template-7 .section_2 img {
        height: 200px;
        object-fit: cover;
    }

    .custom_item-template-7 .video_item img,
    .custom_item-template-7 .video_item iframe {
        border-radius: var(--border-radius_2);
        padding: var(--margin-2);
        height: 232px !important;
        width: calc(100% - 15px);
        min-height: unset;
        z-index: 200;
    }

    .custom_item-template-7 .video_item:before {
        content: '';
        position: absolute;
        width: 85%;
        height: 85%;
        left: 10px;
        bottom: -8px;
        border-radius: var(--border-radius_2);
        border: 4px solid var(--border_color_3);
    }

    .custom_item-template-7 .video_item {
        position: relative;
        align-items: center;
        display: flex;
        left: 0;
        margin-top: 2rem;
    }
    
    .product-product .custom_item-template-7 {
        background-color: var(--primary_4);
        padding-bottom: 2rem;
        margin-bottom: 0;
    }    
}

@media (min-width: 992px) {
    .custom_item-template-7:after {
        position: absolute;
        top: 8%;
        content: "";
        width: 100%;
        height: 80%;
        border-radius: var(--border-radius_2);
        background: #0e25381f;
        z-index: -1;
    }

    .custom_item-template-7 .section_1 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 5rem 5rem 5rem 1rem;    
    }

    .custom_item-template-7 .cta_links a.btn {
        width: 150px;
        padding: 15px var(--margin-2);
        font-size: var(--text-size-7);
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--margin-2);
    }

    .custom_item-template-7 .section_2 img {
        display: block;
        height: 360px;
        margin: auto;
        object-fit: cover;
    }

    .custom_item-template-7 .module_description {
        line-height: 26px;
        margin-bottom: var(--margin);
        font-size: 16px;
        text-align: justify;
    }
    
    .custom_item-template-7 .ci_items{
        padding-right: 0px;
    }

    .custom_item-template-7 .video_item img,
    .custom_item-template-7 .video_item iframe {
        border-radius: var(--border-radius_2);
        padding: var(--margin-2);
        height: 374px !important;
        min-height: unset;
        z-index: 200;
    }

    .custom_item-template-7 .video_item {
        position: relative;
        align-items: center;
        justify-content: center;
        display: flex;
        left: 15px;
    }
    
    .product-product .custom_item-template-7 {
        background-color: var(--primary_4);
        padding: 2rem 5rem 5rem;
        margin: 0;
    }    
}