/* VT Team Plugin Public Styles */

.vt-team-section {
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    font-family: inherit;
    width: 100%;
}

.vt-team-container {
    max-width: 100%;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box;
    width: 100%;
}

.vt-team-row-container {
    box-sizing: border-box;
}

.vt-mb-16 {
    margin-bottom: 4rem;
}

.vt-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 72rem; /* max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .vt-team-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
}

.vt-team-member-col {
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .vt-team-member-col {
        width: 220px;
        flex: 0 0 auto;
    }
}

.vt-team-card {
    text-align: center;
    height: 100%;
    background-color: #000000; /* mimic cardBg for lightBg parent context */
    padding: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.vt-team-img-wrapper {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
    width: 100%;
    box-sizing: border-box;
}

.vt-team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

.vt-team-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.875rem;
    background-color: rgba(255, 255, 255, 0.05);
}

.vt-team-socials {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 300ms ease;
    box-sizing: border-box;
    z-index: 10;
}

.vt-team-card:hover .vt-team-socials {
    transform: translateY(0);
}

.vt-team-social-link {
    color: #ffffff;
    transition: color 150ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px; /* for easier tapping on mobile if it stays active */
}

/* Hover effect on touch devices */
@media (hover: none) {
    .vt-team-socials {
        transform: translateY(0);
    }
}

.vt-team-social-link:hover {
    color: #d1d5db;
}

.vt-team-info {
    padding: 1.25rem;
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #000000;
    box-sizing: border-box;
}

.vt-team-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem !important;
    margin-top: 0 !important;
    line-height: 1.25;
    color: #ffffff;
    padding: 0;
    border: none;
    background: transparent;
}

.vt-team-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #d1d5db; /* text-gray-300 */
    margin: 0 !important;
    padding: 0;
    border: none;
    line-height: 1.5;
}
