     .container-news-page {
        max-width: 100%;
        width: 100% !important;
        padding: 0 40px; 
    }
    .news-layout {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        
    }

    .sidebar {
        flex: 0 0 280px;
        max-width: 250px;
        background-color: transparent;
    }

    .sidebar .search-box {
        background-color: #e3e3e3
        padding: 10px 15px;
        border-radius: 5px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }

    .sidebar .search-box input {
        border: none;
        background: transparent;
        outline: none;
        width: 100%;
        margin-left: 10px;
    }

    .sidebar .categories-title {
        font-weight: 700;
        font-size: 20px;
        margin-bottom: 10px;
        color: #000000

    }

    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sidebar li {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

    .sidebar a {
        color: #ff6600;
        text-decoration: none;
        font-weight: 500;
    }

    .news-content-area {
        flex: 1;
        min-width: 0;
    }

    /* ยืม CSS ที่เราทำก่อนหน้า */
    .news-entry {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    .news-date {
        background-color: #8BC500;
        color: white;
        text-align: center;
        font-weight: bold;
        padding: 10px 15px;
        border-radius: 4px;
        min-width: 60px;
    }

    .news-date .day {
        font-size: 22px;
    }

    .news-date .month-year {
        font-size: 14px;
    }

    .news-img {
        max-width: 30vh;
        width: 100%;
        border-radius: 4px;
        object-fit: cover;
    }

    .news-text {
        flex: 1;
    }

    .news-title {
        font-weight: 800;
        font-size: 20px;
        margin-bottom: 5px;
        color: #000000;
    }

    .news-category {
        font-size: 14px;
        color: #8BC500;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .news-content {
        font-size: 15px;
        color: #272727
    }

    @media (max-width: 768px) {
        .news-layout {
            flex-direction: column;
        }

        .sidebar {
            max-width: 100%;
        }

        .news-entry {
            flex-direction: column;
        }

        .news-img {
            max-width: 100%;
        }
    }
    .news-img-detail {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
}