/* STAFF CONTAINER */
.staff-container {
    padding-top: 64px;
    padding-bottom: 80px;
}

/* STAFF LIST — kolom tunggal horizontal cards */
.staff-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

/* HORIZONTAL CARD */
.staff-card {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
}

.staff-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease;
    border-radius: 0;
}

.staff-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.staff-card:hover::before {
    transform: scaleY(1);
}

/* FOTO */
.staff-card-foto {
    width: 110px;
    min-width: 110px;
    height: 130px;
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
}

.staff-card-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.staff-card:hover .staff-card-foto img {
    transform: scale(1.06);
}

/* DIVIDER */
.staff-card-divider {
    width: 1px;
    height: 80px;
    background: var(--border);
    flex-shrink: 0;
    margin: 0 28px;
}

/* INFO */
.staff-card-info {
    flex: 1;
    padding: 20px 28px 20px 0;
}

.staff-card-info h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.staff-card-email {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.staff-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ARROW */
.staff-card-arrow {
    padding-right: 24px;
    color: var(--text-light);
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.staff-card:hover .staff-card-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* SKELETON */
.staff-skeleton {
    height: 130px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.empty-state {
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
    font-size: 15px;
}

/* DETAIL — reuse dari anggota.css pattern */
.detail-staff-container {
    padding-top: 48px;
    padding-bottom: 80px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 40px;
    transition: gap 0.2s;
}

.back-link:hover { gap: 12px; }

.profil-wrapper {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
    align-items: start;
}

.profil-foto img {
    width: 100%;
    border-radius: var(--radius-sm);
}

.profil-info h1 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.profil-about-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.profil-about {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.profil-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profil-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profil-detail-item span:last-child {
    font-size: 14px;
    color: var(--text);
}

/* PROFIL SKELETON */
.profil-skeleton {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
}

.skeleton-foto {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 12px;
}

.skeleton-line {
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-line.tall { height: 36px; width: 80%; }
.skeleton-line.short { width: 50%; }

/* RESPONSIVE */
@media (max-width: 768px) {

    .staff-card-foto { width: 90px; min-width: 90px; height: 110px; }
    .staff-card-divider { margin: 0 16px; height: 60px; }
    .staff-card-info { padding: 16px 16px 16px 0; }
    .staff-card-info h3 { font-size: 15px; }
    .staff-card-desc { display: none; }

    .profil-wrapper { grid-template-columns: 1fr; gap: 32px; }
    .profil-skeleton { grid-template-columns: 1fr; }
    .skeleton-foto { aspect-ratio: 1; max-width: 280px; }
}

@media (max-width: 480px) {
    .staff-card-arrow { display: none; }
}
