.image-style-carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    /* margin-bottom: 40px; */
    /* background-color: #fff; */
    /* border-radius: 0; */
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
}
.carousel-items {
    position: relative;
    height: 100%;
    margin: 0 auto; /* 居中輪播內容 */
    touch-action: none;
}
.carousel-item {
    position: absolute;
    /* border-radius: 10px; */
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
    overflow: hidden;
    transition: all 0.5s ease;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    /* backdrop-filter: blur(5px); */
    /* -webkit-backdrop-filter: blur(5px); */
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.carousel-item.subItem::before {
    opacity: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    max-width: 80%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    /* border-radius: 5px; */
    z-index: 2;
    filter: drop-shadow(0 0 0.75px black);
}
.carousel-caption[data-position="left"] {
    left: 20px;
}
.carousel-caption[data-position="right"] {
    right: 20px;
}
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.carousel-nav button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    /* border-radius: 5px; */
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-nav button:hover {
    background-color: #f0f0f0;
}
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 10;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-dot.active {
    background-color: #000000;
}
