.front-hero--berita::before {
    background: radial-gradient(circle at top, rgba(31, 162, 166, 0.15), transparent 65%);
}

.berita-hero-panel {
    background: linear-gradient(135deg, rgba(31, 162, 166, 0.18), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(31, 162, 166, 0.2);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 40px rgba(31, 42, 68, 0.1);
}

.berita-hero-panel-content h2 {
    font-family: var(--front-font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.berita-hero-panel-content p {
    color: var(--front-muted);
    margin-bottom: 1.25rem;
}

.berita-hero-label {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(31, 162, 166, 0.18);
    color: var(--front-primary);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.berita-hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.berita-hero-meta div {
    background: #fff;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    box-shadow: 0 10px 24px rgba(31, 42, 68, 0.08);
}

.berita-hero-meta span {
    display: block;
    font-size: 0.8rem;
    color: var(--front-muted);
}

.berita-hero-meta strong {
    font-size: 1.2rem;
}

.berita-section {
    padding: 3rem 0 4rem;
}

.berita-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.berita-filter {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.berita-filter-item {
    min-width: 180px;
}

.berita-filter-item label {
    font-size: 0.85rem;
    color: var(--front-muted);
    margin-bottom: 0.35rem;
}

.berita-toolbar-info {
    color: var(--front-muted);
    font-size: 0.9rem;
}

.berita-sidebar {
    position: sticky;
    top: 6.5rem;
}

.berita-article {
    border-radius: 0.55rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.berita-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, 0.12);
}

.berita-article-image {
    object-fit: cover;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    width: 100%;
    height: 100%;
}

.berita-article-placeholder {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--front-muted);
    background: rgba(15, 23, 42, 0.04);
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    width: 100%;
    height: 100%;
}

.berita-article-category {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(31, 162, 166, 0.12);
    color: var(--front-primary);
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
}

.berita-article-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-popular-list .berita-popular-thumb {
    display: grid;
    place-items: center;
    inline-size: 48px;
    block-size: 48px;
    border-radius: 0.55rem;
    background-color: rgba(15, 23, 42, 0.06);
    color: var(--front-muted);
    flex-shrink: 0;
    overflow: hidden;
}

.berita-popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.berita-tag-pill {
    background-color: rgba(31, 162, 166, 0.1);
    color: #1f2a44;
    font-weight: 500;
    border: 1px solid rgba(31, 162, 166, 0.15);
    transition: all 0.2s ease;
}

.berita-tag-pill:hover {
    background-color: rgba(31, 162, 166, 0.2);
    border-color: rgba(31, 162, 166, 0.3);
    color: #0f6669;
}

[data-bs-theme='dark'] .berita-tag-pill {
    background-color: rgba(31, 162, 166, 0.18);
    color: rgba(226, 232, 240, 0.9);
    border: 1px solid rgba(31, 162, 166, 0.45);
}

[data-bs-theme='dark'] .berita-tag-pill:hover {
    background-color: rgba(31, 162, 166, 0.28);
    border-color: rgba(31, 162, 166, 0.6);
    color: #e2f6f6;
}

@media (max-width: 575.98px) {
    .berita-sidebar {
        position: static;
    }
}
