/* ANGGOTA GRID */
.anggota-container {
    padding-top: 60px;
    padding-bottom: 80px;
}

.anggota-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.anggota-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s;
}

.anggota-card:hover {
    transform: translateY(-4px);
}

.anggota-card-foto {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: var(--bg);
}

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

.anggota-card:hover .anggota-card-foto img {
    transform: scale(1.03);
}

.anggota-card-body {
    padding: 0 4px;
}

.anggota-card-body h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.anggota-kepakaran,
.anggota-email,
.anggota-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.5;
}

.anggota-kepakaran strong,
.anggota-email strong,
.anggota-meta strong {
    color: var(--text);
}

.scholar-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;
}

.scholar-link:hover {
    color: var(--primary-dark);
}

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

@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;
    grid-column: 1 / -1;
}

/* DETAIL ANGGOTA */
.detail-anggota-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: 400px 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: 400px 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: 1024px) {
    .anggota-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .anggota-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .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) {
    .anggota-grid { grid-template-columns: 1fr; }
}
