/* START KOL Members List */
html.light-mode .kol-members-hero,
html.dark-mode .kol-members-hero {
    position: relative;
    grid-column: 1 / -1;
    flex: 0 0 100%;
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
    margin: 3px 0 2px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
    background: #07120f;
    box-sizing: border-box;
}

.kol-members-hero,
.kol-members-hero * {
    box-sizing: border-box;
}

.kol-members-hero__slides {
    position: relative;
    min-height: 340px;
}

.kol-members-hero__slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 340px;
    padding: 34px 48px 44px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
}

.kol-members-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.kol-members-hero__slide--one {
    background:
        radial-gradient(circle at 72% 14%, rgba(255, 255, 255, 0.24), transparent 29%),
        linear-gradient(112deg, #061512 0%, #0d4636 54%, #a06f19 100%);
}

.kol-members-hero__slide--two {
    background:
        radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.2), transparent 30%),
        linear-gradient(112deg, #0a1022 0%, #2b477f 51%, #8f3154 100%);
}

.kol-members-hero__slide--three {
    background:
        radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(112deg, #17100b 0%, #60401f 50%, #0b6570 100%);
}

.kol-members-hero__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.18), transparent 34%);
    pointer-events: none;
}

.kol-members-hero__copy,
.kol-members-hero__people,
.kol-members-hero__dots {
    position: relative;
    z-index: 2;
}

.kol-members-hero__copy {
    max-width: 680px;
    min-width: 0;
}

.kol-members-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.kol-members-hero__title {
    max-width: 690px;
    margin: 0 0 18px;
    font-size: 54px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    color: #ffffff;
    overflow-wrap: normal;
}

.kol-members-hero__slide--one .kol-members-hero__title {
    font-size: 52px;
}

.kol-members-hero__slide--two .kol-members-hero__title {
    font-size: 50px;
}

.kol-members-hero__slide--three .kol-members-hero__title {
    font-size: 52px;
}

.kol-members-hero__body {
    max-width: 610px;
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.28;
    color: rgba(255, 255, 255, 0.94);
}

.kol-members-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 7px;
    background: #ffffff;
    color: #06110f;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.kol-members-hero__button:hover,
.kol-members-hero__button:focus {
    color: #06110f;
    text-decoration: none;
    transform: translateY(-1px);
}

.kol-members-hero__people {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 250px;
    padding: 12px 6px 28px;
}

.kol-members-hero__person {
    position: relative;
    width: 178px;
    margin: 0;
    text-align: center;
    transition: transform 180ms ease;
    z-index: 2;
}

.kol-members-hero__person--1 {
    transform: translate(28px, 28px) rotate(-5deg);
    z-index: 2;
}

.kol-members-hero__person--2 {
    width: 208px;
    transform: translateY(-8px);
    z-index: 3;
}

.kol-members-hero__person--3 {
    transform: translate(-28px, 34px) rotate(5deg);
    z-index: 1;
}

.kol-members-hero__person--1:hover,
.kol-members-hero__person--1:focus-within {
    transform: translate(28px, 16px) rotate(-5deg) scale(1.08);
    z-index: 5;
}

.kol-members-hero__person--2:hover,
.kol-members-hero__person--2:focus-within {
    transform: translateY(-20px) scale(1.08);
    z-index: 5;
}

.kol-members-hero__person--3:hover,
.kol-members-hero__person--3:focus-within {
    transform: translate(-28px, 22px) rotate(5deg) scale(1.08);
    z-index: 5;
}

.kol-members-hero__person-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
}

.kol-members-hero__person-link:hover,
.kol-members-hero__person-link:focus {
    color: #ffffff;
    text-decoration: none;
}

.kol-members-hero__person img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 5px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    object-fit: cover;
    background: #080808;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

.kol-members-hero__person figcaption {
    display: block;
    max-width: 100%;
    margin-top: 9px;
    padding: 0 4px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kol-members-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    display: flex;
    gap: 12px;
    transform: translateX(-50%);
}

.kol-members-hero__dot {
    width: 16px;
    height: 16px;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.kol-members-hero__dot.is-active {
    background: #ffffff;
}

.kol-members-locations {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex: 0 0 100%;
    flex-wrap: nowrap;
    gap: 16px;
    grid-column: 1 / -1;
    margin: 0 0 5px;
    overflow: hidden;
    padding: 5px 4px;
    white-space: nowrap;
    width: 100%;
}

.kol-members-locations span,
.kol-members-locations__scroller a {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
}

.kol-members-locations span {
    color: #0b5f94;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.kol-members-locations__scroller {
    display: flex;
    flex: 1 1 auto;
    gap: 17px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.kol-members-locations__scroller::-webkit-scrollbar {
    display: none;
}

.kol-members-locations__scroller a {
    color: inherit;
    flex: 0 0 auto;
    font-weight: 700;
}

.kol-members-locations__scroller a:hover,
.kol-members-locations__scroller a:focus {
    color: #0b5f94;
    text-decoration: none;
}

.kol-members-wrap {
    background-color: #f8f9fa;
    padding: 20px 0;
}

.kol-members-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .kol-members-layout {
        grid-template-columns: 1fr;
    }
}

.kol-members-main {
    flex: 1;
}

.kol-members-sidebar {
    flex: 0 0 350px;
}

.kol-members-card {
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    border: 0px;
    border-radius: 8px;
    padding: 24px;
    background-color: #ffffff;
    color: #333333;
}

.kol-members-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.kol-members-card h3 {
    margin-top: 16px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.kol-members-card p {
    margin: 0 0 16px 0;
    color: #4b5563;
    line-height: 1.5;
    font-size: 13px;
}

.kol-members-card code {
    background-color: #f0f0f0;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #d73a49;
}

.kol-code-block {
    background-color: #f6f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #24292e;
    overflow-x: auto;
    word-break: break-all;
}

/* Members Container */
.kol-members-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kol-members-container.is-loading .kol-members-results {
    opacity: 0.55;
    pointer-events: none;
}

/* Controls */
.kol-members-controls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
}

@media (max-width: 768px) {
    html.light-mode .kol-members-hero,
    html.dark-mode .kol-members-hero {
        margin-top: 3px;
        margin-bottom: 2px;
    }

    .kol-members-hero__slides {
        min-height: 430px;
    }

    .kol-members-hero__slide {
        grid-template-columns: 1fr;
        align-content: start;
        gap: 12px;
        min-height: 430px;
        padding: 22px 18px 48px;
    }

    .kol-members-hero__copy {
        max-width: 100%;
    }

    .kol-members-hero__eyebrow {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .kol-members-hero__title,
    .kol-members-hero__slide--one .kol-members-hero__title,
    .kol-members-hero__slide--two .kol-members-hero__title,
    .kol-members-hero__slide--three .kol-members-hero__title {
        max-width: 100%;
        margin-bottom: 10px;
        font-size: 29px;
        line-height: 1.04;
    }

    .kol-members-hero__body {
        max-width: 100%;
        margin-bottom: 14px;
        font-size: 15px;
        line-height: 1.28;
    }

    .kol-members-hero__button {
        min-height: 38px;
        padding: 0 16px;
        font-size: 14px;
    }

    .kol-members-hero__people {
        min-height: 150px;
        padding: 0 0 18px;
    }

    .kol-members-hero__person {
        width: 104px;
    }

    .kol-members-hero__person--1 {
        transform: translate(18px, 14px) rotate(-5deg);
    }

    .kol-members-hero__person--2 {
        width: 122px;
        transform: translateY(-2px);
    }

    .kol-members-hero__person--3 {
        transform: translate(-18px, 16px) rotate(5deg);
    }

    .kol-members-hero__person--1:hover,
    .kol-members-hero__person--1:focus-within {
        transform: translate(18px, 6px) rotate(-5deg) scale(1.06);
    }

    .kol-members-hero__person--2:hover,
    .kol-members-hero__person--2:focus-within {
        transform: translateY(-10px) scale(1.06);
    }

    .kol-members-hero__person--3:hover,
    .kol-members-hero__person--3:focus-within {
        transform: translate(-18px, 8px) rotate(5deg) scale(1.06);
    }

    .kol-members-hero__person img {
        border-width: 4px;
    }

    .kol-members-hero__person figcaption {
        font-size: 12px;
    }

    .kol-members-hero__dots {
        bottom: 16px;
    }

    .kol-members-controls {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .kol-members-hero__slides,
    .kol-members-hero__slide {
        min-height: 405px;
    }

    .kol-members-hero__slide {
        padding: 18px 14px 44px;
    }

    .kol-members-hero__title,
    .kol-members-hero__slide--one .kol-members-hero__title,
    .kol-members-hero__slide--two .kol-members-hero__title,
    .kol-members-hero__slide--three .kol-members-hero__title {
        font-size: 24px;
    }

    .kol-members-hero__body {
        font-size: 14px;
    }

    .kol-members-hero__person {
        width: 88px;
    }

    .kol-members-hero__person--2 {
        width: 104px;
    }
}

/* Search Bar */
.kol-members-search {
    flex: 1;
    min-width: 300px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    border: 0px;
    border-radius: 8px;
    padding: 16px;
    background-color: #ffffff;
}

.kol-members-search-form {
    display: flex;
    gap: 8px;
}

.kol-members-search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    font-size: 14px;
}

.kol-members-search-btn {
    padding: 8px 16px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.kol-members-search-btn:hover {
    background-color: #005a87;
}

.kol-members-clear-search {
    padding: 8px 12px;
    color: #d63638;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #d63638;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.kol-members-clear-search:hover {
    background-color: #d63638;
    color: white;
}

/* Sorting */
.kol-members-sorting {
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    border: 0px;
    border-radius: 8px;
    padding: 16px;
    background-color: #ffffff;
}

.kol-members-sort-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kol-members-sort-form label {
    margin: 0;
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.kol-members-sort-select {
    padding: 8px 12px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    background-color: #ffffff;
    color: #1f2937;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.kol-members-sort-select:hover,
.kol-members-sort-select:focus {
    border-color: #0073aa;
    outline: none;
}

.kol-members-showing {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
}

/* Members Grid */
.kol-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.kol-member-card {
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    border: 0px;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
    color: #1f2937;
}

.kol-member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
}

.kol-member-card img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    object-position: center;
}

.kol-member-card a {
    text-decoration: none;
}

.kol-member-avatar-link {
    display: inline-flex;
}

.kol-member-avatar-link img {
    cursor: pointer;
}

.kol-member-info h3 {
    margin: 8px 0 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.kol-member-info h3 a {
    text-decoration: none;
    color: #1f2937;
}

.kol-member-info h3 a:hover {
    color: #0073aa;
}

.kol-member-status {
    font-size: 11px;
    margin: 0;
    color: #6b7280;
}

/* Pagination */
.kol-members-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 16px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #ffffff;
}

.kol-members-page-link {
    padding: 8px 12px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    color: #0073aa;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kol-members-page-link:hover {
    background-color: #0073aa;
    color: white;
}

.kol-members-page-current {
    padding: 8px 12px;
    background-color: #0073aa;
    color: white;
    border-radius: 6px;
    font-weight: 600;
}

/* Light Mode */
html.light-mode .kol-members-search {
    background-color: #ffffff;
}

html.light-mode .kol-members-search-input {
    background-color: #ffffff;
    color: #1f2937;
}

html.light-mode .kol-members-sorting {
    background-color: #ffffff;
}

html.light-mode .kol-members-sort-select {
    background-color: #ffffff;
    color: #1f2937;
}

html.light-mode .kol-member-card {
    background: #ffffff;
    color: #1f2937;
}

html.light-mode .kol-member-info h3 a {
    color: #1f2937;
}

html.light-mode .kol-member-info h3 a:hover {
    color: #4b5563;
}

html.light-mode .kol-member-status {
    color: #6b7280;
}

html.light-mode .kol-members-pagination {
    background-color: #ffffff;
}

/* Dark Mode */
html.dark-mode .kol-members-search {
    background-color: #1a1a1a;
}

html.dark-mode .kol-members-search-input {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #333;
}

html.dark-mode .kol-members-sorting {
    background-color: #1a1a1a;
}

html.dark-mode .kol-members-sort-select {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #333;
}

html.dark-mode .kol-members-sort-form label {
    color: #e0e0e0;
}

html.dark-mode .kol-members-showing {
    color: #b0b0b0;
}

html.dark-mode .kol-member-card {
    background: #1a1a1a;
    color: #e0e0e0;
}

html.dark-mode .kol-member-info h3 a {
    color: #e0e0e0;
}

html.dark-mode .kol-member-info h3 a:hover {
    color: #f0f0f0;
}

html.dark-mode .kol-member-status {
    color: #b0b0b0;
}

html.dark-mode .kol-members-pagination {
    background-color: #1a1a1a;
}

html.dark-mode .kol-members-page-link {
    border-color: #333;
    color: #64b5f6;
}

html.dark-mode .kol-members-page-link:hover {
    background-color: #64b5f6;
    color: #1a1a1a;
}

html.dark-mode .kol-members-page-current {
    background-color: #64b5f6;
    color: #1a1a1a;
}

/* END KOL Members List */
