/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.21.2.1773302330
Updated: 2026-03-12 09:58:50

*/
/* =============================================
   SANOP Team Members
   ============================================= */

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
	width: 100%;        /* force full width inside Divi column */
    max-width: 100%;    /* prevent Divi from constraining it */
}

.team-member-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-member-photo-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.team-member-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-member-no-photo {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

.team-member-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-member-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
}

.team-member-country {
    color: #666666;
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.team-member-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 2px;
    width: fit-content;
}

.team-member-link:hover {
    color: #4a7c3f;
    border-color: #4a7c3f;
}

@media (max-width: 980px) {
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .team-members-grid {
        grid-template-columns: 1fr;
    }
}
.et_pb_code .team-members-grid {
    width: 100%;
    max-width: none;
}