@media (max-width: 1900px) {
    .banner_footerObject {
        bottom: -150px;
    }
}

@media (max-width: 1700px) {
    .newspage_listMainLayout {
        position: relative;
        width: 100%;
        max-width: 991px;
    }

    .newspageMemuSettingLayout {
        max-width: 991px;
    }

    .newspageCardMainLayout.horizontal .newspageCardImg {
        width: 450px;
        min-width: 450px;
        height: 250px;
        min-height: 250px;
    }

    .newspageCardMainLayout.horizontal {
        height: fit-content;
    }

    .newspageMemuSlideLayout {
        right: 75px;
        width: 160px;
        min-width: 160px;
    }

    .newspageMemuSlide_object {
        position: absolute;
        top: -45px;
        width: 70px;
    }
}

@media (max-width: 1600px) {

    .banner_monster01 {
        width: 1600px;
    }

    .banner_footerObject {
        bottom: -10px;
        width: 1600px;
    }

    .banner_object01 {
        width: 1600px;
        left: 0;
    }
}

@media (max-width: 1420px) {
    .newspage_listMainLayout {
        position: relative;
        width: 100%;
        max-width: 800px;
    }

    .newspageMemuSettingLayout {
        max-width: 800px;
    }

    .newspageCardMainLayout.horizontal .newspageCardImg {
        width: 300px;
        min-width: 300px;
        height: 170px;
        min-height: 170px;
    }

    .newspageCardContent h5 {
        font-size: 20px;
        line-height: 22px;
    }

    .newspageCardContent a h6 {
        font-size: 16px;
        line-height: 20px;
    }

    .newspageCardContent p {
        font-size: 14px;
        line-height: 18px;
    }
}

@media (max-width: 1330px) {
    .navbar_menu {
        min-width: 125px;
        font-size: 20px;
        line-height: 20px;
    }

    .navbar_menu.xl {
        width: fit-content;
        min-width: 150px;
    }

    .navbar_Logo {
        width: 120px;
        top: 110px;
    }

    .navbar_soicalMainLayout {
        top: 110px;
    }
}

/* ≤ 1200px (xl และต่ำกว่า) */
@media (max-width: 1199.98px) {


    .newsDashboard_tab {
        min-width: fit-content;
    }

    .newsDashboard_tab {
        font-size: 14px;
    }

    .listContent {
        font-size: 16px;
        height: 30px;
    }

    .listContent #newsDate {
        font-size: 11px;
    }

    .newDashboard_SlideMainLayout {
        width: 473px;
        min-width: 473px;
    }

    .newsDashbard_slideImg {
        height: 350px;
    }

    .newsDashboard_listContent {
        height: 350px;
    }

    .newsDetail_contentMainLayout {
        width: 95%;
    }

    .newspageCardMainLayout.vertical {
        display: flex;
        min-width: 300px;
        max-width: 300px;
        height: 390px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .newspageMemuSlideLayout {
        display: none;
    }

    .newspageMemuSettingLayout {
        justify-content: space-between;
        gap: 5px;
        align-items: end;
    }

    .newspageMemuSlideLayout.mobile {
        display: flex;
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
        width: 100%;
        padding: 0;
        background: transparent;
        border: 0px solid transparent;
    }

    .newspageMemuSlide_searchLayout {
        padding-top: 0px;
    }

    .newspageMemuSlide_menuLayout {
        flex-direction: row;
        padding: 0px;
        border-radius: 10px;
        border: 0px dashed transparent;
        gap: 5px;
    }

    .news-empty-state {
        height: 300px !important;
    }

    .newspageMemuSlide_menuLayout hr {
        display: none;
    }

    .newspageMemuSlide_menuMainLayout {
        width: 100%;
        height: 100%;
        padding: 0;
        background: transparent;
        border: 0px solid transparent;
        border-radius: 10px;
    }

    .newspageMemuSlide_menu {
        width: fit-content;
        border-radius: 20px;
        background: #fdfdeb73;
        border: 2px solid #47882e8a;
    }

    .newspageMemuSlide_menu:hover,
    .newspageMemuSlide_menu.active {
        width: fit-content;
        border-radius: 20px;
        background: #fdfdeb;
        border: 2px solid #47882e;
        color: #000;
    }

    /* =========================
   Popup Button
========================== */

    .popupButton {
        width: 130px;
    }

    .popupButton.first {
        bottom: 120px;
        right: 20px;
    }

    .newspageCardImg {
        height: 154px;
        min-height: 154px;
    }
}

/* ≤ 992px (lg และต่ำกว่า) */
@media (max-width: 991.98px) {
    .navbar_Logo {
        top: 20px;
    }

    .banner_characterMain {
        transform: translate(-50%, -60%);
        width: 600px;
    }

    .banner_footerObject {
        bottom: -20px;
        width: 1500px;
    }

    .banner_monster01 {
        width: 1400px;
    }

    /* ---- nav ----  */
    .navbar_mainLayout {
        display: none;
    }

    .navbar_soicalMainLayout #pc,
    .menu_pc {
        display: none;
    }

    .offcanvas.offcanvas-top {
        background: transparent;
        top: 10px;
        height: fit-content;
        padding: 0px 20px;
    }

    .navbar_offcanvas {
        min-height: 70px;
        height: 100%;
        /* max-height: 70px; */
        top: 10px;
        width: 100%;
        margin: 0 auto;
        border-radius: 20px;
        padding: 20px 20px;

        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;

        background: #1d1d1d;
        border: 2px solid #cccccc;
        box-shadow: inset 1px 1px 10px 5px #0b0b0b;
    }

    .navbar_offcanvas #menu {
        width: 100%;
    }

    .navbar_menu {
        min-width: 100%;
        width: 100%;
        min-height: 40px;
        padding-bottom: 8px;

        font-size: 17px;
        line-height: 17px;
    }

    .navbar_menu.xxl,
    .navbar_menu.xl {
        min-width: 100% !important;
        width: 100% !important;
    }

    .bannerMainLayout {
        margin-bottom: 50px;
    }

    .navbar_menu:hover,
    .navbar_menu.active {
        color: #ffffff;
        text-shadow: 2px 2px 0 #633f13, -2px 2px 0 #633f13, 2px -2px 0 #633f13, -2px -2px 0 #633f13, 2px 0 0 #633f13, -2px 0 0 #633f13, 0 2px 0 #633f13, 0 -2px 0 #633f13;
        background: #fed250;
        border: 2px solid #633f13;
        box-shadow: inset 1px -2px 1px 1px #d7a81a, inset 2px 2px 1px 1px #ffffff80;

        border-radius: 10px;
    }

    .navbar_menuhr {
        width: 100%;
        height: 2px;
        border-radius: 5px;
        background: #ffbf004a;
    }

    .soical_menu {
        width: 40px;
        height: 40px;
    }

    .soical_menu img {
        width: 25px;
        height: 25px;
    }

    .navbar_soicalMainLayout {
        top: 20px;
        right: 10px;
    }

    .navbar_Logo {
        width: 90px;
    }



    .btn {
        width: 200px;
        min-width: 200px;
        height: 43px;
    }

    .btn span {
        font-size: 18px;
        line-height: 18px;
    }

    .newsDashboard_dot {
        width: 28px;
        height: 10px;
    }

    .newDashboard_SlideMainLayout {
        width: 300px;
        min-width: 300px;
    }

    .newsDashbard_slideImg {
        height: 200px;
    }

    .newspageCardImg {
        width: 100%;
        height: 150px;
        min-height: 150px;
    }

    .newspageCardContent {
        width: 100%;
        height: 180px;
    }

    .newspageCardMainLayout.vertical {
        height: fit-content;
    }

    .newspageCardContent h5 {
        font-size: 18px;
        line-height: 18px;
    }

    .newspage_highlightMainLayout {
        flex-wrap: wrap;
    }

    .newspageMainLayout {
        position: relative;
        width: 100%;
        min-height: 100dvh;
        padding-top: 110px;
        display: flex;
        flex-direction: column;
    }

    .newspageCardContent p {
        display: none;
    }

    .newspageCardContent {
        width: 100%;
        height: 100px;
    }

    .newspage_highlightMainLayout {
        width: 100%;
        min-height: 500px;
        padding: 40px 10px;
    }

    .newspageCardMainLayout.horizontal .newspageCardContent {
        height: 100%;
    }

    .newspageCardMainLayout.horizontal .newspageCardContent p {
        display: block;
    }


    .newspageCardMainLayout.horizontal {
        width: 100%;
        max-width: 100%;
        height: fit-content;
    }

    .popupButton.first {
        bottom: 280px;
        right: 20px;
    }
}

/* ≤ 768px (md และต่ำกว่า) */
@media (max-width: 767.98px) {
    .bannerContent_countLayout {
        width: 75px;
        height: 85px;
        font-size: 70px;
        line-height: 50px;
    }

    .bannerContent_countLayout span {
        padding-bottom: 15px;
        padding-left: 5px;
    }

    .btn {
        width: 180px;
        min-width: 180px;
        height: 38px;
    }

    button.btn.primary#acceptCookies {
        padding-bottom: 15px;
    }

    .modal-dialog {
        padding: 30px 0px;
    }

    .newsDashboardMainLayout {
        flex-direction: column;
        align-items: center;
    }

    .newDashboard_SlideMainLayout {
        width: 432px;
        min-width: 432px;
    }

    .newsDashbard_slideImg {
        height: 320px;
    }

    .newsDetail_btnNews {
        width: 220px;
    }

    .newsDetail_btnNews small {
        width: 120px;
    }

    /* .newsDetail_coverTitle {
        height: 400px;
    } */

    .newsDetail_coverTitleLayout span {
        font-size: 35px;
        line-height: 45px;
        font-weight: 600;
    }

    .rankingTabUpdateDate span {
        font-size: 15px;
        text-transform: uppercase;
    }

    .rankingContentMainLayout {
        gap: 5px;
        padding: 10px;
    }

    .rankingTabMenuLayout {
        gap: 5px;
    }

    .rankingtab {
        border-radius: 10px;
    }

    .rankingtab {
        font-size: 13px;
        min-height: 35px;
    }

    .rankingtab.active,
    .rankingtab:hover {
        min-height: 40px;
        padding: 5px 20px;
        font-size: 15px;
        color: #ffffff;
        background: #349641;
    }

    .rankingTabContentMainLayout {
        border-radius: 30px;
    }

    .bannerContentMainLayout {
        flex-direction: column;
    }

    .btn.topup {
        width: 460px;
        min-width: 460px;
        height: 59px;
        padding: 5px 10px;

        background: url("../images/button/button_primary_02.png");
        background-position: center;
        background-size: cover;
        filter: drop-shadow(1px 3px 1px #000000e1);
        color: #84510a;
        border: 0px solid;

        transition: all 0.5s;
    }

    .bannerMainLayout {
        padding-bottom: 20px;
    }

    .popupButton {
        display: none;
    }

}

/* ≤ 576px (sm และต่ำกว่า — mobile เล็กสุด) */
@media (max-width: 575.98px) {

    /* ---- button ----  */
    .btn.xxxl {
        width: 350px;
        min-width: 350px;
        height: 45px;
        padding: 0px 20px;
    }




    .bannerContent_btnTitle {
        font-size: 40px;
    }

    .modal_contentLayout {
        padding: 45px 20px;
    }

    .btn.modal_close {
        width: 35px;
        min-width: 35px;
        height: 35px;
        font-size: 20px;
        padding: 0;
    }

    input[type="radio"]+label {
        padding-left: 40px;
        font-size: 18px;
        width: 100px;
    }

    .bannerContent_countLayout {
        width: 45px;
        height: 65px;
        font-size: 50px;
        line-height: 40px;
    }

    .bannerContent_countLayout span {
        padding-bottom: 7px;
        padding-left: 4px;
    }

    .bannerContent_title {
        text-shadow: 3px 3px 0 #11193b, -3px 3px 0 #11193b, 3px -3px 0 #11193b, -3px -3px 0 #11193b, 3px 0 0 #11193b, -3px 0 0 #11193b, 0 3px 0 #11193b, 0 -3px 0 #11193b;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-family: "ZFTERMIN_", sans-serif;
        font-size: 40px;
        line-height: 40px;
    }

    .banner_footerObject {
        bottom: -0px;
        width: 1200px;
    }


    .newsDashboard_listTabLayout {
        display: none;
    }

    .newsDashboard_listTabLayout_mb {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .newsDashboard_listTabLDropdown {
        width: 120px;
        height: 30px;
        padding: 2px 10px;
        border-radius: 5px;
        border: 1px solid transparent;
        background: #fdfdeb;

        display: flex;
        align-items: center;
        justify-content: space-between;

        font-size: 13px;
        line-height: 13px;
        font-weight: 800;
        text-transform: uppercase;
        transition: all 0.5s;
        color: #4a4a4a;
    }

    .newsDashboard_listTabLDropdown i {
        padding-bottom: 3px;
    }

    .newsDashboard_dropdownmenu {
        width: 100%;
        height: 35px;
        padding: 5px 10px;
        display: flex;
        align-items: center;
        text-transform: uppercase;

        font-size: 13px;
    }

    .newsDashboard_dropdownmenu.active {
        background: #fdfdeb;
        font-weight: 600;
    }


    .newDashboard_SlideMainLayout {
        width: 300px;
        min-width: 300px;
        gap: 15px;
        margin-bottom: 20px;
    }

    .newsDashbard_slideImg {
        height: 222px;
    }

    .newsDashboard_listContent {
        height: 100%;
        min-height: 350px;
    }

    .listContent {
        font-size: 14px;
        line-height: 15px;
        min-height: 30px;
        height: 100%;
        flex-direction: column;
        align-items: start;
        text-align: start;
    }

    .newsDetail_btnNews small {
        display: none;
    }

    .newsDetail_btnNews {
        width: 120px;
    }

    .newsDetail_btnNewsImg {
        width: 100%;
    }

    .newsDetail_contentSubLayout {
        padding: 40px 20px;
    }

    .pr_storeLayout {
        min-width: 180px;
        width: 180px;
        height: 60px;
    }

    .pr_storeLayout h6 {
        line-height: 16px;
        font-size: 16px;
        color: #fff;
        text-align: start;
    }

    .pr_storeLayout h4 {
        line-height: 20px;
        font-size: 20px;
        font-weight: 400;
        color: #fff;
    }

    .store_logo {
        width: 30px;
        min-width: 30px;
    }

    .bannerContentMainLayout {
        height: 100%;
    }

    .btn span {
        font-size: 13px;
        line-height: 12px;
        text-shadow: 1px 1px 0 #633f13, -1px 1px 0 #633f13, 1px -1px 0 #633f13, -1px -1px 0 #633f13, 1px 0 0 #633f13, -1px 0 0 #633f13, 0 1px 0 #633f13, 0 -1px 0 #633f13;
    }

    .rankingTabMenuLayout {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        min-height: 60px;
    }

    .rankingTabUpdateDate {
        position: relative;
        right: 0px;
        width: fit-content;
        min-height: 40px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0px;
        margin-bottom: 5px;
    }

    .rankingTabContentLayout {
        width: 100%;
        background: #fdfdeb;
        border-radius: 35px;
        padding: 10px;
        border: 5px solid #22702d;
    }

    .newspageCardMainLayout.horizontal .newspageCardImg {
        width: 200px;
        min-width: 200px;
        height: 170px;
        min-height: 170px;
    }

    .btn.xxl,
    .btn.topup {
        width: 370px;
        min-width: 370px;
        height: 47px;
        padding: 0px 5px;
    }

    .newspageCardMainLayout.horizontal .newspageCardContent p {
        display: none;
    }

    .newspage_listMainLayout {
        position: relative;
        width: 100%;
        max-width: 800px;
        min-height: 100%;
        max-height: 100% !important;
    }

    .newspageCardMainLayout.horizontal {
        width: 100%;
        max-width: 100%;
        height: fit-content;
        flex-direction: column;
    }

    .newspageCardMainLayout.horizontal .newspageCardImg {
        width: 100%;
        min-width: 100%;
        height: 170px;
        min-height: 170px;
    }

    .newspageCardMainLayout.horizontal .newspageCardContent {
        height: 100%;
        gap: 10px;
    }
}


@media (max-width: 480px) {
    #toggleLayoutBtn {
        display: none;
    }
}

@media (max-width: 440px) {


    .banner_footerObject {
        bottom: 20px;
        width: 1000px;
    }

    .banner_characterMain {
        transform: translate(-50%, -60%);
        width: 450px;
    }

    .banner_monster01 {
        width: 1000px;
    }
}

@media (max-width: 420px) {}

@media (max-width: 420px) {

    /* ---- button ----  */
    .btn.xxxl {
        width: 100%;
        min-width: 100%;
        height: 100%;
        min-height: 50px;
        padding: 10px 20px;
        border-radius: 50px;
    }

    .if_countImg {
        display: none;
    }

    .offcanvas-body {
        padding: 0px;
    }
}

@media (max-width: 380px) {
    .banner_footerObject {
        display: none;
    }

    .offcanvas.offcanvas-top {
        padding: 0px 10px;
    }

    .newsDetail_btnNews {
        width: 80px;
    }

    .newspageMemuSlide_menuLayout {
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn.sm {
        width: 140px;
        min-width: 140px;
        height: 30px;
        display: flex;
    }

    .btn.sm span {
        font-size: 13px;
        line-height: 12px;
        text-shadow: 1px 1px 0 #633f13, -1px 1px 0 #633f13, 1px -1px 0 #633f13, -1px -1px 0 #633f13, 1px 0 0 #633f13, -1px 0 0 #633f13, 0 1px 0 #633f13, 0 -1px 0 #633f13;
    }

    .btn.xxl,
    .btn.topup {
        width: 100%;
        min-width: 100%;
        height: 47px;
        padding: 0px 5px;
        border-radius: 30px;
    }

    .bannerMainLayout {
        position: relative;
        width: 100%;
        min-height: 80dvh;
    }
}

@media (max-width: 350px) {
    .newDashboard_SlideMainLayout {
        display: none;
    }
}