/* ── RECENT POSTS ── */
.recent-posts-section {
    padding: 60px 20px;
    background: #fafafa;
}

.recent-posts-heading {
    font-size: 24px;
    font-weight: 700;
    color: rgb(25, 42, 61);
    margin-bottom: 40px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

.post-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-card-image-link img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    aspect-ratio: 1320 / 690;
    object-fit: cover;
}

.post-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-card-title a {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: rgb(25, 42, 61);
    text-decoration: none;
}

.post-card-title a:hover {
    color: #618cfb;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgb(58, 79, 102);
}

.post-card-meta img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.post-card-date::before {
    content: '·';
    margin-right: 8px;
}

/* ── PAGINATION ── */
.post-grid-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.post-grid-pagination .page-numbers {
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    color: rgb(58, 79, 102);
    text-decoration: none;
    transition: all 0.2s;
}

.post-grid-pagination .page-numbers:hover,
.post-grid-pagination .page-numbers.current {
    background: rgb(25, 42, 61);
    color: #fff;
    border-color: rgb(25, 42, 61);
}

@media (max-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
}
