.news-list-years:not(.slick-initialized) {
    display: none;
}

.news-list-years__item {
    padding-right: calc(var(--block-offset) * 0.5);
    padding-left: calc(var(--block-offset) * 0.5);
}

.news-list-years__year {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    height: 45px;
    background-color: var(--color-white);
    border: 1px solid var(--color-white);
    border-radius: 4px;
}

.news-list-years__year:not(:last-of-type) {
    margin-right: var(--block-offset);
}

.page .news-list-years__year {
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.news-list-years__year_current {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.page .news-list-years__year:hover {
    color: var(--color-primary);
    background-color: var(--color-white);
    border-color: var(--color-primary);
}

.news-list-filter {
    padding: 36px 18px;
    background-color: var(--color-white);
    box-shadow: var(--block-shadow);
}

.news-list-filter__buttons {
    display: flex;
    flex-direction: column;
}

.page .news-list-filter__buttons .button {
    height: 45px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.news-list-filter__buttons .button:not(:last-child) {
    margin-bottom: var(--block-offset);
}

.news-list-years .slick-track {
    margin-left: 0;
}
.news-detail {
    background-color: var(--color-white);
    box-shadow: var(--block-shadow);
}

.news-detail__body {
    padding: 30px 18px;
}

.news-detail__picture {
    display: block;
    align-items: center;
    height: auto;
    width: 100%;
}
.news-detail__title {
    padding-top: 35px;
    padding-left:  41px;
    padding-right:  41px;
}

.news-detail + .news-detail {
    margin-top: 2em;
}

.news-detail__info {
    padding-bottom: 4px;
    font-size: 14px;
    color: var(--color-gray-dark);
}


.news-detail__image,
.news-detail img {
    max-width: 100%;
    height: auto;
}

.page .news-detail__button {
    text-decoration: none;
}

.page .news-detail__button:hover {
    text-decoration: underline;
}

.page .news-detail__button .icon {
    font-size: 0.75em;
}

#news-years-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

#news-years-controls .section__control {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 576px) {
    .news-detail__body {
        padding-right: 35px;
        padding-left: 35px;
    }

}

@media (min-width: 768px) {
    .news-detail__body {
        padding: 35px 41px;
    }
}

@media (min-width: 992px) {
    .news-detail__body {
        padding: 40px;
    }


}

@media (min-width: 576px) {
    .news-list-filter {
        padding: 36px;
    }

    .news-list-filter__buttons {
        flex-direction: row;
    }

    .news-list-filter__buttons .button:not(:last-child) {
        margin-right: var(--block-offset);
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .news-list-filter {
        padding-right: 42px;
        padding-left: 42px;
    }

    .page .news-list-filter__buttons .button {
        flex: 260px 0 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page .news-list-years__year {
        transition: none;
    }
}