.cover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: bottom center;
    z-index: -1;
    opacity: 50%;
}

.executive-section .tab-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.executive-section .tab-buttons button {
    border: none;
    padding: 0.75rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 100px;
    color: #0e3a81;
    background: #ebebeb;
    font-size: 1rem;
}

.executive-section .tab-buttons button.active {
    background: #008fd3;
    color: #ffffff;
    font-weight: bold;
}

.executive-section .tab-buttons button:hover {
    background: #008fd3;
    color: #ffffff;
    font-weight: bold;
}

.executive-section .tab-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 100%;
    padding-top: 20px;
    transform: translateY(20px);
}

.executive-section .tab-content.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    animation: fadeUp 0.5s ease forwards;
}

.executive-section .tabs-container {
    position: relative;
    min-height: 200px;
}

.executive-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 0.75rem;
    padding-right: 1rem;
    transition: transform 0.3s ease;
    display: flex;
    gap: 1rem;
    border-radius: 60px 60px 0 60px;
}

@media screen and (max-width: 575.98px) {
    .executive-card {
        border-radius: 40px 40px 0 40px;
        padding: 0.5rem;
    }
}

.executive-card .content {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.executive-card .content .name {
    color: #0e3a81;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    row-gap: 0.05rem;
}

@media screen and (max-width: 575.98px) {
    .executive-card .content .name {
        font-size: 1.25rem;
    }
}

.executive-card .content .position {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.executive-card .content .call {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.executive-card .content .call .phone-icon svg {
    width: 14px;
    height: 14px;
}

.executive-card .img {
    background: linear-gradient(180deg, #a7e6ff 0%, #32a5db 100%);
    border-radius: 50px 50px 0 50px;
}

@media screen and (max-width: 575.98px) {
    .executive-card .img {
        border-radius: 30px 30px 0 30px;
    }
}

.executive-card img {
    width: 174px;
    height: 205px;
    object-fit: cover;
    margin-top: -34px;
    margin-bottom: -0.35rem;
    border-radius: 50px 50px 0 50px;
    object-fit: cover;
    object-position: top;
}

@media screen and (max-width: 575.98px) {
    .executive-card img {
        width: 110px;
        height: 154px;
        margin-bottom: -0.5rem;
        border-radius: 30px 30px 0 30px;
    }
}

.executive-card:hover {
    transform: translateY(-5px);
}

.executive-card.small {
    border-radius: 40px 40px 0 40px;
    padding: 0.5rem;
}

.executive-card.small .img {
    border-radius: 30px 30px 0 30px;
}

.executive-card.small .content .name {
    font-size: 1rem;
}

.executive-card.small .content .position {
    font-size: 0.875rem;
}

.executive-card.small .content .call {
    font-size: 0.75rem;
}

.executive-card.small .content .call .phone-icon svg {
    width: 12px;
    height: 12px;
}

.executive-card.small img {
    width: 110px;
    height: 154px;
    margin-bottom: -0.5rem;
    border-radius: 30px 30px 0 30px;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.executive-profile .img {
    background: linear-gradient(180deg, #a7e6ff 0%, #32a5db 100%);
    border-radius: 50px 50px 0 50px;
    display: inline-block;
}

.executive-profile .img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-top: -34px;
    margin-bottom: -0.35rem;
}

.title-label {
    position: relative;
}

.title-label .title {
    background: linear-gradient(90deg,
            #0e3a81 15.12%,
            #037cc1 47.88%,
            rgba(0, 143, 211, 0) 92.2%);
    border-radius: 1rem 0 0 0;
    padding: 0.5rem 8rem 0.5rem 1.25rem;
    display: inline-block;
    margin-left: 24px;
}

.title-label::before {
    background: #0e3a81;
    width: 24px;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 1rem 0 0;
}

.title-label .bullet {
    position: absolute;
    top: 20px;
    left: 19px;
    background-color: #ffffff;
    width: 8px;
    height: 8px;
    border-radius: 1rem 0 1rem 1rem;
    transform: rotate(315deg);
    z-index: 1;
}

.list-group {
    list-style: none;
    padding-left: 1.25rem;
}

.list-group li {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    padding-left: 1.25rem;
}

.list-group li:last-child {
    margin-bottom: 0;
}

.list-group .dot {
    position: absolute;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 1rem 0 1rem 1rem;
    transform: rotate(88deg);
    background: #008fd3;
    margin-right: 0.75rem;
}

.org-chart {
    position: relative;
    text-align: center;
    margin-top: 40px;
    z-index: 1;
}
.org-chart.--row-03.--show-01 .org-row.flexible .org-node.center::before{
   content: none;
}
@media screen and (max-width: 991.98px) {
    .org-chart.--row-03.--show-01 .org-row.flexible .org-node.center::before{
        content: '';
    }

}
@media screen and (max-width: 991.98px) {
    .org-chart.--row-03 .org-row:nth-child(3) .org-node .line{
      display: block;
    }

}
.org-chart.--row-03 .org-node.top::before {
    height: 21.8rem;
}

@media screen and (max-width: 1199.98px) {
    .org-chart.--row-03 .org-node.top::before {
        height: 24rem;
    }

}
.org-chart.--row-03-sub .org-node.top::before {
    height: 31.8rem;
}
@media screen and (max-width: 1199.98px) {
    .org-chart.--row-03-sub .org-node.top::before {
        height: 36.5rem;
    }

}
.org-chart.--row-03 .flexible .org-node.center .line {
    border-radius: 0;
    border-left-style: solid;
    border-width: 2px;
    border-color: #076fb2;
}

.org-chart.--row-03 .flexible .org-node.center::before {
    left: 100px;
}

@media screen and (max-width: 991.98px) {
    .org-chart.--row-03 .flexible .org-node.center::before {
        top: 25px;
        width: 100%;
        right: auto;
        left: -8%;
    }
}

.org-chart .line {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border-left: 2px solid #076fb2;
    border-top: 2px solid #076fb2;
    width: 50%;
    height: 40px;
    z-index: -1;
    border-radius: 1rem 0 0 0;
}

@media screen and (max-width: 991.98px) {
    .org-chart .line {
        top: auto;
        bottom: 95px;
        right: 0;
        width: 2px;
        height: 130%;
        border: none;
        left: -8%;
        right: auto;
        background: #076fb2;
    }
}

.org-node {
    position: relative;
    display: inline-block;
}

.org-node::before {
    content: "";
    position: absolute;
    top: -40px;
    width: 19rem;
    right: -230px;
    height: 2px;
    background: #076fb2;
    z-index: -1;
    border-radius: 16px 0 0 0;
}

@media screen and (max-width: 991.98px) {
    .org-node::before {
        top: 25px;
        width: 100%;
        right: auto;
        left: -8%;
    }
}

.org-node.right::before {
    content: "";
    position: absolute;
    width: 19rem;
    left: -230px;
    height: 2px;
    background: #076fb2;
    z-index: -1;
    border-radius: 16px 0 0 0;
}

@media screen and (max-width: 991.98px) {
    .org-node.right::before {
        top: 25px;
        width: 100%;
        right: auto;
        left: -8%;
    }
}

.org-node.right .line {
    border-right: 2px solid #076fb2;
    border-left: none;
    border-radius: 0 1rem 0 0;
    left: 0;
}

@media screen and (max-width: 991.98px) {
    .org-node.right .line {
        top: auto;
        bottom: 95px;
        right: 0;
        width: 2px;
        height: 130%;
        border: none;
        left: -8%;
        right: auto;
        background: #076fb2;
    }
}

.org-node.center .line {
    border: none;
}

.org-node .position {
    position: relative;
    background: linear-gradient(90deg, #009ddc 0%, #0e3a81 100%);
    border-radius: 100px;
    padding: 0.5rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    transition: all .25s;
    display: grid;
    align-items: center;
    justify-content: center;
    min-height: 42px;
}

.org-node .position:hover {
    background: linear-gradient(90deg, #0e3a81 0%, #009ddc 100%);
}

@media screen and (max-width: 991.98px) {
    .org-node .position {
        min-height: 48px;
    }
}



.org-node .position .title {
    font-weight: 600;
}

.org-node .position p {
    font-size: 14px;
}

.org-node.top::before {
    content: none;
}

.org-node.top .position {
    border-radius: 8px;
    padding: 0.5rem 2rem;
    margin-bottom: 40px;
}

.org-node.top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 2px;
    height: 18rem;
    background-color: #0e3a81;
}

@media screen and (max-width: 991.98px) {
    .org-node.top {
        width: 100%;
    }

    .org-node.top::before {
        content: none;
    }

    .org-node.top .position {
        margin-bottom: 1rem;
    }
}

.org-row {
    display: grid;
}

.org-row.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.org-row.columns-4 .org-node {
    margin: 2.5rem 1rem;
}

@media screen and (max-width: 991.98px) {
    .org-row.columns-4 {
        grid-template-columns: 90%;
        justify-content: end;
    }

    .org-row.columns-4 .org-node {
        margin: 0;
        margin-bottom: 1rem;
    }

    .org-row.columns-4 .org-node:first-child .line {
        display: none;
    }
}

.org-row.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.org-row.columns-5 .org-node {
    margin: 2.5rem 0.25rem;
}

@media screen and (max-width: 991.98px) {
    .org-row.columns-5 {
        grid-template-columns: 90%;
        justify-content: end;
    }

    .org-row.columns-5 .org-node {
        margin: 0;
        margin-bottom: 1rem;
    }
}

.org-row.flexible {
    display: flex;
    justify-content: space-around;
}

@media screen and (max-width: 991.98px) {
    .org-row.flexible {
        display: grid;
        grid-template-columns: 90%;
        justify-content: end;
    }

}

.flexible .org-node {
    margin: 2.5rem 1rem;
    width: 30%;
}

@media screen and (max-width: 991.98px) {
    .flexible .org-node {
        margin: 0;
        margin-bottom: 1rem;
        width: 100%;
    }

}

.org-node .list-group {
    background: linear-gradient(90deg, #009ddc 0%, #0e3a81 100%);
    border-radius: 18px;
    padding: 0.25rem 4px;
    margin-top: 0.75rem;
    cursor: pointer;
}

.org-node .list-group .title {
    background: #fff;
    border-radius: 100px;
    padding: 0.35rem;
    color: #0769ac;
    font-size: 14px;
}

.org-node .list-group .list {
    text-align: left;
    padding: 0 0.55rem;
    color: #ffffff;
    font-size: 14px;
}

.org-node .list-group .list .dot {
    top: 5px;
    background: #ffffff;
}

.org-popup-overlay {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.org-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.org-popup-content {
    position: relative;
    background: #fff;
    padding: 3rem;
    border-radius: 1rem;
    min-width: 350px;
    max-width: 800px;
    margin: 1rem;
    animation: fadeInUp 0.3s ease;

    .close {
        position: absolute;
        right: 1rem;
        top: 0;
        font-size: 48px;
        color: #8589ab;
        cursor: pointer;
    }

    @media screen and (max-width: 575.98px) {
        padding: 2rem 1rem;
    }
}

.org-popup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.org-popup-details {
    height: auto;
    max-height: 580px;
    min-height: 90px;
    padding-right: 0.75rem;
    overflow: auto;

    @media screen and (max-width: 575.98px) {
        height: 100vw;
        max-height: max-content;
        min-height: 90px;
    }

    .row {
        display: flex;
        align-items: baseline;
        margin-bottom: 0.5rem;
    }

    .content {
        padding: 0 1.25rem;
        margin: 0.5rem 0 0.75rem;
    }

    .dept-block {
        border-bottom: 1px solid #dcdcdc;
        margin-bottom: 0.75rem;
    }

    .icon {
        color: #0e3a81;
        margin-right: 0.5rem;

        em {
            width: 14px;
            height: 14px;
            font-size: 14px;
        }
    }

    .icon .dot {
        width: 14px;
        height: 14px;
        display: block;
        border-radius: 1rem 0 1rem 1rem;
        transform: rotate(88deg);
        background: #0e3a81;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

/* Edit */
.section-12 .swiper-04 {
    overflow: hidden;
}

.section-12 .arrows {
    opacity: 1;
    left: -60px;
    right: -60px;
    padding: 0;
}

.swiper-tabs-03 {
    width: 100%;
    max-width: max-content;
    margin: 0 auto;
}

.tab-container .tab-content.active {
    overflow: visible;
}

.ss-card-05.minisite .ss-img {
    padding: 146% 0 0 0;
}


/* Theme */
.theme-1 .ss-title>*:first-child {
    background-image: linear-gradient(to right, rgb(255 255 255), rgb(255 255 255), rgb(255 255 255 / 100%), rgb(255 255 255), rgb(255 255 255));
}

.theme-1 .title-label::before {
    filter: grayscale(1);
}

.theme-1 .title-label .title {
    filter: grayscale(1);
}

.theme-1 .executive-profile .img {
    filter: grayscale(1);
}

.theme-1 .list-group .dot {
    filter: grayscale(1);
}

.theme-1 .phone-icon svg path {
    fill: #fff;
}

.theme-2 .ss-title>*:first-child {
    background-image: linear-gradient(to right, rgb(254 203 0), rgb(254 203 0), rgb(254 203 0 / 100%), rgb(254 203 0), rgb(254 203 0));
}

.theme-2 .title-label::before {
    background: transparent;
}

.theme-2 .title-label .title {
    background: transparent;
}

.theme-2 .title-label .bullet {
    background-color: #fecb00;
}

.theme-2 .executive-profile .img {
    background: transparent;
}

.theme-2 .list-group .dot {
    background: #fecb00;
}

.theme-2 .phone-icon svg path {
    fill: #fecb00;
}

.theme-1 .executive-section .tab-buttons button {
    filter: grayscale(1);
}

.theme-1 .executive-card .content .name {
    color: #ffffff;
}

.theme-1 .executive-card {
    filter: grayscale(1);
    background: transparent;
    border: 1px solid;
}

.theme-2 .executive-section .tab-buttons button {
    background-color: #fecb00;
    color: #000000;
}

.theme-2 .executive-card .content .name {
    color: #fecb00;
}

.theme-2 .executive-card .img {
    filter: grayscale(1);
}

.theme-2 .executive-card {

    background: transparent;
    border: 1px solid;
}


.theme-1 .org-node .position {
    filter: grayscale(1);
}

.theme-1 .org-node .list-group {
    filter: grayscale(1);
}

.theme-1 .org-node.top::before,
.theme-1 .org-node::before,
.theme-1 .org-node.right::before {
    background: #ffffff;
}

.theme-1 .org-chart .line {
    border-left: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    border-right: none;
}

@media screen and (max-width: 991.98px) {
    .theme-1 .org-chart .line {
        background: #ffffff;
    }
}

.theme-1 .org-node.right .line {
    border-right: 2px solid #ffffff;
    border-left: none;
}

.theme-1 .org-node.center .line {
    border: none;
}

.theme-1 .org-popup-content {
    background: #000000;
    border: 1px solid;
}

.theme-1 .org-popup-content .close {
    color: #ffffff;
}

.theme-1 .org-popup-details .icon {
    color: #ffffff;
}

.theme-1 .org-popup-details .icon .dot {
    background: #ffffff;
}

.theme-2 .org-node .position {
    border: 1px solid;
    color: #fecb00;
    background: #000000;
}

.theme-2 .org-node .list-group {
    border: 1px solid;
    color: #fecb00;
    background: #000000;
}

.theme-2 .org-node .list-group .title {
    background: #000000;
    border: 1px solid;
    color: #fecb00;
}

.theme-2 .org-node .list-group .list {
    color: #fecb00;
}

.theme-2 .org-node .list-group .list .dot {
    background: #fecb00;
}

.theme-2 .org-popup-content {
    background: #000000;
    border: 1px solid;
}

.theme-2 .org-popup-details .dept-block {
    border-bottom: 1px solid #fecb00;
}

.theme-2 .org-popup-details .icon {
    color: #fecb00;
}

.theme-2 .org-popup-details .icon .dot {
    background: #fecb00;
}

.theme-2 .org-popup-content .close {
    color: #fecb00;
}

.theme-2 .org-node.top::before,
.theme-2 .org-node::before,
.theme-2 .org-node.right::before {
    background: #fecb00;
}

.theme-2 .org-chart .line {
    border-left: 2px solid #fecb00;
    border-top: 2px solid #fecb00;
    border-right: none;
}

@media screen and (max-width: 991.98px) {
    .theme-2 .org-chart .line {
        background: #fecb00;
    }
}

.theme-2 .org-node.right .line {
    border-right: 2px solid #fecb00;
    border-left: none;
}

.theme-2 .org-node.center .line {
    border: none;
}


.theme-1 .banner-03 .swiper .arrows .arrow {
    filter: grayscale(1);
}

.theme-1 .banner-03 .swiper-pagination-bullets {
    filter: grayscale(1);
}

.theme-1 .ss-card-09 .text-container {
    filter: grayscale(1);
}

.theme-1 .section-10 .swiper-pagination-bullet {
    filter: grayscale(1);
}

.theme-1 .icon-water path {
    fill: #000000;
}


.theme-2 .banner-03 .swiper .arrows .arrow {
    background: rgb(0 0 0 / 50%);
    color: #fecb00;
}

.theme-2 .banner-03 .swiper-pagination-bullets {
    background: rgb(0 0 0 / 50%);
}

.theme-2 .banner-03 .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    border: 1px solid #fecb00;
}

.theme-2 .banner-03 .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet-active {
    background: #fecb00;
}

.theme-2 .ss-card-09 .text-container {
    background: rgb(0 0 0 / 57%);
}

.theme-2 .section-10 .swiper-pagination-bullet svg path {
    stroke: #fecb00;
}

.theme-2 .section-10 .swiper-pagination-bullet-active svg path {
    fill: #fecb00;
}

.theme-2 .icon-water path {
    fill: #fecb00;
}

.cursor-pointer {
  cursor: pointer;
}

.footer-wrapper .footer-top .logo .img-container img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
}

nav.topnav .logo img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
}

nav.topnav .menu.mega-menu .submenu-container {
  min-height: 23vh;
}

/* ==========================================
   Tablet / iPad: ปรับ Responsive ให้สมส่วน
   ========================================== */
@media screen and (min-width: 768px) and (max-width: 1199.98px) {
  .section-02 .container,
  .section-03 .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 100%;
  }
  .section-02 .ss-box,
  .section-03 .ss-box {
    margin-left: auto;
    margin-right: auto;
  }

  /* ===== Section-02: ปริมาณน้ำวันนี้ ===== */
  .section-02.section-padding {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
  .section-02 .ss-box > .mt-3 {
    margin-top: 1.5rem !important;
  }
  .section-02 .ss-title .h3 {
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-size: 1.5rem;
  }

  /* Grid layout สำหรับ section-02 */
  .section-02 .grids {
    justify-content: center;
    align-items: flex-start;
    --gs: 0.75rem;
    gap: 1.25rem;
  }
  .section-02 .grids > .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .section-02 .grids > .grid.sm-100 {
    margin-top: 0 !important;
  }

  /* Water wave containers - ขนาดสมส่วน */
  .section-02 .grids .grids {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: nowrap;
  }
  .section-02 .grids .grids > .grid {
    flex: 0 0 auto;
    width: auto;
    margin-top: 0 !important;
  }
  .section-02 .wave-slot {
    margin: 0 auto;
  }
  .section-02 .water-wave {
    width: 100%;
    margin: 0 auto;
  }
  .section-02 .grids .grids > .grid .wave-slot {
    margin-top: 0.75rem !important;
  }
  .section-02 .grids .grids > .grid .h6 {
    margin-bottom: 0;
    font-size: 0.9375rem;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }
  .section-02 .wave-slot .text-top,
  .section-02 .wave-slot .text-bottom {
    padding: 0 0.5rem;
  }
  .section-02 .wave-slot .text-top .lg,
  .section-02 .wave-slot .text-bottom .lg {
    font-size: 1.25rem;
  }
  .section-02 .wave-slot .text-top .xxs,
  .section-02 .wave-slot .text-bottom .xxs {
    font-size: 0.6875rem;
  }

  /* Map container - บังคับให้ขยายเต็มความกว้าง (แก้ปัญหา align-items:center ที่หดขนาด) */
  .section-02 .ss-height-01 {
    width: 100%;
  }
  .section-02 iframe.map {
    margin-top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
  }
  /* Rain map grid - บังคับเต็มความกว้าง */
  .section-02 .grids.flex-col-reverse-sm > .grid.md-50 {
    align-self: stretch;
  }
  .section-02 .grids.flex-col-reverse-sm > .grid.md-50 > iframe.map {
    min-height: 50vh;
  }

  /* Irrigation cards section */
  .section-02 .grids.flex-col-reverse-sm {
    margin-top: 1.25rem;
    gap: 1.25rem;
  }
  .section-02 .ss-height-02 {
    height: auto;
    padding: 0;
  }
  .section-02 .pos-relative {
    padding: 0;
  }
  .section-02 .float-title {
    position: relative;
    bottom: auto;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
  }
  .section-02 .float-title .h6 {
    font-size: 1.0625rem;
    margin-bottom: 0;
  }

  /* Irrigation cards grid */
  .section-02 .ss-height-02 .grids {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0;
  }
  .section-02 .ss-height-02 .grids > .grid {
    flex: 0 0 auto;
    margin-top: 0 !important;
    position: relative;
  }
  .section-02 .ss-height-02 .grids > .grid.all-100 {
    width: 100% !important;
    max-width: none;
    flex-basis: 100%;
  }
  /* Card flip */
  .section-02 .card-flip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-bottom: 0;
  }
  .section-02 .card-flip .inner-card {
    width: 100%;
    height: 100%;
  }
  .section-02 .card-flip .inner-card .front-side,
  .section-02 .card-flip .inner-card .back-side {
    width: 100%;
    height: 100%;
  }
  /* SS Card 03 */
  .section-02 .ss-card-03 {
    padding: 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .section-02 .ss-card-03 .ss-img {
    padding: 90% 0 0 0;
    position: relative;
  }
  .section-02 .ss-card-03 .ss-img .img-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem;
  }
  .section-02 .ss-card-03 .text-wrapper {
    padding: 0.5rem 0.25rem 0.25rem;
    text-align: center;
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
  }
  .section-02 .ss-card-03 .text-wrapper .h4 {
    font-size: 1.375rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  }
  .section-02 .ss-card-03 .text-wrapper .lg {
    font-size: 0.8125rem;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  }
  /* Placeholder card */
  .section-02 .ss-height-02 .grids > .grid > .ss-card-03.op-0 {
    position: relative !important;
    visibility: hidden;
    height: auto;
  }

  /* View all button */
  .section-02 .grid.all-100 {
    margin-top: 1rem !important;
  }
  .section-02 .grid.all-100 .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
  }
  .section-02 .mt-4 {
    margin-top: 1rem !important;
  }

  /* ===== Section-03: รายงานจากน้ำตามภารกิจ ===== */
  .section-03 .section-padding {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .section-03 .grids {
    --gs: 0.5rem;
    gap: 0.75rem;
  }
  .section-03 .grids > .grid.lg-50.md-100 {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .section-03 .grids > .grid.lg-50.md-100 h4,
  .section-03 .grids > .grid.lg-50.md-100 h6,
  .section-03 .grids > .grid.lg-50.md-100 .h3 {
    text-align: center;
    width: 100%;
    margin-bottom: 0;
    line-height: 1.3;
  }
  .section-03 .grids > .grid.lg-50.md-100 .h3.mt-1 {
    margin-top: 0.375rem !important;
  }

  /* Panel card styling */
  .section-03 .panel-card {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    max-width: 36rem;
    width: 100%;
    padding: 1.5rem 1.25rem 0.75rem 1.25rem;
  }
  .section-03 .panel-card .card-title {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 2rem);
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }
  .section-03 .panel-card .item {
    padding: 0.625rem 0;
    line-height: 1.4;
  }
  .section-03 .panel-card .item .sm {
    font-size: 0.8125rem;
  }
  .section-03 .panel-card .d-flex.ai-end.jc-end {
    justify-content: center;
    margin-top: 0.75rem;
  }

  /* Service section styling */
  .section-03 .tag-title {
    max-width: 18rem;
    margin: 1rem auto 1rem auto;
    padding: 0.5rem 0.875rem;
  }
  .section-03 .h4.fw-500.color-white,
  .section-03 .h6.fw-500.color-white {
    text-align: center;
  }
  .section-03 .h4.fw-500.color-white.mt-1 {
    margin-top: 0.5rem !important;
  }

  /* Swiper adjustments */
  .section-03 .swiper-expand {
    width: 100%;
    padding: 0 1.5rem;
    margin: 0;
  }
  .section-03 .ss-card-02 {
    margin: 0 auto;
  }
}

/* ===== iPad Mini & Small Tablets (768px - 834px) =====
   Layout: Full-width stacked (เรียงบนล่าง) เพื่อให้แต่ละ element มีพื้นที่เพียงพอ
   ===== */
@media screen and (min-width: 768px) and (max-width: 834px) {
  /* เปลี่ยนเป็น full-width stacked layout */
  .section-02 .grids > .grid.md-50 {
    width: 100% !important;
  }
  /* วงกลมน้ำ - ขยายขนาดให้สมส่วน */
  .section-02 .grids .grids {
    justify-content: center;
    gap: 2.5rem;
  }
  .section-02 .grids .grids > .grid {
    min-width: 160px;
    max-width: 200px;
  }
  .section-02 .wave-slot {
    max-width: 10rem;
  }
  .section-02 .water-wave {
    max-width: 9.5rem;
  }
  .section-02 .grids .grids > .grid .h6 {
    font-size: 1rem;
  }
  /* แผนที่ปริมาณน้ำ - ขยายให้เต็มจอ (ใช้ vh เพื่อสัมพันธ์กับขนาดหน้าจอ) */
  .section-02 .ss-height-01 {
    height: 50vh;
    min-height: 380px;
  }
  .section-02 .ss-height-01 iframe.map {
    min-height: 380px;
  }
  /* แผนที่ฝน - ขยายให้เต็มจอเช่นกัน */
  .section-02 .grids.flex-col-reverse-sm > .grid.md-50 > iframe.map {
    min-height: 50vh;
  }
  /* การ์ดชลประทาน - ขยายขนาดให้อ่านง่าย */
  .section-02 .ss-height-02 .grids > .grid {
    width: calc(33.33% - 1rem) !important;
    max-width: 200px;
    min-width: 140px;
  }
  .section-02 .ss-height-02 .grids > .grid.sm-1-3,
  .section-02 .ss-height-02 .grids > .grid.xs-1-3 {
    width: calc(33.33% - 1rem) !important;
  }
  .section-02 .ss-card-03 .text-wrapper .h4 {
    font-size: 1.25rem;
  }
  .section-02 .ss-card-03 .text-wrapper .lg {
    font-size: 0.75rem;
  }

  .section-03 .panel-card {
    max-width: 100%;
    padding: 1.25rem 1rem 0.5rem 1rem;
  }
}

/* ===== iPad Air & Standard Tablets (835px - 1024px) =====
   Layout: Full-width stacked เช่นกัน เพื่อให้สมส่วน
   ===== */
@media screen and (min-width: 835px) and (max-width: 1024px) {
  /* เปลี่ยนเป็น full-width stacked layout */
  .section-02 .grids > .grid.md-50 {
    width: 100% !important;
  }
  /* วงกลมน้ำ - ขนาดใหญ่ขึ้นตามหน้าจอ */
  .section-02 .grids .grids {
    gap: 3rem;
  }
  .section-02 .grids .grids > .grid {
    min-width: 180px;
    max-width: 220px;
  }
  .section-02 .wave-slot {
    max-width: 11rem;
  }
  .section-02 .water-wave {
    max-width: 10.5rem;
  }
  .section-02 .grids .grids > .grid .h6 {
    font-size: 1.0625rem;
  }
  .section-02 .wave-slot .text-top .lg,
  .section-02 .wave-slot .text-bottom .lg {
    font-size: 1.375rem;
  }
  .section-02 .wave-slot .text-top .xxs,
  .section-02 .wave-slot .text-bottom .xxs {
    font-size: 0.75rem;
  }
  /* แผนที่ปริมาณน้ำ - ขยายให้เต็มจอ */
  .section-02 .ss-height-01 {
    height: 55vh;
    min-height: 420px;
  }
  .section-02 .ss-height-01 iframe.map {
    min-height: 420px;
  }
  /* แผนที่ฝน - ขยายให้เต็มจอเช่นกัน */
  .section-02 .grids.flex-col-reverse-sm > .grid.md-50 > iframe.map {
    min-height: 55vh;
  }
  /* การ์ดชลประทาน - ใหญ่ขึ้น */
  .section-02 .ss-height-02 .grids > .grid {
    width: calc(33.33% - 1rem) !important;
    max-width: 220px;
    min-width: 160px;
  }
  .section-02 .ss-height-02 .grids > .grid.sm-1-3,
  .section-02 .ss-height-02 .grids > .grid.xs-1-3 {
    width: calc(33.33% - 1rem) !important;
  }
  .section-02 .ss-card-03 .text-wrapper .h4 {
    font-size: 1.375rem;
  }
  .section-02 .ss-card-03 .text-wrapper .lg {
    font-size: 0.8125rem;
  }

  .section-03 .panel-card {
    max-width: 38rem;
  }
}

/* ===== iPad Pro & Large Tablets (1025px - 1199px) =====
   Layout: 50/50 side-by-side ได้เพราะหน้าจอกว้างพอ
   ===== */
@media screen and (min-width: 1025px) and (max-width: 1199.98px) {
  .section-02 .grids > .grid.md-50 {
    width: calc(50% - 0.75rem);
  }
  .section-02 .grids {
    gap: 1.25rem;
  }
  /* วงกลมน้ำ - ขนาดสมส่วนกับ 50/50 layout */
  .section-02 .grids .grids {
    gap: 1.5rem;
  }
  .section-02 .grids .grids > .grid {
    min-width: 155px;
    max-width: 190px;
  }
  .section-02 .wave-slot {
    max-width: 10rem;
  }
  .section-02 .water-wave {
    max-width: 9.5rem;
  }
  .section-02 .grids .grids > .grid .h6 {
    font-size: 1rem;
  }
  .section-02 .wave-slot .text-top .lg,
  .section-02 .wave-slot .text-bottom .lg {
    font-size: 1.25rem;
  }
  .section-02 .wave-slot .text-top .xxs,
  .section-02 .wave-slot .text-bottom .xxs {
    font-size: 0.6875rem;
  }
  /* แผนที่ปริมาณน้ำ - ขยายให้เห็นข้อมูลชัด (50/50 layout) */
  .section-02 .ss-height-01 {
    height: 45vh;
    min-height: 350px;
  }
  .section-02 .ss-height-01 iframe.map {
    min-height: 350px;
  }
  /* แผนที่ฝน - ให้เต็มพื้นที่ */
  .section-02 .grids.flex-col-reverse-sm > .grid.md-50 > iframe.map {
    min-height: 45vh;
  }
  /* การ์ดชลประทาน */
  .section-02 .ss-height-02 .grids > .grid {
    width: calc(33.33% - 0.75rem) !important;
    max-width: 165px;
    min-width: 120px;
  }
  .section-02 .ss-height-02 .grids > .grid.sm-1-3,
  .section-02 .ss-height-02 .grids > .grid.xs-1-3 {
    width: calc(33.33% - 0.75rem) !important;
  }
  .section-02 .ss-card-03 .text-wrapper .h4 {
    font-size: 1.25rem;
  }
  .section-02 .ss-card-03 .text-wrapper .lg {
    font-size: 0.75rem;
  }

  .section-03 .panel-card {
    max-width: 38rem;
  }
}