.main__news {
    /*margin-top: 150px;*/
}

.submain-news__title {
    font-weight: 900;
    font-size: 36px;
    line-height: 120%;
    color: #000000;
    padding: 0;
    margin-bottom: 20px;
}

.submain__news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 35px;
}

@media(max-width: 576px) {
    .submain__news-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 35px;
    }
}

@media(max-width: 1024px) {
    .submain__news-page {
        width: calc(100% + 40px);
        overflow: hidden;
        padding-left: 20px;
        margin-left: -20px;
        padding-right: 20px;
    }
}

@media(min-width: 1024px) {
    .submain__news-page {
        overflow: hidden;
        width: calc(100% + 20px);
        padding-left: 20px;
        padding-right: 20px;
        overflow: hidden;
    }
}

.news-list__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 23px 20px;
    background: #FFFFFF;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.13);
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.news-list__card:hover {
    transform: translateY(-5px);
}

.news-list__card:hover .news-list-card__image {
    transform: scale(1.2);
}

.news-list__card--dzen {
    border: 2px solid rgba(0, 0, 0, 0.8);
    padding-bottom: 36px;
    position: relative;
}

.news-list-card__image-wrapper {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
}

.news-list-card__image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.news-list-card__description {
    padding-top: 17px;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: #000000;
}

.news-list-card__info {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-list-card__tag {
    background: #FFC24D;
    border-radius: 5px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    text-align: center;
    color: #FFFFFF;
}

.news-list-card__date {
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    color: #000000;
    opacity: 0.3;
}

.news-list-card__dzen-logo {
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: 8px;
    right: 11px;
}


/* Old styles*/

.ad-fluid-card__img {
    height: 100%;
    width: 100%;
    max-height: 250px;
    position: relative;
    border-radius: 20px;
}

@media (max-width: 640px) {
    .ad-fluid-card__img {
        max-height: 400px;
    }
}

.ad-fluid__news-img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    max-height: 300px;
    border-radius: 20px;
}

.ad-fluid__news-img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    max-height: 300px;
}

@media (min-width: 576px) {
    .ad-fluid__news {
        display: block !important;
        grid-column: span 2;
    }
    .ad-fluid__news--mobile {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .ad-fluid__news {
        display: block !important;
    }
    .ad-fluid__news--desktop {
        display: none !important;
    }
}

