@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: #333;
}

/* Typography Utility */
.ls-1 {
    letter-spacing: 1px;
}

/* Sidebar (Offcanvas) Styling */
.offcanvas {
    max-width: 300px; /* Lebar menu saat terbuka */
}

.menu-item {
    transition: all 0.3s ease;
    opacity: 0.8;
    padding: 10px;
    border-radius: 8px;
}

.menu-item:hover {
    opacity: 1;
    background-color: #f1f3f5;
    transform: translateX(5px); /* Efek geser dikit saat hover */
}

.menu-item.active {
    opacity: 1;
    background-color: #e9ecef;
    border-left: 4px solid #333;
}

/* Card Styling untuk Grid 3x3 */
.custom-card {
    border-radius: 8px;
    border-color: #eee !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #ddd !important;
    cursor: pointer;
}

/* Image Placeholder Styling */
.img-placeholder {
    width: 60px; /* Diperkecil sedikit agar muat di grid 3 kolom */
    height: 60px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid #eee;
}

.card-text-limit {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Batasi teks hanya 3 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-size: 0.85rem;
}

/* Horizontal Line */
hr {
    border-top: 1px solid #000;
}