
        /* --- 🎨 CUSTOM BRANDING COLORS & OVERRIDES --- */
        :root {
            --primary-color: #0f4c81;    
            --primary-hover: #1e609e;
            --accent-color: #f2a900;     
        }

        body { 
            margin: 0;
            padding: 0;
            font-family: 'Sarabun', 
            sans-serif; 
            background-color: #f8f9fa; 

            overflow-x: hidden;
        }
        
        .text-primary-custom { color: var(--primary-color) !important; }
        .bg-primary-custom { background-color: var(--primary-color) !important; color: white; }
        .border-primary-custom { border-color: var(--primary-color) !important; }
        
        .bg-accent-custom { background-color: var(--accent-color) !important; color: #000; }
        .border-accent-custom { border-color: var(--accent-color) !important; }

        /* การแต่ง Navbar */
        .navbar { border-bottom: 4px solid var(--primary-color); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .nav-link { font-weight: 600; color: #1f2937 !important; transition: all 0.3s; }
        .nav-link:hover { color: var(--primary-color) !important; }
        .dropdown-item:hover { background-color: var(--primary-color); color: white !important; }
        
        /* Dropdown แสดงผลเมื่อ Hover (สำหรับ Desktop) */
        @media (min-width: 992px) {
            .nav-item.dropdown:hover .dropdown-menu { display: block; margin-top: 0; }
        }

        /* การ์ดบุคลากร */
        .staff-card { transition: transform 0.3s, box-shadow 0.3s; border: none; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
        .staff-card:hover { transform: translateY(-5px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
        .staff-avatar { width: 100px; height: 100px; object-fit: cover; border: 2px solid #e9ecef; }
                .news-content {
            font-size: 1.15rem;
            line-height: 1.8;
            color: #212529;
        }
        /* ตกแต่งกรอบสำหรับแสดงรูปภาพประกอบข่าว */
        .news-image-container {
            background-color: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 35px;
            text-align: center;
            border: 1px solid #e9ecef;
        }
        .news-image-container img {
            max-height: 450px;
            width: 100%;
            object-fit: contain; /* ป้องกันภาพเสียสัดส่วน */
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        }

        /* ภาพกิจกรรม */
        .gallery-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 8px;
            transition: transform 0.3s;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .gallery-img:hover {
            transform: scale(1.03);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }
        
        /* ตกแต่ง Modal Slideshow ให้ดูพรีเมียมพื้นหลังสีดำ */
        .modal-backdrop.show {
            opacity: 0.9;
        }
        .carousel-modal-img {
            max-height: 85vh; /* ความสูงสูงสุดของรูปไม่เกินหน้าจอ */
            object-fit: contain; /* ป้องกันภาพบิดเบี้ยว */
            margin: 0 auto; /* จัดกึ่งกลาง */
        }
        

        /* Peronnel */
         .profile-card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: #fff;
            padding: 25px 15px;
            text-align: center;
            height: 100%;
        }
        .profile-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        .profile-img {
            width: 140px;
            height: 140px;
            object-fit: cover;
            border-radius: 50%;
            border: 4px solid #f8f9fa;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            margin-bottom: 15px;
        }
        .section-header {
            position: relative;
            margin-bottom: 30px;
            padding-bottom: 10px;
            font-weight: bold;
            color: #2c3e50;
        }
        .section-header::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: #0d6efd;
            border-radius: 2px;
        }
        .dept-header {
            border-left: 5px solid #198754;
            padding-left: 15px;
            margin-top: 50px;
            margin-bottom: 25px;
            font-weight: bold;
            color: #212529;
        }


       