.team-grid-a65261de {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

@media (max-width: 767px) {
    .team-grid-a65261de {
        grid-template-columns: 1fr;
    }
}

.team-member-a65261de {
    border: 1px solid #eaeaea;
    padding: 25px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    /* Alignment now managed via widget controls */
}

.team-member-photo-a65261de {
    margin-bottom: 15px; /* Default margin, controllable in settings */
    display: flex;
    justify-content: inherit;
}

.team-member-photo-a65261de img {
    aspect-ratio: 1/1; /* Square photo */
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
    /* Width is managed via Image Size control */
}

.team-member-name-a65261de {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: #333;
}

.team-member-title-a65261de {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-style: italic;
}

.team-member-contact-a65261de {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
    /* Justify content is managed via Alignment control */
}

.team-member-contact-a65261de i, 
.team-member-contact-a65261de svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: currentColor;
    color: #333;
}
