/* 父容器样式 */
.image-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
    scrollbar-width: thin;
    scroll-behavior: smooth; /* 平滑滚动 */
}

/* 图片样式 */
.scrollable-images img {
    display: inline-block;
    max-height: 500px;
    height: auto;
    margin-right: 10px;
    cursor: grab;
}

/* 鼠标拖动样式 */
.image-scroll-container.dragging img {
    cursor: grabbing;
}

/* 提示箭头样式 */
.image-scroll-container::after {
    content: '>>';
    position: absolute;
    top: 90%; /* 垂直居中 */
    font-size: 80px; /* 更大箭头 */
    color: rgba(0, 0, 0, 0.5); /* 半透明提示 */
    font-weight: bold;
    pointer-events: none; /* 防止箭头阻碍拖动 */
    z-index: 10;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-50%);
}

/* 右箭头 */
.image-scroll-container::after {
    right: 10px;
}

/* 拖动时隐藏箭头 */
.image-scroll-container.dragging::after {
    opacity: 0; /* 透明度隐藏 */
    transform: translateY(-50%) scale(0.8); /* 缩小箭头效果 */
}

/* 鼠标悬停时箭头更明显 */
.image-scroll-container:hover::after {
    color: rgba(0, 0, 0, 0.8); /* 更清晰的箭头 */
}

@media (max-width: 768px) {
    .scrollable-images img {
        max-height: 650px;
    }
}