.news-card__content-flex-row {
    display: flex;
    align-items: center;
    gap: 16px; 
    margin-bottom: 24px; /* ระยะห่างระหว่างแถว */
    padding-right: 16px; /* เว้นระยะขวานิดหน่อย */
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center; /*เลือกจุดครอบ center, top, bottom*/
}

.news-card__short-desc{
    background-color: rgba(240, 160, 154, 0.7); /* พื้นหลังโปร่งใสตามโจทย์ */
    border-radius: 12px;
    padding: 24px;
    margin: 0;
    color: var(--text-light);
    transition: var(--transition);
    cursor: pointer;
    min-height: 240px;
    height: 256px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.news-card__content-flex-row, .news-card__content, .crop-image {
    background-color: #fff; /* ต้องมีพื้นหลังสีขาวเพื่อให้เห็นเงาชัด */
    border-radius: 8px;     /* ปรับความมนของขอบ */
    overflow: hidden;       /* ป้องกันภาพล้นขอบมน */
    
    /* สร้างเงาให้ดูลอย (Shadow Effect) */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08); 
    
    /* Transition สำหรับ Hover Effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card__content:hover, .news-card__content-flex-row:hover, .crop-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-card__content-flex-row .news-image {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px 0 0 8px; /* มนเฉพาะด้านซ้ายที่ติดขอบการ์ด */
}

/* --- Section 1: Left Column (ข่าวใหญ่ Featured) --- */
.news-featured {
    position: relative; /* สำคัญ: เพื่อให้ตัวหนังสือลอยทับได้ */
    height: 100%;       /* ยืดเต็มความสูงคอลัมน์ */
    min-height: 400px;  /* กำหนดความสูงขั้นต่ำ */
}

.news-featured .image-container {
    width: 100%;
    height: 100%;       /* รูปต้องเต็มพื้นที่ */
}

.news-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* ครอปรูปให้เต็มพื้นที่โดยไม่เบี้ยว */
}

/* ส่วนข้อความที่ลอยทับรูป (Overlay) */
.news-featured .overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    
    /* Gradient: ไล่สีจากดำโปร่งใสขึ้นไปหาใส */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    
    padding: 30px 24px; /* เพิ่มระยะห่างภายใน */
    color: white;       /* บังคับตัวหนังสือสีขาว */
    z-index: 2;
}

.news-featured h3, 
.news-featured p {
    color: white !important; /* บังคับสีขาว */
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* เพิ่มเงาตัวหนังสือให้อ่านง่ายขึ้น */
}

/* --- Section 2: 3-Column Grid (การ์ดแนวตั้งทั่วไป) --- */
.news-card__content .news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card__content .padding {
    padding: 16px; /* ระยะห่างข้อความภายในการ์ด */
}

.news-card__content h4 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #333; /* สีตัวอักษรปกติ */
}