.archive-slider {
    padding-top: 100px
}

.archive-slider .col-lg-3 img {
    width: 250px;
}

.year-picker-wrap {
    position: relative;
    width: 100%;
    height: 0;
}

.year-picker {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 100%;
    height: 76px;
    border-bottom: 2px solid black;
    display: flex;
    z-index: 100;
    padding: 0 20px 0 30%;
    justify-content: space-around;
    align-items: stretch;
}

.alt .year-picker {
    border-color: #fff;
}

.year-picker .year-item {
    position: relative;
    cursor: pointer;
    flex: 1 0 20%;
}

.year-picker .year-item span {
    display: block;
    width: auto;
    height: 50%;
    overflow: hidden;
    line-height: 1.22;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #bbb;
    text-align: center;
}

.year-picker .year-item.active span {
    margin-top: -15px;
    height: auto;
    font-size: 50px;
    color: #000;
}

.alt .year-picker .year-item.active span {
    color: #fff;
}

.year-picker .year-item span:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: bottom;
}

.year-picker .year-item:after {
    content: '';
    display: block;
    width: 0;
    height: 20%;
    position: absolute;
    left: 50%;
    bottom: 0;
    border-right: 1px solid black
}

.year-picker .year-item.active:after {
    border-right: 2px solid black;
    height: 40%;
}

.alt .year-picker .year-item.active:after {
    border-color: #fff;
}

.journals__item {
    display: flex;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.journals__item img {
    transition: box-shadow var(--trans);
    margin-bottom: 20px;
    width: 100%;
}

.journals__item:hover img {
    display: block;
    padding: 0;
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.4);
}

.journals__item:hover p {
    color: var(--violet);
}

.journals__item p {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 14px;
    line-height: 17px;
    text-transform: uppercase;
}

.image-wrapper {
    width: 250px;
    min-height: 350px;
    background-color: var(--gray2);
}

.archive-journals__wrapper {
    overflow: hidden;
}

[data-year] {
    display: grid;
    gap: 55px;
    grid-template-columns: repeat(4, 250px);
}

.year-picker-wrap {
    position: relative;
    height: 100px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.news-archive-block .title {
    margin-bottom: 0;
}

.year-picker-v2 {
    border-bottom: 1px solid;
    border-color: var(--accent-color);
    padding-bottom: 30px;
}

.year-item span {
    font-weight: 800;
    font-size: 16px;
    line-height: 1.25;
    text-transform: uppercase;
    transition: color var(--trans), trnsform var(--trans);
    color: var(--gray2);
    cursor: pointer;
}

.swiper-slide-thumb-active span {
    color: var(--accent-color);
}

.swiper-slide-thumb {
    transition: transform var(--trans-md);
}

.swiper-slide-thumb-active {
    transform: scale(2);
}

.year-item {
    position: relative;
}

.year-item:hover span {
    color: var(--accent-color);
}

.year-item::after {
    content: '';
    position: absolute;
    height: 30px;
    width: 1px;
    background-color: var(--accent-color);
    left: 50%;
    bottom: -30px;
}

.block-with-news {
    width: 100%;
    margin: 0;
    flex-shrink: 0;
}

.year-picker__inner {
    display: flex;
    align-items: center;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-160%);
    width: 40px;
    height: 40px;
    color: var(--gray);
    z-index: 10;
}

.slider-button:hover {
    color: var(--accent-color);
}

.slider-button:focus-visible {
    outline: 2px solid;
    outline-color: var(--accent-color);
    outline-offset: 2px;
}

.slider-button--next {
    transform: translateY(-160%) rotate(180deg);
    right: 0;
}

.news-archive-block {
    padding-bottom: 0 !important;
}

[data-year] {
    grid-auto-rows: max-content;
}

@media(max-width: 1439px) {
    [data-year] {
        display: grid;
        justify-content: center;
        gap: 60px;
        grid-template-columns: repeat(2, 250px);
    }
}

@media(max-width: 767px) {
    [data-year] {
        display: grid;
        justify-content: center;
        gap: 20px;
        grid-template-columns: unset;
    }
    .year-picker-wrap {
        margin: 0;
        margin-top: 20px;
    }
    .slider-button {
        display: none;
    }
}