
h3.blog__title-10 {
    overflow: hidden;
    height: 48px;
}

.blog__breadcrumb-item {
    background-size: cover;
    position: relative;
}

    .blog__breadcrumb-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
        /*filter: blur(5px);*/
        z-index: -1;
        /* background: linear-gradient(to bottom, rgba(7, 3, 3, 0.3) 0%, rgba(7, 5, 5, 0.7) 100%); */
    }

.modalx {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-49%, -50%);
    padding: 20px;
    border-radius: 10px;
    z-index: 100;
}

    .modalx img {
        /*width: 840px;*/
        height: auto;
        display: block;
        height: 473px;
        z-index: 2;
        filter: brightness(80%);
    }

.container {
    z-index: 101;
}
/* Media query สำหรับ Samsung Galaxy S8 */
@media only screen and (max-width: 360px) and (max-height: 740px) {
    .blog__breadcrumb-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*backdrop-filter: blur(5px);*/
        /*filter: blur(5px);*/
        z-index: -1;
        background: linear-gradient(to bottom, rgb(3 2 2 / 42%) 0%, rgba(7, 5, 5, 0.7) 100%)
    }
    /* เพิ่มสไตล์ CSS ที่คุณต้องการให้แสดงบน Samsung Galaxy S8 หรืออุปกรณ์ที่มีขนาดหน้าจอคล้ายกัน */
    .modalx img {
        width: 376px;
        height: auto;
        /* display: block; */
        height: auto;
        z-index: 2;
        filter: brightness(80%);
    }

    .modalx {
        position: fixed;
        /* top: 47%; */
        left: 0px;
        transform: translate(0%, -50%);
        padding: 0px;
        border-radius: 10px;
        z-index: 100;
    }
}

@media only screen and (max-width: 575px) {
    .blog__breadcrumb-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*backdrop-filter: blur(5px);*/
        /*filter: blur(5px);*/
        z-index: -1;
        background: linear-gradient(to bottom, rgb(3 2 2 / 42%) 0%, rgba(7, 5, 5, 0.7) 100%)
    }

    .modalx {
        position: fixed;
        /* top: 47%; */
        left: 0px;
        transform: translate(0%, -50%);
        padding: 0px;
        border-radius: 10px;
        z-index: 100;
    }

        .modalx img {
            width: 428px;
            height: auto;
            /* display: block; */
            height: auto;
            z-index: 2;
            filter: brightness(80%);
        }
}
/* Media query สำหรับ iPad */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .blog__breadcrumb-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*backdrop-filter: blur(5px);*/
        /*filter: blur(5px);*/
        z-index: -1;
        background: linear-gradient(to bottom, rgb(3 2 2 / 42%) 0%, rgba(7, 5, 5, 0.7) 100%)
    }

    .modalx {
        position: fixed;
        top: 49%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0px;
        border-radius: 0px;
        z-index: 100;
    }

        .modalx img {
            width: 600px;
            height: auto;
            display: block;
            height: auto;
            z-index: 2;
            filter: brightness(80%);
        }
}
/* Media query สำหรับ iPad ที่อยู่ในแนวนอน */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: landscape) {
    .blog__breadcrumb-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*backdrop-filter: blur(5px);*/
        /*filter: blur(5px);*/
        z-index: -1;
        background: linear-gradient(to bottom, rgb(3 2 2 / 42%) 0%, rgba(7, 5, 5, 0.7) 100%)
    }
    /* เพิ่มสไตล์ CSS ที่คุณต้องการให้แสดงบน iPad ที่อยู่ในแนวนอน */
    .modalx {
        position: fixed;
        top: 49%;
        left: 52%;
        transform: translate(-50%, -50%);
        padding: 20px;
        border-radius: 10px;
        z-index: 100;
    }

        .modalx img {
            width: 800px;
            height: auto;
            display: block;
            height: auto;
            z-index: 2;
            filter: brightness(80%);
        }
}






/*------------------- Pagination Container -------------------*/
#paginationContainer {
    text-align: center;
    margin-top: 20px;
}

    /* Pagination Button Style */
    #paginationContainer button {
        padding: 10px 20px;
        background-color: #007bff;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin: 0 5px;
    }

        /* Pagination Button Hover Style */
        #paginationContainer button:hover {
            background-color: #0056b3;
        }

.tp-pagination ul li:not(:last-child) {
    margin-right: 1px;
    margin-right: 5px;
}

div#pagination-numbers {
  /*  display: inline;*/
}
