/* ==================================================
   NEWS PAGE
================================================== */

.news-page {
    width: 100%;
}


/* ==================================================
   NEWS HERO
================================================== */

.news-hero {
    padding: 100px 40px;

    background-color: #f7f9fb;
}


.news-hero__inner {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


.news-hero__sub {
    margin: 0 0 16px;

    color: var(--color-main);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.18em;
}


.news-hero__title {
    margin: 0;

    color: var(--color-main-dark);

    font-size: clamp(38px, 4vw, 48px);
    line-height: 1.45;

    letter-spacing: 0.03em;
}


.news-hero__lead {
    max-width: 720px;

    margin: 28px 0 0;

    color: var(--color-subtext);

    font-size: 16px;
    line-height: 1.9;
}


/* ==================================================
   NEWS SECTION
================================================== */

.news-section {
    padding: 100px 40px 120px;
}


.news-section__inner {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


/* ==============================
   SECTION HEADING
============================== */

.news-heading {
    margin-bottom: 52px;
}


.news-heading__sub {
    margin: 0 0 8px;

    color: var(--color-main);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.2em;
}


.news-heading__title {
    margin: 0;

    color: var(--color-main-dark);

    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.4;
}


/* ==================================================
   NEWS LIST
================================================== */

.news-list {
    border-top: 1px solid var(--color-border);
}


/* ==============================
   NEWS ITEM
============================== */

.news-item {
    display: grid;

    grid-template-columns:
        210px
        minmax(0, 1fr);

    gap: 36px;

    align-items: center;

    padding: 30px 0;

    border-bottom: 1px solid var(--color-border);
}


/* ==============================
   DATE / CATEGORY
============================== */

.news-item__meta {
    display: flex;
    align-items: center;

    gap: 18px;
}


.news-item__date {
    flex-shrink: 0;

    color: var(--color-subtext);

    font-size: 13px;

    letter-spacing: 0.05em;
}


.news-item__category {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 88px;

    padding: 5px 10px;

    border: 1px solid var(--color-main);
    border-radius: 999px;

    color: var(--color-main);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;
}


/* ==============================
   NEWS TITLE
============================== */

.news-item__title {
    margin: 0;

    color: var(--color-main-dark);

    font-size: 16px;
    font-weight: 600;

    line-height: 1.7;
}


/* ==================================================
   NEWS CTA
================================================== */

.news-cta {
    padding: 110px 24px;

    background:
        linear-gradient(
            135deg,
            #123f70 0%,
            #245d97 100%
        );

    color: #fff;
}


.news-cta__inner {
    width: min(100%, 1100px);

    margin: 0 auto;

    text-align: center;
}


/* LABEL */

.news-cta__label {
    margin: 0 0 20px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
}


/* TITLE */

.news-cta__title {
    margin: 0;

    color: #fff;

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.45;
}


/* LEAD */

.news-cta__lead {
    margin: 32px 0 0;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.9;
}


/* TEXT */

.news-cta__text {
    margin: 20px 0 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 15px;
    line-height: 2;
}


/* BUTTON */

.news-cta__button {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    min-width: 280px;

    margin-top: 42px;
    padding: 18px 24px;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;

    color: #fff;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.news-cta__arrow {
    margin-left: 40px;

    font-size: 20px;

    transition: transform 0.3s ease;
}


.news-cta__button:hover {
    background: #fff;

    color: #123f70;

    transform: translateY(-2px);
}


.news-cta__button:hover
.news-cta__arrow {
    transform: translateX(5px);
}

/* ==================================================
   FOOTER
================================================== */

.footer {
    padding: 56px 40px 24px;

    background-color: #163f6f;

    color: var(--color-white);
}

.footer__inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(260px, 0.6fr);

    gap: 100px;

    max-width: 1340px;
    margin: 0 auto;
}

/* ==============================
   Footer Information
============================== */

.footer__information {
    width: auto;
    max-width: 600px;
}

.footer__logo {
    margin: 0 0 14px;

    font-size: 22px;
    font-weight: 700;

    letter-spacing: 0.08em;
}


.footer__text {
    margin: 0 0 12px;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.8;
}


.footer__description {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 13px;

    line-height: 1.8;
}


/* ==============================
   Footer Navigation
============================== */

.footer-nav {
    justify-self: end;
}

.footer-nav__list {
    display: grid;

    grid-template-columns:
        repeat(2, auto);

    gap: 14px 32px;

    margin:0;
    padding: 0;

    list-style: none;
}


.footer-nav__list a {
    color: var(--color-white);

    font-size: 13px;

    text-decoration: none;

    transition: opacity 0.2s ease;
}


.footer-nav__list a:hover {
    opacity: 0.65;
}


/* ==============================
   Copyright
============================== */

.footer__copyright {
    width: 100%;

    margin: 44px 0 0;
    padding-top: 18px;

    border-top:
        1px solid rgba(255, 255, 255, 0.18);

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 15px;

    text-align: center;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {

    .news-hero {
        padding: 80px 32px;
    }


    .news-section {
        padding: 80px 32px 100px;
    }


    .news-item {
        grid-template-columns:
            190px
            minmax(0, 1fr);

        gap: 28px;
    }


    .news-cta {
        padding: 90px 32px;
    }

}


/* ==================================================
   SMARTPHONE
================================================== */

@media (max-width: 700px) {

    /* HERO */

    .news-hero {
        padding: 64px 24px;
    }


    .news-hero__title {
        font-size: 32px;
    }


    .news-hero__lead {
        margin-top: 22px;

        font-size: 15px;
    }


    /* NEWS */

    .news-section {
        padding: 72px 24px 88px;
    }


    .news-heading {
        margin-bottom: 36px;
    }


    .news-heading__title {
        font-size: 30px;
    }


    .news-item {
        display: block;

        padding: 26px 0;
    }


    .news-item__meta {
        margin-bottom: 12px;

        gap: 14px;
    }


    .news-item__title {
        font-size: 15px;
    }


    /* CTA */

    .news-cta {
        padding: 80px 24px;
    }


    .news-cta__title {
        font-size: 28px;
    }


    .news-cta__text {
        font-size: 15px;
    }


    .news-cta__button {
        max-width: 280px;
    }

    .footer {
        padding: 48px 24px 24px;
    }


    .footer__inner {
        display: grid;
        grid-template-columns: 1fr;

        gap: 36px;

        max-width: none;
    }


    .footer__information {
        width: 100%;
        max-width: none;
    }


    .footer__logo {
        font-size: 22px;
    }


    .footer__text {
        font-size: 14px;
        line-height: 1.8;
    }


    .footer__description {
        font-size: 13px;
        line-height: 1.8;
    }


    .footer-nav {
        justify-self: start;
        width: 100%;
    }


    .footer-nav__list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        width: 100%;

        gap: 16px 28px;

        margin: 0;
    }


    .copyright {
        margin-top: 32px;
    }

}


/* ==================================================
   SMALL SMARTPHONE
================================================== */

@media (max-width: 390px) {

    .news-hero,
    .news-section,
    .news-cta {
        padding-left: 20px;
        padding-right: 20px;
    }


    .news-hero__title {
        font-size: 29px;
    }


    .news-heading__title {
        font-size: 28px;
    }


    .news-item__meta {
        flex-wrap: wrap;
    }

}