/* =========================
   ARTICLES PAGE
========================= */

.articles-page {
    background: #ffffff;
}


/* =========================
   HEADER
========================= */

.articles-header {
    padding: 55px 0;
    background: #09134F;
}

.articles-header-content {
    max-width: 760px;
}

.articles-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #F63D37;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.4px;
}

.articles-header h1 {
    margin: 0 0 16px;
    color: #fff;

    line-height: 1.2;
}

.articles-header p {
    max-width: 650px;

    margin: 0;

    color: #f0f0f0;

    font-size: 17px;
    line-height: 1.75;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 42px;
    color: #f0f0f0;
}

.contact-breadcrumb a {
    color: #F63D37;
    text-decoration: none;
    transition: color .2s ease;
}

.contact-breadcrumb a:hover {
    color: #F63D37;
}

@media (max-width: 600px) {

    .contact-breadcrumb {
        margin-bottom: 28px;
    }
}


/* =========================
   SECTION
========================= */

.articles-section {
    padding: 70px 0 100px;
}


/* =========================
   GRID
========================= */

.articles-grid {
    display: grid;

    grid-template-columns:
        repeat(3,
            minmax(0, 1fr));

    gap: 28px;
}


/* =========================
   CARD
========================= */

.article-card {
    overflow: hidden;

    background: #ffffff;

    border:
        1px solid #e9ecf2;

    border-radius: 16px;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.article-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 18px 40px rgba(9, 19, 79, .08);
}


/* =========================
   IMAGE
========================= */

.article-card-image {
    display: block;

    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #f3f4f6;
}

.article-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;
}

.article-card:hover .article-card-image img {
    transform:
        scale(1.04);
}

.article-no-image {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #98a2b3;

    font-size: 28px;
    font-weight: 600;
}


/* =========================
   CONTENT
========================= */

.article-card-content {
    padding: 24px;
}

.article-card-date {
    margin-bottom: 10px;

    color: #98a2b3;

    font-size: 13px;
}

.article-card h2 {
    margin:
        0 0 12px;

    font-size: 20px;
    line-height: 1.5;
}

.article-card h2 a {
    color: #09134F;

    text-decoration: none;

    transition:
        color .2s ease;
}

.article-card h2 a:hover {
    color: #F63D37;
}

.article-card p {
    margin:
        0 0 20px;

    color: #667085;

    font-size: 14px;
    line-height: 1.75;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.article-card-more {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #F63D37;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.article-card-more span {
    transition:
        transform .2s ease;
}

.article-card-more:hover span {
    transform:
        translateX(4px);
}


/* =========================
   EMPTY
========================= */

.articles-empty {
    padding: 70px 20px;

    text-align: center;

    color: #667085;

    background: #f8f9fb;

    border-radius: 14px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .articles-grid {
        grid-template-columns:
            repeat(2,
                minmax(0, 1fr));
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .articles-header {
        padding:
            55px 0 45px;
    }

    .articles-header p {
        font-size: 15px;
    }

    .articles-section {
        padding:
            45px 0 70px;
    }

    .articles-grid {
        grid-template-columns:
            1fr;

        gap: 20px;
    }

    .article-card-content {
        padding: 20px;
    }

}