
 /* archive page code */
 /* ---------------------------
   Year Filter Buttons
--------------------------- */
#news-filters{
    display:flex;
    justify-content:center;
    gap:40px;
    margin-bottom:50px;
}

.news-year-filter{
    background: none !important;
    border: none !important;
    border-radius: 0;
    font-size: 25px;
    font-weight: 600;
    color: #f15b29 !important;
    cursor: pointer;
    padding: 15px 25px;
    transition: all .3s ease;
    box-shadow: none !important;
}

.news-year-filter.active{
    background: #fcded4 !important;
    color: #000 !important;
    border-radius: 0;
    font-size: 25px;
    padding: 15px 25px;
}

/* ---------------------------
   News Grid
--------------------------- */
#news-posts{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:40px;
}

/* ---------------------------
   News Card
--------------------------- */
.news-item{
    position:relative;
    overflow:hidden;
    max-height: 450px;
}

.news-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* Overlay */
.news-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(5,40,60,1) 10%,
        rgba(5,40,60,0.8) 40%,
        rgba(5,40,60,0.1) 80%
    );
}

/* ---------------------------
   Content
--------------------------- */
.news-content{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    padding:30px;
    color:#fff;
    z-index:2;
}

.news-content h3{
    font-size:22px;
    color:#fff;
    line-height:1.4;
    margin-bottom:12px;
}

.news-content p{
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
}
.news-content-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ---------------------------
   Read More Button
--------------------------- */
.read-more{
    display:inline-block;
    background:#f15b29;
    color:#fff;
    padding:10px 18px;
    font-size:14px;
    font-weight:600;
    text-decoration:none !important;
    border-radius:2px;
    transition:background .3s ease;
}

.read-more:hover{
    background:#e64b22;
    color:#fff;
}

/* ---------------------------
   Responsive
--------------------------- */
@media (max-width:1024px){
    #news-posts{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:640px){
    #news-posts{
        grid-template-columns:1fr;
    }
    #news-filters{
        gap:20px;
        flex-wrap:wrap;
    }
    .news-item{
        min-height: 345px;
    }
    .page-title-banner h1{
        font-size: 40px !important;
    }
}