.header__menu li {
    position: relative;
}

.header__submenu {
    position: absolute;
    background: #fff;
    padding: 5px 25px;
    text-align: center;
    border-radius: 25px;
    min-width: 200px;
    left: -50%;
    margin-left: -15px;
    margin-top: 15px;
    box-shadow: 0 -5px 10px 0 #3e49533d;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease opacity, 0.3s ease visibility;
}

.header__menu__has-sub:hover .header__submenu{
    visibility: visible;
    opacity: 1;
}

.header__submenu::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -8px;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.header__submenu li {
    margin-left: 0;
}

.header__submenu li:not(:last-child)::after {
    content: '';
    width: 100%;
    background: #FFCD00;
    height: 1px;
    position: relative;
    display: block;
}

.header__submenu a {
    display: block;
    padding: 15px 30px;
    font-size: 1.8rem;
    color: #3e4953!important;
}

.header__submenu a:hover {
    color: gold!important;
}


    .popup {
        max-width: 100%;
        max-height: 100%;
        position: fixed;
        top: 50%;
        left: 50%;
        border-radius: 25px;
        background: #ffffff;
        z-index: 999998;
        transform: translate(-50%, -50%);
        padding: 30px;
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
        font-family: Poppins, sans-serif;
        display: none;
    }

    .popup-open {
        overflow: hidden;
    }

    .popup-open .popup {
        display: block;
    }

    .popup-open .layout {
        display: block;
        position: absolute;
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
        z-index: 999990;
        background: rgba(0, 0, 0, 0.5);
    }

    .popup .popup__close {
        position: absolute;
        top: -10px;
        right: -10px;
        z-index: 999999;
        background: #fff;
        border-radius: 50%;
        width: 37px;
        height: 37px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
        cursor: pointer;
    }

    .popup .popup__close:hover {
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
    }

    .popup__img {
        margin-bottom: 22px;
        display: block;
        width: 100%;
        height: auto;
    }

    .popup__img img {
        display: block;
        width: 100%;
        height: auto;
    }

    .popup__title {
        margin-bottom: 6px;
        font-size: 15px;
        font-weight: bold;
    }

    .popup_desc {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .popup__button {
        background: #FFD700;
        border-radius: 30px;
        padding: 10px 30px;
        display: inline-flex;
        align-items: center;
    }

    .popup__button span {
        margin-right: 10px;
        font-size: 14px;
        font-weight: 600;
    }
    
    @media (max-width: 767px) {
        .popup {
            width: 85%;
        }
    }
    
    
    


    .blockImage {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 30px 0px;
    }
    .blockImage img{
        display: block;
        height: 100%;
        
    }
    .ksm-row {
        flex-wrap: wrap;
        
    }
    .ksm-block {
        border-radius: 10px;
        border: 1px solid rgba(62,73,83,0.2);
        padding: 20px 30px;
        height: calc(100% - 30px);
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
    }
    .ksm-image-block {
        border-radius: 10px;
        border: 1px solid #3E4953;
        margin-bottom: 30px;
        overflow: hidden;
        height: 100%;
    }
    .ksm-image-block img {
        width: 100%;
        display: block;
        height: 100%;
        object-fit: cover;
    }
    .ksm-info-block {
        display: flex;
        flex-direction: column;
    }
    .ksm-title {
        font-weight: bold;
        font-size: 30px;
        margin-bottom: 15px;
    }
    .ksm-subtitle{
        font-weight: 300;
        font-size: 15px;
        margin-bottom: 5px;
        display: block;
    }
    .ksm-desc {
        font-size: 13px;
        margin-bottom: 30px;
    }
    .mb-50 {
        margin-bottom: 30px;
    }
    .ksm-button{
        background: #FFD700;
        color: #3E4953;
        border-radius: 30px;
        padding: 20px 30px;
        font-weight: 600;
        font-size: 14px;
        display: inline-block;
        margin-right: auto;
        margin-top: auto;
    }
    .blockImage-subtitle {
        font-size: 18px;
    }
    @media (min-width: 768px) and (max-width: 991px) {
        .ksm-block {
            display: flex;
            flex-direction: row;
        }
        .ksm-info-block {
            margin-left: 20px;
            width: calc(100% - 20px);
        }
        .ksm-image-block img {
            height: 100%!important;
            width: auto!important;
            max-width: unset!important;
        }
        .ksm-image-block {
            height: 100%;
        }
    }