/* =========================
   Leadership & Committees
   ========================= */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}


.leadership-section {
    margin-bottom: 60px;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.leadership__cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.leadership__cards::-webkit-scrollbar {
    display: none;
}

.leader-card,
.region-card {
    min-width: 180px;
    max-width: 260px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.leader-card__details {
    display: none;
    color: #000;
    padding: 0 20px 36px;
}

/* Committees */
.committee-card {
    min-width: 260px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid #e5efe9;
    text-decoration: none;
    color: #2B5244;
    font-weight: 600;
    background: #fff;
    transition: 0.2s;
}

.committee-card:hover {
    background: #f5faf7;
}

.committee-marker {
    width: 12px;
    height: 12px;
    background: #2B5244;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Regions */
.regions-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.region-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e5efe9;
    text-decoration: none;
    color: #2B5244;
    font-weight: 500;
    transition: 0.2s;
    min-width: 180px;
    justify-content: center;
}

.region-card:hover {
    background: #f5faf7;
}

.region-marker {
    width: 10px;
    height: 10px;
    background: #2B5244;
    border-radius: 50%;
}

/* =========================
   Leadership slider nav
   ========================= */

.leadership-nav-controls {
    position: absolute;
    right: 10px;
    bottom: -45px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.leadership-nav-controls .nav-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #2B5244;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

/* Стрілки */
.leadership-nav-controls .nav-btn--prev::before { content: "←"; }
.leadership-nav-controls .nav-btn--next::before { content: "→"; }

@media (max-width: 768px) {
    .leadership-nav-controls {
        bottom: -35px;
    }
}

/* Контейнер навігації комітетів */
.leadership-nav-controls2 {
    position: absolute;
    right: 20px;
    bottom: -150px; /* підлаштував під висоту карток */
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 20; /* щоб були поверх карток */
}

/* Кнопки навігації */
.leadership-nav-controls2 .nav-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #2B5244;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.2s;
}

.leadership-nav-controls2 .nav-btn:hover:not(:disabled) {
    background: #1e3a2f;
}

.leadership-nav-controls2 .nav-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

/* Стрілки всередині кнопок */
.leadership-nav-controls2 .nav-btn--prev::before {
    content: "←";
}

.leadership-nav-controls2 .nav-btn--next::before {
    content: "→";
}
