/* header */
@media screen and (min-width: 1181px) {
    .hide-on-pc {
        display: none;
    }

    .container {
        /* max-width: 100% !important; */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .one-container .site-content {
        padding: 0 !important;
    }

    .mobile-show {
        display: none;
    }

    .font-10px {
        font-size: clamp(4px, 0.8vw, 10px);
    }


    .font-12px {
        font-size: clamp(6px, 0.8vw, 12px);
    }

    .font-14px {
        font-size: clamp(8px, 0.8vw, 14px);
    }

    .font-16px {
        font-size: 16px;
    }

    .font-18px {
        font-size: clamp(16px, 0.8vw, 18px);
    }

    .font-20px {
        font-size: 20px;
    }

    .font-24px {
        font-size: clamp(18px, 1.4vw, 24px) !important;
    }

    .font-28px {
        font-size: clamp(19px, 1.35vw, 28px);
    }

    .font-32px {
        font-size: clamp(24px, 1.45vw, 32px);
    }

    .font-33px {
        font-size: clamp(26px, 1.5vw, 33px);
    }

    .font-36px {
        font-size: clamp(28px, 1.65vw, 36px);
    }

    .font-38px {
        font-size: clamp(30px, 1.75vw, 38px);
    }

    .font-40px {
        font-size: clamp(32px, 1.75vw, 40px);
    }

    .font-44px {
        font-size: clamp(34px, 1.8vw, 44px);
    }

    .font-48px {
        font-size: 48px;
    }

    .font-58px {
        font-size: 58px;
        line-height: 1;
    }

    .font-64px {
        font-size: 64px;
        line-height: 1;
    }

    .font-72px {
        font-size: clamp(56px, 3.8vw, 72px);
    }

    .font-84px {
        font-size: clamp(65px, 4vw, 84px);
    }
    .font-92px {
        font-size: clamp(70px, 4.3vw, 92px);
    }


    .font-114px {
        font-size: clamp(82px, 6.5vw, 114px);
    }

    .font-200px {
        font-size: 200px;
        line-height: 1;
    }

    /* !top-menu---------------------------------------------------------------------------------- */

    div#nav-header-menu {
        background: url(./assets/icon/nav_bg.png) no-repeat 1450px center / contain, linear-gradient(180deg, #fff8f8 70%, #ffffffc2);
        box-shadow: 0px 2px 4px 0px #00000026;
        position: fixed;
        display: flex;
        z-index: 20;
        align-items: center;
        z-index: 100;
        height: 124px;
        /* padding: 0 10%; */
        max-height: 124px;
        width: 100%;
    }

    #nav-header-menu .d-grid.align-content-center.align-center {
        --header-menu-grid-col: auto 1fr;
        --header-menu-padding: 0rem 10%;
        --header-menu-gap: 2rem;
        grid-template-columns: var(--header-menu-grid-col);
        align-items: center;
        gap: var(--header-menu-gap);
        padding: 0 8.5%;
        width: 1440px;
        margin: 0 auto;

    }

    .d-grid.align-content-center.align-center .logo a img {
        max-width: 128px;
    }

    ul#menu-main {
        width: 100%;
        padding-left: 0;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: space-around;
        margin: 0;
        height: 100%;
    }

    p.text-dark.font-w-200.d-flex {
        margin-bottom: 9px;
        justify-content: flex-end;
        padding-right: 20%;
    }



    .menu_side {
        display: grid;
        grid-template-columns: 0.65fr 0.35fr;
        align-items: center;
        gap: 1rem;
        height: clamp(90px, 7.3vw, 100px);

        .menu-flex {
            height: 100%;
        }

        .menu-menu-main-container {
            height: 100%;
            width: 100%;
        }
    }

    .social_contact {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .menu_main_position,
    .menu_main_position ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;

        .menu-main-container{
            width: 100%;
        }
    }

    /* ซ่อน sub-menu */
    .menu_main_position .sub-menu {
        display: none;
        position: absolute;
        top: 82%;
        left: 0;
        min-width: 250px;
        width: max-content;
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 0rem;

        li {
            padding: 8px 1rem;
            display: flex;
            justify-content: center;
            transition: all 0.4s ease-in-out;

            a {
                color: #2D393F !important;
                font-weight: 400 !important;
                transition: all 0.4s ease-in-out;
            }

            &:hover {
                background: #fff;
                transition: all 0.4s ease-in-out;

                a {
                    color: #2F2F2F !important
                }
            }
        }

    }

    /* โครงสร้างเมนูหลักต้องมี relative */
    .menu_main_position li {
        position: relative;
    }

    /* แสดง sub-menu เมื่อ hover */
    .menu_main_position li:hover>.sub-menu {
        display: block;
    }

    /* ลิงก์เมนู */
    .menu_main_position a {
        display: block;
        text-decoration: none;
        transition: 141F31 0.5s ease-in-out;
        color: #2F2F2F;
    }

    .menu_main_position a:hover {
        transform: scale(1.1);
        transition: all 0.5s ease-in-out;
    }

    /* สำหรับ sub-menu ซ้อนหลายชั้น */
    /* .menu_main_position .sub-menu .sub-menu {
        left: 0%;
        top: 0;
    } */

    .menu_main_position .menu-item-has-children>a::after {
        content: url(./assets/logo/down.png);
        width: 9px;
        top: 0;
        left: 100%;
        height: 100%;
        font-size: clamp(12px, 0.8vw, 1rem);
        font-weight: 600;
        margin-left: 8px;
    }


    ul#menu-main li {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
    }

    ul#menu-main li.current-menu-item a {
        color: var(--color-green);
        font-weight: 500;
    }

    ul#menu-main li a {
        color: #2D393F;
        font-size: 16px;
        font-weight: 400;
        display: flex;
        flex-direction: row;
    }

    .nav_contact {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
    }

    .bt {
        width: 170px;
        padding: 0.5rem 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 20px;

        &.green {
            background-color: var(--color-green);
            color: #fff;
        }

        &.deep {
            background-color: var(--color-deep);
            color: #fff;
        }

        &.white {
            background-color: #fff;
            color: var(--color-blue);
        }

        &.trans {
            background-color: transparent;
            color: #ffffff;
        }
    }


    /* !top-menu---------------------------------------------------------------------------------- */


    /* !home ----------------------------------------------------------------------------------*/

    /* *start main_banner*/
    #post-16 .entry-content,
    #post-744 .entry-content,
    #post-751 .entry-content,
    #post-746 .entry-content,
    #post-1060 .entry-content {
        margin-top: 0 !important;
    }

    .main_banner {
        position: relative;
    }
    .main_banner_bg_green{
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 5;
        height: 100%;
        width: 100%;
        background: linear-gradient(90deg, #87C242 32.23%, rgba(135, 194, 66, 0) 53.82%);
    }
    .main_banner_asset{
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 6;
    }

    .main_banner_effect{
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 6;
        height: 220px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    }

    .main_banner_box {
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 7;
        display: flex;
        padding: 0 10%;
        align-items: center;
    }

    .main_banner .swiper-slide--one {
        position: relative;
    }

    /* .main_banner .swiper-slide--one:after {
    content: "";
    position: absolute;
    top: -80%;
    right: -200%;
    width: 50%;
    height: 300%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient( to right, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.13) 77%, rgba(255, 255, 255, 0.5) 92%, rgba(255, 255, 255, 0.0) 100%);
    animation: shine 2s 1s;
    }

    @keyframes shine {
        to {
            opacity: 1;
            right: 210%;
        }
    } */

    .main_banner_text {
        width: clamp(38%, 47vw, 55%);

    }

    .text_group_1 h1 {
        margin-bottom: -15px;
        font-style: italic;
    }

    .text_group_2 {
        margin-top: 2rem;
    }

    .text_group_3 {
        display: flex;
        gap: 1rem;
        align-items: center;
        margin-top: 1rem;
    }
    .text_group_4{
        margin-top: 0.5rem;
    }

    .main_banner_pagination {
        z-index: 100 !important;
        bottom: 0% !important;
    }

    /* *end main_banner*/

    /* *start service*/

    section.service{
        padding: 6rem 0;
    }
    
    .service_title{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .category_swiper{
        position: relative;
        margin: 1.5rem 0;
    }
    .swiper-category{
        a{
            position: relative;

            img{
                width: 100%;
                aspect-ratio: 3 / 4;
                object-fit: cover;
                object-position: center;
                border-radius: 15px;
            }
        }

        .swiper-slide{
            border-radius: 16px;
        }
    }
    .cat_info {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 1.5rem;
    }
    .bd-gardient {
        position: relative;
        border-radius: 16px; /* ปรับความโค้งของมนตามต้องการ */
        
        /* เทคนิค Gradient Border + Border Radius */
        border: 1px solid transparent; /* ความหนาของเส้นขอบ */
        background: 
            linear-gradient(#ffffff, #ffffff) padding-box, /* สีพื้นหลังภายในกล่อง */
            linear-gradient(180deg, #FFFFFF 0%, #87C242 100%) border-box; /* สี Gradient ของเส้นขอบ */
        /* สำหรับตกแต่งเพิ่ม */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* เงาฟุ้งบางๆ แบบในรูป */
    }
    .link_perma {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    .link_perma p {
        border-radius: 20px;
        border: 1px solid var(--color-green);
        background: transparent;
        padding: 0.5rem 1.2rem;
        transition: all 0.5s ease-out;
    }

    /* .link_perma:hover p {
        border-radius: 20px;
        border: 1px solid #3F3A38;
        background: #3F3A38;
        color: #fff;
        padding: 0 2rem;
        transition: all 0.5s ease-out;
    } */

    .shadow_drop{
        box-shadow: 0px 4px 4px 0px #0000001A;
    }
    
    /* *end service*/

    /* *start recommend*/

    section.recommend{
        padding: 3rem 0;
    }

    .recommend_grid{
        margin-top: 2rem;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 2rem;
    }

    /* *end recommend*/

    /* *start cert*/

    section.cert{
        padding: 6rem 0;
        background: linear-gradient(180deg, #FFFFFF 0%, #F9FFF2 100%);
    }
    .logo_border {
        display: grid;
        grid-template-columns: 0.45fr 0.1fr 0.45fr;
        gap: 1.5rem;

        .border_bt{
            border-top: 0.5px solid var(--color-gold-light);
        }

        picture{
            max-width: 162px;
            margin: -25px auto 0;
        }
    }
    .award{
        padding: 4rem 0 2rem;
        position: relative;

        .award_section{
            margin: 3rem 0 ;
        }

        .swiper-review.swiper{
            margin: auto !important;

            img{
                aspect-ratio: 4/3;
                width: 260px;
                object-fit: cover;
            }
        }
    }

    /* *end cert*/

    /* *start tools*/

    section.tools{
        background-color: #2D393F;
        display: flex;
    }

    .tools_slide{
        max-width: 45%;

        .tools-pagination{
            bottom: 20px !important;
        }
    }

    .tools_detail{
        background: url(./assets/mock/tool/tool_asset.png) no-repeat right center / contain;
        padding: 3rem calc(5% + 2rem);
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1.2rem;
        flex: 1;
    }


    /* *end tools*/

    /* *start gallery*/
    
    section.gallery{
        padding: 6rem 0;

        
    }

    .title_border {
        display: grid;
        grid-template-columns: 0.45fr 0.25fr 0.45fr;
        gap: 1.5rem;
        margin-bottom: 2rem;

        .border_bt{
            border-bottom: 0.5px solid var(--color-gold-light);
        }

        picture{
            max-width: 90px;
            margin: 0 auto;
        }

        h2{
            margin-bottom: 0 !important;
            text-align: center;
        }
    }

    .gallery_slide{
        margin-top: 3rem;
        position: relative;
    }
    .gallery_slide_effect_left{
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 130px;
        background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #EBEBEB 85.54%);
        z-index: 6;
    }
    .gallery_slide_effect_right{
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 130px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #EBEBEB 85.54%);
        z-index: 6;
    }

    .gallery_slide_next{
        right: 15px !important;
    }
    .gallery_slide_prev{
        left: 15px !important;
    }

    .gallery_grid {
        display: grid;
        grid-template-columns: 12% 1fr 1fr 1fr 1fr 1fr 12%;
        grid-template-rows: 213px 213px;
        grid-gap: 0.5rem;
        grid-template-areas:
        "i_1 i_1 i_2 i_2 i_3 i_3 i_4"
        "i_5 i_6 i_6 i_7 i_7 i_8 i_8";
    }
    .gallery_item{
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100% !important;
    }
    .gallery_item[item="1"]{
        grid-area: i_1;
    }
    .gallery_item[item="2"]{
        grid-area: i_2;
    }

    .gallery_item[item="3"]{
        grid-area: i_3;
    }

    .gallery_item[item="4"]{
        grid-area: i_5;
    }

    .gallery_item[item="6"]{
        grid-area: i_6;
    }

    .gallery_item[item="7"]{
        grid-area: i_7;
    }

    .gallery_item[item="8"]{
        grid-area: i_8;
    }

    /* *end gallery*/

    /* *start sub_banner*/

    section.sub_banner{
        margin: 6rem 0;
        height: 160px;
        background: url(./assets/banner/home_banner_2.png) no-repeat center / cover;
        display: flex;
        align-items: center;
        
        .banner_detail{
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin: auto 0;
        }
    }


    /* *end sub_banner*/

    /* *start article_sec*/

    section.article_sec{
        margin: 6rem 0;
    }

    .article_sec_grid{
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .article_card{
        border-radius: 5px;
        box-shadow: 0px 2px 2px 0px #00000026 !important;

        img{
            aspect-ratio: 1 / 1;
            object-position: center;
            object-fit: cover;
            width: 100%;
            border-radius: 5px 5px 0 0;
        }

        .article_detail{
            padding: 1rem 1rem 1.5rem 1rem;
            background: #ffffff;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        h3{
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* number of lines to show */
                    line-clamp: 2; 
            -webkit-box-orient: vertical;
            margin-bottom: 0;
        }

        p{
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3; /* number of lines to show */
                    line-clamp: 3; 
            -webkit-box-orient: vertical;
        }
    }

    .post_navigation{
        width: 100%;
    }

    /* *end article_sec*/

    /* *start_review_swiper */

    section.review_swiper{
        position: relative;
        padding: 4rem 0;
        background: url(./assets/banner/home_banner_3.png) no-repeat center / cover;
    }

    .review_swiper_slide {
        position: relative;
        margin: 2rem 0;
    }
    .swiper-review_swiper {
        padding: 4rem 0 2rem !important;
    }
    .card_review {
        background: #FFFFFF;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 400px;
        padding: 1rem 2rem;
        filter: grayscale(50%);
        box-shadow: 0px 2.7px 34.42px 0px #0000001A;
        transition: all 0.5s ease-out;
    }
    .card_review_profile {
        margin-top: -3rem;
        position: relative;
        top: -2rem;
    }
    .card_review_profile img {
        max-width: 150px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 50%;
    }
    .card_review_text p{
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4; /* number of lines to show */
                line-clamp: 4; 
        -webkit-box-orient: vertical;
        margin-bottom: 0;
}
    .swiper-review_swiper .swiper-slide-active .card_review{
        background: #fff;
        filter: grayscale(0%) !important;
        transition: all 0.5s ease-in;
    }
    .review_swiper_social{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    .review_swiper_social_grid{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 10px;
    }

    .bt-social{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .card_review_logo img{
        width: 79px;
    }

    .review_swiper_pagination{
        bottom: 0px !important;
    }

    .review_swiper_pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active{
        background: #FFF !important;
    }


    /* *end_review_swiper */

    /* *start branch*/

    section.branch{
        position: relative;
        padding: 6rem 0;
        background: linear-gradient(180deg, #FFFFFF 0%, #F0F0F0 100%);
    }

    .branch_swiper_slide{
        margin: 2rem 0;
        position: relative;
    }

    .card_branch{
        position: relative;
        display: flex;
        border-radius: 5px;
        max-height: 200px;

        > img{
            max-height: 200px;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            object-position: center;
            border-radius: 5px 0 0 5px;
        }
    }
    .card_branch_detail{
        position: relative;
        background: #fff;
        padding: 1.8rem 1.8rem 1.8rem 1rem;
    }
    .card_branch_flex{
        display: grid;
        grid-template-columns: 25px 1fr;
        align-items: end;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        position: relative;
    }
    .tel_ads{
        position: absolute;
        bottom: calc(10px + 1.8rem);
        right: 1.8rem;
        
        img{
            width: 42px;
            aspect-ratio: 1 / 1;
        }
    }
    .arrow_ads{
        position: absolute;
        top: 1rem;
        right: 1rem;
    }


    /* *end branch*/

    /* *start bottom_banner*/

    section.bottom_banner{
        padding: 5rem 0;
        background: url(./assets/banner/home_banner_4.png) no-repeat center / cover;
        display: flex;
        align-items: center;
        .w-80-center{
            display: flex;
            flex-direction: column;
            gap: 1rem;

            p{
                max-width: 645px;
            }
        }
    }


    /* *end bottom_banner*/

    /* *start */


    /* *end */

    /* !END-home ----------------------------------------------------------------------------------*/

    /* !footer ----------------------------------------------------------------------------------*/
    .footer_section .main_banner_text{
        width: 48%;
    }

    section.footer_main {
        --address-width: 300px;
        --grid-gap: 1rem;
        padding: 2rem 0 0;
        background: #70AD2A;
        margin-top: -10px;
        position: relative;
        z-index: 10;

        .logo_footer {
            display: grid;
            grid-template-columns: 0.45fr 0.1fr 0.45fr;
            gap: 1.5rem;

            .border_bt{
                border-bottom: 0.5px solid var(--color-gold-light);
            }

            picture{
                max-width: 90px;
                margin: 0 auto;
            }
        }

    }

    .footer_main_grid {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: var(--grid-gap);
        margin: 2rem 0;


        div.contact_form_grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.5rem;
        }

        

        .contact-ul{
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }


        ul {
            margin: 0;
            padding-left: 0;
            list-style: none;

            li a {
                color: var(--color-gr);
                font-size: 14px;
                font-weight: 200;
            }
        }

        .footer_main_items {
            display: flex;
            justify-content: center;
            max-width: 25%;

            picture{
                filter: brightness(100);
            }
            .right{
                width: 145px;
                align-self: flex-end;
            }
        }

        .footer_flex_ul {
            display: flex;
            gap: var(--grid-gap);

            ul{
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 0.5rem;

                color: #fff;
            }
        }

        .footer_main_items>div>p {
            padding-bottom: 1rem;
        }
        .footer_room a{
            transition: all 0.5s ease-in-out;

            &:hover{
                color: #000 !important;
                font-weight: 400;
                transition: all 0.5s ease-in-out;
            }
        }

        .footer_social_grid{
            display: grid;
            grid-template-columns: 20px 1fr;
            gap: 0.3rem;
        }

        .footerset {
            flex-direction: column;

            &.menu_main_position{
                justify-content: space-between;
            }
            
            .translate_tab{
                bottom: -12px;
            }
            .trp-shortcode-switcher{
                padding: 0 !important;
            }
        }

        .qr_footer{
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
        }
    }

    .copy_right {
        margin-top: 1rem;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        gap: var(--grid-gap);
        padding: 0.8rem 10%;
        background: #2A2A2A;



        .social_icon {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.25rem;
        }

        a:nth-child(3){
            text-align: right;
        }

    }

    .icon_float{
        position: fixed;
        bottom: 5vh;
        right: 1rem;
        z-index: 110;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        
        .icon a img{
            aspect-ratio: 1;
            transform: translateX(0px);
            transition: all 0.5s ease-in-out ;
        }

        .icon a:hover img{
            transform: translateX(-20px);
            transition: all 0.5s ease-in-out ;
        }
    }

    /* !END-footer ----------------------------------------------------------------------------------*/



    /* !about ----------------------------------------------------------------------------------*/

    /* *start banner*/

    section.banner{
        position: relative;
        >img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .banner_title{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 100px;
    }


    /* *end banner*/

    /* *start about_main*/

    section.about_main{
        padding: 4rem 0 2rem;
    }
    .about_main_grid{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        align-items: start;
        gap: 1.5rem;
        padding-bottom: 2rem;
        &.border_bt-g{
            border-bottom: 1px solid var(--color-green);
        }
    }
    .about_tools{
        padding: 1rem 0 4rem;
    }

    .about_detail{
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: space-evenly;
    }

    .about_text{
        display: flex;
        flex-direction: column;
        gap: 0.5rem;

        ul{
            padding-left: 0;
            margin-top: 1rem;
        }
        li{
            font-size: 16px;
        }
    }

    .bd-l-g{
        border-left: 5px solid var(--color-green);
        padding-left: 1rem;
        margin: 2rem 0;
    }
    .about_info{
        background: url(./assets/banner/about_banner_5.png) no-repeat right 1150px / 50%;
    }

    .about_info_grid{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 1.5rem;
        margin-bottom: 1.5rem;

        ul{
            margin: 0 1rem;
            padding: 0 0 0 1.5rem;
        }

        &.bd_t{
            padding: 4rem 0 2rem;
        }

        .text_group_3{
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 4rem 0 0;
        }
    }

    .top-padding{
        padding-top: 2rem;
    }

    .bd_g{
        border-bottom: 1px solid #E2E2E2;
    }
    .bd_t{
        margin-top: 3rem;
        border-top: 1px solid var(--color-green);
    }
    .about_info_right,.about_info_left{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1rem;
        padding-bottom: 2rem;
    }

    .about_page.cert{
        padding: 2rem 0 4rem !important;
    }



    /* *end about_main*/


    /* *start */    

    .about_page.sub_banner{
        margin: 0 0 3rem;
    }

    .about_page.bottom_banner{
        width: 80%;
        margin: 2rem auto 6rem;
        padding: 3rem;
        background: url(./assets/banner/about_banner_4.png) no-repeat center / cover;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 5px;
        gap: 1rem;
    }
    

    /* *end */

    


    /* !END-about ----------------------------------------------------------------------------------*/

    /* !service ----------------------------------------------------------------------------------*/

    
    /* *start service_page*/

    .service_page.cert{
        padding: 0 0 3rem;
        background: #fff;

        .text_group_3{
            display: flex;
            justify-content: center;
        }

        .award{
            padding: 2rem 0;
        }
    }
    .bd{
        border: 1px solid var(--color-deep);
    }


    /* *end service_page*/

    /* *start service_main*/

    section.service_main{
        padding: 0rem 0 4rem;
    }

    .service_main_grid{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 1rem;
        margin: 1.5rem 0;

        .bd-gardient {
            border-radius: 5px;


            img{
                width: 100%;
                border-radius: 6px;
            }
        }
    }

    /* *end service_main*/

    /* *start service_sec*/

    section.service_sec{
        padding: 3rem 0 3rem;
        
        .text_group_3{
            display: flex;
            justify-content: center;
        }
    }

    .service_sec_grid{
        display: grid;
        grid-template-columns: repeat(5,1fr);
        gap: 50px;
        justify-items: stretch;
        padding: 2rem 0;
    }

    .service_sec_item{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .service_sec_item_icon{
        position: relative;
    }

    .service_sec_item_icon_arrow{
        position: absolute;
        bottom: 48%;
        right: -60px;
    }


    /* *end service_sec*/

    /* *start */


    /* *end */



    /* !END-service ----------------------------------------------------------------------------------*/

    /* !product_sec ----------------------------------------------------------------------------------*/

    section.product_sec{
        padding: 200px 0 6rem;
    }

    .product_sec_flex{
        margin: 2rem 0;
        display: flex;
        gap: 1.5rem;
        width: 100%;
    }

    .bd_b{
        padding-bottom: 1rem;
        border-bottom: 2px solid var(--color-green);
    }

    .product_sec_cat{
        width: 25%;
    }
    .product_sec_main{
        flex: 1;
    }

    ul.product_list_cat{
        padding: 0;
        margin: 1rem 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        list-style: none;

        li{
            padding: 0.5rem 0;
            border-bottom: 1px solid #E2E2E2;
        }

        li.active a{
            color: var(--color-green) !important;
        }

        a{
            color: var(--color-deep);
        }
    }

    .product_order{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .order_filter{
        display: flex;
        gap: 0.5rem;
        align-items: center;

        select{
            width: 190px;
            background: #fff;
            font-size: 14px;
            font-weight: 300;
            border-radius: 5px;
        }
    }

    .product_sec_grid{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 1rem;
        margin: 2rem 0;
    }
    .product_sec_grid_single{
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 1rem;
        margin: 2rem 0;
    }

    .product_pagination{
        display: flex;
    }
    a.page-numbers{
        border: 1px solid#2D393F;
    }
    .next.page-numbers svg{
        width: 20px;
    }

    /* !END-product_sec ----------------------------------------------------------------------------------*/

    /* !article ----------------------------------------------------------------------------------*/

    /* *start article_content*/

    section.article_page{
        padding: calc(124px + 2rem) 0 6rem;
    }


    .article_page{
        padding: 4rem 0;

        .article_sec_grid{
            display: grid;
            grid-template-columns: repeat(4,1fr);
            gap: 1rem;
            margin-top: 2rem;
            padding: 1rem 0;
        }

        .article_content_cat{

            ul{
                padding-left: 0;
                list-style: none;
                margin: 0;
                padding-top: 1rem;

                li{
                    padding-top: 0.5rem;
                    padding-bottom: 0.5rem;
                    border-bottom: 1px solid var(--color-gold-dark) ;
                }
            }
        }

        .news_grid.g3{
            grid-template-columns: repeat(3,1fr);
        }
    }

    /* *end article_content*/

    /* *start */


    /* *end */

    


    /* !END-article ----------------------------------------------------------------------------------*/

    /* !service_cat ----------------------------------------------------------------------------------*/

    /* *start service_detail*/

    section.service_detail{
        padding: calc(124px + 4rem ) 0 3rem;
    }

    .service_detail_content{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 2rem;
        padding: 2rem 0 2rem;
    }

    .service_detail_img img{
        width: 90%;
        object-fit: cover;
        border-radius: 5px;
    }
    .service_detail_text {
        h2,h3,h4,h5{
            font-size: 20px;
        }
    }

    .service_detail_text p{
        font-size: 16px;
        margin-bottom: 0.8rem !important;
    }

    /* *end service_detail*/

    /* *start service_in_cat*/

    section.service_in_cat{
        padding: 4rem 0;
    }
    .service_single{
        margin: 0 !important;
        padding: 1rem 0 4rem !important;
    }
    .service_card{
        position: relative;
        height: 221px;
        border-radius: 5px;
        border: 1px solid #87C242;
        display: block;
    }

    .service_in_cat_list{
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 0;
    }

    .service_card_detail{
        position: absolute;
        top: 0;
        left: 20%;
        right: 0;
        bottom: 0;
        border-radius: 5px;
        background: linear-gradient(90deg, rgb(255 255 255 / 3%) 0%, #e6ffcc 22%, #FFFFFF 70%);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;
        padding: 2rem 2rem 2rem 30%;
        text-align: right;
    }

    .service_card_detail_box{
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .service_items_card{
        height: 360px;
        border-radius: 16px;

        a{
            height: 100%;
            img {
                width: 100%;
                height: 100%;
                aspect-ratio: 3 / 4;
                object-fit: cover;
                object-position: center;
                border-radius: 15px;
            }
        }
    }


    /* *end service_in_cat*/

    /* *start */


    /* *end */

    /* *start */


    /* *end */

    /* *start */


    /* *end */

    /* *start */


    /* *end */

    /* *start */


    /* *end */

    /* *start */


    /* *end */


    /* !END-service_cat ----------------------------------------------------------------------------------*/

    /* !single product ----------------------------------------------------------------------------------*/

    .product_content{
        margin-top: calc(124px + 0rem);
        --height-thumbnail: 100px;
        padding: 3rem 0;

        .w-80-center{
            position: relative;
        }
    }

    .product_content_grid{
        display: grid;
        grid-template-columns: 50% 1fr;
        gap: 2rem;
    }


    .product_content_grid_detail{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-bottom: calc(var(--height-thumbnail) + 1rem);
        gap: 0.5rem;

        > div{
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
    }
    .tz-gallery .lightbox img {
        width: 100%;
        min-height: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: center;
        border-radius: 0;
        position: relative;
    }
    .tz-gallery .lightbox  {
        position: relative;
        min-height: 100%;
        display: block;
    }
    
    .tz-gallery .lightbox:before {
        position: absolute;
        opacity: 0;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        content: url(./assets/icons/magnifying.svg);
        pointer-events: none;
        z-index: 9000;
        transition: 0.4s;
    }
    
    
    .tz-gallery .lightbox:after {
        /* position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        background-color: #44444452;
        content: '';
        transition: 0.4s; */
    }
    
    .tz-gallery .lightbox:hover:after,
    .tz-gallery .lightbox:hover:before {
        opacity: 1;
    }
    
    .baguetteBox-button {
        background-color: transparent !important;
    }

    .tz-gallery {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto var(--height-thumbnail);
        grid-gap: 1rem;
        grid-template-areas:
        "g_1 g_1 g_1 g_1 g_1 g_1"
        "g_2 g_3 g_4 g_5 g_6 g_7";
    }
    .tz-gallery_grid{
        border: 1px solid var(--color-org);
    }

    .tz-gallery_grid:nth-child(1){
        grid-area: g_1;
    }
    .tz-gallery_grid:nth-child(2){
        grid-area: g_2;
    }
    .tz-gallery_grid:nth-child(3){
        grid-area: g_3;
    }
    .tz-gallery_grid:nth-child(4){
        grid-area: g_4;
    }
    .tz-gallery_grid:nth-child(5){
        grid-area: g_5;
    }
    .tz-gallery_grid:nth-child(6){
        grid-area: g_6;
    }
    .tz-gallery_grid:nth-child(7){
        grid-area: g_7;
    }

    .more_detail{
        margin: 0 0 6rem;
    }

    .icon_up{
        width: 100%;
        border-bottom: 2px solid #D9D9D9;
        position: relative;
        margin-top: 1rem;
    }
    .exten_detail_s .icon_up {
        img{
            transform: rotate(0deg);
            transition: all 0.5s ease-in-out;
        }
    } 
    
    .img_up{
        display: flex;
        justify-content: center;
        position: relative;
        width: 100%;
        height: 100%;
    }
    .img_up img{
        position: absolute;
        bottom: -30px;
    }

    .close_detail{
        height: 0 !important;
        opacity: 0;
        transition: all 0.5s ease-in-out;
    }
    .close_detail.exten_detail {
        height: 100% !important;
        opacity: 1;
        transition: all 0.5s ease-in-out;
    }

    .icon_up img{
        transform: rotate(180deg);
        transition: all 0.5s ease-in-out;
    }
    .exten_detail_s{
        .icon_up{
            transition: all 0.5s ease-in-out;
        }
    }

    .contact_content_bt{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 1rem;
        margin-top: 1rem;
    }
    .product_single_page{
        padding: 0rem 0 6rem !important;
    }


    /* !END-single product ----------------------------------------------------------------------------------*/

    /* !contact ----------------------------------------------------------------------------------*/


    .mt-10px {
        margin-top: -10px;
    }

    section.contact {
        padding: 4rem 0;

    }

    section.contact_page{
        padding: 4rem 0;
        background: url(./assets/banner/faq_banner_2.png) no-repeat center / cover;
    }

    .contact_grid {
        display: grid;
        grid-template-columns: 0.4fr 0.6fr;
        margin: 2rem 0;
        /* box-shadow: 0px 0px 10px 0px #00000040; */
    }

    .contact_left {
        padding: 3rem 2.5rem;
        background: url(./assets/banner/faq_banner_3.png) no-repeat center bottom / cover;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;

        >div {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-start;
            gap: 1.5rem;

            .footer_social_grid{
                display: grid;
                grid-template-columns: 20px 1fr;
                gap: 0.3rem;
            }
        }

        
    }

    .contact_right {
        padding: 3rem 2.5rem;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 1rem;

        .shadow_box{
            width: 100%;
        }
    }


    /* ?form */

    div.wpforms-container-full {
        width: 100% !important;
        margin: 0 !important;

        input,textarea {
            border-width: 0 !important;
            border-bottom: 1px solid #969696 !important;
        }

        input::placeholder,textarea::placeholder {
            font-size: 14px !important;
            font-weight: 300 !important;
            color: #969696 !important;
        }

        .choices__placeholder{
            font-size: 14px !important;
            font-weight: 300 !important;
            color: #969696 !important;
        }
    }

    div.wpforms-container-full .wpforms-form textarea.wpforms-field-large {
        height: 100px !important;
        width: 100% !important;

        
        
    }

    div.wpforms-container .wpforms-field{
        padding: 0.5rem 0;
    }

    label.wpforms-field-label,label.wpforms-field-label-inline {
        font-size: 14px !important;
        font-weight: 300 !important;
        color: #6C6C6C !important;
        display: flex !important;
        gap: 1rem;
    }


    button.wpforms-submit {
        background: #2D393F !important;
        border-radius: 20px !important;
        padding: 0 4rem !important;
        color: #fff !important;
        font-weight: 400 !important;
        font-size: 16px !important;
    }

    .wpforms-submit-container {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start;
    }

    /* ?form */


    /* !END-contact ----------------------------------------------------------------------------------*/


    /* !faq ----------------------------------------------------------------------------------*/

    .faq_sec.in_page{
        .bt{
            width: 250px;
        }
    }

    .faq-item.in_page{
        border-bottom: none;
        padding: 0;

        >.faq-answer{
            border-left: none;
        }
    }
    .iconarrow{
        margin-right: 10px;
        transition:  all ease-in-out 0.3s;
    }

    input[type="checkbox"]:checked ~ .faq-question .iconarrow {
        transform: rotate(180deg); /* เปลี่ยน + เป็น × หรือ − ตามสไตล์ */
        transition:  all ease-in-out 0.3s;
    }

    /* !faq ----------------------------------------------------------------------------------*/


    /* !404 ----------------------------------------------------------------------------------------- */

    section.e404{
        background: url(./assets/banner/about_banner_5.png) no-repeat right center / contain;
        padding: 20vh 10%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4rem;

        h1{
            font-size: 148px;
        }

        a{
            display: block;
            width: 160px;
            text-align: center;
        }
    }


    /* !404 ----------------------------------------------------------------------------------------- */

}

@media screen and (min-width:1450px) {
    div#nav-header-menu{
        padding: 0 5% !important;
    }
}