/**
 * Team Shortcode Styles
 *
 * @since 1.2.0
 */

/* ==========================================================================
   Team Container
   ========================================================================== */

.oe-team {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==========================================================================
   Team Member Card
   ========================================================================== */

.oe-team-member {
    display: flex;
    gap: 24px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

/* ==========================================================================
   Avatar
   ========================================================================== */

.oe-team-avatar {
    flex-shrink: 0;
}

.oe-team-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.oe-team-avatar a {
    display: block;
}

/* ==========================================================================
   Content
   ========================================================================== */

.oe-team-content {
    flex: 1;
    min-width: 0;
}

.oe-team-name {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.oe-team-name a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.oe-team-name a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.oe-team-title {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
}

.oe-team-bio {
    margin: 0 0 16px 0;
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    color: #495057;
}

/* ==========================================================================
   Social Links
   ========================================================================== */

.oe-team-social {
    display: flex;
    gap: 8px;
}

.oe-team-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.oe-team-social-link:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.oe-team-social-link svg {
    width: 20px;
    height: 20px;
}

/* Platform colors */
.oe-team-social-facebook {
    background-color: #1877f2;
    color: #fff;
}

.oe-team-social-twitter {
    background-color: #000;
    color: #fff;
}

.oe-team-social-youtube {
    background-color: #ff0000;
    color: #fff;
}

.oe-team-social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.oe-team-social-linkedin {
    background-color: #0a66c2;
    color: #fff;
}

/* ==========================================================================
   Responsive: Mobile (≤600px)
   ========================================================================== */

@media (max-width: 600px) {
    .oe-team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .oe-team-avatar img {
        width: 120px;
        height: 120px;
    }

    .oe-team-name {
        font-size: 18px;
    }

    .oe-team-social {
        justify-content: center;
    }
}

/* ==========================================================================
   Dark Mode
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    .oe-team-member {
        background-color: #1e1e2e;
        border-color: #374151;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    }

    .oe-team-name a {
        color: #60a5fa;
    }

    .oe-team-name a:hover {
        color: #93c5fd;
    }

    .oe-team-title {
        color: #9ca3af;
    }

    .oe-team-bio {
        color: #d1d5db;
    }
}
