@charset "UTF-8";
/* ============================================================
   BLOG — карусель статей
   Структура идентична .projects, переопределяем только отличия
   ============================================================ */

.blog {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 38px;
    position: relative;
    padding-top: 110px;
}

/* ── Шапка ── */
.blog__head {
    width: 100%;
}

.blog__head-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding-bottom: 45px;
    position: relative;
}

.blog__title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-bebas);
    font-size: 50px;
    line-height: 54px;
    font-weight: 700;
    align-self: stretch;
    margin: 0;
}

.blog__subtitle {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-myriad);
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
    align-self: stretch;
    margin: 0;
}

/* ── Карусель ── */
.blog__carousel-wrap {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
}

 /* ── Стрелки  ── */
 .blog__arrow {
    flex-shrink: 0;
    width: 71px;
    height: 71px;
    border: 2px solid #FFDB73;
   
    padding: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
   

}


.blog__arrow--prev {
 z-index: 2;
 position: absolute;
 left: -10%;

}
.blog__arrow--next {
 z-index: 2;
 position: absolute;
 right: -10%;

}
.blog__arrow-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
   
   

}

.blog__arrow:hover  {
 background: var(--gradient-zheltyj);

}

.blog__arrow svg {
 position: absolute;
 width: 53.52%;
 height: 53.52%;
 left: 23.94%;
 top: 22.54%;
 fill: #FFDB73;
}

.blog__arrow:hover svg {
 fill: var(--color-black);
}


/* Трек */
.blog__track-wrap {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.blog__track {
    display: flex;
    transition: transform .4s ease;
    will-change: transform;
}



/* ── Точки ── */
.blog__dots {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    margin: 30px 0;
}

.blog__dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: var(--gradient-svetlyj);
    transition: width .3s, height .3s, background .3s;
}

.blog__dot.is-active {
    width: 16px;
    height: 16px;
    background: var(--gradient-zheltyj);
}

/* ── Кнопка "Перейти в блог" ── */
.blog__all-btn {
    background: var(--gradient-svetlyj);
    border-radius: 5px;
    padding: 20px 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-bebas);
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    color: var(--color-black);
    -webkit-text-fill-color: var(--color-black);
    text-decoration: none;
    transition: transform .15s, opacity .2s;
}

.blog__all-btn:hover {  background: linear-gradient(180deg, #C7A21B 0%, #FFDB73 100%); }

/* ── Адаптив ── */
@media (max-width: 1599px) {
    .blog__arrow--prev {
        left: -5%;
    }
    .blog__arrow--next {
        right: -5%;
    }
}

@media (max-width: 1200px) {
    .blog__card { flex: 0 0 33.333%; }
    .blog__carousel-wrap { gap: 30px; }
}

@media (max-width: 1024px) {
    .blog__card { flex: 0 0 50%; }
    .blog__arrow { width: 50px; height: 50px; }
    .blog__title { font-size: clamp(28px, 4vw, 50px); }
}

@media (max-width: 860px) {
    .blog__arrow {
        display: none;
    }
}

@media (max-width: 599px) {
    .blog__card { flex: 0 0 100%; }
    .blog__carousel-wrap { gap: 16px; }
    
    .blog__card-inner { padding: 24px 20px; }
}
@media (max-width: 480px) {
    .blog {
        padding-top: 70px;
    }
    .blog__head-inner {
        gap: 20px;      
        padding-bottom: 30px;
        
    }

  
}