@charset "UTF-8";
/* CSS Document */

        .carousel {
            position: relative;
            width: auto;
            height: 450px;
            margin-bottom: 30px;
            overflow: hidden;
        }
        
        .carousel-slides {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .carousel-slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .active {
            opacity: 1;
        }

        /* 左右按鈕 */
        .prev, .next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px 16px;
            cursor: pointer;
            font-size: 18px;
			border-radius: 50%;
        }

        .prev { left: 10px; }
        .next { right: 10px; }

        /* RWD：縮小按鈕尺寸 */
			@media (max-width: 768px) {
            .prev, .next {
                padding: 6px 10px;
                font-size: 14px;
            }
			.carousel {
            height: 300px;
       	    }
        }