/* ===================================
   PAGE
=================================== */

.berita-page{
    padding:40px 0 60px;
    background:#f8fafc;
}

/* ===================================
   HERO
=================================== */

.berita-hero{
    background:linear-gradient(
        135deg,
        var(--primary),
        #1e40af
    );

    border-radius:24px;

    padding:50px;

    color:#fff;

    margin-bottom:40px;

    overflow:hidden;
    position:relative;
}

.berita-hero::before{
    content:'';
    position:absolute;

    right:-80px;
    top:-80px;

    width:260px;
    height:260px;

    border-radius:50%;

    background:rgba(255,255,255,.08);
}

.hero-content{
    max-width:700px;
    position:relative;
    z-index:2;
}

.hero-label{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:8px 16px;

    border-radius:999px;

    background:rgba(255,255,255,.15);

    color:#fff;

    font-size:13px;
    font-weight:600;

    margin-bottom:18px;
}

.hero-content h1{
    font-size:42px;
    font-weight:700;
    color:#fff;
    margin-bottom:14px;
}

.hero-content p{
    margin:0;
    font-size:16px;
    line-height:1.8;
    color:rgba(255,255,255,.92);
}

.hero-breadcrumb{
    margin-top:20px;
}

.hero-breadcrumb .breadcrumb-item,
.hero-breadcrumb .breadcrumb-item a{
    color:rgba(255,255,255,.85);
    text-decoration:none;
}

.hero-breadcrumb .breadcrumb-item.active{
    color:#fff;
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before{
    color:rgba(255,255,255,.6);
}

/* ===================================
   MOBILE
=================================== */

@media (max-width:768px){

    .berita-page{
        padding:25px 0 50px;
    }

    .berita-hero{
        padding:30px;
    }

    .hero-content h1{
        font-size:28px;
    }
}

.featured-card {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.featured-image {
    height: 340px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 28px;
}

/* NEWS CARD */
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.news-link {
    text-decoration: none;
    color: inherit;
}

/* IMAGE */
.news-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f5f5f5;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.4), transparent);
}

.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* CONTENT */
.news-body {
    padding: 15px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-excerpt {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 260px;
    }
}