

/* Start:/local/templates/general/components/bitrix/news/general.news/bitrix/news.list/.default/style.css?16288483826535*/
@media (max-width: 767.98px) {
    .section.news {
        padding-top: 30px;
    }
}

.news-items {
    margin: 40px -82px -50px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
@media (max-width: 767.98px) {
    .news-items {
        overflow-y: hidden;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}
@media (max-width: 575.98px) {
    .news-items {
        margin: 40px auto -50px auto;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}
@media all and (min-width: 576px) {
    .news-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 40px;
        grid-row-gap: 40px;
        margin: 40px 0;
    }
}
@media all and (min-width: 768px) {
    .news-items {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media all and (min-width: 992px) {
    .news-items {
        grid-template-columns: repeat(4, 1fr);
    }
}
.news-item {
    margin: 0 82px 50px 0;
    max-width: 223px;
    position: relative;
    display: block;
    justify-content: space-between;
}
@media (max-width: 1199.98px) {
    .news-item {
        max-width: unset;
    }
}
@media (max-width: 991.98px) {
    .news-item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}
@media (max-width: 767.98px) {
    .news-item {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
}
@media (max-width: 575.98px) {
    .news-item {
        margin: 0 0 40px 0;
        max-width: 250px;
        width: 100%;
    }
}
@media all and (min-width: 576px) {
    .news-item {
        width: 100%;
        margin: 0;
    }
}
.news-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 1px #c4c4c4 solid;
    border-bottom: transparent;
    z-index: -1;
    opacity: 0;
    background-color: #fff;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}
@media (max-width: 991.98px) {
    .news-item::before {
        display: none;
    }
}
.news-item::after {
    content: "";
    width: calc(100% + 40px);
    height: 72px;
    position: absolute;
    left: 50%;
    bottom: -20px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    -webkit-transition: bottom 0.4s ease, opacity 0.3s ease;
    -o-transition: bottom 0.4s ease, opacity 0.3s ease;
    transition: bottom 0.4s ease, opacity 0.3s ease;
    border: 1px #c4c4c4 solid;
    border-top: transparent;
    opacity: 0;
    z-index: -1;
}
@media (max-width: 991.98px) {
    .news-item::after {
        position: static;
        opacity: 1;
        bottom: -72px;
        z-index: 4;
        border: none;
        display: none;
    }
}
.news-item:hover::before {
    opacity: 1;
}
.news-item:hover .news-button {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
.news-item:hover .news__button-container {
    max-height: 42px;
    z-index: 5;
}
.news-item:hover::after {
    opacity: 1;
    bottom: -72px;
    z-index: 4;
}
.news-pic {
    width: 100%;
    position: relative;
    padding-top: 100%;
}
.news-pic__inner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.news-pic__inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-title {
    margin-top: 15px;
    font-weight: 700;
    color: #4f4f4f;
    position: relative;
    z-index: 10;
    margin-bottom: auto;
    flex: 1 1 auto;
}
.news-date {
    margin: 10px 0;
    color: #949494;
    position: relative;
    z-index: 10;
}
.news__button-container {
    margin-top: 10px;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    overflow: hidden;
    max-height: 0;
    -webkit-transition: max-height 0.4s ease;
    -o-transition: max-height 0.4s ease;
    transition: max-height 0.4s ease;
}
@media (max-width: 991.98px) {
    .news__button-container {
        margin-top: auto;
        position: static;
        -webkit-transform: unset;
        -ms-transform: unset;
        transform: unset;
        max-height: 42px;
        z-index: 5;
    }
}
.news-button {
    width: 100%;
    line-height: 42px;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    -o-transition: transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
    display: block;
}
.news-button:hover {
    color: #fff;
}
@media (max-width: 991.98px) {
    .news-button {
        -webkit-transform: unset;
        -ms-transform: unset;
        transform: unset;
    }
}
.news-item {
    display: flex;
    flex-direction: column;
}
.news-pic {
    margin: auto 0;
}
.news__button-container {
    bottom: -50px;
}
.news__btn-row {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 0;
}
@media all and (min-width: 576px) {
    .news__btn-row {
        grid-column: 1/3;
    }
}
@media all and (min-width: 768px) {
    .news__btn-row {
        grid-column: 1/4;
        padding: 50px 0 0;
    }
}
@media all and (min-width: 992px) {
    .news__btn-row {
        grid-column: 1/5;
    }
}

/* End */
/* /local/templates/general/components/bitrix/news/general.news/bitrix/news.list/.default/style.css?16288483826535 */
