:root {
    --primary-blue: #3661bd;
    --primary-default-blue: #265ECA;
    --text-black: #1F2124;
    --text-white: #FFFFFF;
    --bg-gray: #f2f4f6;
    --header-height: 90px;
    --font-family: 'Poppins', sans-serif;
    --text-black-default: #000000;
    --text-footer-gray: #333333;
    --font-size-default: 17px;
    --font-size-small: 14px;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
}

/* hr-text-under-navbar */
.element-hr {
    margin-top: var(--header-height); 
    background-color: var(--text-white); 
    width: 100%;
    height: 45px;
    padding: 20px 0; 
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2em;
}

.element-hr-text {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px; 
}

.breadcrumbs {
    display: flex;
    align-items: center;
    font-size: 14px; 
    font-weight: var(--font-bold); 
    color: var(--text-black);
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--text-black-default);
    transition: color 0.2s;
    height: 20px;
}

.breadcrumbs a:hover {
    color: var(--primary-blue);
}

.separator {
    margin: 0 8px; 
    color: #666; 
}

.element-hr-text-page {
    font-weight: var(--font-medium);
    color: var(--text-black-default);
    font-size: 14.5px;
}

@media (max-width: 600px) {
    .element-hr-text {
        padding: 0 20px;
    }
}

.news-section {
    width: 100%;
    background-color: #fff;
    padding: 100px 0;
}

.news-container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
}

.news-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-section-title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    font-family: sans-serif;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
    margin-bottom: 50px;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%; 
}

.news-card {
    display: flex;
    flex-direction: column;
    background-color: #f0f2f5; 
    height: 100%; 
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent; 
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.news-card-link:hover .news-card {
    border-color: #3661bd;
}

.news-img-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0; 
    background-color: #ddd; 
}

.news-img {
    width: 100%;
    height: 100%;
    /* height: auto; */
    object-fit: cover; 
    transition: transform 0.5s ease;
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom: 10px;
    
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em; 
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

.news-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.page-link.active {
    background-color: #000;
    color: #fff; 
    border-color: #000;
}

.page-link:hover:not(.active) {
    background-color: #f5f5f5;
}

@media (max-width: 1200px) {
    .news-grid { grid-template-columns: repeat(3, 1fr); }
}

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

@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-img-box { height: 200px; }
}

.element-hr { margin-top: var(--header-height); background-color: var(--text-white); width: 100%; height: 45px; padding: 20px 0; display: flex; align-items: center; font-family: 'Poppins', sans-serif; }
.element-hr-text { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 30px; }
.breadcrumbs { display: flex; align-items: center; font-size: 14px; font-weight: 700; color: #000; }
.breadcrumbs a { text-decoration: none; color: #000; transition: color 0.2s; }
.separator { margin: 0 8px; color: #666; }