body {
    background-color: #F2F2F2;
}

main {
    min-height: calc(100vh - 602px);
}

.section__news {
    padding-bottom: 70px;
    padding-top: 140px;
    margin: auto;
    max-width: 1140px;
    height: auto;
}

.section__news .title {
    color: var(--dark-black-color);
    font-size: 45px;
    font-weight: bold;
    line-height: 55px;
}

/* section__cards */
.cards__news {
    margin-top: 40px;
}

.cards__news .count__results {
    display: flex;
    gap: 5px;
}

.cards__news .count__results span {
    line-height: 22px;
    color: var(--light-black-color);
    margin-bottom: 50px;
}

.cards__news .count__results .numbers {
    font-size: 16px;
    font-weight: bold;
}

.section__cards .post__content .content__title {
    color: var(--dark-black-color);
}

.cards__news .wrapper__groups__types {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.not_found {
    display: flex;
    gap: 24px;
    background-color: var(--white-color);
    border-radius: 16px;
    padding: 24px;
}

.not_found .text>div {
    font-size: 18px;
    line-height: 24px;
}

.videos__list {
    width: 100%;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.videos__list .video {
    width: calc(100% / 2 - 12px);
    position: relative;
    max-height: 310px;
    border-radius: 24px;
    cursor: pointer;
    overflow: hidden;
    min-height: 310px;
}

.videos__list .video .thumn__nail{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.videos__list .video .mask {
    position: absolute;
    background: linear-gradient(to bottom, #00000033, #00000080);
    width: 100%;
    height: 100%;
}

.videos__list .video .play_button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.videos__list .video .text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-size: 18px;
    color: var(--white-color);
    width: calc(100% - 80px);
}

.videos__list .video .time {
    position: absolute;
    top: 40px;
    right: 40px;
    padding: 2px 5px;
    background-color: #000;
    border-radius: 4px;
    color: var(--white-color);
    font-size: 16px;
}

@media (max-width:1279px) {
    .section__news {
        max-width: 1220px;
        padding-right: 40px;
        padding-left: 40px;
    }
}

@media (max-width: 800px) {
    .section__news {
        padding: 100px 20px 50px;
    }

    .section__news .title {
        font-size: 40px;
        line-height: 50px;
    }

    .section__news .wrapper__filters {
        padding-top: 20px;
        margin-top: 0;
        padding-bottom: 10px;
    }

    .post__list .post__item {
        min-height: 425px;
        min-width: 268px
    }

    .cards__news {
        margin-top: 20px;
    }

    .videos__list .video {
        width: 100% ;
    }

}

@media (max-width: 480px) {

}