/* Hero banner — gradasi primary Vuexy */
.hero-iku {
    position: relative;
    overflow: hidden;
    border-radius: 0.428rem;
    padding: 1.75rem 1.5rem;
    color: #fff;
    background: linear-gradient(
        118deg,
        var(--iku-primary-dark) 0%,
        var(--iku-primary) 45%,
        var(--iku-primary-light) 100%
    );
    box-shadow: var(--iku-card-shadow);
    margin-bottom: 1.5rem;
}

.hero-iku::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    right: -60px;
    top: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-iku h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.hero-iku p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.hero-iku .badge.bg-light {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--iku-primary) !important;
}

.filter-glass {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.428rem;
    padding: 0.5rem 0.65rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.filter-glass .form-select {
    border: none;
    border-radius: 0.357rem;
    font-weight: 600;
    min-width: 120px;
    font-size: 0.85rem;
}

.btn-filter {
    background: #fff;
    color: var(--iku-primary);
    border: none;
    border-radius: 0.357rem;
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.btn-filter:hover {
    background: #f8f8f8;
    color: var(--iku-primary-dark);
}

/* Panel kontrol kanan hero Sibugar */
.hero-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    min-width: min(100%, 320px);
}

.sibugar-type-toggle {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    width: 100%;
}

.sibugar-type-toggle__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.sibugar-type-toggle__group {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    padding: 0.2rem;
    gap: 0.15rem;
    width: 100%;
}

.sibugar-type-toggle__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.357rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
    border: none;
    background: transparent;
    cursor: pointer;
}

a.sibugar-type-toggle__btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.sibugar-type-toggle__btn.is-active {
    background: #fff;
    color: var(--iku-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: default;
}

.hero-controls .filter-glass {
    width: 100%;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .hero-controls {
        align-items: stretch;
        width: 100%;
    }

    .sibugar-type-toggle {
        align-items: stretch;
    }
}

/* Hero kategori IKU 12.2–12.5 */
.hero-iku--category {
    background: linear-gradient(
        118deg,
        color-mix(in srgb, var(--hero-accent, var(--iku-primary)) 75%, #000) 0%,
        var(--hero-accent, var(--iku-primary)) 50%,
        color-mix(in srgb, var(--hero-accent, var(--iku-primary)) 70%, #fff) 100%
    );
}

.stat-card-iku--category .stat-icon-box {
    background: rgba(var(--iku-primary-rgb), 0.12);
}
