﻿/* ===================================
   PAGE BANNER
=================================== */

.page-banner {
    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;
    padding: 120px 0;
    text-align: center;
    color: #fff;
}

    .page-banner h1 {
        font-size: 55px;
        margin-bottom: 15px;
    }

    .page-banner p {
        max-width: 750px;
        margin: auto;
        font-size: 18px;
    }

/* ===================================
   BREAKING NEWS TICKER
=================================== */

.news-ticker {
    display: flex;
    align-items: center;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    height: 55px;
}

.ticker-label {
    background: #F68B1F;
    color: #fff;
    min-width: 220px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}

    .ticker-content span {
        margin-right: 80px;
        color: #333;
        font-weight: 500;
        font-size: 15px;
    }

@keyframes tickerScroll {

    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.news-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* ===================================
   ANNOUNCEMENTS
=================================== */

.announcements-section {
    background: #fff;
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
}

.announcement-card {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    border-left: 5px solid #F68B1F;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s;
}

    .announcement-card:hover {
        transform: translateY(-5px);
    }

.news-date {
    display: inline-block;
    background: #199B43;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 15px;
}

.announcement-card h3 {
    color: #199B43;
    margin-bottom: 15px;
}

.announcement-card p {
    color: #666;
    line-height: 1.8;
}

/* ===================================
   UPCOMING EVENTS
=================================== */

.upcoming-events {
    background: #f8faf9;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.event-item {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.event-date {
    width: 90px;
    height: 90px;
    background: #199B43;
    color: #fff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

    .event-date span {
        font-size: 32px;
        font-weight: 700;
    }

    .event-date small {
        font-size: 14px;
        letter-spacing: 1px;
    }

.event-content h3 {
    color: #199B43;
    margin-bottom: 10px;
}

.event-content p {
    color: #666;
}

/* ===================================
   RECENT EVENTS
=================================== */

.recent-events {
    background: #fff;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.event-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s;
}

    .event-card:hover {
        transform: translateY(-8px);
    }

    .event-card img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

.event-info {
    padding: 25px;
}

    .event-info span {
        display: inline-block;
        background: #F68B1F;
        color: #fff;
        padding: 6px 14px;
        border-radius: 30px;
        font-size: 13px;
        margin-bottom: 15px;
    }

    .event-info h3 {
        color: #199B43;
        margin-bottom: 12px;
    }

    .event-info p {
        color: #666;
    }

/* ===================================
   EVENT STATISTICS
=================================== */

.events-stats {
    background: linear-gradient(135deg,#199B43,#10692E);
    padding: 90px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    color: #fff;
}

    .stat-box h3 {
        font-size: 50px;
        margin-bottom: 10px;
    }

    .stat-box p {
        font-size: 17px;
    }

/* ===================================
   PHOTO HIGHLIGHTS
=================================== */

.photo-highlights {
    background: #f8faf9;
}

    .photo-highlights .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 20px;
    }

    .photo-highlights img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        border-radius: 15px;
        transition: .4s;
    }

        .photo-highlights img:hover {
            transform: scale(1.05);
        }

/* ===================================
   EVENTS CTA
=================================== */

.events-cta {
    background: linear-gradient(135deg,#199B43,#12692D);
    color: #fff;
    text-align: center;
    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;
        font-weight: 600;
        transition: .3s;
    }

        .events-cta .btn-primary:hover {
            background: #fff;
            color: #199B43;
        }

/* ===================================
   RESPONSIVE
=================================== */

@media(max-width:991px) {

    .announcement-grid {
        grid-template-columns: 1fr;
    }

    .event-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .photo-highlights .gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:768px) {
    .news-ticker {
        height: 50px;
    }

    .ticker-label {
        min-width: 140px;
        font-size: 13px;
        padding: 0 10px;
    }

    .ticker-content span {
        font-size: 13px;
        margin-right: 50px;
    }

    .page-banner {
        padding: 90px 0;
    }

        .page-banner h1 {
            font-size: 36px;
        }

    .event-item {
        flex-direction: column;
        text-align: center;
    }

    .event-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .photo-highlights .gallery-grid {
        grid-template-columns: 1fr;
    }

    .events-cta h2 {
        font-size: 30px;
    }
}
