/*--------------------------------------------------Carousel Solutions Post Type Style-----------------------------------------------------*/
.slick-prev-custom, 
.slick-next-custom {
    width: 45px; 
    height: 45px;
    transition: all 0.3s ease;
    border: 1px solid #fff; 
    background: rgba(0,0,0,0.5); 
    color: #fff;
    cursor: pointer;
    z-index: 10;
    font-size: 18px; 
    line-height: 1;
    font-weight: bold;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.slick-prev-custom:hover, 
.slick-next-custom:hover { 
    background-color: #FF9900 !important; 
    border-color: #FF9900 !important; 
    color: #fff !important;
}

/* =========================================
   2. STYLE UNTUK CARD (LAYOUT FIX & ANTI-STRETCH)
   ========================================= */

/* Reset Card Wrapper */
.haermes-card-item {
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #fff;
    margin-bottom: 10px; /* Jarak bayangan bawah */
    height: 100%; 
    padding: 0 !important; /* Reset Padding Bawaan Tema */
}

/* Area Gambar */
.haermes-card-image-wrapper {
    width: 100%;
    height: 200px; /* Tinggi gambar fix */
    overflow: hidden;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- BAGIAN PENTING (ANTI-STRETCH) --- */
.haermes-card-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    
    /* INI KUNCINYA: Agar gambar tidak gepeng */
    object-fit: cover !important; 
    
    /* Opsional: Posisi gambar di tengah */
    object-position: center center !important; 

    margin: 0 !important;
    padding: 0 !important;
    display: block;
    transition: transform 0.5s ease;
}
/* ------------------------------------ */

/* Efek Hover Zoom */
.haermes-card-item:hover .haermes-card-image-wrapper img { 
    transform: scale(1.1); 
}

/* Area Konten (Teks) */
.haermes-card-body {
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    background: #fff;
    /* Sisa tinggi dikurangi tinggi gambar */
    height: calc(100% - 200px); 
}

/* Judul */
.haermes-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}
.haermes-card-title a {
    color: #333;
    text-decoration: none;
}
.haermes-card-title a:hover {
    color: #FF9900;
}

/* Excerpt / Deskripsi */
.haermes-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* =========================================
   3. TOMBOL READ MORE (DIPERKUAT)
   ========================================= */

/* Kita tambahkan ".haermes-card-body" di depannya agar lebih spesifik/kuat */
.haermes-card-body .read-more-text {
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative; 
    z-index: 2;
    transition: all 0.3s ease; 
    color: #FF9900 !important; 
    text-decoration: none !important;
}

/* EFEK HOVER: Lebih spesifik juga */
.haermes-card-item:hover .read-more-text {
    color: #cc7a00 !important; 
    margin-left: 5px; 
}

/*--------------------------------------------------Feature Tabs Style-----------------------------------------------------*/
/* =========================================
   FEATURE TABS STYLES (Wajib ada untuk Tab baru)
   ========================================= */

/* Wadah Navigasi (Scrollable) */
.haermes-tabs-nav-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px; 
    cursor: grab; 
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}
.haermes-tabs-nav-wrapper::-webkit-scrollbar {
    display: none; 
}
.haermes-tabs-nav-wrapper.active {
    cursor: grabbing;
}

/* Tombol Navigasi (Pill Style) */
.nav-link-pill {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-link-pill:hover {
    background-color: #f8f9fa;
    color: #333;
    border-color: #ccc;
}

/* Tombol Aktif (Hitam) */
.nav-link-pill.active {
    background-color: #111; 
    color: #fff;
    border-color: #111;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Container Tab Pane */
.haermes-tab-pane {
    width: 100%;
    min-height: 50px; /* Biar gak gepeng kalau kosong */
}