.latest-posts-page {
    padding: 30px 0 72px;
}

.latest-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 24px;
    color: #64748b;
    font-size: 14px;
}

.latest-breadcrumb a {
    color: #334155;
    font-weight: 700;
    text-decoration: none;
}

.latest-posts-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 36px;
    border-radius: 22px;
    background: linear-gradient(135deg, #173f77, #2f71b8);
    color: #fff;
    box-shadow: 0 16px 38px rgba(23, 63, 119, .20);
}

.latest-posts-eyebrow {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.latest-posts-header h1 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: clamp(34px, 5vw, 52px);
}

.latest-posts-header p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    line-height: 1.65;
}

.latest-posts-count {
    display: inline-flex;
    margin-top: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: 13px;
    font-weight: 800;
}

.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.latest-post-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.latest-post-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef2f7;
}

.latest-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

.latest-post-card:hover .latest-post-image img {
    transform: scale(1.035);
}

.latest-post-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #94a3b8;
    font-size: 22px;
    font-weight: 900;
}

.latest-post-body {
    padding: 20px;
}

.latest-post-category {
    color: #ff5a36;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.latest-post-body h2 {
    margin: 9px 0;
    font-size: 20px;
    line-height: 1.4;
}

.latest-post-body h2 a {
    color: #14213d;
    text-decoration: none;
}

.latest-post-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 14px;
    color: #64748b;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.latest-post-read {
    color: #ff5a36;
    font-weight: 800;
    text-decoration: none;
}

.latest-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.latest-pagination a,
.latest-pagination span {
    display: inline-grid;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    place-items: center;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-weight: 800;
    text-decoration: none;
}

.latest-pagination .active {
    background: #ff5a36;
    color: #fff;
}

.latest-posts-empty {
    grid-column: 1 / -1;
    padding: 34px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

@media (max-width: 900px) {
    .latest-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .latest-posts-page {
        padding-top: 18px;
    }

    .latest-posts-header {
        padding: 25px 22px;
        border-radius: 17px;
    }

    .latest-posts-grid {
        grid-template-columns: 1fr;
    }
}
