﻿/*=============================
        Banner
=============================*/

.hero-section {
    background: url('../images/banner/event-banner.jpg') center center/cover no-repeat;
    height: 250px;
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    background: rgba(10,45,85,.70);
    display: flex;
    align-items: center;
}

.hero-content {
    color: #fff;
    text-align: center;
}

    .hero-content h1 {
        font-size: 46px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 18px;
        max-width: 750px;
        margin: auto;
    }


/*=============================
      Section
=============================*/

.event-section {
    background: #f5f7fb;
    padding: 60px 0;
}

.event-wrapper {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}


/*=============================
       Cards
=============================*/

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    transition: .35s;
    height: 100%;
}

    .news-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0,0,0,.15);
    }

.news-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-body {
    padding: 20px;
    min-height: 180px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: #1d3557;
    height: 85px;
    overflow: hidden;
}

.news-date {
    color: #888;
    font-size: 14px;
    margin: 15px 0;
}

.btn-read {
    display: inline-block;
    padding: 10px 22px;
    background: #f39c12;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: .3s;
}

    .btn-read:hover {
        background: #d98200;
        color: #fff;
    }


/*=============================
      Pager
=============================*/

.pager {
    text-align: center;
    margin-top: 40px;
}

    .pager a,
    .pager span {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin: 3px;
        background: #0b4f82;
        color: #fff;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 600;
    }

    .pager span {
        background: #f39c12;
    }


/*=============================
     Responsive
=============================*/

@media(max-width:991px) {

    .hero-section {
        height: 260px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .news-img {
        height: 200px;
    }
}

@media(max-width:767px) {

    .hero-section {
        height: 220px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .event-wrapper {
        padding: 20px;
    }
}


/*=========================
      Event Details
=========================*/

.event-detail-section {
    background: #f5f7fb;
    padding: 60px 0;
}

.event-detail-box {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

    .event-detail-box h2 {
        font-size: 28px;
        font-weight: 700;
        color: #123d68;
        margin-bottom: 10px;
    }

.event-date {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.detail-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.detail-content {
    font-size: 16px;
    line-height: 32px;
    color: #444;
    text-align: justify;
}

/*====================================================
            RESPONSIVE MEDIA QUERIES
====================================================*/

/* Large Tablets */
@media (max-width: 992px) {

    .hero-section {
        height: 220px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
        padding: 0 20px;
    }

    .event-section,
    .event-detail-section {
        padding: 45px 0;
    }

    .event-wrapper,
    .event-detail-box {
        padding: 25px;
    }

    .news-img {
        height: 200px;
    }

    .news-title {
        font-size: 17px;
        height: auto;
        line-height: 26px;
    }

    .news-body {
        min-height: auto;
    }

    .event-detail-box h2 {
        font-size: 24px;
    }

    .detail-content {
        font-size: 15px;
        line-height: 28px;
    }
}


/* Tablets */
@media (max-width: 768px) {

    .hero-section {
        height: 200px;
    }

    .hero-content h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 15px;
        padding: 0 15px;
    }

    .event-wrapper,
    .event-detail-box {
        padding: 20px;
        border-radius: 8px;
    }

    .news-card {
        margin-bottom: 20px;
    }

    .news-img {
        height: 190px;
    }

    .news-body {
        padding: 18px;
    }

    .news-title {
        font-size: 16px;
        line-height: 24px;
    }

    .btn-read {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .event-detail-box h2 {
        font-size: 22px;
    }

    .detail-content {
        font-size: 15px;
        line-height: 26px;
    }

    .pager a,
    .pager span {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }
}


/* Mobile */
@media (max-width: 576px) {

    .hero-section {
        height: 180px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 22px;
    }

    .event-section,
    .event-detail-section {
        padding: 35px 0;
    }

    .event-wrapper,
    .event-detail-box {
        padding: 15px;
    }

    .news-img {
        height: 170px;
    }

    .news-title {
        font-size: 15px;
        line-height: 22px;
    }

    .news-date {
        font-size: 13px;
    }

    .btn-read {
        width: 100%;
        font-size: 14px;
        padding: 10px;
    }

    .event-detail-box h2 {
        font-size: 20px;
    }

    .event-date {
        font-size: 13px;
    }

    .detail-content {
        font-size: 14px;
        line-height: 24px;
        text-align: left;
    }

    .pager {
        margin-top: 25px;
    }

        .pager a,
        .pager span {
            width: 34px;
            height: 34px;
            line-height: 34px;
            margin: 2px;
            font-size: 13px;
        }
}


/* Extra Small Devices */
@media (max-width: 400px) {

    .hero-section {
        height: 160px;
    }

    .hero-content h1 {
        font-size: 21px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .news-img {
        height: 150px;
    }

    .event-detail-box h2 {
        font-size: 18px;
    }

    .detail-content {
        font-size: 13px;
        line-height: 22px;
    }
}