/* ============================================
   CUSTOM SLIDER - TANPA SWIPER.JS
   ============================================ */

.custom-slider-section {
    margin-bottom: 30px;
    position: relative;
}

/* ============================================
   FEATURED SLIDER
   ============================================ */
.custom-featured-slider {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-featured-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.custom-featured-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.custom-featured-slide.active {
    display: block;
    pointer-events: auto;
}

.custom-featured-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

.custom-featured-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.custom-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.75) 20%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.1) 60%,
        rgba(0, 0, 0, 0) 80%
    );
}

.custom-featured-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    max-width: 700px;
}

.custom-featured-category {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.custom-featured-category.premium {
    background: #f39c12;
}

.custom-featured-title {
    font-size: 1.90rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Tombol Navigasi */
.custom-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(211, 47, 47, 0.8);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s;
    z-index: 10;
}

.custom-nav-btn:hover {
    background: #b71c1c;
}

.custom-prev-btn {
    left: 20px;
}

.custom-next-btn {
    right: 20px;
}

.custom-nav-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ============================================
   THUMBNAIL SLIDER
   ============================================ */
.custom-thumbnail-slider {
    width: 100%;
    padding: 16px 0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.custom-thumbnail-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
}

.custom-thumbnail-wrapper::-webkit-scrollbar {
    display: none;
}

.custom-thumbnail-slide {
    flex: 0 0 calc((100% - 24px) / 3);
    cursor: pointer;
}

.custom-thumbnail-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.custom-thumbnail-link:hover {
    transform: translateY(-2px);
}

.custom-thumbnail-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.custom-thumbnail-slide.active .custom-thumbnail-image {
    border-color: #d32f2f;
}

.custom-thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.custom-thumbnail-link:hover .custom-thumbnail-image img {
    transform: scale(1.05);
}

.custom-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.custom-thumbnail-slide.active .custom-thumbnail-overlay {
    background: rgba(211, 47, 47, 0.2);
}

.custom-thumbnail-info {
    padding: 0 4px;
}

.custom-thumbnail-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.custom-thumbnail-category.premium {
    color: #f39c12;
    font-weight: 700;
}

.custom-thumbnail-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}