/* ==========================================
   HALAMAN BERITA
========================================== */

.hero-berita{
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: url("../imagesbrt/berita-banner.jpg") center center/cover no-repeat;
}

.hero-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.60);
}

.hero-content{
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: #fff;
}

.hero-content span{
    display: inline-block;
    color: #1FA463;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-content h1{
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p{
    font-size: 18px;
    line-height: 1.8;
    color: #f2f2f2;
    margin-bottom: 30px;
}

/* ==========================================
   BREADCRUMB
========================================== */

.breadcrumb{
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a{
    color: #ffffff;
    text-decoration: none;
    transition: .3s;
}

.breadcrumb a:hover{
    color: #1FA463;
}

.breadcrumb span{
    color: #ddd;
}

.breadcrumb strong{
    color: #1FA463;
}

/* ==========================================
   SEARCH & FILTER
========================================== */

.news-filter{
    padding: 60px 0 20px;
    background: #f8fafc;
}

.filter-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.search-box{
    width: 100%;
    max-width: 700px;
    position: relative;
}

.search-box i{
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.search-box input{
    width: 100%;
    height: 60px;
    border: none;
    outline: none;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    padding: 0 25px 0 55px;
    font-size: 16px;
}

/* ==========================================
   FILTER BUTTON
========================================== */

.category-filter{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.category-filter button{
    border: none;
    background: #fff;
    padding: 12px 28px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.category-filter button:hover{
    background: #1FA463;
    color: #fff;
}

.category-filter .active{
    background: #1FA463;
    color: #fff;
}

/* ==========================================
   BERITA UTAMA
========================================== */

.featured-news{
    padding: 80px 0;
    background: #f8fafc;
}

.featured-card{
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,.10);
}

.featured-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-content{
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content .label{
    display: inline-block;
    width: fit-content;
    padding: 8px 18px;
    background: #1FA463;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
}

.meta{
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    color: #777;
    font-size: 15px;
}

.meta i{
    color: #1FA463;
    margin-right: 6px;
}

.featured-content h2{
    font-size: 38px;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-content p{
    color: #666;
    line-height: 1.9;
    margin-bottom: 30px;
}

.btn-news{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    background: #1FA463;
    color: #fff;
    text-decoration: none;
    padding: 15px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: .3s;
}

.btn-news:hover{
    background: #177b4b;
    transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:991px){

    .hero-content h1{
        font-size: 42px;
    }

    .featured-card{
        grid-template-columns: 1fr;
    }

    .featured-content{
        padding: 35px;
    }

}

@media (max-width:768px){

    .hero-berita{
        min-height: 420px;
    }

    .hero-content h1{
        font-size: 34px;
    }

    .hero-content p{
        font-size: 16px;
    }

    .category-filter{
        gap: 10px;
    }

    .category-filter button{
        padding: 10px 18px;
    }

    .featured-content h2{
        font-size: 28px;
    }

}

/* ==========================================
   BERITA TERBARU
========================================== */

.latest-news{
    padding:100px 0;
    background:#ffffff;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
    margin-top:60px;
}

/* CARD */

.news-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
}

.news-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,0,0,.15);
}

/* FOTO */

.news-image{
    overflow:hidden;
    height:240px;
}

.news-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.5s;
}

.news-card:hover .news-image img{
    transform:scale(1.08);
}

/* ISI */

.news-content{
    padding:28px;
}

.news-date{
    display:inline-block;
    font-size:14px;
    color:#1FA463;
    font-weight:600;
    margin-bottom:15px;
}

.news-date i{
    margin-right:6px;
}

.news-content h3{
    font-size:24px;
    color:#222;
    margin-bottom:15px;
    line-height:1.4;
    transition:.3s;
}

.news-card:hover h3{
    color:#1FA463;
}

.news-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:25px;
}

/* Tombol */

.read-more{
    display:inline-flex;
    align-items:center;
    color:#1FA463;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.read-more::after{
    content:"→";
    margin-left:8px;
    transition:.3s;
}

.read-more:hover{
    color:#177b4b;
}

.read-more:hover::after{
    margin-left:14px;
}

/* ==========================================
   SECTION TITLE
========================================== */

.latest-news .section-title{
    text-align:center;
    margin-bottom:20px;
}

.latest-news .section-title span{
    color:#1FA463;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
}

.latest-news .section-title h2{
    font-size:46px;
    color:#222;
    margin:15px 0;
}

.latest-news .section-title p{
    max-width:700px;
    margin:auto;
    color:#777;
    line-height:1.8;
}

/*==================================
RESPONSIVE
==================================*/

@media(max-width:991px){

    .important-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .important-news{
        padding:70px 0;
    }

    .important-card{
        padding:25px;
        gap:18px;
    }

    .important-icon{
        width:65px;
        height:65px;
        min-width:65px;
    }

    .important-icon i{
        font-size:28px;
    }

    .important-card h3{
        font-size:20px;
    }

    .important-card span{
        font-size:14px;
    }

    .news-cta{

    padding:70px 0;

}

.cta-box{

    padding:50px 25px;

}

.cta-box h2{

    font-size:32px;

}

.cta-box p{

    font-size:16px;

}

.cta-button{

    flex-direction:column;
    align-items:center;

}

.btn-green,
.btn-outline{

    width:220px;
    text-align:center;

}

}


/*==================================
INFORMASI PENTING
==================================*/

.important-news{
    padding:100px 0;
    background:#f8fafc;
}

.important-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-top:60px;
}

.important-card{
    background:#fff;
    border-radius:22px;
    padding:35px 30px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
    display:flex;
    align-items:center;
    gap:25px;
    overflow:hidden;
    position:relative;
}

.important-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:6px;
    height:100%;
    background:#1FA463;
    transition:.35s;
}

.important-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,0,0,.15);
}

.important-card:hover::before{
    width:10px;
}

.important-icon{
    width:80px;
    height:80px;
    min-width:80px;
    border-radius:50%;
    background:#1FA463;
    display:flex;
    justify-content:center;
    align-items:center;
}

.important-icon i{
    font-size:34px;
    color:#fff;
}

.important-card h3{
    font-size:24px;
    color:#222;
    margin-bottom:10px;
    transition:.3s;
}

.important-card:hover h3{
    color:#1FA463;
}

.important-card span{
    color:#777;
    font-size:16px;
}

/*==================================
PAGINATION
==================================*/

.pagination-section{

    padding:30px 0 90px;
    background:#f8fafc;

}

.pagination{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;

}

.page-number,
.page-btn{

    width:50px;
    height:50px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;
    background:#fff;

    text-decoration:none;
    color:#222;

    font-weight:600;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.page-number:hover,
.page-btn:hover{

    background:#1FA463;
    color:#fff;
    transform:translateY(-4px);

}

.page-number.active{

    background:#1FA463;
    color:#fff;

}

@media(max-width:768px){

.pagination{

    gap:10px;
    flex-wrap:wrap;

}

.page-number,
.page-btn{

    width:42px;
    height:42px;

    font-size:15px;

}

}

/*==================================
CALL TO ACTION
==================================*/

.news-cta{

    padding:100px 0;
    background:#ffffff;

}

.cta-box {
    
    background:
        
        linear-gradient(135deg, rgba(31, 164, 99, 0.7), rgba(125, 53, 22, 0.7), rgba(84, 119, 235, 0.7)),

        
        url('../images/slate-5.jpg') center center / cover no-repeat;

   
    border-radius: 30px;
    padding: 80px 60px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.cta-box span{

    display:inline-block;
    letter-spacing:3px;
    text-transform:uppercase;
    font-size:14px;
    font-weight:700;
    margin-bottom:15px;
    opacity:.9;

}

.cta-box h2{

    font-size:46px;
    margin-bottom:20px;

}

.cta-box p{

    max-width:700px;
    margin:auto;
    line-height:1.9;
    font-size:18px;
    opacity:.95;

}

.cta-button{

    margin-top:40px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;

}

.btn-green,
.btn-outline{

    padding:16px 34px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:.35s;
}

.btn-green{

    background:#fff;
    color:#1FA463;

}

.btn-green:hover{

    transform:translateY(-5px);

}

.btn-outline{
    border:2px solid #fff;
    color:#fff;
}

.btn-outline:hover{
    background:#fff;
    color:#1FA463;
}
