/* Font Global */
body {
    font-family: 'Inter', sans-serif;
}

/* Tetap menggunakan background asli hero-training Anda */
.hero-training {
    padding: 20px 0 !important;
    position: relative;
    background-image: linear-gradient(rgba(0, 38, 160, 0.5), rgba(0, 46, 197, 0.699)), 
                      url('../img/bgib.png');
}

/* Container Pencarian Modern */
.search-container {
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    transition: transform 0.3s ease;
}

.search-container:focus-within {
    transform: scale(1.02);
}

.clear-icon {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.clear-icon:hover {
    color: #dc3545 !important;
}

/* Card Artikel Modern */
.article-card { 
    border: none; 
    border-radius: 16px; 
    overflow: hidden; 
    background: #fff;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.article-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.12); 
}

/* Image Styling & Hover Effect */
.image-wrapper { 
    width: 100%; 
    aspect-ratio: 16 / 9; 
    background-color: #f8f9fa; 
    overflow: hidden; 
    position: relative;
}

.image-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    transition: transform 0.6s ease;
}

.article-card:hover .image-wrapper img {
    transform: scale(1.1);
}

.no-image { 
    width: 100%; 
    height: 100%; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    color: #adb5bd; 
    background: #e9ecef;
}

/* Typography Card */
.card-body {
    padding: 1.5rem;
}

.card-title { 
    font-weight: 700;
    font-size: 1.1rem; 
    line-height: 1.4; 
    color: #212529;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}