/* ── หน้ารายละเอียดบทความ (blog-detail) — ยกมาจาก blog_detail.php ของเว็บเดิม
   เอาเฉพาะกฎที่ไม่ซ้ำกับ blog.css (ฟอร์มค้นหา, พื้นหลัง, ปุ่มค้นหา ใช้ของ blog.css)
   หน้านี้จึงโหลด blog.css + blog-detail.css คู่กัน                              */

    /* เว็บเดิมใช้ jQuery เติมคลาส .img-blog ให้รูปทุกรูปใน #blog — ใช้ selector ตรงแทน ไม่ต้องพึ่ง JS */
    @media (max-width: 1199px) {
        #blog img {
            width: 100% !important;
            height: unset !important;
        }
    }

    /* เว็บเดิมสั่ง p ทั้งหน้า ไม่ได้จำกัดแค่เนื้อบทความ — คงไว้ให้เหมือนเดิมทุกจุด */
    p {
        line-height: 35px !important;
    }

    #blog a,
    #blog a:active,
    #blog a:focus {
        color: #ff6701 !important;
    }

    /* รูปในเนื้อหาหมวดข่าวสาร (data/blog-sections.php คีย์ content_class)
       เฉพาะหน้าไทย — en/blog_detail.php ของเว็บเดิมไม่มีกฎนี้ รูปฝั่งอังกฤษจึงไม่มีขอบโค้งและระยะบน-ล่าง */
    html[lang="th"] .news-content p img,
    html[lang="th"] .news-content img {
        max-width: 800px !important;
        border-radius: 10px;
        margin: 15px 0;
    }
