/* ============================
   NEWS HERO
============================ */
.news-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url("../images/news-hero.jpg") center/cover;
    overflow: hidden;
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 90, 30, 0.72);
}

.news-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: white;
    padding: 20px;
}

.news-hero-content h1 {
    font-size: 4rem;
    margin: 25px 0;
}

.news-hero-content p {
    font-size: 1.25rem;
    line-height: 1.8;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
}

.hero-badge img {
    width: 30px;
    height: 30px;
}

/* ============================
   FEATURED NEWS
============================ */
.featured-news {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.featured-news .featured-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.news-category {
    display: inline-block;
    background: #e7f4ea;
    color: #0b7726;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.featured-content h3 {
    font-size: 2.2rem;
    color: #0b6623;
    margin-bottom: 20px;
	line-height: 1.2;
}

.featured-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    font-size: 17px;
}

.news-meta {
    color: #777;
    margin-bottom: 30px;
    font-size: 15px;
}

.news-btn {
    display: inline-block;
    background: #0b6623;
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.news-btn:hover {
    background: #095d1d;
    transform: translateY(-2px);
}

/* ============================
   NEWS CATEGORIES
============================ */
.news-categories {
    padding: 20px 8%;
    text-align: center;
    max-width: 1400px;
    margin: auto;
}

.news-categories .section-header h2 {
    font-size: 2.5rem;
    color: #0b6623;
    margin-bottom: 15px;
}

.news-categories .section-header p {
    color: #666;
    max-width: 700px;
    margin: auto;
    font-size: 17px;
    line-height: 1.8;
}

.category-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-buttons button {
    padding: 12px 25px;
    min-width: 120px;
    background: white;
    color: #0b6623;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.category-buttons button:hover {
    background: #0b6623;
    color: white;
}

.category-buttons button.active {
    background: #0b6623;
    color: white;
}

/* ============================
   NEWS GRID
============================ 
.latest-news {
    max-width: 1400px;
    margin: 60px auto 100px;
    padding: 0 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card:active {
    transform: scale(0.98);
}

.news-card:nth-child(1) {
    transition-delay: 0.1s;
}

.news-card:nth-child(2) {
    transition-delay: 0.2s;
}

.news-card:nth-child(3) {
    transition-delay: 0.3s;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #777;
    font-size: 14px;
}

.news-content h3 {
    margin: 15px 0;
    color: #0b6623;
    font-size: 20px;
}

.news-content p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 15px;
}

.news-content a {
    color: #0b6623;
    font-weight: 700;
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}*/

/* ============================
   NEWS PUBLICATIONS
============================ */
/* ==========================
   LATEST NEWS
========================== */

.latest-news{
    padding:30px 8%;
    background:#ffffff;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:60px;
}

.news-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.4s ease;
}

.news-card:hover{
    transform:translateY(-8px);
}

.news-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.news-card-content{
    padding:25px;
}

.card-category{
    display:inline-block;
    background:#e8f5e9;
    color:#0b6623;
    padding:8px 15px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    margin-bottom:15px;
}

.card-date{
    color:#777;
    margin-bottom:15px;
    font-size:14px;
}

.news-card h3{
    color:#0b6623;
    margin-bottom:15px;
}

.news-card p{
    color:#555;
    line-height:1.8;
    margin-bottom:20px;
}

.card-btn{
    display:inline-block;
    padding:10px 20px;
    background:#0b6623;
    color:white;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.card-btn:hover{
    background:#084d1a;
}
.news-publication-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.news-publication-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.news-publication-card:hover {
    transform: translateY(-10px);
}

.news-publication-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-publication-content {
    padding: 30px;
}

.news-publication-content h3 {
    color: #0b6623;
    margin: 20px 0;
}

.news-publication-content p {
    color: #666;
    line-height: 1.8;
}

.news-publication-content a {
    color: #0b6623;
    font-weight: 700;
    text-decoration: none;
}

/* ============================
   PAGINATION
============================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 50px auto;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 18px;
    background: white;
    color: #0b6623;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pagination a:hover {
    background: #0b6623;
    color: white;
}

.pagination .active {
    background: #0b6623;
    color: white;
}

/* ============================
   RESPONSIVE - NEWS
============================ */
@media (max-width: 900px) {
    .news-hero {
        height: 320px;
    }

    .news-hero-content h1 {
        font-size: 2.5rem;
    }

    .featured-news {
        grid-template-columns: 1fr;
    }

    .featured-news .featured-image img {
        height: 300px;
    }

    .featured-content h2 {
        font-size: 2rem;
    }

    .news-grid,
    .news-publication-grid {
        grid-template-columns: 1fr;
    }

    .category-buttons button {
        padding: 10px 18px;
        min-width: 100px;
        font-size: 14px;
    }
}

.featured-card{
    background:#ffffff;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
	transition:0.4s ease;
}
.featured-card:hover{
    transform:translateY(-5px);
}

/* ==========================
   NEWS GALLERY
========================== */

.news-gallery{
    padding:10px 5%;
    background:#f8f9fa;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
    margin-top:50px;
}

.gallery-grid img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:15px;
    transition:0.4s ease;
    cursor:pointer;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.gallery-grid img:hover{
    transform:scale(1.03);
}

/* ==========================
   IMAGE LIGHTBOX
========================== */

.lightbox{
    display:none;
    position:fixed;
    z-index:9999;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);

    justify-content:center;
    align-items:center;
}

.lightbox img{
    max-width:90%;
    max-height:85%;
    border-radius:10px;
    box-shadow:0 0 30px rgba(255,255,255,0.2);
}

.close-lightbox{
    position:absolute;
    top:20px;
    right:35px;
    color:white;
    font-size:40px;
    cursor:pointer;
}

.gallery-grid img{
    cursor:pointer;
}

/* ==========================
   TIMELINE
========================== */

.news-timeline{
    padding:100px 8%;
    background:#ffffff;
}

.timeline{
    position:relative;
    max-width:1000px;
    margin:60px auto 0;
}

.timeline::before{
    content:"";
    position:absolute;
    left:120px;
    top:0;
    width:4px;
    height:100%;
    background:#0b6623;
}

.timeline-item{
    position:relative;
    display:flex;
    gap:40px;
    margin-bottom:50px;
}

.timeline-date{
    width:100px;
    font-weight:bold;
    color:#0b6623;
    text-align:right;
}

.timeline-content{
    background:#f8f9fa;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    flex:1;
}

.timeline-content h3{
    color:#0b6623;
    margin-bottom:10px;
}

.timeline-item::before{
    content:"";
    position:absolute;
    left:112px;
    top:10px;
    width:20px;
    height:20px;
    background:#0b6623;
    border-radius:50%;
    border:4px solid white;
}

/* ==========================
   RECENT PUBLICATIONS
========================== */

.recent-publications{
    padding:100px 8%;
    background:#f8f9fa;
}

.publication-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:50px;
}

.publication-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.publication-card:hover{
    transform:translateY(-8px);
}

.publication-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.publication-content{
    padding:25px;
}

.pub-type{
    display:inline-block;
    background:#e8f5e9;
    color:#0b6623;
    padding:8px 15px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
}

.publication-content h3{
    margin:20px 0;
    color:#0b6623;
}

.publication-link{
    text-decoration:none;
    font-weight:600;
    color:#0b6623;
}
/* ==========================
   NEWS CTA
========================== */

.news-cta{
    padding:120px 8%;
    text-align:center;
    color:white;

    background:
    linear-gradient(
        rgba(11,102,35,0.88),
        rgba(11,102,35,0.88)
    ),
    url("../images/news-cta.jpg");

    background-size:cover;
    background-position:center;
}

.news-cta .cta-content{
    max-width:900px;
    margin:auto;
}

.news-cta h2{
    font-size:3rem;
    margin:20px 0;
}

.news-cta p{
    font-size:1.2rem;
    line-height:1.8;
    margin-bottom:35px;
}

.news-cta .section-badge{
    background:rgba(255,255,255,0.15);
    color:white;
}
.section-badge{
    display:inline-block;
    background:#e8f5e9;
    color:#0b6623;
    padding:10px 20px;
    border-radius:30px;
    font-weight:600;
    font-size:20px;
}