/* =============================================
   Our Members Page Styles
   ============================================= */

/* --- Header Bar --- */
.members-header-bar {
    background-color: #b8f0ed;
    padding: 30px 0;
    text-align: left;
}

.members-header-bar h1 {
    font-family: 'Spectral', serif;
    font-weight: 700;
    font-size: 2rem;
    color: #212129;
    margin: 0;
}

/* --- Who We Are Section --- */
.members-who-we-are {
    padding: 80px 0 60px;
    background-color: #ffffff;
}

.members-section-heading {
    text-align: left;
    font-size: 2.4rem;
    font-weight: 700;
    color: #212129;
    margin-bottom: 60px;
}

.members-circles-row {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-bottom: 50px;
}

.members-circle-item {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.members-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #b8f0ed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.members-circle svg {
    width: 56px;
    height: 56px;
}

.members-circle-item h3 {
    font-family: 'Spectral', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #212129;
    margin-bottom: 16px;
    line-height: 1.2;
}

.members-circle-body {
    text-align: left;
}

.members-circle-body p {
    font-size: 13px;
    line-height: 1.7;
    color: inherit;
    margin: 0;
}

/* CTA Button */
.members-cta-row {
    text-align: center;
    margin-top: 30px;
}

.btn-members-join {
    display: inline-block;
    background: #212129;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
}

.btn-members-join:hover {
    opacity: 0.85;
}

/* --- Quote Carousel Sections --- */
.members-quote-section {
    padding: 100px 0 80px;
}

.members-quote-top {
    background-color: #a5bfff;
}

.members-quote-bottom {
    background-color: #212129;
}

/* Bottom carousel colours are applied via inline styles from the CMS */

.members-quote-section > [class^="members-glide-"] {
    position: relative;
    padding-bottom: 50px;
}

.members-quote-section .col-3 {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.members-quote-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
}

.members-quote-section .quote-content {
    max-width: 600px;
    border-left: 2px solid currentColor;
    padding-left: 20px;
}

.members-quote-section .quote-text {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 600;
    color: inherit;
}

.members-quote-section .quote-text p {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    margin: 0;
}

.members-quote-section .quote-author {
    font-style: italic;
    color: inherit;
}

.members-quote-section .glide__bullets {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.members-quote-section .glide__bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* --- Members Grid Section --- */
.members-grid-section {
    background-color: #f0f0f1;
    padding: 80px 0 60px;
}

.members-grid-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #212129;
    margin-bottom: 40px;
    text-align: center;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 40px;
    margin-bottom: 40px;
}

.members-grid-item {
    padding: 20px 0;
    border-bottom: 1px solid #d0d0d0;
}

.members-grid-name {
    font-family: 'Spectral', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: inherit;
    margin-bottom: 6px;
    line-height: 1.3;
}

.members-grid-role {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #555;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .members-circles-row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .members-circle-item {
        max-width: 100%;
    }

    .members-circle-item p {
        text-align: center;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 30px;
    }

    .members-quote-section .row {
        flex-direction: column;
    }

    .members-quote-section .col-3,
    .members-quote-section .col-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .members-quote-section .col-3 {
        justify-content: center;
        margin-bottom: 20px;
    }

    .members-quote-section .quote-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .members-section-heading {
        font-size: 1.6rem;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .members-quote-section .quote-text {
        font-size: 1.2rem;
    }

    .members-quote-photo {
        width: 120px;
        height: 120px;
    }
}
