
.h2 {
    font-weight: 700;
}

.authors {
    padding-top: 25px;
}

.authors__h {
    margin-bottom: 40px;
} 

.authors-swiper {
    /* width: 100%; */
    /* margin-top: 40px; */
    margin-bottom: 40px;

    position: relative;
    /* padding-top: 50px; */
    /* Место для стрелок сверху */
    padding-bottom: 40px;
    /* Место для пагинации снизу */
    overflow: hidden;
    width: calc(100% + 2px);
    margin-right: -1px;
    margin-left: -1px;
}






/* Обёртка для стрелок */
.swiper-nav-wrapper {
    position: absolute;
    top: 46px;
    right: 35px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* Стили стрелок */
.swiper-button-prev,
.swiper-button-next {
    position: static;
    /* Отменяем стандартное позиционирование */
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 10px;
    background: #ffffff;
    border-radius: 50%;
}
.swiper-button-prev svg,
.swiper-button-next svg{
    color: #BAB9B9;
    font-size: 18px;
}
.swiper-button-prev:after,
.swiper-button-next:after {
    color: #BAB9B9;
    font-size: 18px;
}

/* Пагинация (буллеты) */
.swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--main-background);
}

/*Карточки*/

.author-card {
    padding: 25px;
    background: #fff;
    border: 1px solid #BAB9B9;
    width: 17%;
    height: 370px;
    border-radius: 18px;
    /* width: 270px !important; */
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 20px;
}

.author__text_area p {
    text-align: center;
    margin-top: 10px;
}

.author__title {
    font-weight: 700;
}

.author__text {
    color: var(--main-background);
    font-size: 16px;

}

.author__img_wrapper {
    width: 100%;
    display: flex;
}

.author__img {
    width: 100%;
    object-fit: contain;
}

.author_margin{
    margin-left: 50px;
}

@media(width<926px) {
    .hero-container {
        padding: 0px 20px 0px 20px;
    }

    .author-card {
        height: auto;
    }

    .authors__h {
        margin-bottom: 60px;
    }

    .swiper-nav-wrapper {
        top: 90px;
    }
}