/* Administration / Our Educators — premium layout */

.sf-admin-page {
    font-family: Outfit, 'Segoe UI', sans-serif;
    color: #1f2937;
    background: linear-gradient(180deg, #f5f1ea 0%, #ffffff 28%, #faf8f5 100%);
}

.sf-admin-page .management-team-lcisk {
    background: linear-gradient(180deg, #f5f1ea 0%, #ffffff 42%, #f8fafc 100%);
    position: relative;
}

.sf-admin-mgmt-head {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 3.25rem;
}

.sf-admin-mgmt-head h2 {
    margin: 0 0 1rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.15rem, 4vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    background: linear-gradient(120deg, #0b2340 0%, #c8102e 42%, #002395 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sf-admin-mgmt-head .sf-admin-rule {
    width: 6.5rem;
    height: 4px;
    margin: 0 auto 1.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #c5a572, transparent);
}

.sf-admin-mgmt-head p {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.75;
    color: rgba(31, 41, 55, 0.78);
}

.management-team-lcisk .management-card {
    border: 1px solid rgba(11, 35, 64, 0.1);
    box-shadow:
        0 4px 24px -4px rgba(31, 41, 55, 0.06),
        0 14px 40px -12px rgba(11, 35, 64, 0.08);
    background: linear-gradient(165deg, #ffffff 0%, #fcfaf7 100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s ease, opacity 0.65s ease;
}

.management-team-lcisk .management-card:hover {
    box-shadow:
        0 24px 48px -16px rgba(11, 35, 64, 0.16),
        0 12px 28px rgba(61, 90, 114, 0.1);
}

.management-card {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.management-card.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: sfAdminCardIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes sfAdminCardIn {
    from {
        opacity: 0;
        transform: translateY(52px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.staff-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.staff-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.management-card:hover {
    z-index: 10;
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.08);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

.member-name {
    transition: color 0.3s ease;
}

.animated-border {
    border-color: transparent;
}

.management-card:hover .animated-border {
    border-color: rgba(61, 90, 114, 0.45) !important;
}

.management-team-lcisk .group:hover .member-name {
    color: #0b2340 !important;
}

@media (prefers-reduced-motion: reduce) {
    .management-card,
    .staff-card,
    .animate-pulse-slow {
        animation: none !important;
        transition: none !important;
    }
    .management-card,
    .staff-card {
        opacity: 1 !important;
        transform: none !important;
    }
}