/*
 Theme Name:   Soledad Child Theme
 Theme URI:    http://pencidesign.com/
 Description:  Soledad Child Theme - Made by PenciDesign
 Author:       Pencidesign
 Version:      1.0
 Author URI:   http://pencidesign.com/
 Template:     soledad
 Text Domain:  soledad
*/

/* = Theme customization go here
-------------------------------------------------------------- */

/* ===== Team Member CSS ===== */
.team-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 15px;
}
.team-card {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    aspect-ratio: 3/4.2;
    perspective: 1000px;
    cursor: pointer;
    min-width: 260px;
}
.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s ease-in-out;
}
.team-card-inner.flipped { transform: rotateY(180deg); }
.team-card-front, .team-card-back {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 12px;
    backface-visibility: hidden;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.team-card-front {
    background: var(--team-img) center/cover no-repeat;
    justify-content: flex-end;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.team-front-overlay {
    background: linear-gradient(180deg, transparent 10%, rgba(0,0,0,0.8) 100%);
    width: 100%; padding: 15px; color: #fff; text-align: center;
}
.team-front-overlay h3 { color: #fff; margin: 0; font-size: 18px; font-weight: 600; }
.team-front-overlay p { font-size: 14px; opacity: 0.9; margin: 0; }
.team-card-back {
    background: linear-gradient(160deg, #032e74, #032e74);
    color: #fff;
    transform: rotateY(180deg);
    padding: 20px; text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow-y: auto; scrollbar-width: none;
    -ms-overflow-style: none; justify-content: flex-start;
}
.team-card-back::-webkit-scrollbar { display: none; }
.team-card-back h4 { font-size: 17px; margin-bottom: 8px; color: #fff; }
.team-card-name-link { color: #fff !important; text-decoration: none !important; }
.team-card-name-link:hover { opacity: 0.8; }
.team-card-inner .team-card-back p { font-size: 15px !important; line-height: 1.3; color: #f0f0f0; margin-bottom: 15px; }
.team-profile-btn {
    display: inline-block; margin: 12px 0 8px; padding: 8px 20px;
    background: #fff; color: #032e74 !important; font-size: 13px;
    font-weight: 600; border-radius: 20px; text-decoration: none !important;
    transition: all 0.3s ease;
}
.team-profile-btn:hover { background: #e6eef9; transform: translateY(-1px); }
.team-social { margin-top: 10px; padding-top: 10px; }
.team-social a {
    display: inline-block; color: #fff;
    background: rgba(255,255,255,0.15);
    width: 32px; height: 32px; line-height: 32px;
    border-radius: 50%; margin: 0 4px; transition: all 0.3s ease; text-align: center;
}
.team-social a:hover { background: #fff; color: #032e74; }
@media (max-width: 1200px) { .team-card { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); } }
@media (max-width: 768px) { .team-card { flex: 1 1 100%; max-width: 100%; } }