/* ===== 主容器 ===== */
.mod18 {
    position: relative;
    margin-top: 20px;
}

/* ===== 大图 ===== */
.picBox {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.picBox ul {
    display: flex;
    height: 100%;
    transition: transform .4s ease;
}

.picBox li {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.picBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.picBox span {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    padding: 10px;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    font-size: 14px;
}

/* ===== 缩略图区域 ===== */
.listBox {
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.listBox ul {
    display: flex;
    gap: 8px;
    transition: transform .3s ease;
}

.listBox li {
    width: 110px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    opacity: 0.6;
    flex-shrink: 0;
}

.listBox li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listBox li.on {
    opacity: 1;
    outline: 3px solid #065a32;
}

/* ===== 按钮通用 ===== */
.btnbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: url(../images/prevBtnTop.png) no-repeat center;
    background-size: 100% 100%;
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    z-index: 10;
}

/* 大图按钮 */
.pic-prevbox {
    left: 10px;
}

.pic-nextbox {
    right: 10px;
    background-image: url(../images/nextBtnTop.png);
}

/* 缩略图按钮 */
.thumb-prev {
    left: 10px;
}

.thumb-next {
    right: 10px;
    background-image: url(../images/nextBtnTop.png);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .listBox li {
        width: 80px;
    }

    .btnbox {
        width: 26px;
        height: 26px;
        font-size: 16px;
        line-height: 26px;
    }
}