/* =========================================================
   ARTICLE PAGE
========================================================= */

.article-page {
    width: 100%;
    background: #ffffff;
    color: #0b1f33;
    font-family: 'Poppins', sans-serif;
}


/* =========================================================
   CONTAINER
========================================================= */

.article-container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.article-header {
    padding: 90px 0 65px;
    background: #f7f9fb;
    border-bottom: 1px solid #e5e9ed;
}

.article-eyebrow {
    display: inline-block;
    margin-bottom: 16px;

    color: #1757a6;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

.article-header h1 {
    margin: 0;
    max-width: 850px;

    color: #0b1f33;

    font-size: clamp(30px, 0vw, 44px);
    line-height: 1.12;
    font-weight: 700;
}
.article-header p {
    max-width: 760px;
    margin: 18px 0 0;

    color: #65788a;

    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   SECTION
========================================================= */

.article-section {
    padding: 75px 0 100px;
}


/* =========================================================
   GRID
   DESKTOP = 4
========================================================= */

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   CARD
========================================================= */

.article-card {
    min-width: 0;

    background: #ffffff;

    border: 1px solid #e0e6eb;
    border-radius: 22px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(11, 31, 51, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 18px 40px rgba(11, 31, 51, 0.11);
}


/* =========================================================
   THUMBNAIL
========================================================= */

.article-card-image {
    position: relative;

    display: block;

    width: 100%;
    height: 220px;

    overflow: hidden;

    background: #edf1f4;

    text-decoration: none;
}

.article-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.04);
}


/* =========================================================
   CATEGORY
========================================================= */

.article-category {
    position: absolute;

    left: 16px;
    bottom: 16px;

    display: inline-flex;
    align-items: center;

    min-height: 30px;
    padding: 0 12px;

    border-radius: 999px;

    background: #0b1f33;
    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .4px;
}


/* =========================================================
   NO IMAGE
========================================================= */

.article-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9aa7b2;

    font-size: 34px;
}


/* =========================================================
   CONTENT
========================================================= */

.article-card-content {
    padding: 22px 21px 24px;
}


/* =========================================================
   DATE
========================================================= */

.article-date {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 12px;

    color: #7b8b99;

    font-size: 12px;
    font-weight: 500;
}

.article-date i {
    color: #1757a6;
}


/* =========================================================
   TITLE
========================================================= */

.article-card h2 {
    margin: 0;
}

.article-card h2 a {
    display: block;

    color: #0b1f33;

    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;

    text-decoration: none;
}

.article-card h2 a:hover {
    color: #1757a6;
}


/* =========================================================
   EXCERPT
========================================================= */

.article-card p {
    display: -webkit-box;

    margin: 12px 0 20px;

    overflow: hidden;

    color: #718292;

    font-size: 12px;
    line-height: 1.7;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    line-clamp: 3;
}


/* =========================================================
   READ MORE
========================================================= */

.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #1757a6;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.article-read-more i {
    transition: transform 0.2s ease;
}

.article-read-more:hover i {
    transform: translateX(4px);
}


/* =========================================================
   EMPTY
========================================================= */

.article-empty {
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 14px;

    color: #7b8b99;

    text-align: center;
}

.article-empty i {
    font-size: 42px;
    color: #a6b2bc;
}

.article-empty p {
    margin: 0;

    font-size: 15px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .article-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   2 GRID
========================================================= */

@media (max-width: 700px) {

    .article-container {
        width: 90%;
    }

    .article-header {
        padding: 60px 0 45px;
    }

    .article-header h1 {
        font-size: 36px;
    }

    .article-header p {
        font-size: 14px;
        line-height: 1.7;
    }

    .article-section {
        padding: 45px 0 70px;
    }

    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .article-card {
        border-radius: 15px;
    }

    .article-card-image {
        height: 145px;
    }

    .article-category {
        left: 9px;
        bottom: 9px;

        min-height: 25px;
        padding: 0 8px;

        font-size: 9px;
    }

    .article-card-content {
        padding: 14px 12px 16px;
    }

    .article-date {
        margin-bottom: 8px;
        font-size: 9px;
    }

    .article-card h2 a {
        font-size: 14px;
        line-height: 1.35;
    }

    .article-card p {
        margin: 8px 0 13px;

        font-size: 10px;
        line-height: 1.55;

        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .article-read-more {
        font-size: 10px;
        gap: 5px;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 420px) {

    .article-grid {
        gap: 10px;
    }

    .article-card-image {
        height: 125px;
    }

    .article-card-content {
        padding: 12px 10px 14px;
    }

    .article-card h2 a {
        font-size: 13px;
    }

}