/* Executive Committee directory */

.lc-directory {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0.5rem 0.75rem 2.5rem;
}

.lc-directory__header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.lc-directory__title {
    color: #1069A8;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.lc-directory__title::before {
    content: none !important;
    display: none !important;
}

.lc-directory__title::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin: 0.45rem auto 0;
    background: #1069A8;
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

.lc-jump {
    position: sticky;
    top: 90px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 0.5rem;
    margin-bottom: 1.75rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(16, 105, 168, 0.12);
}

.lc-jump__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border: 1.5px solid #1069A8;
    border-radius: 999px;
    color: #1069A8;
    background: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lc-jump__chip:hover,
.lc-jump__chip:focus {
    background: #E7F1F8;
    color: #1069A8;
    text-decoration: none;
}

.lc-jump__chip.is-active {
    background: #1069A8;
    color: #fff;
    border-color: #1069A8;
}

.lc-jump__chip.is-active:hover,
.lc-jump__chip.is-active:focus {
    background: #0b547f;
    color: #fff;
    text-decoration: none;
}

.lc-section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 120px;
}

.lc-section__title {
    color: #1069A8;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #1069A8;
    display: inline-block;
}

.lc-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.lc-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.lc-table thead th {
    background: #E7F1F8;
    color: #1069A8;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid rgba(16, 105, 168, 0.25);
}

.lc-table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: top;
    border: none;
    font-size: 1rem;
    line-height: 1.45;
}

.lc-table tbody td:first-child {
    width: 40%;
    color: #1069A8;
    font-weight: 600;
}

.lc-table tbody td:last-child {
    width: 60%;
    color: #5a6a75;
    font-weight: 400;
}

.lc-table tbody tr:nth-child(odd) {
    background: #fff;
}

.lc-table tbody tr:nth-child(even) {
    background: #E7F1F8;
}

.lc-table tbody tr:hover {
    background: #d5e6f3;
}

@media (max-width: 767.98px) {
    .lc-jump {
        top: 70px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
    }

    .lc-jump__chip {
        font-size: 0.85rem;
        padding: 0.4rem 0.85rem;
        flex: 0 0 auto;
    }

    .lc-section {
        scroll-margin-top: 110px;
    }
}

@media (max-width: 575.98px) {
    .lc-directory {
        padding: 0.25rem 0.5rem 2rem;
    }

    .lc-directory__title {
        font-size: 1.4rem;
    }

    .lc-section__title {
        font-size: 1.15rem;
    }

    .lc-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    .lc-table,
    .lc-table tbody,
    .lc-table tr,
    .lc-table td {
        display: block;
        width: 100%;
    }

    .lc-table tbody tr {
        padding: 0.85rem 1rem;
        margin-bottom: 0.5rem;
    }

    .lc-table tbody td {
        width: 100%;
        padding: 0.2rem 0;
    }

    .lc-table tbody td:first-child {
        width: 100%;
        margin-bottom: 0.25rem;
    }

    .lc-table tbody td::before {
        content: attr(data-label);
        display: block;
        color: #1069A8;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-bottom: 0.15rem;
    }

    .lc-table tbody td:first-child::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lc-jump__chip {
        transition: none;
    }
}
