.team-grid2-card {
            display: flex;
            flex-direction: column;
            transition: all 0.4s ease;
            border-radius: 1rem;
            overflow: hidden;
        }

        @media (min-width: 768px) {
            .team-grid2-card {
                flex-direction: row;
            }

            .team-grid2-card:nth-child(even) {
                flex-direction: row-reverse;
            }

            [dir="rtl"] .team-grid2-card {
                flex-direction: row-reverse;
            }

            [dir="rtl"] .team-grid2-card:nth-child(even) {
                flex-direction: row;
            }
        }

        .team-grid2-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        }

        .dark .team-grid2-card:hover {
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
        }

        .team-grid2-image-wrapper {
            position: relative;
            flex-shrink: 0;
            width: 100%;
            aspect-ratio: 4/3;
        }

        @media (min-width: 768px) {
            .team-grid2-image-wrapper {
                width: 280px;
                aspect-ratio: auto;
                height: 100%;
                min-height: 280px;
            }
        }

        .team-grid2-image-wrapper::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, var(--color-primary-600), var(--color-secondary-600));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .team-grid2-card:hover .team-grid2-image-wrapper::after {
            opacity: 0.2;
        }

        .team-grid2-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .team-grid2-card:hover .team-grid2-image-wrapper img {
            transform: scale(1.05);
        }

        .team-grid2-content {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex-grow: 1;
        }

        @media (min-width: 768px) {
            .team-grid2-content {
                padding: 2rem;
            }
        }

        .team-grid2-position {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            background: linear-gradient(135deg, var(--color-primary-100), var(--color-secondary-100));
            color: var(--color-primary-700);
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }

        .dark .team-grid2-position {
            background: linear-gradient(135deg, var(--color-primary-900), var(--color-secondary-900));
            color: var(--color-primary-300);
        }

        .team-grid2-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--color-gray-100);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--color-gray-600);
            transition: all 0.3s ease;
        }

        .dark .team-grid2-social a {
            background: var(--color-gray-700);
            color: var(--color-gray-300);
        }

        .team-grid2-social a:hover {
            background: var(--color-primary-500);
            color: white;
            transform: translateY(-3px);
        }