body {
    display: block !important;
    padding-top: 0 !important;
}

:root {
    --avatar-size: clamp(120px, 13vw, 160px);
    --overlap-ratio: .10;
    --divider-h: 10px;
    --ring: 4px;
    --name-gap: .35rem;
    --avatar-overlap: calc(var(--avatar-size) * var(--overlap-ratio));
    --img-shift: 0px;
    --gap-trim: 2rem;
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

.section-title {
    font-family: var(--heading-cursive);
    font-size: 3rem;
    color: var(--deep-teal);
    line-height: 1.8;
    max-width: 800px;
    margin: 1rem auto;
    text-align: center;
}

.section-image {
    margin-top: 6rem;
}

.about-section {
    font-family: var(--content-font, 'Segoe UI', sans-serif);
    color: #333;
    line-height: 1.6;
    padding-top: 1rem;
}

.about-content {
    max-width: 90%;
}

.mun-quote {
    background-color: #f1f1f1;
    border-left: 5px solid #007f7f;
    padding: 1.2rem 1.5rem;
    font-style: italic;
    font-size: 1.2rem;
    border-radius: 6px;
    position: relative;
    color: #444;
    margin: 1rem 0;
}

    .mun-quote footer {
        text-align: right;
        font-size: 1rem;
        font-style: normal;
        margin-top: 0.8rem;
        color: #666;
    }

.about-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

@media screen and (max-width: 768px) {
    .section-title {
        margin: 0;
    }

    .about-section {
        padding-top: 1rem !important;
        padding-bottom: 0 !important;
    }

    .about-content {
        max-width: 100%;
        padding: 0 !important;
    }

    .styled-quote {
        margin: 0 !important;
    }

    .about-text {
        font-size: 0.75rem !important;
        font-weight: 200 !important;
    }
}


.styled-quote {
    position: relative;
    background: #f4f4f4;
    margin: 3rem auto;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    font-family: 'Yellowtail', cursive;
    color: #333;
    overflow: hidden;
}

    .styled-quote::before {
        content: "\f10d";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 120px;
        color: rgba(0, 0, 0, 0.05);
        position: absolute;
        top: -50px;
        left: 10px;
        z-index: 0;
        pointer-events: none;
    }

    .styled-quote p {
        position: relative;
        z-index: 1;
        font-size: 2rem;
        line-height: 1.5;
        margin: 1rem 0 1rem 0;
    }

    .styled-quote footer {
        position: relative;
        z-index: 1;
        font-size: 1rem;
        color: #777;
        font-style: italic;
    }

@media screen and (max-width: 768px) {
    .styled-quote p {
        font-size: 1rem;
        line-height: 1;
    }
}
/* Container for all cards */
/*.members-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
}*/

/* Individual card */
/*.member-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

    .member-card:hover {
        transform: translateY(-6px);
    }*/

/* Image as background for flexibility */
/*.member-photo {
    width: 100%;
    padding-top: 100%;*/ /* 1:1 square */
    /*background-size: cover;
    background-position: center;
    border-bottom: 3px solid #007f7f;
}*/

/* Info section */
/*.member-info {
    padding: 1rem 0.5rem;
}

.member-name {
    margin: 0;
    font-size: 1rem;
    color: #2f2f91;
    font-weight: 600;
}

.member-role {
    font-size: 0.9rem;
    color: #666;
    margin: 0.2rem 0 0;
}



.executive-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 768px) {
    .executive-img {
        width: 120px;
        height: 120px;
    }
}

@media screen and (max-width: 768px) {
    .members {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        font-size: 1.8rem !important;
    }
}*/


.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 1.5rem;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 240px;
    margin: 1rem auto;
    transition: transform 0.3s ease;
    overflow: hidden;
}

    .team-card:hover {
        transform: translateY(-6px);
    }

.team-header {
    position: relative;
    width: 100%;
    /*height: 5rem;*/
    background: linear-gradient(135deg, #2ab5b5 30%, #9524c9 100%);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    height: clamp(5.2rem, 5vw, 5.8rem);
    z-index: 1;
}

    .team-header::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 10px;
        width: 100%;
        background-color: #ddd;
        z-index: 1;
    }

.team-img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 4px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: var(--avatar-size);
    height: var(--avatar-size);
    position: relative;
    top: 0;
    transform: translateY(calc(var(--avatar-size) * -0.46));
    z-index: 2;
    /*margin-top: calc((var(--avatar-overlap) * -1) + var(--img-shift));*/
    margin-bottom: -30px;
}

    .team-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.team-info {
    text-align: center;
    background: white;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    padding-bottom: 1.2rem;
    padding-top: 0px !important;
    /*padding-top: calc(var(--avatar-overlap) - var(--divider-h) - var(--ring) + var(--name-gap) - var(--gap-trim));*/
}

@media (max-width:1366px) {
    :root {
        --gap-trim: 1.15rem;
    }

    .team-header {
        height: clamp(6rem, 6vw, 6.3rem);
    }

    :root {
        --img-shift: 10px;
    }

    .team-info {
        padding-top: calc(var(--avatar-overlap) - var(--divider-h) - var(--ring) + var(--name-gap) + var(--img-shift) - var(--gap-trim)) !important;
    }
}
@media (min-width:1280px) and (max-width:1400px) {
    :root {
        --name-gap: 0.6rem;
    }
}

    .team-info .name {
        font-weight: 700;
        color: #007f7f;
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .team-info .role {
        font-size: 0.9rem;
        color: #444;
    }

.between-text {
    font-size: 1.1rem;
    font-family: var(--title-cinzel);
    color: var(--primary-teal);
    margin: 3rem 0 0.2rem;
    font-size: x-large;
    font-weight: 600;
}

.between-desc {
    margin-top: 0;
    font-size: 0.95rem;
    color: #666;
}

.row-wrapper {
    width: 80%;
    max-width: 1200px;
}

@media (max-width: 768px) {


    .between-text, .between-desc {
        font-size: smaller;
    }

    .row-wrapper {
        width: 100%;
    }

    .gx-4 {
        --bs-gutter-x: 0.75rem;
    }

    .gy-5 {
        --bs-gutter-y: 1.5rem;
    }

    .team-card {
        width: 100%;
        max-width: 320px;
        /*height: 340px;*/
        position: relative;
        isolation: isolate;
        contain: layout paint;
    }

/*    .team-img-wrap {
        width: 120px;
        height: 120px;
    }*/

    /*.team-info {
        padding-top: 4rem;*/
        /*height: 11rem;*/
    /*}*/

}
