/* year buttons: left menu, library and news pages */
.years {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
    grid-gap: 8px;
    margin: 12px 0 16px;
}

.years a {
    display: block;
    padding: 7px 4px;
    border: 1px solid #cacaca;
    border-radius: 4px;
    background: #fff;
    color: #1d4c96;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.years a:hover,
.years a:focus {
    border-color: #1d4c96;
}

.years a._current {
    background: #1d4c96;
    border-color: #1d4c96;
    color: #fff;
    font-weight: 700;
}

.years--dark a {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

.years--dark a:hover,
.years--dark a:focus {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
}

.years--dark a._current {
    background: #fff;
    border-color: #fff;
    color: #1d4c96;
}

.left-menu-item.has-years.active:after {
    top: .7em;
}

.years--page {
    margin: 0 0 24px;
}
