﻿/* ===================================
   PAGE BANNER
=================================== */

.page-banner {
    position: relative;
    background: linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)), url('../images/banner/news-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    overflow: hidden;
}

    .page-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient( 135deg, rgba(25,155,67,.25), rgba(246,139,31,.15) );
    }

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

    .page-banner-content h1 {
        font-size: 54px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .page-banner-content p {
        max-width: 800px;
        margin: auto;
        font-size: 18px;
        line-height: 1.8;
    }

    /* Decorative line */

    .page-banner-content h1::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: #F68B1F;
        margin: 15px auto 0;
        border-radius: 5px;
    }

/* ===================================
   BREADCRUMB
=================================== */

.breadcrumb-section {
    background: #f8faf9;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

    .breadcrumb li {
        color: #666;
        font-size: 14px;
    }

        .breadcrumb li:not(:last-child)::after {
            content: "/";
            margin-left: 10px;
            color: #999;
        }

    .breadcrumb a {
        color: #199B43;
        font-weight: 500;
    }

/* ===================================
   NEWS DETAILS
=================================== */

.news-details {
    background: #fff;
}

.news-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.news-content {
    background: #fff;
}

.news-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category {
    background: #F68B1F;
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.news-meta span {
    color: #666;
    font-size: 14px;
}

.news-content h2 {
    font-size: 42px;
    color: #199B43;
    margin-bottom: 25px;
    line-height: 1.3;
}

.news-content img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 30px;
}

.news-content p {
    color: #555;
    line-height: 2;
    margin-bottom: 20px;
    text-align: justify;
}

.news-content blockquote {
    background: #f8faf9;
    border-left: 5px solid #F68B1F;
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
    font-size: 18px;
    font-style: italic;
    color: #333;
}

/* ===================================
   SIDEBAR
=================================== */

.news-sidebar {
    position: sticky;
    top: 120px;
    height: max-content;
}

.sidebar-box {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .sidebar-box h3 {
        color: #199B43;
        margin-bottom: 20px;
        position: relative;
    }

        .sidebar-box h3::after {
            content: '';
            width: 50px;
            height: 3px;
            background: #F68B1F;
            position: absolute;
            left: 0;
            bottom: -8px;
        }

    .sidebar-box ul {
        margin-top: 20px;
    }

    .sidebar-box li {
        margin-bottom: 15px;
        color: #555;
        line-height: 1.8;
    }

    .sidebar-box a {
        color: #333;
        transition: .3s;
    }

        .sidebar-box a:hover {
            color: #199B43;
            padding-left: 5px;
        }

/* ===================================
   EVENT GALLERY
=================================== */

.event-gallery {
    background: #f8faf9;
}

    .event-gallery .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 20px;
    }

    .event-gallery img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        border-radius: 15px;
        transition: .4s;
    }

        .event-gallery img:hover {
            transform: scale(1.05);
        }

/* ===================================
   EVENT HIGHLIGHTS
=================================== */

.event-highlights {
    background: linear-gradient(135deg,#199B43,#10692E);
    padding: 90px 0;
}

    .event-highlights .section-title h2 {
        color: #fff;
    }

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.highlight-box {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 35px 20px;
    text-align: center;
    color: #fff;
}

    .highlight-box h3 {
        font-size: 50px;
        margin-bottom: 10px;
    }

    .highlight-box p {
        font-size: 16px;
    }

/* ===================================
   SHARE SECTION
=================================== */

/* ===================================
   SHARE SECTION
=================================== */

.share-news {
    background: #fff;
    padding: 60px 0;
}

.share-box {
    background: #f8faf9;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
}

    .share-box h4 {
        color: #199B43;
        margin-bottom: 25px;
        font-size: 24px;
    }

.share-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    transition: .3s;
}

    .share-btn:hover {
        transform: translateY(-3px);
    }

.whatsapp {
    background: #25D366;
}

.facebook {
    background: #1877F2;
}

.twitter {
    background: #000;
}

.linkedin {
    background: #0A66C2;
}

.copy-link {
    background: #F68B1F;
}
/* ===================================
   RELATED NEWS
=================================== */

.related-news {
    background: #f8faf9;
}

    .related-news .event-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 30px;
    }

    .related-news .event-card {
        background: #fff;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
        transition: .3s;
    }

        .related-news .event-card:hover {
            transform: translateY(-8px);
        }

        .related-news .event-card img {
            width: 100%;
            height: 220px;
            object-fit: cover;
        }

    .related-news .event-info {
        padding: 25px;
    }

        .related-news .event-info h3 {
            color: #199B43;
            margin-bottom: 15px;
        }

        .related-news .event-info a {
            color: #F68B1F;
            font-weight: 600;
        }

/* ===================================
   CTA SECTION
=================================== */

.events-cta {
    background: linear-gradient(135deg,#199B43,#12692D);
    text-align: center;
    color: #fff;
    padding: 100px 20px;
}

    .events-cta h2 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .events-cta p {
        max-width: 700px;
        margin: auto;
        margin-bottom: 30px;
        font-size: 18px;
    }

    .events-cta .btn-primary {
        display: inline-block;
        background: #F68B1F;
        color: #fff;
        padding: 15px 35px;
        border-radius: 50px;
        transition: .3s;
    }

        .events-cta .btn-primary:hover {
            background: #fff;
            color: #199B43;
        }
/* ===================================
   LATEST NEWS WIDGET
=================================== */

.latest-news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 25px;
}

.latest-news-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    transition: .3s;
}

    .latest-news-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .latest-news-item:hover {
        transform: translateX(5px);
    }

    .latest-news-item img {
        width: 90px;
        height: 75px;
        object-fit: cover;
        border-radius: 10px;
        flex-shrink: 0;
    }

.news-info {
    flex: 1;
}

.latest-news-item .news-date {
    display: inline-block;
    font-size: 12px;
    color: #F68B1F;
    font-weight: 600;
    margin-bottom: 6px;
}

.news-info h4 {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    transition: .3s;
}

.latest-news-item:hover h4 {
    color: #199B43;
}

/* ===================================
   ADMISSION WIDGET
=================================== */

.admission-widget {
    background: linear-gradient(135deg,#199B43,#10692E);
    color: #fff;
    text-align: center;
    overflow: hidden;
    position: relative;
}

    .admission-widget::before {
        content: '🎓';
        position: absolute;
        top: -15px;
        right: -10px;
        font-size: 70px;
        opacity: .10;
    }

    .admission-widget h3 {
        color: #fff;
        margin-bottom: 15px;
    }

        .admission-widget h3::after {
            background: #F68B1F;
        }

    .admission-widget p {
        color: rgba(255,255,255,.90);
        line-height: 1.8;
        margin: 20px 0 25px;
        font-size: 15px;
    }

    .admission-widget .btn-primary {
        display: inline-block;
        background: #F68B1F;
        color: #fff;
        padding: 12px 25px;
        border-radius: 50px;
        font-weight: 600;
        transition: .3s;
    }

        .admission-widget .btn-primary:hover {
            background: #fff;
            color: #199B43;
            transform: translateY(-2px);
        }

.admission-badge {
    display: inline-block;
    background: #F68B1F;
    color: #fff;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}
/* ===================================
   RESPONSIVE
=================================== */

@media(max-width:991px) {

    .news-wrapper {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
    }

    .highlights-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .event-gallery .gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .related-news .event-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:768px) {
    .page-banner {
        padding: 80px 0;
    }

    .page-banner-content h1 {
        font-size: 34px;
    }

    .page-banner-content p {
        font-size: 15px;
        line-height: 1.7;
    }
    .news-content h2 {
        font-size: 30px;
    }

    .event-gallery .gallery-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .related-news .event-grid {
        grid-template-columns: 1fr;
    }

    .events-cta h2 {
        font-size: 30px;
    }
}
