.news {
    background-color: #ffffff;
    padding-bottom: 40px;
    background-image: var(--news-bg-left), var(--news-bg-right);
    background-position: left bottom, right bottom;
    background-repeat: no-repeat, no-repeat;
    background-size: auto 60%, auto 70%;
}

.news-inside {
    padding: 40px 0;
}

.news-title {
    font-family: Playfair Display;
    font-size: 24px;
    font-weight: 400;
    color: #0F2A5F;
    text-transform: uppercase;
    padding-bottom: 40px;
    text-align: center;
}

.news-list-card {
    padding: 12px;
    background-color: #ffffff;
    overflow: hidden;
    height: 100%;
}

.news-list-card a{
    text-decoration: none;
    color: #0F2A5F;
}

.news-list-card img {
    height: 255px;
    width: 100%;
    object-fit: cover;
    padding-bottom: 16px;
    transition: transform 0.3s ease;
}

.news-list-card:hover img{
    transform: scale(1.02);
}

.news-list-card:hover{
    background-color: #f8f7f7;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.news-placeholder-image {
    height: 255px;
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.news-placeholder-image i {
    font-size: 48px;
    color: #0F2A5F;
    opacity: 0.6;
}

.news-list-card:hover .news-placeholder-image {
    transform: scale(1.02);
}

.news-detail-placeholder-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    border-radius: 12px;
}

.news-detail-placeholder-image i {
    font-size: 72px;
    color: #0F2A5F;
    opacity: 0.6;
}

.news-list-card div {
    display: flex;
    gap: 10px;
    padding-bottom: 16px;
    align-items: center;
}

.news-list-card h1 {
    font-family: Inter;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    color: #333333;
    padding-bottom: 16px;
    white-space: nowrap; /* Không cho xuống dòng tự động */
    overflow: hidden; /* Ẩn text bị tràn */
    text-overflow: ellipsis; /* Thêm dấu ba chấm nếu text bị tràn */
    /* display: -webkit-box; */
    -webkit-line-clamp: 2; /* Giới hạn text chỉ hiển thị 2 dòng */
    -webkit-box-orient: vertical;
}

.news-list-card div p {
    padding-bottom: 0;
}

.news-list-card p {
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    color: #0F2A5F;
    padding-bottom: 16px;
    white-space: nowrap; /* Không cho xuống dòng tự động */
    overflow: hidden; /* Ẩn text bị tràn */
    text-overflow: ellipsis; /* Thêm dấu ba chấm nếu text bị tràn */
    /* display: -webkit-box; */
    -webkit-line-clamp: 2; /* Giới hạn text chỉ hiển thị 2 dòng */
    -webkit-box-orient: vertical;
}

.news-list-card .news-button {
    font-family: Lato;
    font-size: 16px;
    font-weight: 900;
    text-align: left;
    color: #1e5bb8;
    border: none;
    background: none;
    display: flex;
    align-items: center;
}

.related-news{
    padding-top: 40px;
}

.news-detail {
    background-color: #ffffff;
}

.news-detail-inside{
    padding: 32px 0 ;
}

.news-detail-inside h1{
    font-family: Inter;
font-size: 32px;
font-weight: 500;
line-height: 38.73px;
text-align: left;
color: #000000;
padding-bottom: 16px;
}

.news-detail-time{
    display: flex;
    gap: 10px;
    padding-bottom: 16px;
    align-items: center;
    padding-bottom: 24px;
}

.news-detail-inside img{
    width: 100%;
    padding-bottom: 24px;
}

.url-detail-title {
    padding: 20px 0;
    /* background-color: #f8f8f8; Màu nền nhẹ nhàng cho breadcrumb */
}

.url-detail-title .container p {
    margin-bottom: 0;
    font-size: 16px;
    color: #0F2A5F; /* Màu chữ cho phần không phải link */
}

.url-detail-title .container p a {
    color: #1e5bb8; /* Màu xanh dương đậm cho link */
    text-decoration: none;
}

.url-detail-title .container p a:hover {
    text-decoration: underline; /* Gạch chân khi hover */
}

@media (max-width: 570px) {
    .news-list-card {
        margin-bottom: 20px;
    }

    .news {
        padding-bottom: 0px;
    }
}