
/* 图片轮播样式 */
.image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 左右切换箭头样式 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    color: white;
    font-size: 30px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.carousel-control:hover {
    opacity: 1;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}


.image-progress {
    position: absolute;
    top: 10px;
    left: 10px; /* 从right改为left */
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10;
    display: block !important; /* 确保可见 */
}

.fullscreen-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10 !important; /* 确保z-index足够高 */
    display: block !important; /* 强制显示 */
}

.fullscreen-button {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
    transition: background-color 0.3s;
}

