﻿
.faces-section {
    padding: 2rem 0rem 4rem;
}

.faces-header {
    text-align: justify;
    margin-bottom: 3rem;
}

.faces-title {
    font-size: var(--title-font-size);
    font-weight: var(--title-font-weight);
    font-weight: 400;
    margin-bottom: 0.85rem;
    text-align: center;
}

.faces-subtitle {
    font-family: var(--font-family);
    font-size: 0.95rem;
    /* max-width: 36rem; */
    line-height: 1.65;
    text-align: center;
}

.face-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 120px;
}

    .face-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

.face-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(25, 134, 84), transparent 70%);
    padding: 1.5rem 1rem 1rem;
    color: white;
    border-radius: 0 0 50% 50%;
}

.face-card {
    border-radius: 1rem;
    overflow: visible;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem 1.5rem;
    margin-right: 15px;
}

.face-content {
    padding: 0;
    background: transparent;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.face-title {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    color: var(--heading-color);
}

.face-excerpt {
    font-family: var(--font-family);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    color: black;
    padding-bottom: 30px;
}

.face-label {
    color: var(--dark-green);
    font-weight: bold;
}


/* Tablet Landscape (768px - 991px) */

@media (max-width: 991px) {
    .faces-section {
        margin: 0px 60px 60px;
    }
}


/* Tablet Portrait (576px - 767px) */

@media (max-width: 767px) {
    
    .faces-section {
        margin: 0px 30px 50px;
        padding: 3rem 0;
    }

    .faces-header {
        text-align: center;
    }

    .faces-subtitle {
        margin: 0 auto;
    }

    .face-image-container {
        width: 180px;
        height: 180px;
        margin-bottom: 100px;
    }
    .face-card {
        margin-top: 15px;
    }
}


/* Mobile (320px - 575px) */

@media (max-width: 575px) {
    
    .faces-section {
        margin: 0px 15px 40px;
        padding: 2rem 0;
    }

    .faces-title {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
    }

    .faces-subtitle {
        font-size: 0.85rem;
    }

    .face-image-container {
        width: 160px;
        height: 160px;
        margin-bottom: 90px;
    }

    .face-overlay {
        padding: 1.5rem 0.9rem 1rem;
    }

    .face-label {
        font-size: 0.6rem;
    }

    .face-title {
        font-size: 1rem;
    }

    .face-excerpt {
        font-size: 0.8rem;
    }
    .face-card {
        margin-top: 15px;
    }
}
