/* ==========================================================================
   GAYA INTERAKTIF BARU: FILTER KATEGORI KELAS & KARTU GALERI
   ========================================================================== */

.content-area {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* Dekorasi Garis Bawah Judul */
.title-line {
    width: 60px;
    height: 4px;
    background: #1b4ed8; 
    margin: 12px auto;
    border-radius: 2px;
}

/* --- DESIGN TOMBOL FILTER KELAS (PERSIS SEPERTI GAMBAR ACUAN) --- */
.custom-filter-pills .nav-link {
    color: #1b4ed8 !important;          
    background-color: #ffffff;
    border: 1px solid #1b4ed8;          
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;                 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gaya Tombol Saat Aktif (Selected State) */
.custom-filter-pills .nav-link.active {
    background-color: #1b4ed8 !important; 
    color: #ffffff !important;           
    border-color: #1b4ed8 !important;
    box-shadow: 0 6px 15px rgba(27, 78, 216, 0.25) !important; 
}

/* Efek Sorot Pada Tombol Pasif */
.custom-filter-pills .nav-link:hover:not(.active) {
    background-color: rgba(27, 78, 216, 0.05);
}

/* --- STRUKTUR PANEL KARTU FOTO (DOKUMENTASI) --- */
.card-galeri-foto {
    border-radius: 15px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0 !important;
}

.card-galeri-foto:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07) !important;
}

/* Bingkai Pembungkus Foto Dokumentasi Murid */
.galeri-frame {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
    border: 4px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.img-fluid-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Efek Animasi Zoom In Gambar Saat Disorot Kursor */
.img-fluid-custom:hover {
    transform: scale(1.06);
}

.card-galeri-foto:hover .galeri-frame {
    border-color: #1b4ed8 !important;
}

/* --- STYLING DETAIL TEKS --- */
/* Menyelaraskan Tinggi Deskripsi Teks Maksimal 2 Baris */
.limit-text-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4rem; 
    font-size: 0.9rem;
    line-height: 1.3;
}

.card-category-text {
    font-size: 0.85rem;
}

.upload-date-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 6px;
}

.upload-label {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.date-value {
    font-size: 0.8rem;
}