.news-section {
    position: relative;
    padding: 80px 50px;
    background-image: url(../images/bg-tt.png);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    /* Canh giữa theo chiều dọc */
    justify-content: center;
    /* ✅ Canh giữa theo chiều ngang */
    gap: 60px;

    box-sizing: border-box;
}


.vertical-text {
    writing-mode: vertical-rl; /* Thay vì sideways-lr */
    text-orientation: mixed; /* Hiển thị chữ cái đúng hướng */
    font-weight: 900;
    font-size: 50px;
    color: #1463ff;
    text-shadow:
        2px 2px 0 white,
        -2px -2px 0 white,
        2px -2px 0 white,
        -2px 2px 0 white;
    letter-spacing: 2px;
    line-height: 1.1;
    user-select: none;
    white-space: nowrap;
    height: fit-content;
    margin-right: 50px;
}


 .vertical-text-wrapper {
     min-height: 500px;
     /* hoặc 100% nếu bạn cần */
     margin-left: 200px;
     align-items: center;
     justify-content: center;
 }

/* ✅ Khi chiều cao màn hình nhỏ hơn 700px thì thu nhỏ chữ lại */


.news-item {
    flex: 1;
    max-width: 550px;
    color: #0d1228;
}

.news-date {
    font-size: 0.9rem;
    position: relative;
    padding-left: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #0d1228;
}

.date-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #1463ff;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    /* tam giác vuông xanh */
}

.news-date hr {
    border: none;
    border-bottom: 2px solid #1463ff;
    margin-top: 8px;
    width: 100%;
    max-width: 250px;
}

.news-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-description {
    font-size: 1rem;
    margin-bottom: 28px;
    color: #1e2a4a;
    line-height: 1.5;
}

.news-button {
    display: inline-flex;
    align-items: center;
    background: #1463ff;
    color: white;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    gap: 12px;
    box-shadow: 0 6px 12px rgba(20, 99, 255, 0.6);
    transition: background-color 0.3s ease;
}

.news-button:hover {
    background-color: #1046c3;
}

.news-button svg {
    stroke-width: 3;
    transition: transform 0.3s ease;
}

.news-button:hover svg {
    transform: translateX(6px);
}

.news-image {
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, #e3f0ff 0%, #a4c8ff 100%);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(20, 99, 255, 0.4);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(20, 99, 255, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
    .news-section {
        /* Giữ flex-direction: row để giống PC */
        padding: 50px 20px;
        /* Có thể giảm padding cho vừa màn hình nhỏ */
        flex-wrap: wrap;
        /* Cho phép xuống dòng nếu quá nhỏ */
    }

    .vertical-text {
        writing-mode: sideways-lr;
        /* Giữ chữ dọc như PC */
        font-size: 40px;
        /* Có thể giảm cỡ chữ một chút cho vừa */
        margin-left: 100px;
        /* Giảm margin để vừa khít */
    }

    .news-container {
        flex-direction: row;
        /* Giữ ngang, không đổi thành cột */
        gap: 20px;
        /* Giảm khoảng cách */
        flex-wrap: wrap;
        /* Cho phép xuống dòng nếu màn hình rất nhỏ */
    }

    .news-image {
        width: 200px;
        /* Giảm kích thước ảnh cho vừa màn hình nhỏ */
        height: 200px;
    }

    .news-item {
        max-width: 450px;
        /* Giảm max-width */
    }

    .news-container.reverse {
        flex-direction: row-reverse;
        /* Giữ như PC */
    }
}