/*--------------------
    owl-carousel
---------------------*/
/*----------------------------------------
                Owl
------------------------------------------*/


/* --- PC + Mobile 基本樣式 --- */
#index-banner {
    margin: 0 auto;
    padding: 40px 0;
    max-width: 1440px;
    overflow: hidden;
    position: relative;
    margin-top: 100px;

}
#index-banner .owl-carousel .ds-carousel-slide>.item {
    position: relative;
    margin-top: 50px;
}
#index-banner .owl-carousel .ds-carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}
#index-banner .owl-carousel .ds-carousel-slide picture,
#index-banner .owl-carousel .ds-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}
/* --- Owl 導覽按鈕 --- */
#index-banner .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    /* 50%透明白底 */
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    /* 圓形 */
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
#index-banner .owl-nav button span {
    font-size: 30px;
    color: #636262;
}
#index-banner .owl-nav button:hover {
    background: rgba(243, 220, 121, 0.85);
}
#index-banner .owl-nav .owl-prev {
    left: 10px;
}
#index-banner .owl-nav .owl-next {
    right: 10px;
}
/* --- Owl 圓點指示器 --- */
#index-banner .owl-dots {
position: absolute;
bottom: 10px;
/* 距離圖片下緣 */
left: 0;
width: 100%;
text-align: center;
z-index: 10;
}
#index-banner .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #969191;
    display: inline-block;
    margin: 0 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
#index-banner .owl-dots .owl-dot.active span {
    background: #fbc400;
}

@media (max-width: 768px) {
    #index-banner {
        padding: 40px 0;
    }
    #index-banner .owl-carousel .ds-carousel-slide img {
        height: auto;
        max-height: 60vh;
        object-fit: contain;
    }

    .owl-img {
        position: relative;
        justify-content: center;
        text-align: center;
        min-height: 60vh;
        width: 100vw;
        height: auto;
    }
    #index-banner .owl-nav .owl-prev {
        left: 30px;
    }
    #index-banner .owl-nav .owl-next {
        right: 30px;
    }
}