.my-acf-gallery {
    position: relative;
    padding-bottom: 60px;
    /* พื้นที่ให้ navigation + pagination */
}

.my-acf-gallery .swiper-slide img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.my-acf-gallery .swiper-slide img:hover {
    transform: scale(1.05);
}

/* navigation ด้านล่าง - ปรับให้เป็นวงกลมเล็ก */
.my-acf-gallery .swiper-button-next,
.my-acf-gallery .swiper-button-prev {
    position: relative;
    top: 0;
    margin: 0;
    color: #ffffff;
    width: 32px;
    height: 32px;
    background: #161C7A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.my-acf-gallery .swiper-button-next:hover,
.my-acf-gallery .swiper-button-prev:hover {
    background: #1a2090;
}

.my-acf-gallery .swiper-button-next::after,
.my-acf-gallery .swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

.my-acf-gallery .swiper-pagination {
    text-align: center;
    position: relative;
    bottom: 0;
}

.my-acf-gallery .swiper-pagination-bullet {
    background: #333;
    opacity: 0.7;
}

.my-acf-gallery .swiper-pagination-bullet-active {
    opacity: 1;
    background: #161C7A;
}

/* wrapper รวม controls - จัดให้อยู่บรรทัดเดียวกัน */
.my-acf-gallery .controls-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}