/* 轮播图 */
.carousel {position: relative;width: 100%;height: 100%;overflow: hidden;}
.carousel .carousel-list {position: relative;width: 100%;height: 100%;margin: 0;padding: 0;list-style: none;transition: transform 0.5s ease;display: flex;}
.carousel .carousel-item {width: 100%;height: 100%;flex-shrink: 0;}
.carousel .carousel-item img {width: 100%;height: 100%;object-fit: cover;}  /*重写这里替换图片的大小*/
.carousel .carousel-btn {position: absolute;top: 50%;transform: translateY(-50%);width: 40px;height: 40px;background-color: rgba(0,0,0,0.5);color: white;border: none;border-radius: 50%;cursor: pointer;font-size: 18px;z-index: 10;transition: background-color 0.3s;}
.carousel .carousel-btn:hover {background-color: rgba(0,0,0,0.8);}
.carousel .prev-btn {left: 15px;}
.carousel .next-btn {right: 15px;}
.carousel .carousel-indicators {position: absolute;bottom: 20px;left: 50%;transform: translateX(-50%);display: flex;gap: 10px;z-index: 10;}
.carousel .indicator {width: 12px;height: 12px;border-radius: 50%;background-color: rgba(255,255,255,0.5);cursor: pointer;transition: background-color 0.3s;}
.carousel .indicator.active {background-color: white;}