/* Основной контейнер ряда */
.speaker-row-wrapper {
    position: relative;
    width: 100%;           /* Ограничиваем ширину */
    max-width: 100%;       /* Не даем расширяться за экран */
    box-sizing: border-box;
    padding: 0 50px;       /* Место для кнопок внутри контейнера */
}

/* Контейнер с карточками */
.speakers__cards {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    width: 100%;           /* Занимает только доступную ширину родителя */
    scroll-behavior: smooth;
    padding-bottom: 20px;

    /* Скрываем скроллбар */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.speakers__cards::-webkit-scrollbar {
    display: none;
}


/* Обертка кнопок */
.speakers-nav-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 100;
    pointer-events: none;
}

.scroll-controls {
    display: flex;
    justify-content: space-between;
    padding: 0 5px; /* Кнопки будут по самым краям padding-а родителя */
}

.nav-btn {
    width: 45px;
    height: 45px;
    background: #fff;
    border: 2px solid #00c300;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #00c300;
}

.nav-btn:hover svg {
    fill: #fff;
}
