.leadership-landing {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
}

.leadership-landing img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
    left: 0;
    top: 0;
}

.leadership-landing h1 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: calc(3rem + 0.2vw);
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.24rem;
    width: 45%;
}

.leadership-top-buttons div {
    width: max-content !important;
}

.leadership-top-buttons {
    display: flex;
    background: var(--text-secondary);
    padding: 0.3vw;
    width: max-content;
    border-radius: 0.375rem;
    margin: auto;
    border: 1px solid #D7DBDD;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

.leadership-top-buttons .ow-button-base a.sowb-button {
    width: fit-content;
    padding: 0.8vw 1vw !important;
    color: #1A1A1A !important;
    background: var(--text-secondary);
    border-radius: 0.375rem !important;
    text-decoration: none;
    font-size: calc(1rem + 0.25vw) !important;
    font-weight: 400;
    white-space: nowrap;
}

.leadership-top-buttons .ow-button-base a.sowb-button.active-tab {
    background: var(--primary-color);
    color: var(--text-secondary) !important;
}

.person .yellow {
    background: linear-gradient(180deg, #FFF5CC 0%, rgba(255, 245, 204, 0.00) 100%);
}

.person .blue {
    background: linear-gradient(180deg, #D3EEFB 0%, rgba(211, 238, 251, 0.00) 100%);
}

.content-parent .top-content h1 {
    color: #540411;
    font-family: var(--font-heading);
    font-size: calc(3rem + 0.2vw);
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.24rem;
    padding-bottom: 1rem;
}

.person-cards-parent{
	display: grid;
	grid-template-columns: repeat(3 , 1fr);
	gap: 2rem;
	align-items: stretch;
}


.person-cards-parent div .image-hover-text , .person-cards-parent div .image-hover-text .hover-text{
	height   : auto;
}
.person-cards-parent  div{
	height: 100%;
}



.content-parent .person h3 {
    color: #540411;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: calc(1.5rem + 0.2vw);
    letter-spacing: -0.075rem;
    line-height: normal;
}

.content-parent .person p {
    color: #1a1a1a;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(0.90rem, 1.1vw, 1.2rem);
    letter-spacing: -0.075rem;
    line-height: normal;
    padding-top: 1rem;
}

.content-parent .person p strong {
    color: #F1591E;
    font-weight: 500 !important;
}

.content-parent .top-content p {
    color: #1A1A1A;
    font-family: var(--font-body);
    font-size: calc(1rem + 0.5vw);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

.content-parent .person .vartical-row {
    height: 2px;
    margin-top: 1rem;
    width: 60%;
    background-color: #F1591E;
}

.content-parent .person .social-media img {
    height: auto;
    width: 25px;
    margin-right: 0.5rem;
}

.person-card {
    background-color: #FAFAFA;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 0.502px solid #E0E0E0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-hover-text {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
}

.image-hover-text img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}


.hover-color {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: linear-gradient(0deg, #F1591E 0.04%, rgba(241, 89, 30, 0) 60.35%);
    transition: opacity 0.3s ease;
}

.hover-text {
    position: absolute;
    bottom: 2vw;
    left: 2vw;
    right: 2vw;
    opacity: 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: calc(1.025rem + 0.1vw);
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.00563rem;
    z-index: 5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.person-card:hover .hover-color {
    opacity: 1;
}

.person-card:hover .hover-text {
    opacity: 1;
    transform: translateY(0);
}

.person-content {
    padding: 2vw;
    flex-grow: 1;
}

.person-card .person-content h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: calc(1.5rem + 0.1vw);
    line-height: normal;
    letter-spacing: -0.075rem;
    padding-bottom: 0.3rem;
    color: #1A1A1A;
}

.person-card .person-content p {
    font-family: var(--font-body);
    font-size: calc(1.025rem + 0.1vw);
    font-weight: 400;
    color: #47494A;
    line-height: 140%;
    letter-spacing: 0.00563rem;
    margin: 0;
}

.mobile-toggle {
    display: none;
}

@media screen and (max-width: 1024px) {
    .leadership-landing {
        height: auto;
        min-height: 60vh;
        padding: 4rem 0;
    }

    .leadership-landing h1 {
        width: 80%;
        font-size: 3rem;
        margin: 0 auto;
        text-align: center;
    }

    .leadership-top-buttons {
        width: 90%;
        padding: 0.5rem;
    }

    .person-content {
        padding: 1.5rem;
    }

    .hover-text {
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .leadership-landing {
        height: auto;
        min-height: 50vh;
    }

    .leadership-landing h1 {
        width: 90%;
        font-size: 2.2rem;
        letter-spacing: -0.1rem;
    }

    .leadership-top-buttons {
        flex-direction: column;
        width: 92vw !important;
        max-width: 100%;
        background: transparent;
        border: none;
        padding: 0;
        border-radius: 12px;
    }
.leadership-top-buttons div {
    width: 92vw !important;
	margin: 0 auto;
}
    .mobile-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #FFFFFF;
        padding: 16px 24px;
        border-radius: 12px;
        border: 1px solid #E0E0E0;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
        cursor: pointer;
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 1.1rem;
        color: #540411; /* Dark Maroon */
        margin-bottom: 0;
        transition: all 0.3s ease;
    }
	
	.mobile-toggle span br{
		display: none;
	}

    /* Chevron Icon */
    .mobile-toggle .chevron {
        width: 10px;
        height: 10px;
        border-right: 2px solid #540411;
        border-bottom: 2px solid #540411;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-top: -4px;
    }

    /* Rotate chevron when open */
    .leadership-top-buttons.is-open .mobile-toggle .chevron {
        transform: rotate(-135deg);
        margin-top: 4px;
    }

    /* Hide the button list by default */
    .leadership-top-buttons div:not(.mobile-toggle) {
        display: none;
    }

    /* --- OPEN STATE (Image 2 style) --- */
    .leadership-top-buttons.is-open {
        background: #FFFFFF;
        border: 1px solid #E0E0E0;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .leadership-top-buttons.is-open .mobile-toggle {
        border: none;
        box-shadow: none;
        border-bottom: 1px solid #F0F0F0;
        border-radius: 12px 12px 0 0;
        background: #FFFFFF;
    }

    /* Show links when open */
    .leadership-top-buttons.is-open div:not(.mobile-toggle) {
        display: block;
        width: 92vw !important;
		margin: 0 auto;
        border-bottom: 1px solid #F5F5F5;
    }

    /* Style the links to look like list items */
    .leadership-top-buttons.is-open .ow-button-base a.sowb-button {
        display: block;
          width: 92vw !important;
		margin: 0 auto;
        padding: 16px 24px !important;
        background: #FFFFFF !important;
        color: #1A1A1A !important;
        text-align: left;
        border-radius: 0 !important;
        font-size: 1rem !important;
        font-weight: 500;
        border: none !important;
    }

    /* Hover effect on list items */
    .leadership-top-buttons.is-open .ow-button-base a.sowb-button:hover {
        background: #FFF5CC !important; /* Pale yellow hover */
    }

    .content-parent .top-content h1 {
        font-size: 2rem;
        letter-spacing: -0.1rem;
    }

    .content-parent .top-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .content-parent .person h3 {
        font-size: 1.5rem;
    }

    .content-parent .person p {
        font-size: 1rem;
    }

    .person-content {
        padding: 1.5rem;
    }

    .person-card .person-content h3 {
        font-size: 1.25rem;
    }

    .person-card .person-content p {
        font-size: 0.95rem;
    }
}