/* Card styling */
.article-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: none;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.article-img-container {
    position: relative;
    overflow: hidden;
}

.article-img {
    transition: transform 0.5s ease;
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.article-card:hover .article-img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #1B71A1, #283779);
    color: white;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.article-content {
    padding: 20px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    height: 54px;
    transition: color 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.2px;
}

a:hover .article-title {
    color: #1B71A1;
}

.article-author {
    color: #555;
    font-size: 14px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.article-author i, .article-author svg {
    margin-right: 8px;
    color: #1B71A1;
    width: 16px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    font-size: 14px;
}

.article-date {
    color: #777;
    font-size: 13px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.article-date i, .article-date svg {
    margin-right: 13.2px;
    color: #1B71A1;
    width: 16px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    font-size: 13px;
}

.article-meta {
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Page header */
.page-header {
    padding: 30px 0;
    margin-bottom: 50px;
    position: relative;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Pagination styling */
.pagination-container {
    margin-top: 50px;
    margin-bottom: 70px;
}

.pagination {
    justify-content: center;
}

.pagination .page-item .page-link {
    color: #1B71A1;
    border-radius: 8px;
    margin: 0 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 10px 18px;
    border: 2px solid #dee2e6;
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.pagination .page-item.active .page-link {
    background: #1B71A1;
    border-color: #1B71A1;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(27, 113, 161, 0.4);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link:hover {
    background-color: #1B71A1;
    color: #ffffff;
    border-color: #1B71A1;
}

.pagination .page-item .page-link:hover {
    background-color: #f0f7fc;
    border-color: #1B71A1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 113, 161, 0.2);
}

.pagination .page-item.disabled .page-link {
    color: #aaa;
    background-color: #f8f9fa;
    border-color: #eee;
}