/* =====================================
   GENERAL PAGE
===================================== */

.news-page {
    margin: 0;
    padding: 0;

    font-family: 'Poppins', sans-serif;

    background: #ffffff;
    color: #222222;

    overflow-x: hidden;
}


/* =====================================
   FIXED HEADER OVER BANNER
===================================== */

.news-page #mainHeader {
    position: fixed !important;

    top: 12px;
    left: 50%;

    transform: translateX(-50%);

    width: calc(100% - 40px);
    max-width: 1600px;

    margin: 0;

    background: #ffffff;

    border-radius: 20px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);

    z-index: 1050;

    transition: box-shadow 0.3s ease;
}


/* =====================================
   HEADER WHEN SCROLLING
===================================== */

.news-page #mainHeader.scrolled {
    background: #ffffff;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}


/* =====================================
   REMOVE TOP SPACE
===================================== */

.news-page main {
    margin: 0;
    padding: 0;
}


/* =====================================
   NEWS BANNER
===================================== */

.news-banner {
    position: relative;

    width: 100%;
    height: 380px;

    margin: 0;
    padding: 0;

    background: #f0f0f2;

    display: flex;
    align-items: center;

    overflow: hidden;
}


/* =====================================
   BANNER CONTAINER
===================================== */

.news-banner-container {
    position: relative;

    width: 100%;

    padding: 80px 30px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =====================================
   BREADCRUMB
===================================== */

.news-breadcrumb {
    display: flex;
    align-items: center;

    gap: 14px;

    font-size: 14px;
    font-weight: 400;

    color: #111111;

    animation: newsFadeRight 1s ease;
}

.news-breadcrumb a {
    color: #111111;

    text-decoration: none;

    transition: color 0.3s ease;
}

.news-breadcrumb a:hover {
    color: #e5a500;
}

.news-breadcrumb i {
    font-size: 13px;

    color: #000000;
}

.news-breadcrumb span {
    color: #111111;
}


/* =====================================
   BANNER TITLE
===================================== */

.news-banner-title {
    margin: 0;

    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;

    color: #000000;

    text-align: right;

    animation: newsFadeLeft 1s ease;
}


/* =====================================
   NEWS CONTENT SECTION
===================================== */

.news-content {
    width: 100%;

    padding: 35px 20px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content-container {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    text-align: center;
}


/* =====================================
   NEWS MESSAGE
===================================== */

.news-message {
    margin: 0;

    font-size: 35px;
    font-weight: 500;
    line-height: 1.5;

    color: #222222;

    animation: newsFadeUp 1.2s ease;
}


/* =====================================
   CONNECT WITH US SECTION
===================================== */

.news-connect {
    width: 100%;

    padding: 15px 10px;

    background: #f0f0f2;
}

.news-connect-container {
    width: 100%;

    display: grid;

    grid-template-columns: 2fr 1fr;

    align-items: center;

    gap: 15px;
}


/* =====================================
   CONNECT DESCRIPTION
===================================== */

.news-connect-container p {
    margin: 0;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;

    color: #222222;
}


/* =====================================
   CONNECT WITH US BUTTON
===================================== */

.news-connect-btn {
    justify-self: start;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 10px 16px;

    background: #000000;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    border-radius: 4px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.news-connect-btn:hover {
    background: #ffb800;

    color: #111111;

    transform: translateY(-2px);
}


/* =====================================
   BREADCRUMB ANIMATION
===================================== */

@keyframes newsFadeRight {

    from {
        opacity: 0;

        transform: translateX(-40px);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }

}


/* =====================================
   BANNER TITLE ANIMATION
===================================== */

@keyframes newsFadeLeft {

    from {
        opacity: 0;

        transform: translateX(40px);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }

}


/* =====================================
   NEWS MESSAGE ANIMATION
===================================== */

@keyframes newsFadeUp {

    from {
        opacity: 0;

        transform: translateY(30px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (max-width: 1024px) {

    /* FIXED HEADER */

    .news-page #mainHeader {
        top: 10px;

        width: calc(100% - 30px);

        border-radius: 18px;
    }


    /* NEWS BANNER */

    .news-banner {
        height: 340px;
    }

    .news-banner-container {
        padding: 70px 25px 0;
    }

    .news-banner-title {
        font-size: 30px;
    }

    .news-message {
        font-size: 30px;
    }

}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 768px) {

    /* FIXED HEADER */

    .news-page #mainHeader {
        top: 8px;

        width: calc(100% - 20px);

        border-radius: 15px;
    }


    /* NEWS BANNER */

    .news-banner {
        height: 300px;
    }

    .news-banner-container {
        padding: 70px 20px 0;

        flex-direction: column-reverse;

        justify-content: center;

        gap: 15px;
    }


    /* BANNER TITLE */

    .news-banner-title {
        font-size: 28px;

        text-align: center;
    }


    /* BREADCRUMB */

    .news-breadcrumb {
        justify-content: center;

        font-size: 12px;

        gap: 12px;
    }


    /* NEWS CONTENT */

    .news-content {
        padding: 35px 20px;
    }

    .news-message {
        font-size: 25px;
    }


    /* CONNECT SECTION */

    .news-connect {
        padding: 20px 15px;
    }

    .news-connect-container {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 15px;
    }

    .news-connect-container p {
        font-size: 14px;
    }

    .news-connect-btn {
        justify-self: center;
    }

}


/* =====================================
   SMALL MOBILE RESPONSIVE
===================================== */

@media (max-width: 480px) {

    /* FIXED HEADER */

    .news-page #mainHeader {
        top: 5px;

        width: calc(100% - 16px);

        border-radius: 12px;
    }


    /* NEWS BANNER */

    .news-banner {
        height: 260px;
    }

    .news-banner-title {
        font-size: 25px;
    }

    .news-breadcrumb {
        font-size: 11px;
    }


    /* NEWS CONTENT */

    .news-message {
        font-size: 22px;

        line-height: 1.6;
    }

    .news-content {
        padding: 30px 15px;
    }


    /* CONNECT SECTION */

    .news-connect-container p {
        font-size: 13px;
    }

    .news-connect-btn {
        font-size: 12px;
    }

}


/* =====================================
   REDUCED MOTION
===================================== */

@media (prefers-reduced-motion: reduce) {

    .news-banner-title,
    .news-breadcrumb,
    .news-message {
        animation: none;
    }

    .news-page #mainHeader,
    .news-connect-btn,
    .news-breadcrumb a {
        transition: none;
    }

}