/* ============================================================
   Founder's Circle — Hero Heading (mirrors expert-support common-title-me)
   ============================================================ */

.hero-banner .title-group .h1 {
    font-family: "Instrument Serif";
    font-style: normal;
    font-weight: 400;
    font-size: 72px;
    line-height: 95%;
    letter-spacing: -0.01em;
}

.hero-banner .title-group .h1 span {
    position: relative;
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.84938px;
    color: #04070c;
    font-stretch: 75;
    font-variation-settings: "wght" 700, "wdth" 75;
}

.hero-banner .title-group .h1 svg.underline-svg {
    position: absolute;
    left: -6%;
    top: 82%;
    padding-top: 0;
    width: 213px;
    z-index: -9999;
}

/* ============================================================
   Founder's Circle — Hero Logo Quilt & Description
   ============================================================ */

.hero-banner.inner-banner.with-merque .logo-images-inner > ul.logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    list-style: none;
    max-width: 500px;
    padding: 0;
    margin-bottom: 35px;
    margin-left: -10px;
}

.hero-banner.inner-banner.with-merque .logo-images-inner ul li {
    width: 26%;
    padding: 0;
}

@media (max-width: 991px) {
    .page-template-templates-founders-circle .hero-banner.inner-banner {
        padding-bottom: 40px;
    }

    .hero-banner.inner-banner.with-merque .logo-images-inner > ul.logo {
        margin-bottom: 40px;
    }
}

.hero-banner.inner-banner.with-merque .hero-description.v2 {
    margin-bottom: 40px;
    max-width: 580px;
}

/* ============================================================
   Founder's Circle — Section Spacing
   ============================================================ */

.cta-section {
    margin-top: 64px;
}

@media (max-width: 767px) {
    .cta-section {
        margin-top: 32px;
        padding: 20px 20px 30px;
    }

    .cta-section .cta-heading {
        margin-bottom: 16px;
    }

    .cta-section p.lead {
        margin-bottom: 24px;
    }
}

/* ============================================================
   Founder's Circle — Member Cards Section
   ============================================================ */

.member-cards-section {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.member-cards-heading {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 2.5rem;
}

.member-cards-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    justify-content: center;
    gap: 34px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.member-card {
    position: relative;
    background: #fff;
    border-radius: 30px;
    width: calc(33.333% - 23px);
    min-height: 346px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 12px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.member-card-logo {
    position: absolute;
    top: 40px;
    right: 40px;
}

.member-card-logo img {
    max-height: 32px;
    max-width: 71px;
    width: auto;
    object-fit: contain;
}

.member-card-name {
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 36px;
    max-width: 299px;
    margin-bottom: 0.75rem;
    color: #04070c;
}

.member-card-description {
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #04070c;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .member-card {
        width: calc(50% - 17px);
        height: auto;
        min-height: 200px;
    }
}

@media (max-width: 600px) {
    .member-card {
        width: calc(50% - 17px);
        height: auto;
        min-height: 160px;
        padding: 16px;
        border-radius: 20px;
    }

    .member-card-name {
        font-size: 16px;
        line-height: 22px;
        max-width: 100%;
        margin-bottom: 6px;
    }

    .member-card-description {
        font-size: 13px;
        line-height: 115%;
    }

    .member-card-logo {
        top: 12px;
        right: 12px;
    }

    .member-card-logo img {
        max-height: 20px;
        max-width: 50px;
    }

    .member-cards-grid {
        gap: 12px;
    }
}
