	/* slider show */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: Arial, sans-serif;
    }

    .slider-container {
        width: 100%;
        max-width: 600px;
        margin: 50px auto;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .slide-wrapper {
        display: flex;
        transition: transform 0.5s ease;
    }

    .slide {
        min-width: 100%;
        transition: opacity 0.5s ease;
    }

    .slide img {
        width: 100%;
        border-radius: 10px;
    }

    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        padding: 10px;
        cursor: pointer;
        border-radius: 11%;
        z-index: 10;
    }

    .arrow:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

    .arrow-left {
        left: 10px;
    }

    .arrow-right {
        right: 10px;
    }


    .half-screen-bg {
        height: 650px; /* ปรับตรงนี้ตามต้องการ */
        background-image: url('../../images/section-bg-1.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    

    .footer-banner-full {
        width: 100vw;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    
    .footer-banner-full img {
        width: 100vw;
        max-width: none;
        display: block;
    }

    img {
        pointer-events: none;
        user-select: none;
      }


/******************************/
/* page style */
/******************************/

/* การตั้งค่าพื้นที่หลัก */
.page-news-main {
    background-color: #ffffff;
    padding: 20px 0;
}


/* การตั้งค่าสำหรับแต่ละหน้า */
.page-news {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    padding: 20px;
    /* transition: transform 0.3s ease; */
}

/* เพิ่มเอฟเฟกต์เมื่อ hover */
/* .page:hover {
    transform: translateY(-5px);
} */

/* การจัดการ header ของ page */
.page-news-header {
    background-color: #f6f5f5;
    padding: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom: 20px;
}

/* การจัดการ title */
.page-news-header h3 {
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: 28px;
    color: #333;
    margin-bottom: 0;
    font-weight: 700; /* ให้หัวข้อเป็นตัวหนา */
}


/* การจัดการข้อความในส่วน body */
/* .page-body {
    padding: 20px 0;
} */

.page-news-text {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
}

/* การจัดการสำหรับจำนวนการเข้าชม */
.text-muted {
    color: #888;
}

.fa-eye {
    margin-right: 5px;
}

/* การจัดการปุ่มแชร์ Facebook */
.fb-share-button {
    /* margin-top: 10px; */
    text-align: right;
}

/* ความสามารถในการปรับขนาดของหน้าจอ */
@media (max-width: 768px) {
    .page-header h3 {
        font-size: 24px;
    }

    .page-text {
        font-size: 14px;
    }

    .fb-share-button {
        text-align: left;
        margin-top: 0;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.pagination .page-item {
    margin: 0 3px;
}

.pagination .page-link {
    padding: 6px 12px;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #007bff;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background-color: #f2f2f2;
    border-color: #ccc;
    text-decoration: none;
    color: #0056b3;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    font-weight: bold;
}
