.dark-theme .main__link + .main__link::before {
    position: absolute;
    content: '';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="10" viewBox="0 0 6 10" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.209376 9.76983C-0.0777189 9.47125 -0.0684094 8.99647 0.230169 8.70937L4.16792 5L0.230169 1.29062C-0.0684099 1.00353 -0.0777193 0.528747 0.209376 0.230167C0.496471 -0.0684109 0.971253 -0.0777207 1.26983 0.209374L5.76983 4.45937C5.91689 4.60078 6 4.79599 6 5C6 5.20401 5.91689 5.39922 5.76983 5.54062L1.26983 9.79062C0.971254 10.0777 0.496471 10.0684 0.209376 9.76983Z" fill="%23EFF1F2"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    left: -30px;
    pointer-events: none;
}
.main{
    margin-top: 174px;
    padding-bottom: 66px;
}

.main__links{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 40px;
    padding: 10px 0;
    margin-bottom: 20px;
    overflow: auto;
}
.main__links::-webkit-scrollbar {
    display: none;
}

.main__link{
    font-size: 16px;
    color: var(--color-text-main);
    position: relative;
    text-wrap: nowrap;
}
.main__link + .main__link::before{
    position: absolute;
    content: '';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="10" viewBox="0 0 6 10" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.209376 9.76983C-0.0777189 9.47125 -0.0684094 8.99647 0.230169 8.70937L4.16792 5L0.230169 1.29062C-0.0684099 1.00353 -0.0777193 0.528747 0.209376 0.230167C0.496471 -0.0684109 0.971253 -0.0777207 1.26983 0.209374L5.76983 4.45937C5.91689 4.60078 6 4.79599 6 5C6 5.20401 5.91689 5.39922 5.76983 5.54062L1.26983 9.79062C0.971254 10.0777 0.496471 10.0684 0.209376 9.76983Z" fill="%236E6E6E"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    left: -30px;
    pointer-events: none;
}
.main__link.active{
    text-decoration: underline;
}



.main__title{
    font-size: 39px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; 
    margin-bottom: 37px;
}

.main__block{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.main__block-date{
    font-size: 18px;
    color: #6E6E6E;
}
.main__block-name{
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
}

.main__image,
.main__item-image{
    width: 100%;
    height: 384px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-bottom: 10px;
    position: relative;
    border-radius: 4px;
}
.main__image::after,
.main__item-image::after{
    position: absolute;
    content: '';
    inset: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.00)), to(rgba(0, 0, 0, 0.50)));
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%);
}
.main__img,
.main__item-img{
    width: 100%;
    min-height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.main__name{
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 10px;    
}
.main__descr{
    font-size: 24px;
}

.text-bold{
    font-weight: 600;
}

.main__box{
    margin-top: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}
.main__item-image{
    width: 100%;
    height: 384px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-bottom: 10px;
    position: relative;
}
.main__item-block{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.main__item-date{
    font-size: 18px;
    color: #6E6E6E;
}
.main__item-name{
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
}
.main__item-descr{
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}


@media (max-width: 1140px){
    .main{
        margin-top: 164px;
    }
}
@media (max-width: 1060px){
    .main__link{
        font-size: 14px;
    }
    .main{
        padding-bottom: 41px;
    }
    .main__title{
        margin-bottom: 20px;
    }
}

@media (max-width: 930px){
    .main {
        margin-top: 92px;
    }
    .main__links{
        margin-bottom: 12px;
    }
    .main__title{
        font-size: 25px;
    }
    .main__block-date,
    .main__block-name{
        font-size: 16px;
    }
    .main__block{
        gap: 31px;
        margin-bottom: 23px;
    }
    .main__name{
        font-size: 18px;
    }
    .main__descr{
        font-size: 16px;
    }
    .main__item-date{
        font-size: 14px;
    }
    .main__item-name{
        font-size: 14px;
    }
    .main__item-descr{
        font-size: 18px;
    }
    .main__box{
        gap: 10px;
    }
}




@media (max-width: 600px){
    .main__links{
        margin-bottom: 10px;    
    }
    .main {
        margin-top: 82px;
    }
    .main__block-date, .main__block-name {
        font-size: 14px;
    }
    .main__block{
        gap: 12px;
        margin-bottom: 40px;
    }
    .main__name{
        font-size: 16px;
    }
    .main__descr{
        font-size: 14px;
    }
    .main__box{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 20px;
    }
    .main__item-descr{
        font-size: 16px;
    }
}