/* =========================================================
   NEWS PAGE
========================================================= */

:root {

    --news-blue: #002D4F;
    --news-cyan: #7EC8E3;
    --news-light-blue: #A9D6F5;
    --news-pale-blue: #D6EAF7;

    --news-white: #FFFFFF;
    --news-background: #F5F8FA;

    --news-text: #31465A;
    --news-border: #DCE5EB;

    --news-shadow:
        0 10px 30px rgba(0, 45, 79, 0.07);

}


/* =========================================================
   PAGE
========================================================= */

.news-page {

    min-height: 100vh;

    background:
        var(--news-background);

}


/* =========================================================
   NEWS HERO
========================================================= */

.news-header {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #002D4F 0%,
            #064A70 55%,
            #7EC8E3 100%
        );

    padding:
        90px
        20px
        85px;

}


.news-header::before {

    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    top: -180px;
    right: -50px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);

}


.news-header::after {

    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    bottom: -150px;
    left: -70px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.06);

}


.news-header-content {

    position: relative;

    z-index: 2;

    width:
        min(1500px, 92%);

    margin:
        0 auto;

}


.news-label {

    display: block;

    margin-bottom: 17px;

    color:
        var(--news-light-blue);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.5px;

}


.news-header h1 {

    margin:
        0 0 18px;

    color:
        var(--news-white);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size:
        clamp(
            42px,
            5vw,
            70px
        );

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -1.5px;

}


.news-header p {

    max-width: 720px;

    margin: 0;

    color:
        rgba(255,255,255,0.87);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size: 16px;

    line-height: 1.7;

}


/* =========================================================
   NEWS SECTION
========================================================= */

.news-section {

    padding:
        55px
        20px
        90px;

}


.news-container {

    width:
        min(1500px, 92%);

    margin:
        0 auto;

}


/* =========================================================
   NEWS GRID
   3 COLUMNS
========================================================= */

.news-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    align-items: stretch;

    gap: 28px;

}


/* =========================================================
   NEWS CARD
========================================================= */

.news-card {

    display: flex;

    flex-direction: column;

    width: 100%;

    min-width: 0;

    height: 850px;

    overflow: hidden;

    background:
        var(--news-white);

    border:
        1px solid var(--news-border);

    border-radius:
        9px;

    box-shadow:
        var(--news-shadow);

    box-sizing:
        border-box;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.news-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 18px 40px rgba(0, 45, 79, 0.11);

}


/* =========================================================
   NEWS INFORMATION
========================================================= */

.news-card-content {

    height: 190px;

    padding:
        24px
        24px
        20px;

    box-sizing:
        border-box;

    overflow: hidden;

}


.news-date {

    display: block;

    margin-bottom: 9px;

    color:
        var(--news-cyan);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;

}


.news-card h2 {

    margin: 0;

    color:
        var(--news-blue);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size: 21px;

    font-weight: 700;

    line-height: 1.3;

}


.news-description {

    margin:
        12px
        0
        0;

    color:
        var(--news-text);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size: 12px;

    line-height: 1.65;

}


/* =========================================================
   FACEBOOK POST AREA
========================================================= */

.facebook-post-container {

    height: 595px;

    width: 100%;

    flex-shrink: 0;

    overflow: hidden;

    background:
        #F1F4F6;

    border-top:
        1px solid var(--news-border);

    border-bottom:
        1px solid var(--news-border);

    box-sizing:
        border-box;

    text-align:
        center;

}


/* =========================================================
   FACEBOOK IFRAME
========================================================= */

.facebook-post-iframe {

    display: block;

    width: 500px;

    height: 598px;

    max-width: 100%;

    margin:
        0 auto;

    border: none;

}


/* =========================================================
   CARD FOOTER
========================================================= */

.news-card-footer {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    height: 64px;

    margin-top: auto;

    padding:
        0
        24px;

    background:
        var(--news-white);

    box-sizing:
        border-box;

}


/* =========================================================
   VIEW ON FACEBOOK
========================================================= */

.read-more {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color:
        var(--news-blue);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.2s ease,
        gap 0.2s ease;

}


.read-more:hover {

    color:
        var(--news-cyan);

    gap: 12px;

}


.read-more-arrow {

    font-size: 17px;

    line-height: 1;

}


/* =========================================================
   NO NEWS
========================================================= */

.no-news {

    max-width: 650px;

    margin:
        20px auto;

    padding:
        65px
        35px;

    background:
        var(--news-white);

    border:
        1px solid var(--news-border);

    border-radius:
        10px;

    box-shadow:
        var(--news-shadow);

    text-align:
        center;

}


.no-news-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 58px;

    height: 58px;

    margin:
        0 auto
        20px;

    border-radius:
        50%;

    background:
        var(--news-pale-blue);

    color:
        var(--news-blue);

    font-size: 25px;

}


.no-news h2 {

    margin:
        0 0 10px;

    color:
        var(--news-blue);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size: 26px;

}


.no-news p {

    max-width: 500px;

    margin:
        0 auto;

    color:
        var(--news-text);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1500px) {

    .news-grid {

        gap: 30px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .news-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .news-grid {

        grid-template-columns:
            1fr;

        max-width: 600px;

        margin:
            0 auto;

    }


    .news-card {

        height:
            850px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .news-header {

        padding:
            65px
            20px
            60px;

    }


    .news-header-content {

        width: 100%;

    }


    .news-header h1 {

        font-size:
            40px;

    }


    .news-header p {

        font-size:
            14px;

    }


    .news-section {

        padding:
            40px
            14px
            70px;

    }


    .news-container {

        width:
            100%;

    }


    .news-card-content {

        height:
            190px;

        padding:
            21px
            20px;

    }


    .news-card h2 {

        font-size:
            20px;

    }


    .news-description {

        font-size:
            12px;

    }


    .facebook-post-container {

        height:
            595px;

    }


    .facebook-post-iframe {

        width:
            500px;

        max-width:
            100%;

        height:
            598px;

    }


    .news-card-footer {

        height:
            60px;

        padding:
            0 20px;

    }

}