.homepage-banner {
    padding: 0 20px;
    margin: 40px auto 0;
    text-align: center;
}

.banner {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 1216px;
    gap: 0 20px;
}

@media (min-width: 768px) {
    .mobile {
        display: none;
    }
}

@media (max-width: 980px) {
    .banner {
        flex-direction: column;
        gap: 24px 0;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .banner {
        padding: 0 20px;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }

}

.banner_card {
    flex-basis: 49%;
    max-width: 578px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px;
    position: relative;
    background: #D7EBFF;
    min-height: 382px;
   
}

@media (max-width: 767px) {
    .banner_card {
        min-height: 220px;
    }

    .banner_card:first-child {
        min-height: 320px;
    }
}

.banner_card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    height: 20px;
    background: #D7EBFF;
}