/* Theme-aware accents (follow --my-color from admin Warna Utama) */

.ht-grad-title {
    background-image: linear-gradient(to right, hsl(var(--my-color)), hsl(var(--my-color) / 0.72));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ht-muted-accent {
    color: hsl(var(--my-color) / 0.78);
}

.ht-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid hsl(var(--my-color) / 0.38);
    background: linear-gradient(to bottom right, hsl(var(--my-color) / 0.28), hsl(var(--background)), hsl(var(--my-color) / 0.14));
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ht-card:hover {
    border-color: hsl(var(--my-color) / 0.7);
    transform: translateY(-0.2rem);
    box-shadow: 0 12px 30px -15px hsl(var(--my-color) / 0.45);
}

.ht-card::before {
    pointer-events: none;
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, hsl(var(--my-color) / 0.5), transparent);
}

.ht-card-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--my-color) / 0.35);
    background: linear-gradient(to bottom right, hsl(var(--my-color) / 0.32), hsl(var(--background)), hsl(var(--my-color) / 0.18));
    padding: 0.65rem 0.75rem;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ht-card-row:hover {
    border-color: hsl(var(--my-color) / 0.75);
    transform: translateY(-0.15rem);
    box-shadow: 0 0 20px hsl(var(--my-color) / 0.35);
}

.ht-card-thumb {
    background: hsl(var(--my-color) / 0.18);
    border-color: hsl(var(--my-color) / 0.35);
}

.ht-card-name:hover,
.group:hover .ht-card-name {
    color: hsl(var(--my-color));
}

.ht-card-sub {
    color: hsl(var(--my-color) / 0.72);
}

.ht-empty {
    border-radius: 1rem;
    border: 1px dashed hsl(var(--my-color) / 0.4);
    background: hsl(var(--my-color) / 0.08);
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--my-color) / 0.85);
}

.ht-show-more {
    background: hsl(var(--my-color));
    color: #fff;
    box-shadow: 0 8px 18px -12px hsl(var(--my-color) / 0.8);
}

.ht-show-more:hover {
    filter: brightness(1.08);
}

.ht-cat-title {
    border-left: 4px solid hsl(var(--my-color));
}

.ht-news-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid hsl(var(--my-color) / 0.32);
    background: linear-gradient(to bottom right, hsl(var(--my-color) / 0.28), hsl(var(--background)));
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ht-news-card:hover {
    border-color: hsl(var(--my-color) / 0.7);
    transform: translateY(-0.25rem);
    box-shadow: 0 12px 24px -16px hsl(var(--my-color) / 0.45);
}

.ht-news-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid hsl(var(--my-color) / 0.28);
    background: hsl(var(--background));
}

.ht-news-badge {
    border: 1px solid hsl(var(--my-color) / 0.35);
    background: hsl(var(--background) / 0.8);
    color: hsl(var(--foreground));
}

.ht-news-more {
    color: hsl(var(--my-color));
}
