main {
    background: var(--bg-gray-4);
}

.banner-section img {
    margin-top: 36px;
    margin-bottom: 120px;
    height: 40vh;
    object-fit: cover;
}

.posts-section {
    padding-top: 48px;
    padding-bottom: 100px;
}

.posts-section .article-title {
    font-size: 1.8rem;
    margin-bottom: 48px;
}

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

.posts-section .posts-list .news-card {
    margin-bottom: 32px;
}
/* Pagination container */
.pagination {
    display: flex;
    list-style: none;
    padding-left: 0;
    justify-content: center;
    margin-top: 48px;
    margin-bottom: 0;
}

/* Pagination item */
.page-item {
    margin: 0 4px;
    line-height: 27px;
}

/* Pagination link & span */
.page-link {
    color: #000;
    text-decoration: none;
    background-color: #fff;
    border-radius: 50% !important;
    transition: all 0.2s ease-in-out;
    width: 42px;
    height: 42px;
    font-weight: 500;
    text-align: center;
}

/* Hover effect */
.page-link:hover {
    background-color: #fafafa;
}

/* Active page */
.page-item.active .page-link {
    background-color: var(--cyan);
    border-color: var(--cyan);
    color: white;
    cursor: default;
}

/* Disabled page (optional) */
.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

@media (max-width: 768px) {
    .posts-section {
        padding-top: 32px;
        padding-bottom: 4px;
    }

    .posts-section .article-title {
        font-size: 1.4rem;
        margin-bottom: 32px;
    }

    .posts-section .posts-list {
        grid-template-columns: repeat(1, 1fr);
        padding: 32px 16px 32px;
    }

    .pagination {
        margin-top: 0;
        margin-bottom: 56px;
    }
}
