/* WSS Vibra Equipo - Grid Styles */

.wss-vibra-equipo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.wss-vibra-equipo-member {
    flex: 0 0 calc(33.333% - 20px);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.wss-vibra-equipo-member img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive: 1 columna en movil */
@media (max-width: 768px) {
    .wss-vibra-equipo-member {
        flex: 0 0 100%;
    }
}

/* Popup Styles */
.wss-vibra-equipo-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wss-vibra-equipo-popup.is-active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.wss-vibra-equipo-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    cursor: pointer;
}

.wss-vibra-equipo-popup-content {
    position: relative;
    background: transparent;
    padding: 40px;
    max-width: 960px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    font-family: "Franklin Gothic URW", sans-serif;
    font-size: 30px;
    line-height: 34px;
    font-weight: 400;
}

.wss-vibra-equipo-popup.is-active .wss-vibra-equipo-popup-content {
    transform: translateY(0);
}

.wss-vibra-equipo-popup-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.wss-vibra-equipo-popup-close:hover {
    background: none;
}

.wss-vibra-equipo-popup-close img {
    width: 24px;
    height: 24px;
}

.wss-vibra-equipo-popup-name {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: #FFFFFF;
}

.wss-vibra-equipo-popup-role {
    margin: 0 0 40px !important;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: #7E7E7E;
}

.wss-vibra-equipo-popup-desc {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: #FFFFFF;
}

.wss-vibra-equipo-popup-desc p {
    margin: 0 0 15px;
}

.wss-vibra-equipo-popup-desc p:last-child {
    margin-bottom: 0;
}

/* Responsive popup */
@media (max-width: 768px) {
    .wss-vibra-equipo-popup-content {
        padding: 30px 20px;
    }
}

/* Body scroll lock when popup is open */
body.wss-popup-open {
    overflow: hidden;
}