/* =========================================================
   NEWS PAGE
========================================================= */

.news-hero {

    position: relative;

    min-height: 470px;

    display: flex;

    align-items: center;

    background-image: url("../images/bg.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}


/* DARK BLUE OVERLAY */

.news-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 15, 35, 0.86),
            rgba(5, 15, 35, 0.58),
            rgba(5, 15, 35, 0.35)
        );

}


/* HERO CONTAINER */

.news-hero-container {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1250px;

    margin: 0 auto;

    padding: 75px 25px;

    box-sizing: border-box;

}


.news-hero-content {

    max-width: 720px;

}


/* KICKER */

.news-kicker {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    color: #1648C1;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.5px;

}


.news-line {

    width: 35px;

    height: 2px;

    background: #1648C1;

}


.news-cross {

    font-size: 24px;

    line-height: 1;

}


/* HERO TITLE */

.news-hero h1 {

    margin: 0;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 56px;

    line-height: 1.1;

}


.news-hero p {

    max-width: 650px;

    margin: 22px 0 0;

    color: rgba(255,255,255,0.90);

    font-size: 18px;

    line-height: 1.7;

}


/* =========================================================
   NEWS FEED
========================================================= */

.news-feed-section {

    position: relative;

    width: 100%;

    padding: 65px 20px 85px;

    background: #ffffff;

    box-sizing: border-box;

}


.newsp-container {

    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

}


/* =========================================================
   NEWS CARD
========================================================= */

.news-feed-card {
    display: grid;
    grid-template-columns: 39% 61%;

    width: 100%;
    min-height: 220px;

    margin: 0 0 12px 0;

    background: #ffffff;
    border: 1px solid var(--news-border);
    border-radius: 10px;
    overflow: hidden;

    box-shadow:
        0 2px 12px rgba(20, 43, 80, 0.055);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.news-feed-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(20, 43, 80, 0.11);
}


/* =========================================================
   IMAGE
========================================================= */

.news-image {

    width: 100%;

    min-height: 300px;

    overflow: hidden;

}


.news-image img {

    display: block;

    width: 100%;

    height: 100%;

    min-height: 300px;

    object-fit: cover;

    transition:
        transform 0.5s ease;

}


.news-feed-card:hover
.news-image img {

    transform:
        scale(1.04);

}


/* =========================================================
   DETAILS
========================================================= */

.news-details {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        40px 45px;

    box-sizing: border-box;

}


/* =========================================================
   META
========================================================= */

.news-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 25px;

    margin-bottom: 15px;

    color: #555b68;

    font-size: 13px;

}


.news-meta span {

    display: inline-flex;

    align-items: center;

    gap: 8px;

}


.news-meta i {

    color: #1648C1;

    font-size: 14px;

}


/* =========================================================
   TITLE
========================================================= */

.news-details h2 {

    margin: 0;

    color: #122b55;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;

    line-height: 1.25;

}


/* GOLD TITLE LINE */

.news-heading-line {

    width: 40px;

    height: 2px;

    margin:
        15px 0 18px;

    background: #1648C1;

}


.news-details p {

    max-width: 620px;

    margin: 0 0 25px;

    color: #555b68;

    font-size: 15px;

    line-height: 1.75;

}


/* =========================================================
   READ MORE
========================================================= */

.news-read-more {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    width: fit-content;

    color: #1648C1;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition:
        color 0.2s ease,
        gap 0.2s ease;

}


.news-read-more span {

    font-size: 20px;

    line-height: 1;

}


.news-read-more:hover {

    color: #c58a25;

    gap: 15px;

}


/* =========================================================
   LOAD MORE
========================================================= */

.news-load-more-wrapper {

    display: flex;

    justify-content: center;

    margin-top: 40px;

}


.news-load-more {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    min-width: 190px;

    padding:
        14px 25px;

    border: none;

    border-radius: 5px;

    background: #1648C1;

    color: #ffffff;

    cursor: pointer;

    font-size: 14px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.news-load-more:hover {

    background: #10358F;

    transform:
        translateY(-2px);

}


.news-load-more span {

    font-size: 18px;

}


/* =========================================================
   LOADING
========================================================= */

.news-loading {

    display: none;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 35px;

    color: #555b68;

    font-size: 14px;

}


.loading-spinner {

    width: 18px;

    height: 18px;

    border:
        2px solid #dfe4ed;

    border-top-color: #1648C1;

    border-radius: 50%;

    animation:
        newsSpin 0.8s linear infinite;

}


@keyframes newsSpin {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}


/* =========================================================
   END MESSAGE
========================================================= */

.news-end {

    display: none;

    text-align: center;

    margin-top: 35px;

    color: #777e89;

    font-size: 14px;

}


.news-end span {

    display: block;

    margin-bottom: 8px;

    color: #c58a25;

    font-size: 20px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .news-hero {

        min-height: 320px;

    }


    .news-hero-container {

        padding:
            65px 25px;

    }


    .news-hero h1 {

        font-size: 46px;

    }


    .news-feed-card {

        grid-template-columns:
            42% 58%;

    }


    .news-details {

        padding:
            30px;

    }


    .news-details h2 {

        font-size: 25px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .news-hero {

        min-height: 300px;

    }


    .news-hero-container {

        padding:
            55px 20px;

    }


    .news-kicker {

        font-size: 12px;

    }


    .news-hero h1 {

        font-size: 38px;

    }


    .news-hero p {

        font-size: 15px;

        line-height: 1.6;

    }


    .news-feed-section {

        padding:
            45px 15px 65px;

    }


    .news-feed-card {

        display: block;

        margin-bottom: 20px;

        border-radius: 10px;

    }


    .news-image {

        height: 230px;

        min-height: 230px;

    }


    .news-image img {

        height: 230px;

        min-height: 230px;

    }


    .news-details {

        padding:
            25px 22px 28px;

    }


    .news-meta {

        gap: 12px 20px;

        font-size: 12px;

    }


    .news-details h2 {

        font-size: 23px;

    }


    .news-details p {

        font-size: 14px;

        line-height: 1.65;

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .news-hero h1 {

        font-size: 32px;

    }


    .news-hero p {

        font-size: 14px;

    }


    .news-image {

        height: 200px;

    }


    .news-image img {

        height: 200px;

        min-height: 200px;

    }


    .news-details {

        padding:
            22px 18px 25px;

    }


    .news-details h2 {

        font-size: 21px;

    }

}


.news-empty {
    padding: 35px 20px;
    text-align: center;
    color: #555b68;
}