@media (max-width: 820px) {

    #carouselpersonnel .carousel-inner .carousel-item img,
    #carouselpersonnel .carousel-item.active,
    #carouselpersonnel .carousel-item.active.carousel-item-start {
        max-width: 450px;
        width: 450px;
        height: 632px;
    }

    .view-count-tag {
        font-size: 10px;
        float: inline-end;
        color: aliceblue;
        margin-top: -12%;
    }

    .box-public-service {
        min-height: 450px;
    }

    .box-public-service::before {
        height: 450px;
    }

    .public-service span {
        font-size: 15px !important;
    }

    img.public-service-img-one {
        width: 40%;
    }



    .header-section {
        padding: 3% 4%;
        height: auto;
        min-height: 20vh;
    }

    .header-container {
        max-width: 720px;
        display: flex;
        flex-direction: row;
    }

    .header-logo {
        width: 100px;
        margin-right: 15px;
    }

    .header-text {
        gap: 6px;
    }

    .header-title-th {
        font-size: 5vw;
        font-weight: bold;
        white-space: nowrap;
        min-font-size: 24px;
    }

    .header-title-en {
        font-size: 2.5vw;
        font-weight: normal;
        margin-top: -1.2vw;
        min-font-size: 14px;
    }

    .header-contact {
        gap: 5px;
        text-align: right;
    }

    .header-contact-item {
        gap: 5px;
        font-size: 12px;
        white-space: nowrap;
    }

    .header-box-contact {
        gap: 8px;
        border-radius: 12px;
        font-size: 12px;
        margin-left: 0;
    }

    .header-box-contact-title,
    .box-Language {
        padding: 0px 8px;
        border-radius: 10px;
        font-size: 12px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);

    }

    .header-box-contact-tel {
        padding: 3px 8px;
        border-radius: 10px;
    }


    .header-text-left {
        gap: 10px;
        display: flex;
        align-items: center;
        flex-direction: row;
        text-align: left;
    }

    .header-box-login {
        display: flex;
    }

    .header-login-title,
    .header-register-title {
        padding: 5px 15px;
        border-radius: 18px;
        font-size: 14px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .header-text-right {
        margin-top: -10px;
    }

    .header-box-flag {
        /* width: 120px; */
        width: 177px;
        height: 20px;
        margin: 5px;
        border-radius: 5px;
        padding: 3px;
    }

    .flag-img img {
        width: 17px;
        height: 14px;
        padding: 2px;
    }

    section.slide-top {
        margin-top: -25px;
    }

    .search-bar-container {
        padding: 8px 15px;
        border-radius: 0px;
        gap: 10px;
        display: flex;
        flex-direction: row;
    }

    .search-button {
        border: 1px solid #000;
        border-radius: 20px;
        padding: 6px 15px;

        font-size: 14px;
        width: 15%;
    }

    .search-box {
        border: 1px solid #000;
        border-radius: 20px;
        padding: 5px 15px;
        max-width: 250px;

    }

    .search-input {
        font-size: 14px;
        padding: 5px 0;
    }

    .search-icon {
        width: 15px;
        height: 15px;
    }

    .search-button.intercity-port {
        height: 30px;
        /* width: 200px; */
        width: 100%;
        margin-top: 0px;
    }

    section.slide-top .carousel-item img {
        width: 410px !important;
        height: auto !important;
        object-fit: cover;
        float: inline-end;
    }

    img.box-img-slide-top {
        margin-top: 15px;
        /* width: 100%;
        height: 390px; */
        width: 450px;
    }

    img.d-block.w-100 {
        max-height: 405px;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px !important;
        height: 8px !important;
        border: 1px solid #000;
    }

    .br-top {
        height: 8px;
    }

    .footer-one {
        padding: 20px 25px;
        flex-direction: row;
        gap: 20px;
        display: flex;
    }

    .text-footer-one,
    .text-footer-two,
    .text-footer-three {
        margin: 10px 0;
        gap: 10px;
    }

    .footer-link {
        font-size: 18px;
        width: 100%;
    }

    .link-footer-two {
        font-size: 14px;
        margin-left: 10px;
    }

    .footer-ma {
        margin-top: 20px;
        gap: 6px;
    }

    .footer-ma img {
        width: 100%;
    }

    .footer-two {
        padding: 8px;
    }

    section.vistion-top {
        margin-top: -8px;
    }

    .title-personnel {
        font-size: 30px;
        margin: 15px;
    }

    .img-personnel {
        width: 100px;
        height: 135px;
    }

    .personnel-box-group {
        margin-top: 20px;
    }

    .personnel-box-group-one,
    .personnel-box-group-two {
        gap: 20px;
    }

    .personnel-box-group-two {
        margin-top: 15px;
    }

    .personnel-box {
        display: flex;
        padding: 10px;
        flex-direction: row;
        align-items: center;
    }

    .personnel-box-p1 {
        padding-left: 0;
        max-width: 500px;
        width: 500px;

    }

    #carouselpersonnel .carousel-inner .carousel-item img,
    #carouselpersonnel .carousel-item.active,
    #carouselpersonnel .carousel-item.active.carousel-item-start {
        max-width: 500px;
        height: auto;
    }

    .personnel-box-detail-ny {
        padding: 5px 15px;
        border-radius: 20px;
        white-space: nowrap;
    }

    .per-b-name {
        font-size: 16px;
        font-weight: 800;
    }

    .per-b-position {
        margin-top: -5px;
        font-size: 12px;
    }

    .per-b-tel,
    .per-b-tel-p2 {
        padding: 3px 10px;
        margin-top: 5px;
        border-radius: 8px;
        font-size: 12px;
    }

    .personnel-box-p2 {
        margin: 0 10px;
    }

    .personnel-box-detail-p2 {
        border-radius: 12px;
        padding: 3px 10px;
        white-space: nowrap;
    }

    .person-box-background {
        /* position: absolute; */
        top: 5px;
        /* ปรับเป็น px */
        width: 100px;
        /* ปรับเป็น px */
        height: 135px;
        /* ปรับเป็น px */
        border-radius: 8px;
        /* ปรับเป็น px */
    }

    .personnel-box-group-two .per-b-name-p2 {
        padding: 3px 15px;
        /* ปรับเป็น px */
    }

    /* Banner Top (ส่วนแบนเนอร์ด้านบน) */
    .banner-top {
        margin-top: 20px;

    }

    img.banner-top-img {
        width: 100%;
        transition: transform 0.3s ease-in-out;
    }

    .divider-line {
        display: none;
    }

    .box-personnel {
        min-height: auto;
        /* ปรับเป็น auto เพื่อให้ยืดหยุ่น */
        padding-bottom: 30px;
    }

    .box-i {
        width: 100px;
        margin: 15px;
    }

    /* Video Section (ส่วนวิดีโอ) */
    .box-video {
        min-height: 440px;
        /* ปรับเป็น auto */
        margin-top: -15px;
        /* ปรับเป็น px */
        /* display: flex; flex-direction: column; align-content: center; align-items: center; */
    }

    .regis-smartcity-box {
        width: 210px;
        margin-top: 5px;
        margin-left: 4%;

    }

    .three-text {
        font-size: 15px;
    }

    .regis-smartcity-box img {
        width: 89px !important;
    }

    .public-body-one {
        gap: 20px;
        display: flex;
        flex-direction: column;
        margin-top: 10%;
        padding: 0 20px;
    }

    a.public-link {
        font-size: 12px;
    }

    .view-count {
        font-size: 6px;
    }

    .fb-page {
        margin-left: 17%;
        width: 250px;
        height: 300px;
    }

    .regis-smartcity {
        display: flex;
        gap: 6px;
        justify-content: center;
    }

    .video-text {
        margin-top: 15px;
        /* ปรับเป็น px */
        /* display: flex; flex-direction: column; align-items: center; */
    }

    .video-title {
        font-size: 30px;
        /* ปรับเป็น px */
        /* font-weight: 900; */
    }

    .video-nameweb {
        font-size: 18px;
        /* ปรับเป็น px */
        font-weight: 600;
        margin-top: -10px;
        /* ปรับเป็น px */
    }

    .video-show {
        max-width: 450px;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
        border: 1px solid #ccc;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    }

    .video-view {
        display: flex;
        margin-top: 25px;
        gap: 10px;
        flex-direction: row;
    }

    .slide-in-video img,
    .slide-in-video .slide-88 {
        /* width: 150px; */
        width: 180px;
    }

    .box-button {
        text-align: center;
        /* เปลี่ยนเป็น center */
        margin-top: 10px;
        /* ปรับเป็น px */
    }

    a.no-underline.b-video {
        padding: 5px 15px;
        border-radius: 10px;
        font-size: 14px;
    }

    /* Smart City Banner (ส่วนแบนเนอร์ Smart City) */
    .banner-smartcity-body-one {
        margin: 20px 10px 0 10px;
        padding: 0 2%;
        flex-direction: row;
        gap: 20px;
    }

    .smartcity-one,
    .smartcity-three {
        /* display: flex; flex-direction: column; align-content: center; */
        align-items: center;
        /* จัดให้อยู่ตรงกลาง */
    }

    img.banner-smartcity.no-underline {
        width: 100%;
        /* ใช้ความกว้างเต็ม */
        max-width: 350px;
        /* จำกัดขนาดสูงสุด */
        height: auto;
    }


    .banner-smartcity-body-two {
        margin-top: 15px;

    }

    /* img.banner-two คงเดิม */

    .smartcity-four,
    .box-sbt-one {
        /* position: absolute; */
        width: 95%;
        /* เพิ่มความกว้างเป็น 95% */
        max-width: 700px;
    }

    .banner-box-one {
        min-height: 906px;
        padding-bottom: 20px;
    }

    .smartcity-five {
        margin-top: 4%;
        display: flex;
    }

    .smartcity-six {
        margin-top: 20px;
        gap: 10px;
        align-items: center;
        margin-left: 20%;
    }

    img.bg-ons {
        /* width: 100%; */
        margin-top: 15px;
        /* ปรับเป็น px */
    }


    .ons-box-one {
        /* display: flex; flex-direction: column; */
        margin: 15px 0 0 0;
        /* ปรับเป็น px */
        font-size: 20px;
        /* ปรับเป็น px */
        width: 90%;
        /* ใช้ความกว้างเต็ม */
        max-width: 600px;
        text-align: center;
    }

    .ons-box-button-one {
        margin: 0;
        align-items: center;
    }

    img.bg-ons-button {
        width: 60%;
        max-width: 250px;
    }

    .ons-box-button-two {
        /* display: flex; justify-content: center; */
        margin-top: 15px;
        /* เพิ่ม margin */
        gap: 10px;
    }

    img.bg-ons-button-member,
    img.bg-ons-button-public {
        /* width: 45%;
        max-width: 180px; */
    }

    /* Public Service (บริการสาธารณะ) */
    .box-slide-menu {
        margin-top: 15px;
        /* ปรับเป็น px */
        /* display: flex; justify-content: center; */
        padding: 0 5%;
    }

    .public-service {
        /* display: flex; flex-direction: column; align-items: center; */
        margin: 20px;
        /* ปรับเป็น px */
        /* color: #fff; text-shadow: 0.1vw 0.1vw 1.04vw rgba(0, 0, 0, 0.5); */
    }

    .public-body {
        /* display: flex; flex-direction: column; align-items: center; justify-content: center; */
        margin-top: 40px;
        /* ปรับเป็น px */
        gap: 30px;
    }

    .button-public-service-top,
    .button-public-service-center,
    .button-public-service-button {
        flex-direction: row;
        gap: 20px;
    }

    /* ลบ gap ที่กว้างเกินไปออก */
    .button-public-service-top,
    .button-public-service-button {
        gap: 20px;
        /* ปรับเป็น px */
    }

    .button-public-service-center {
        gap: 20px;
        /* ปรับเป็น px */
    }

    a.public-link-one,
    a.public-link-two,
    a.public-link-three,
    a.public-link-center {
        font-size: 14px;
        gap: 13px;
    }

    img.public-service-img {
        width: 100px;
        /* ปรับเป็น px */
        max-width: 100%;
        /* z-index: 5; transition: transform 0.2s ease-in-out; */
    }

    /* .public-lines และ .glow-line (SVG/Animation) คงเดิม แต่ควรปรับ stroke-width เป็น px */
    .glow-line {
        stroke-width: 1.5px;
        stroke-dasharray: 2px 2px;
    }

    /* Activity Section (ส่วนกิจกรรม) */
    .title-activity {
        /* display: flex; justify-content: center; */
        margin-top: 40px;
        /* ปรับเป็น px */
        /* align-items: flex-end; */
        flex-direction: column;
        align-items: center;
    }

    .text-activity {
        /* display: flex; flex-direction: column; */
        align-items: center;
        /* เปลี่ยนเป็น center */
    }

    .title-activity-top {
        font-size: 30px;
        /* ปรับเป็น px */
        /* font-weight: 900; background: linear-gradient(...); -webkit-background-clip: text; -webkit-text-fill-color: transparent; */
    }

    .title-activity-button {
        font-size: 20px;
        /* ปรับเป็น px */
        margin-top: -10px;
        /* ปรับเป็น px */
        /* background: linear-gradient(...); -webkit-background-clip: text; -webkit-text-fill-color: transparent; */
    }

    /* .text-eser-one, .text-eser-three, .text-eser-two คงเดิม */
    span.text-eser-one {
        font-size: 24px !important;
    }

    span.text-eser-three {
        font-size: 14px !important;
        margin-top: -5px !important;
    }

    span.text-eser-two {
        font-size: 28px !important;
        margin-top: -10px !important;
    }

    /* img.slide-8 คงเดิม */

    .banner-one-stop-service {
        min-height: auto;
        /* ปรับเป็น auto */
        padding-bottom: 20px;
    }

    .activity-directory {
        /* display: flex; flex-wrap: wrap; justify-content: center; */
        padding: 0 10px;
        /* ปรับเป็น px */
        margin-top: 20px;
        /* ปรับเป็น px */
    }

    .card-activity-body {
        width: 200px;
        height: 250px;
        max-width: 350px;
        min-height: auto;
        padding: 15px;
        margin: 10px 5px;
    }

    /* .card-activity-body:hover คงเดิม */

    .activity-title {
        font-size: 16px;
        /* ปรับเป็น px */
        /* font-weight: 600; text-align: center; */
    }

    .activity-date {
        margin-top: 10px;
        /* ปรับเป็น px */
        font-size: 12px;
        /* ปรับเป็น px */
        /* color: #555; */
    }

    .activity-img {
        width: 150px;
        height: 100px;
        /* ปรับเป็น px */
        /* overflow: hidden; border-radius: 15px; */
    }

    /* .activity-img img คงเดิม */

    a.no-underline.button-activity {
        padding: 8px 20px;
        /* ปรับเป็น px */
        border-radius: 30px;
        /* ปรับเป็น px */
        font-size: 14px;
        /* font-weight: 600; color: #003E4D; transition: all 0.3s ease; */
    }

    /* .box-all-activity คงเดิม */

    a.no-underline.button-activity-all,
    a.no-underline.button-here-all {
        padding: 8px 25px;
        /* ปรับเป็น px */
        font-size: 16px;
        /* ปรับเป็น px */
        border-radius: 40px;
        /* ปรับเป็น px */
        /* font-weight: 600; color: #003E4D; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    }

    /* News Section (ส่วนข่าว) */
    .title-news-top {
        font-size: 30px;
        /* ปรับเป็น px */
        /* font-weight: 900; background: linear-gradient(...); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-align: center; */
    }

    .title-news-button {
        font-size: 20px;
        /* ปรับเป็น px */
        margin-top: -10px;
        /* ปรับเป็น px */
        /* background: linear-gradient(...); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-align: center; */
    }

    .card-news {
        width: 100%;
        /* ใช้ความกว้างเต็มจอ */
        max-width: 450px;
        /* จำกัดขนาดสูงสุด */
        padding-top: 20px;
        /* ปรับเป็น px */
        /* overflow: hidden; */
    }

    .box-bg-title {
        /* display: flex; flex-direction: column; align-items: flex-end; background: #fff; */
        margin: 15px 0;
        /* ปรับเป็น px */
        padding: 15px;
        /* ปรับเป็น px */
        border-radius: 20px;
        /* ปรับเป็น px */
        /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; */
    }

    .news-directory {
        /* display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-around; */
        max-width: 720px;
        /* margin: 0 auto; */
        padding: 15px 10px;
        /* ปรับเป็น px */
    }

    .card-news-body {
        justify-content: flex-start;
    }

    .box-activity-relations::before {
        background-position: 0px;
    }

    .box-all-news {
        margin-top: 30px;
        /* ปรับเป็น px */
        padding: 15px;
        /* ปรับเป็น px */
        /* display: flex; justify-content: center; */
    }

    .box-news-id {
        padding: 10px;
        width: 280px;
    }

    a.no-underline.button-news-all {
        padding: 8px 15px;
        /* ปรับเป็น px */
        font-size: 16px;
        /* ปรับเป็น px */
        border-radius: 10px;
        /* ปรับเป็น px */
        /* color: #fff; font-weight: 900; */
    }

    .box-news {
        margin-top: 15px;
        /* ปรับเป็น px */
    }

    /* Here Section (ส่วน Here) */
    .box-slide-hrer {
        /* display: flex; flex-direction: column; align-items: center; */
        margin-top: -15px;
        /* ปรับเป็น px */
    }

    .box-activity-relations {
        min-height: auto;
        /* ปรับเป็น auto */
        padding-bottom: 20px;
    }

    /* .box-activity-relations::before คงเดิม */

    img.slide-here {
        /* width: 100% !important; aspect-ratio: 16 / 7; border-radius: 50px; object-fit: cover; */
        border-radius: 20px;
    }

    img.box-here-img-text {
        margin-top: 80% !important;
    }

    div#carouselExampleSlidesHere.carousel-slide-here {
        max-width: 700px;
        aspect-ratio: 16 / 9;
        border-radius: 20px;
        padding: 4px;
        box-shadow: 0px 0px 10px 2px #888888;
        height: 414px;
    }

    img.button-here {
        width: 100%;
    }

    .here-text {
        /* position: absolute; */
        top: 10px;
        /* ปรับเป็น px */
        /* left: 50%; transform: translateX(-50%); */
        padding: 3px 15px;
        /* ปรับเป็น px */
        font-size: 18px;
        /* ปรับเป็น px */
        border-radius: 8px;
        /* ปรับเป็น px */
    }

    .position-static {
        /* position: static !important; display: flex !important; justify-content: center; */
        margin-top: 15px;
        /* ปรับเป็น px */
    }

    .slide-text {
        /* font-family: 'MyFont'; */
        font-size: 20px;
        /* ปรับเป็น px */
        /* background: linear-gradient(92deg, #ddf0ff, #f8fcff); z-index: 5; */
        margin-top: -10px;
        /* ปรับเป็น px */
        border-radius: 10px;
        /* ปรับเป็น px */
        box-shadow: 0px 0px 10px 2px #888888;
        /* ปรับเป็น px */
        /* position: absolute; */
        bottom: 10px;
        /* ปรับเป็น px */
        /* left: 50%; transform: translateX(-50%); */
        width: 80%;
        /* ใช้ความกว้างมากขึ้น */
        /* text-align: center; color: #000; */
    }

    .box-all-here {
        /* display: flex; flex-direction: row; justify-content: center; */
        gap: 20px;
        /* ปรับเป็น px */
        margin-top: 10%;
        /* ปรับเป็น px */
        flex-direction: column;
        /* เปลี่ยนเป็น Column เพื่อให้ stack กัน */
        align-items: center;
    }

    /* .banner-service-one, .banner-service-two คงเดิม */

    .banner-service-two {
        margin-top: 20px;
        /* ปรับเป็น px */
    }

    img.button-here-text {
        width: 80px;

    }

    .box-here {
        min-height: 1000px;
    }

    .announce-box {
        margin-top: 250px;
    }

    .card-here {
        padding: 10px 30px;
        /* ปรับเป็น px */
        border-radius: 40px;
        /* ปรับเป็น px */
        border: 2px solid rgb(200 231 148);
        /* ปรับเป็น px */
        /* transition: transform 0.3s ease; */
    }

    /* img.box-here-img-text คงเดิม */



    /* Announce Section (ส่วนประกาศ) */
    .tab-buttons button {
        padding: 10px 15px;
        /* ปรับเป็น px */
        border-radius: 30px;
        /* ปรับเป็น px */
        /* border: none; background: #2b757e; cursor: pointer; font-weight: bold; transition: 0.3s; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
        min-width: 120px;
        /* ลดขนาด min-width */
        font-size: 14px;
        /* ปรับเป็น px */
        max-width: 150px;
    }

    /* .tab-buttons button.active คงเดิม */

    .tab-content {
        /* display: none; */
        padding: 15px;
        /* ปรับเป็น px */
        border-radius: 10px;
        /* ปรับเป็น px */
        max-width: 720px;
        /* margin: 0 auto; */
    }

    /* .tab-content.active คงเดิม */

    .item {
        /* display: flex; */
        gap: 10px;
        /* ปรับเป็น px */
        padding: 15px 20px;
        /* ปรับเป็น px */
        /* background: linear-gradient(92deg, #179d9e6b, #1b798575); */
        min-height: 120px;
        /* ลดขนาด min-height */
        border-radius: 10px;
        /* ปรับเป็น px */
        /* width: 100%; max-width: 800px; flex-direction: column; color: #000; justify-content: center; */
        margin: 10px 0;
        /* ปรับเป็น px */
        width: 100%;
        max-width: none;
    }

    .item-icon {
        width: 40px;
        /* ลดขนาดเป็น px */
        height: 40px;
        /* ลดขนาดเป็น px */
        border-radius: 8px;
        /* ปรับเป็น px */
        font-size: 20px;
        /* ปรับเป็น px */
        /* color: #0b95d8; background: #f4fafd; flex-shrink: 0; */
    }

    .item-text {
        /* flex: 1; */
        font-size: 16px;
        /* ปรับเป็น px */
        /* line-height: 1.5; */
    }

    .item-date {
        font-size: 12px;
        /* ปรับเป็น px */
        /* color: #d9534f; margin-bottom: 6px; font-weight: 500; */
    }

    .announce-box {
        min-height: auto;
        padding-bottom: 20px;
    }

    /* .announce-title คงเดิม */

    .announce-title-one {
        font-size: 30px;
        /* ปรับเป็น px */
        /* font-weight: 800; */
    }

    .announce-title-two {
        font-size: 20px;
        /* ปรับเป็น px */
        margin-top: -10px;
        /* ปรับเป็น px */
    }

    .announce-body {
        padding: 15px;
        /* ปรับเป็น px */
    }

    .tab-buttons button::before {
        content: "";
        /* ลบ content */
    }

    .tab-buttons {
        /* display: flex; */
        gap: 10px;
        /* ปรับเป็น px */
        margin-bottom: 20px;
        /* ปรับเป็น px */
        /* justify-content: space-between; */
        flex-wrap: wrap;
        /* ให้ขึ้นบรรทัดใหม่ได้ */
        justify-content: center;
    }

    .content-announce {
        min-height: auto;
        gap: 10px;
        padding: 0 5px;
        display: flex;
        flex-direction: column;
    }

    .box-one-announce {
        /* display: flex; align-items: center; */
        gap: 8px;
        /* ปรับเป็น px */
        flex-wrap: wrap;
    }

    .tag-announce {
        padding: 4px 10px;
        /* ปรับเป็น px */
        font-size: 12px;
        /* ปรับเป็น px */
        border-radius: 15px;
        /* ปรับเป็น px */
    }

    /* .item:hover คงเดิม */

    .box-all-announce {
        /* display: flex; align-items: center; justify-content: center; */
        margin: 20px 0;
        /* ปรับเป็น px */
        /* position: relative; */
        padding: 0 10px;
        /* ปรับเป็น px */
    }

    .box-all-announce::before,
    .box-all-announce::after {
        /* content: ""; flex: 1; */
        height: 2px;
        /* ปรับเป็น px */
        margin: 0 5px;
        /* ปรับเป็น px */
    }

    .box-all-announce a {
        /* background: #fff; border: 1px solid #ccc; */
        border-radius: 20px;
        /* ปรับเป็น px */
        padding: 5px 12px;
        /* ปรับเป็น px */
        font-size: 12px;
        /* ปรับเป็น px */
        /* cursor: pointer; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); transition: all 0.2s ease; */
    }


    .box-announce {
        min-height: auto;
        padding-bottom: 20px;
    }

    .box-elibrary {
        padding: 0 10px;
        gap: 15px;
        height: 330px;
    }

    .elibrary-text-one {
        margin-top: 30px;
        text-align: center;
        align-items: center;
        align-items: flex-end;
    }

    .elibrary-one-box {
        width: 100%;
        max-width: 300px;
        /* จำกัดขนาดสูงสุด */
    }

    .elibrary-one {
        justify-content: center;
        width: 420px;
    }

    .elibrary-two {
        text-align: center;
        /* เปลี่ยนเป็น center */
        margin-right: 0;
        margin-top: 0;
    }

    /* Vote Section (ส่วนโหวต) */
    .box-vote {
        min-height: auto;
        margin-top: -50px;
        /* ปรับเป็น px */
        /* position: relative; */
        padding-bottom: 20px;
    }

    .vote {
        gap: 8px;
        max-width: 95%;
        width: 95%;
        top: 25%;
        left: 30%;
    }

    .text-vote {
        gap: 1px;
        margin-bottom: 15px;
        height: 130px;
    }

    .text-vote label {
        font-size: 10px;
        margin: 4px 0;

    }

    .bb-vote {
        /* text-align: center; */
        margin-top: 15px;
        /* ปรับเป็น px */
    }

    .s-vote {
        padding: 8px 20px;
        /* ปรับเป็น px */
        /* background-color: #1976d2; color: #fff; border: none; border-radius: 25px; */
        font-size: 14px;
        /* ปรับเป็น px */
        /* font-weight: bold; cursor: pointer; transition: background 0.3s; */
    }

    .map-one {
        margin-top: 30%;
        flex-direction: row;
        align-items: center;
        margin-left: 5%;
        display: flex;
    }

    .text-map-one {
        padding: 15px;
    }

    .tm-one {
        font-size: 42px !important;
    }

    img#cloud1,
    img#cloud2,
    img#cloud3,
    img#drone1,
    img#drone2,
    img#drone3 {
        width: 10%;
    }

    .map-two {
        /* display: flex; justify-content: center; width: 100%; */
        height: 300px;
        /* ลดความสูงเป็น px */
    }

    .map-three {
        /* display: flex; flex-direction: row; align-items: center; */
        margin-top: 20px;
        /* ปรับเป็น px */
        /* justify-content: center; flex-wrap: wrap; */
        gap: 20px;
        /* ปรับเป็น px */
    }

    .t-m-two {
        /* display: flex; flex-wrap: wrap; */
        gap: 10px;
        /* ปรับเป็น px */
    }

    /* .text-m-two คงเดิม */

    /* .text-map-three คงเดิม */

    .map-body {
        padding: 20px;
        /* ปรับเป็น px */
        /* background: #fff; border-radius: 30px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); */
        /* height: auto; max-width: 1200px; margin: auto; */
    }

    .card-map-three {
        padding: 20px;
        /* ปรับเป็น px */
    }

    .tab-buttons-map {
        /* display: flex; */
        gap: 10px;
        /* ปรับเป็น px */
        margin-bottom: 20px;
        /* ปรับเป็น px */
        /* justify-content: center; max-width: 1200px; margin-left: auto; margin-right: auto; */
        flex-wrap: wrap;
    }

    .tab-buttons-map button {
        padding: 8px 15px;
        /* ปรับเป็น px */
        width: 100%;
        max-width: 250px;
        min-width: 150px;
        /* ลดขนาด min-width */
        font-size: 14px;
        /* ปรับเป็น px */
    }

    .content-map {
        /* display: flex; flex-direction: column; */
        gap: 10px;
        /* ปรับเป็น px */
        max-width: 720px;
        /* margin: 0 auto; */
    }

    .item-map {
        padding: 10px 15px;
        /* ปรับเป็น px */
        font-size: 14px;
        /* ปรับเป็น px */
        height: auto;
        min-height: 40px;
    }

    .box-all-map {
        /* display: flex; align-items: center; justify-content: center; */
        margin: 20px 0;
        /* ปรับเป็น px */
        /* position: relative; */
        padding: 0 10px;
        max-width: 720px;
        /* margin-left: auto; margin-right: auto; */
    }

    /* Public Service Lines (เส้นเชื่อมโยง) - ปรับขนาดและตำแหน่ง */
    .public-link-two.sim-three::after,
    .public-link-two.sim-five::after,
    .public-link-three.sim-six::after,
    .public-link-one.sim-one::after,
    .public-link-three.sim-seven::after,
    .public-link-one.sim-two::after {
        display: none;
    }

    .banner-box-sbt-one.no-underline {
        text-decoration: none;
        color: inherit;
        width: 40% !important;
    }

    .counter-total {
        position: relative;
        width: 140px;
        left: -36px;
        transition: none;
    }

    .counter-total span {
        position: relative;
        left: -15px;
    }

    .box-view {
        background: #058c8a;
        padding: 20px 0px 20px 40px;
        display: flex;
        align-items: center;
        gap: 40px;
        color: #fff;
        font-weight: bold;
        justify-content: space-between;
    }

    .fb_iframe_widget iframe {
        position: absolute;
        width: 250px !important;
        height: 350px !important;
        vertical-align: bottom;
        width: 340px;
        height: 779.2px;
        position: relative;
        left: 69px;
        top: -27px;
        transition: none;
        cursor: move;
    }

    .elibrary-img-one {
        position: relative;
        left: -73px;
    }

    .elibrary-img-one img {
        position: relative;
        left: 59px;
        width: 200px;
    }

    span.elibrary-text-1 {
        font-size: 21px !important;
    }

    span.elibrary-text-2 {
        font-weight: 900;
        font-size: 85px !important;
        margin-top: -45px !important;
    }

    .elibrary-two img {
        width: 130% !important;
    }

    .tab-buttons button {
        font-size: 10px;
    }

    .book,
    .book-cover {
        width: 150px;
        height: 225px;
    }

    .f-book {
        margin-top: -20px;
    }

    .box-all-book {
        margin-top: -2px;
    }

    .tmt-one {
        font-size: 50px !important;

    }

    .tmt-two {
        font-size: 40px !important;
        margin-top: -30px !important;
    }

    .m-img-three img,
    .t-m-one img {
        width: 50%;
    }

    .tab-buttons-map button {
        font-size: 12px;
    }

    .banner-map-img {
        width: 150%;
    }

    .box-view-two {
        min-height: 550px;
    }

    .box-footer {
        min-height: 800px;
    }

    span.ft-by-one {
        font-size: 22px !important;
    }

    span.ft-by-two {
        font-size: 14px !important;
        margin-top: 2px !important;
    }

    .text-footer-one span,
    .text-footer-two div,
    .text-footer-three div {
        font-size: 10px !important;
    }

    .text-footer-one img,
    .text-footer-two img,
    .text-footer-three img {
        width: 10%;
    }
}

@media (max-width: 768px) {
    .view-count-tag {
        font-size: 10px;
        float: inline-end;
        color: aliceblue;
        margin-top: -12%;
        margin-right: 0%;
    }

    .header-section {
        padding: 3% 4%;
        height: auto;
        min-height: 20vh;
    }

    .header-container {
        max-width: 720px;
        display: flex;
        flex-direction: row;
    }

    .header-logo {
        width: 100px;
        margin-right: 15px;
    }

    .header-text {
        gap: 6px;
    }

    .header-title-th {
        font-size: 5vw;
        font-weight: bold;
        white-space: nowrap;
        min-font-size: 24px;
    }

    .header-title-en {
        font-size: 2.5vw;
        font-weight: normal;
        margin-top: -1.2vw;
        min-font-size: 14px;
    }

    .header-contact {
        gap: 5px;
        text-align: right;
    }

    .header-contact-item {
        gap: 5px;
        font-size: 12px;
        white-space: nowrap;
    }

    .header-box-contact {
        gap: 8px;
        border-radius: 12px;
        font-size: 12px;
        margin-left: 0;
    }

    .header-box-contact-title,
    .box-Language {
        padding: 0px 8px;
        border-radius: 10px;
        font-size: 12px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);

    }

    .header-box-contact-tel {
        padding: 3px 8px;
        border-radius: 10px;
    }


    .header-text-left {
        gap: 10px;
        display: flex;
        align-items: center;
        flex-direction: row;
        text-align: left;
    }

    .header-box-login {
        display: flex;
    }

    .header-login-title,
    .header-register-title {
        padding: 5px 15px;
        border-radius: 18px;
        font-size: 14px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .header-text-right {
        margin-top: -10px;
    }

    .header-box-flag {
        /* width: 120px; */
        width: 177px;
        height: 20px;
        margin: 5px;
        border-radius: 5px;
        padding: 3px;
    }

    .flag-img img {
        width: 17px;
        height: 14px;
        padding: 2px;
    }

    section.slide-top {
        margin-top: -25px;
    }

    .search-bar-container {
        padding: 8px 15px;
        border-radius: 0px;
        gap: 10px;
        display: flex;
        flex-direction: row;
    }

    .search-button {
        border: 1px solid #000;
        border-radius: 20px;
        padding: 6px 15px;

        font-size: 14px;
        width: 15%;
    }

    .search-box {
        border: 1px solid #000;
        border-radius: 20px;
        padding: 5px 15px;
        max-width: 250px;

    }

    .search-input {
        font-size: 14px;
        padding: 5px 0;
    }

    .search-icon {
        width: 15px;
        height: 15px;
    }

    .search-button.intercity-port {
        height: 30px;
        /* width: 200px; */
        width: 100%;
        margin-top: 0px;
    }

    section.slide-top .carousel-item img {
        width: 410px !important;
        height: auto !important;
        object-fit: cover;
        float: inline-end;
    }

    img.box-img-slide-top {
        margin-top: 15px;
        /* width: 100%;
        height: 390px; */
        width: 450px;
    }

    img.d-block.w-100 {
        max-height: 405px;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px !important;
        height: 8px !important;
        border: 1px solid #000;
    }

    .br-top {
        height: 8px;
    }

    .footer-one {
        padding: 20px 25px;
        flex-direction: row;
        gap: 20px;
        display: flex;
    }

    .text-footer-one,
    .text-footer-two,
    .text-footer-three {
        margin: 10px 0;
        gap: 10px;
    }

    .footer-link {
        font-size: 18px;
        width: 100%;
    }

    .link-footer-two {
        font-size: 14px;
        margin-left: 10px;
    }

    .footer-ma {
        margin-top: 20px;
        gap: 6px;
    }

    .footer-ma img {
        width: 100%;
    }

    .footer-two {
        padding: 8px;
    }

    section.vistion-top {
        margin-top: -8px;
    }

    .title-personnel {
        font-size: 30px;
        margin: 15px;
    }

    .img-personnel {
        width: 100px;
        height: 135px;
    }

    .personnel-box-group {
        margin-top: 20px;
    }

    .personnel-box-group-one,
    .personnel-box-group-two {
        gap: 20px;
    }

    .personnel-box-group-two {
        margin-top: 15px;
    }

    .personnel-box {
        display: flex;
        padding: 10px;
        flex-direction: row;
        align-items: center;
    }

    .personnel-box-p1 {
        padding-left: 0;
        max-width: 446px;
        /* height: 408px; */
    }

    #carouselpersonnel .carousel-inner .carousel-item img,
    #carouselpersonnel .carousel-item.active,
    #carouselpersonnel .carousel-item.active.carousel-item-start {
        max-width: 446px;
        height: auto;
    }

    .personnel-box-detail-ny {
        padding: 5px 15px;
        border-radius: 20px;
        white-space: nowrap;
    }

    .per-b-name {
        font-size: 16px;
        font-weight: 800;
    }

    .per-b-position {
        margin-top: -5px;
        font-size: 12px;
    }

    .per-b-tel,
    .per-b-tel-p2 {
        padding: 3px 10px;
        margin-top: 5px;
        border-radius: 8px;
        font-size: 12px;
    }

    .personnel-box-p2 {
        margin: 0 10px;
    }

    .personnel-box-detail-p2 {
        border-radius: 12px;
        padding: 3px 10px;
        white-space: nowrap;
    }

    .person-box-background {
        /* position: absolute; */
        top: 5px;
        /* ปรับเป็น px */
        width: 100px;
        /* ปรับเป็น px */
        height: 135px;
        /* ปรับเป็น px */
        border-radius: 8px;
        /* ปรับเป็น px */
    }

    .personnel-box-group-two .per-b-name-p2 {
        padding: 3px 15px;
        /* ปรับเป็น px */
    }

    /* Banner Top (ส่วนแบนเนอร์ด้านบน) */
    .banner-top {
        margin-top: 20px;

    }

    img.banner-top-img {
        width: 100%;
        transition: transform 0.3s ease-in-out;
    }

    .divider-line {
        display: none;
    }

    .box-personnel {
        min-height: auto;
        /* ปรับเป็น auto เพื่อให้ยืดหยุ่น */
        padding-bottom: 30px;
    }

    .box-i {
        width: 100px;
        margin: 15px;
    }

    /* Video Section (ส่วนวิดีโอ) */
    .box-video {
        min-height: 440px;
        /* ปรับเป็น auto */
        margin-top: -15px;
        /* ปรับเป็น px */
        /* display: flex; flex-direction: column; align-content: center; align-items: center; */
    }

    .regis-smartcity-box {
        width: 210px;
        margin-top: 5px;
        margin-left: 4%;

    }

    .three-text {
        font-size: 15px;
    }

    .regis-smartcity-box img {
        width: 89px !important;
    }

    .public-body-one {
        gap: 20px;
        display: flex;
        flex-direction: column;
        margin-top: 10%;
        padding: 0 20px;
    }

    a.public-link {
        font-size: 12px;
    }

    .view-count {
        font-size: 6px;
    }

    .fb-page {
        margin-left: 17%;
        width: 250px;
        height: 300px;
    }

    .regis-smartcity {
        display: flex;
        gap: 6px;
        justify-content: center;
    }

    .video-text {
        margin-top: 15px;
        /* ปรับเป็น px */
        /* display: flex; flex-direction: column; align-items: center; */
    }

    .video-title {
        font-size: 30px;
        /* ปรับเป็น px */
        /* font-weight: 900; */
    }

    .video-nameweb {
        font-size: 18px;
        /* ปรับเป็น px */
        font-weight: 600;
        margin-top: -10px;
        /* ปรับเป็น px */
    }

    .video-show {
        max-width: 450px;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
        border: 1px solid #ccc;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    }

    .video-view {
        display: flex;
        margin-top: 25px;
        gap: 10px;
        flex-direction: row;
    }

    .slide-in-video img,
    .slide-in-video .slide-88 {
        /* width: 150px; */
        width: 180px;
    }

    .box-button {
        text-align: center;
        /* เปลี่ยนเป็น center */
        margin-top: 10px;
        /* ปรับเป็น px */
    }

    a.no-underline.b-video {
        padding: 5px 15px;
        border-radius: 10px;
        font-size: 14px;
    }

    /* Smart City Banner (ส่วนแบนเนอร์ Smart City) */
    .banner-smartcity-body-one {
        margin: 20px 10px 0 10px;
        padding: 0 2%;
        flex-direction: row;
        gap: 20px;
    }

    .smartcity-one,
    .smartcity-three {
        /* display: flex; flex-direction: column; align-content: center; */
        align-items: center;
        /* จัดให้อยู่ตรงกลาง */
    }

    img.banner-smartcity.no-underline {
        width: 100%;
        /* ใช้ความกว้างเต็ม */
        max-width: 350px;
        /* จำกัดขนาดสูงสุด */
        height: auto;
    }


    .banner-smartcity-body-two {
        margin-top: 15px;

    }

    /* img.banner-two คงเดิม */

    .smartcity-four,
    .box-sbt-one {
        /* position: absolute; */
        width: 95%;
        /* เพิ่มความกว้างเป็น 95% */
        max-width: 700px;
    }

    .banner-box-one {
        min-height: 820px;
        padding-bottom: 20px;
    }

    .smartcity-five {
        margin-top: 4%;
        display: flex;
    }

    .smartcity-six {
        margin-top: 20px;
        gap: 10px;
        align-items: center;
        margin-left: 20%;
    }

    img.bg-ons {
        /* width: 100%; */
        /* margin-top: 15px; */
        margin-top: 150px;
        /* ปรับเป็น px */
    }


    .ons-box-one {
        /* display: flex; flex-direction: column; */
        margin: 15px 0 0 0;
        /* ปรับเป็น px */
        font-size: 20px;
        /* ปรับเป็น px */
        width: 90%;
        /* ใช้ความกว้างเต็ม */
        max-width: 600px;
        text-align: center;
    }

    .ons-box-button-one {
        margin: 0;
        align-items: center;
    }

    img.bg-ons-button {
        width: 60%;
        max-width: 250px;
    }

    .ons-box-button-two {
        /* display: flex; justify-content: center; */
        margin-top: 15px;
        /* เพิ่ม margin */
        gap: 10px;
    }

    img.bg-ons-button-member,
    img.bg-ons-button-public {
        /* width: 45%;
        max-width: 180px; */
    }

    /* Public Service (บริการสาธารณะ) */
    .box-slide-menu {
        margin-top: 15px;
        /* ปรับเป็น px */
        /* display: flex; justify-content: center; */
        padding: 0 5%;
    }

    .public-service {
        /* display: flex; flex-direction: column; align-items: center; */
        margin: 20px;
        /* ปรับเป็น px */
        /* color: #fff; text-shadow: 0.1vw 0.1vw 1.04vw rgba(0, 0, 0, 0.5); */
    }

    .public-body {
        /* display: flex; flex-direction: column; align-items: center; justify-content: center; */
        margin-top: 40px;
        /* ปรับเป็น px */
        gap: 30px;
    }

    .button-public-service-top,
    .button-public-service-center,
    .button-public-service-button {
        flex-direction: row;
        gap: 20px;
    }

    /* ลบ gap ที่กว้างเกินไปออก */
    .button-public-service-top,
    .button-public-service-button {
        gap: 20px;
        /* ปรับเป็น px */
    }

    .button-public-service-center {
        gap: 20px;
        /* ปรับเป็น px */
    }

    .box-public-service {
        min-height: 950px;
    }

    a.public-link-one,
    a.public-link-two,
    a.public-link-three,
    a.public-link-center {
        font-size: 14px;
        gap: 13px;
    }

    img.public-service-img {
        width: 100px;
        /* ปรับเป็น px */
        max-width: 100%;
        /* z-index: 5; transition: transform 0.2s ease-in-out; */
    }

    /* .public-lines และ .glow-line (SVG/Animation) คงเดิม แต่ควรปรับ stroke-width เป็น px */
    .glow-line {
        stroke-width: 1.5px;
        stroke-dasharray: 2px 2px;
    }

    /* Activity Section (ส่วนกิจกรรม) */
    .title-activity {
        /* display: flex; justify-content: center; */
        margin-top: 40px;
        /* ปรับเป็น px */
        /* align-items: flex-end; */
        flex-direction: column;
        align-items: center;
    }

    .text-activity {
        /* display: flex; flex-direction: column; */
        align-items: center;
        /* เปลี่ยนเป็น center */
    }

    .title-activity-top {
        font-size: 30px;
        /* ปรับเป็น px */
        /* font-weight: 900; background: linear-gradient(...); -webkit-background-clip: text; -webkit-text-fill-color: transparent; */
    }

    .title-activity-button {
        font-size: 20px;
        /* ปรับเป็น px */
        margin-top: -10px;
        /* ปรับเป็น px */
        /* background: linear-gradient(...); -webkit-background-clip: text; -webkit-text-fill-color: transparent; */
    }

    /* .text-eser-one, .text-eser-three, .text-eser-two คงเดิม */
    span.text-eser-one {
        font-size: 24px !important;
    }

    span.text-eser-three {
        font-size: 14px !important;
        margin-top: -5px !important;
    }

    span.text-eser-two {
        font-size: 28px !important;
        margin-top: -10px !important;
    }

    /* img.slide-8 คงเดิม */

    .banner-one-stop-service {
        min-height: auto;
        /* ปรับเป็น auto */
        padding-bottom: 20px;
    }

    .activity-directory {
        /* display: flex; flex-wrap: wrap; justify-content: center; */
        padding: 0 10px;
        /* ปรับเป็น px */
        margin-top: 20px;
        /* ปรับเป็น px */
    }

    .card-activity-body {
        width: 200px;
        height: 250px;
        max-width: 350px;
        min-height: auto;
        padding: 15px;
        margin: 10px 5px;
    }

    /* .card-activity-body:hover คงเดิม */

    .activity-title {
        font-size: 16px;
        /* ปรับเป็น px */
        /* font-weight: 600; text-align: center; */
    }

    .activity-date {
        margin-top: 10px;
        /* ปรับเป็น px */
        font-size: 12px;
        /* ปรับเป็น px */
        /* color: #555; */
    }

    .activity-img {
        width: 150px;
        height: 100px;
        /* ปรับเป็น px */
        /* overflow: hidden; border-radius: 15px; */
    }

    /* .activity-img img คงเดิม */

    a.no-underline.button-activity {
        padding: 8px 20px;
        /* ปรับเป็น px */
        border-radius: 30px;
        /* ปรับเป็น px */
        font-size: 14px;
        /* font-weight: 600; color: #003E4D; transition: all 0.3s ease; */
    }

    /* .box-all-activity คงเดิม */

    a.no-underline.button-activity-all,
    a.no-underline.button-here-all {
        padding: 8px 25px;
        /* ปรับเป็น px */
        font-size: 16px;
        /* ปรับเป็น px */
        border-radius: 40px;
        /* ปรับเป็น px */
        /* font-weight: 600; color: #003E4D; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    }

    /* News Section (ส่วนข่าว) */
    .title-news-top {
        font-size: 30px;
        /* ปรับเป็น px */
        /* font-weight: 900; background: linear-gradient(...); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-align: center; */
    }

    .title-news-button {
        font-size: 20px;
        /* ปรับเป็น px */
        margin-top: -10px;
        /* ปรับเป็น px */
        /* background: linear-gradient(...); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-align: center; */
    }

    .card-news {
        width: 100%;
        /* ใช้ความกว้างเต็มจอ */
        max-width: 450px;
        /* จำกัดขนาดสูงสุด */
        padding-top: 20px;
        /* ปรับเป็น px */
        /* overflow: hidden; */
    }

    .box-bg-title {
        /* display: flex; flex-direction: column; align-items: flex-end; background: #fff; */
        margin: 15px 0;
        /* ปรับเป็น px */
        padding: 15px;
        /* ปรับเป็น px */
        border-radius: 20px;
        /* ปรับเป็น px */
        /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; */
    }

    .news-directory {
        /* display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-around; */
        max-width: 720px;
        /* margin: 0 auto; */
        padding: 15px 10px;
        /* ปรับเป็น px */
    }

    .card-news-body {
        justify-content: flex-start;
    }

    .box-activity-relations::before {
        background-position: 0px;
    }

    .box-all-news {
        margin-top: 30px;
        /* ปรับเป็น px */
        padding: 15px;
        /* ปรับเป็น px */
        /* display: flex; justify-content: center; */
    }

    .box-news-id {
        padding: 10px;
        width: 280px;
    }

    a.no-underline.button-news-all {
        padding: 8px 15px;
        /* ปรับเป็น px */
        font-size: 16px;
        /* ปรับเป็น px */
        border-radius: 10px;
        /* ปรับเป็น px */
        /* color: #fff; font-weight: 900; */
    }

    .box-news {
        margin-top: 15px;
        /* ปรับเป็น px */
    }

    /* Here Section (ส่วน Here) */
    .box-slide-hrer {
        /* display: flex; flex-direction: column; align-items: center; */
        margin-top: -15px;
        /* ปรับเป็น px */
    }

    .box-activity-relations {
        min-height: auto;
        /* ปรับเป็น auto */
        padding-bottom: 20px;
    }

    /* .box-activity-relations::before คงเดิม */

    img.slide-here {
        /* width: 100% !important; aspect-ratio: 16 / 7; border-radius: 50px; object-fit: cover; */
        border-radius: 20px;
    }

    img.box-here-img-text {
        margin-top: 80% !important;
    }

    div#carouselExampleSlidesHere.carousel-slide-here {
        max-width: 700px;
        aspect-ratio: 16 / 9;
        border-radius: 20px;
        padding: 4px;
        box-shadow: 0px 0px 10px 2px #888888;
        height: 414px;
    }

    img.button-here {
        width: 100%;
    }

    .here-text {
        /* position: absolute; */
        top: 10px;
        /* ปรับเป็น px */
        /* left: 50%; transform: translateX(-50%); */
        padding: 3px 15px;
        /* ปรับเป็น px */
        font-size: 18px;
        /* ปรับเป็น px */
        border-radius: 8px;
        /* ปรับเป็น px */
    }

    .position-static {
        /* position: static !important; display: flex !important; justify-content: center; */
        margin-top: 15px;
        /* ปรับเป็น px */
    }

    .slide-text {
        /* font-family: 'MyFont'; */
        font-size: 20px;
        /* ปรับเป็น px */
        /* background: linear-gradient(92deg, #ddf0ff, #f8fcff); z-index: 5; */
        margin-top: -10px;
        /* ปรับเป็น px */
        border-radius: 10px;
        /* ปรับเป็น px */
        box-shadow: 0px 0px 10px 2px #888888;
        /* ปรับเป็น px */
        /* position: absolute; */
        bottom: 10px;
        /* ปรับเป็น px */
        /* left: 50%; transform: translateX(-50%); */
        width: 80%;
        /* ใช้ความกว้างมากขึ้น */
        /* text-align: center; color: #000; */
    }

    .box-all-here {
        /* display: flex; flex-direction: row; justify-content: center; */
        gap: 20px;
        /* ปรับเป็น px */
        margin-top: 10%;
        /* ปรับเป็น px */
        flex-direction: column;
        /* เปลี่ยนเป็น Column เพื่อให้ stack กัน */
        align-items: center;
    }

    /* .banner-service-one, .banner-service-two คงเดิม */

    .banner-service-two {
        margin-top: 20px;
        /* ปรับเป็น px */
    }

    img.button-here-text {
        width: 80px;

    }

    .box-here {
        min-height: 1000px;
    }

    .announce-box {
        margin-top: 250px;
    }

    .card-here {
        padding: 10px 30px;
        /* ปรับเป็น px */
        border-radius: 40px;
        /* ปรับเป็น px */
        border: 2px solid rgb(200 231 148);
        /* ปรับเป็น px */
        /* transition: transform 0.3s ease; */
    }

    /* img.box-here-img-text คงเดิม */



    /* Announce Section (ส่วนประกาศ) */
    .tab-buttons button {
        padding: 10px 15px;
        /* ปรับเป็น px */
        border-radius: 30px;
        /* ปรับเป็น px */
        /* border: none; background: #2b757e; cursor: pointer; font-weight: bold; transition: 0.3s; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
        min-width: 120px;
        /* ลดขนาด min-width */
        font-size: 14px;
        /* ปรับเป็น px */
        max-width: 150px;
    }

    /* .tab-buttons button.active คงเดิม */

    .tab-content {
        /* display: none; */
        padding: 15px;
        /* ปรับเป็น px */
        border-radius: 10px;
        /* ปรับเป็น px */
        max-width: 720px;
        /* margin: 0 auto; */
    }

    /* .tab-content.active คงเดิม */

    .item {
        /* display: flex; */
        gap: 10px;
        /* ปรับเป็น px */
        padding: 15px 20px;
        /* ปรับเป็น px */
        /* background: linear-gradient(92deg, #179d9e6b, #1b798575); */
        min-height: 120px;
        /* ลดขนาด min-height */
        border-radius: 10px;
        /* ปรับเป็น px */
        /* width: 100%; max-width: 800px; flex-direction: column; color: #000; justify-content: center; */
        margin: 10px 0;
        /* ปรับเป็น px */
        width: 100%;
        max-width: none;
    }

    .item-icon {
        width: 40px;
        /* ลดขนาดเป็น px */
        height: 40px;
        /* ลดขนาดเป็น px */
        border-radius: 8px;
        /* ปรับเป็น px */
        font-size: 20px;
        /* ปรับเป็น px */
        /* color: #0b95d8; background: #f4fafd; flex-shrink: 0; */
    }

    .item-text {
        /* flex: 1; */
        font-size: 16px;
        /* ปรับเป็น px */
        /* line-height: 1.5; */
    }

    .item-date {
        font-size: 12px;
        /* ปรับเป็น px */
        /* color: #d9534f; margin-bottom: 6px; font-weight: 500; */
    }

    .announce-box {
        min-height: auto;
        padding-bottom: 20px;
    }

    /* .announce-title คงเดิม */

    .announce-title-one {
        font-size: 30px;
        /* ปรับเป็น px */
        /* font-weight: 800; */
    }

    .announce-title-two {
        font-size: 20px;
        /* ปรับเป็น px */
        margin-top: -10px;
        /* ปรับเป็น px */
    }

    .announce-body {
        padding: 15px;
        /* ปรับเป็น px */
    }

    .tab-buttons button::before {
        content: "";
        /* ลบ content */
    }

    .tab-buttons {
        /* display: flex; */
        gap: 10px;
        /* ปรับเป็น px */
        margin-bottom: 20px;
        /* ปรับเป็น px */
        /* justify-content: space-between; */
        flex-wrap: wrap;
        /* ให้ขึ้นบรรทัดใหม่ได้ */
        justify-content: center;
    }

    .content-announce {
        min-height: auto;
        gap: 10px;
        padding: 0 5px;
        display: flex;
        flex-direction: column;
    }

    .box-one-announce {
        /* display: flex; align-items: center; */
        gap: 8px;
        /* ปรับเป็น px */
        flex-wrap: wrap;
    }

    .tag-announce {
        padding: 4px 10px;
        /* ปรับเป็น px */
        font-size: 12px;
        /* ปรับเป็น px */
        border-radius: 15px;
        /* ปรับเป็น px */
    }

    /* .item:hover คงเดิม */

    .box-all-announce {
        /* display: flex; align-items: center; justify-content: center; */
        margin: 20px 0;
        /* ปรับเป็น px */
        /* position: relative; */
        padding: 0 10px;
        /* ปรับเป็น px */
    }

    .box-all-announce::before,
    .box-all-announce::after {
        /* content: ""; flex: 1; */
        height: 2px;
        /* ปรับเป็น px */
        margin: 0 5px;
        /* ปรับเป็น px */
    }

    .box-all-announce a {
        /* background: #fff; border: 1px solid #ccc; */
        border-radius: 20px;
        /* ปรับเป็น px */
        padding: 5px 12px;
        /* ปรับเป็น px */
        font-size: 12px;
        /* ปรับเป็น px */
        /* cursor: pointer; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); transition: all 0.2s ease; */
    }


    .box-announce {
        min-height: auto;
        padding-bottom: 20px;
    }

    .box-elibrary {
        padding: 0 10px;
        gap: 15px;
        height: 330px;
    }

    .elibrary-text-one {
        margin-top: 30px;
        text-align: center;
        align-items: center;
        align-items: flex-end;
    }

    .elibrary-one-box {
        width: 100%;
        max-width: 300px;
        /* จำกัดขนาดสูงสุด */
    }

    .elibrary-one {
        justify-content: center;
        width: 420px;
    }

    .elibrary-two {
        text-align: center;
        /* เปลี่ยนเป็น center */
        margin-right: 0;
        margin-top: 0;
    }

    /* Vote Section (ส่วนโหวต) */
    .box-vote {
        min-height: auto;
        margin-top: -50px;
        /* ปรับเป็น px */
        /* position: relative; */
        padding-bottom: 20px;
    }

    .vote {
        gap: 8px;
        max-width: 95%;
        width: 95%;
        top: 25%;
        left: 30%;
    }

    .text-vote {
        gap: 1px;
        margin-bottom: 15px;
        height: 130px;
    }

    .text-vote label {
        font-size: 10px;
        margin: 4px 0;

    }

    .bb-vote {
        /* text-align: center; */
        margin-top: 15px;
        /* ปรับเป็น px */
    }

    .s-vote {
        padding: 8px 20px;
        /* ปรับเป็น px */
        /* background-color: #1976d2; color: #fff; border: none; border-radius: 25px; */
        font-size: 14px;
        /* ปรับเป็น px */
        /* font-weight: bold; cursor: pointer; transition: background 0.3s; */
    }

    .map-one {
        margin-top: 30%;
        flex-direction: row;
        align-items: center;
        margin-left: 5%;
        display: flex;
    }

    .text-map-one {
        padding: 15px;
    }

    .tm-one {
        font-size: 42px !important;
    }

    img#cloud1,
    img#cloud2,
    img#cloud3,
    img#drone1,
    img#drone2,
    img#drone3 {
        width: 10%;
    }

    .map-two {
        /* display: flex; justify-content: center; width: 100%; */
        height: 300px;
        /* ลดความสูงเป็น px */
    }

    .map-three {
        /* display: flex; flex-direction: row; align-items: center; */
        margin-top: 20px;
        /* ปรับเป็น px */
        /* justify-content: center; flex-wrap: wrap; */
        gap: 20px;
        /* ปรับเป็น px */
    }

    .t-m-two {
        /* display: flex; flex-wrap: wrap; */
        gap: 10px;
        /* ปรับเป็น px */
    }

    /* .text-m-two คงเดิม */

    /* .text-map-three คงเดิม */

    .map-body {
        padding: 20px;
        /* ปรับเป็น px */
        /* background: #fff; border-radius: 30px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); */
        /* height: auto; max-width: 1200px; margin: auto; */
    }

    .card-map-three {
        padding: 20px;
        /* ปรับเป็น px */
    }

    .tab-buttons-map {
        /* display: flex; */
        gap: 10px;
        /* ปรับเป็น px */
        margin-bottom: 20px;
        /* ปรับเป็น px */
        /* justify-content: center; max-width: 1200px; margin-left: auto; margin-right: auto; */
        flex-wrap: wrap;
    }

    .tab-buttons-map button {
        padding: 8px 15px;
        /* ปรับเป็น px */
        width: 100%;
        max-width: 250px;
        min-width: 150px;
        /* ลดขนาด min-width */
        font-size: 14px;
        /* ปรับเป็น px */
    }

    .content-map {
        /* display: flex; flex-direction: column; */
        gap: 10px;
        /* ปรับเป็น px */
        max-width: 720px;
        /* margin: 0 auto; */
    }

    .item-map {
        padding: 10px 15px;
        /* ปรับเป็น px */
        font-size: 14px;
        /* ปรับเป็น px */
        height: auto;
        min-height: 40px;
    }

    .box-all-map {
        /* display: flex; align-items: center; justify-content: center; */
        margin: 20px 0;
        /* ปรับเป็น px */
        /* position: relative; */
        padding: 0 10px;
        max-width: 720px;
        /* margin-left: auto; margin-right: auto; */
    }

    /* Public Service Lines (เส้นเชื่อมโยง) - ปรับขนาดและตำแหน่ง */
    .public-link-two.sim-three::after,
    .public-link-two.sim-five::after,
    .public-link-three.sim-six::after,
    .public-link-one.sim-one::after,
    .public-link-three.sim-seven::after,
    .public-link-one.sim-two::after {
        display: none;
    }

    .banner-box-sbt-one.no-underline {
        text-decoration: none;
        color: inherit;
        width: 40% !important;
    }

    .counter-total {
        position: relative;
        width: 133px;
        left: -19px;
        transition: none;
    }

    .counter-total span {
        position: relative;
        left: -15px;
    }

    .box-view {
        background: #058c8a;
        padding: 20px 0px 20px 40px;
        display: flex;
        align-items: center;
        gap: 40px;
        color: #fff;
        font-weight: bold;
        justify-content: space-between;
    }

    .fb_iframe_widget iframe {
        position: absolute;
        width: 250px !important;
        height: 350px !important;
        vertical-align: bottom;
        width: 340px;
        height: 779.2px;
        position: relative;
        left: 69px;
        top: -27px;
        transition: none;
        cursor: move;
    }

    .elibrary-img-one {
        position: relative;
        left: -73px;
    }

    .elibrary-img-one img {
        position: relative;
        left: 59px;
        width: 200px;
    }

    span.elibrary-text-1 {
        font-size: 21px !important;
    }

    span.elibrary-text-2 {
        font-weight: 900;
        font-size: 85px !important;
        margin-top: -45px !important;
    }

    .elibrary-two img {
        width: 130% !important;
    }

    .tab-buttons button {
        font-size: 10px;
    }

    .book,
    .book-cover {
        width: 150px;
        height: 225px;
    }

    .f-book {
        margin-top: -20px;
    }

    .box-all-book {
        margin-top: -2px;
    }

    .tmt-one {
        font-size: 50px !important;

    }

    .tmt-two {
        font-size: 40px !important;
        margin-top: -30px !important;
    }

    .m-img-three img,
    .t-m-one img {
        width: 50%;
    }

    .tab-buttons-map button {
        font-size: 12px;
    }

    .banner-map-img {
        width: 150%;
    }

    .box-view-two {
        min-height: 550px;
    }

    .box-footer {
        min-height: 800px;
    }

    span.ft-by-one {
        font-size: 22px !important;
    }

    span.ft-by-two {
        font-size: 14px !important;
        margin-top: 2px !important;
    }

    .text-footer-one span,
    .text-footer-two div,
    .text-footer-three div {
        font-size: 10px !important;
    }

    .text-footer-one img,
    .text-footer-two img,
    .text-footer-three img {
        width: 10%;
    }

    .counter-title {
        font-size: 25px;
    }
}