/* =========================================================
 * 壹梦·三合一幻灯片（移植自壹梦 sucaihubanner + uibanner.css）
 * 左侧大轮播(9列) + 右侧两个图文推广位(3列)
 * ========================================================= */

.ymwl-shy .no-gutters {
    margin-right: 0;
    margin-left: 0;
}
.ymwl-shy .no-gutters>.col,
.ymwl-shy .no-gutters>[class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

/* ---------- 左侧大轮播 ---------- */
.ymwl-shy .swiper-container {
    height: 373px;
    border-radius: 3px;
    --swiper-navigation-size: 20px;
    --swiper-theme-color: #fff;
}
.ymwl-shy .swiper-container:hover .swiper-button-prev,
.ymwl-shy .swiper-container:hover .swiper-button-next {
    visibility: visible;
}
.ymwl-shy .swiper-container .swiper-button-prev,
.ymwl-shy .swiper-container .swiper-button-next {
    padding: 34px 13px;
    margin-top: -30px;
    visibility: hidden;
    background-color: rgba(0, 0, 0, .1);
}
.ymwl-shy .swiper-container .swiper-button-prev:hover,
.ymwl-shy .swiper-container .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, .3);
}
.ymwl-shy .swiper-container .swiper-button-prev {
    left: 0;
}
.ymwl-shy .swiper-container .swiper-button-next {
    right: 0;
}
/* 原版依赖的 swiper-icons 字体文件缺失，用主题自带的 Font Awesome 代替 */
.ymwl-shy .swiper-container .swiper-button-prev:after,
.ymwl-shy .swiper-container .swiper-button-next:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.ymwl-shy .swiper-container .swiper-button-prev:after {
    content: "\f053";
}
.ymwl-shy .swiper-container .swiper-button-next:after {
    content: "\f054";
}
.ymwl-shy .swiper-container .swiper-pagination {
    padding-right: 20px;
    text-align: right;
}
.ymwl-shy .swiper-container .swiper-wrapper .swiper-slide a {
    display: block;
    height: 100%;
}
.ymwl-shy .swiper-container .swiper-wrapper .swiper-slide a:hover {
    opacity: 1;
}
.ymwl-shy .swiper-container .swiper-wrapper .swiper-slide a:hover::after {
    visibility: visible;
    opacity: .3;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.ymwl-shy .swiper-container .swiper-wrapper .swiper-slide a::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    visibility: hidden;
    content: '';
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .01) 0, #000 100%);
    opacity: 0;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.ymwl-shy .swiper-container .swiper-wrapper .swiper-slide a img {
    width: 100%;
    height: 100%;
}
.ymwl-shy .swiper-container .swiper-wrapper .swiper-slide a h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: left;
    text-shadow: 0 1px 3px #525252;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, .3));
}
.ymwl-shy .swiper-container .swiper-wrapper .swiper-slide a h3 .label {
    padding: 2px 4px;
    margin-right: 10px;
    font-size: 14px;
    color: #525252;
    text-shadow: 0 1px 1px #eee;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 1px #666;
}

/* ---------- 模块与页面顶部留白 ---------- */
.ymwl-shy.section {
    margin-top: 20px;
    max-resolution: 20px;
}

/* ---------- 右下角广告图（壹梦「banner 固定小广告」） ---------- */
.ymwl-shy .r_b_tip_box {
    position: relative;
}
.ymwl-shy .r_b_tip {
    width: 182px;
    height: 67px;
    position: absolute;
    bottom: 0;
    z-index: 88;
    right: 0;
    text-decoration: none;
}
.ymwl-shy .r_b_tip .r_b_tip_bg {
    display: block;
    width: 100%;
    height: 100%;
}
@media (max-width: 768px) {
    .ymwl-shy .r_b_tip_box {
        display: none;
    }
}

/* ---------- 右侧图文推广位 ---------- */
.ymwl-shy .h-images {
    height: 370px;
    margin-bottom: 13px;
}
.ymwl-shy .h-images .item-tuwen {
    margin-bottom: 13px;
}
.ymwl-shy .h-images .item-tuwen a {
    position: relative;
    display: block;
    height: 180px;
    overflow: hidden;
    border-radius: 3px;
}
.ymwl-shy .h-images .item-tuwen a:hover {
    opacity: 1;
}
.ymwl-shy .h-images .item-tuwen a.h-mark:hover::after {
    visibility: visible;
    opacity: .3;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.ymwl-shy .h-images .item-tuwen a.h-mark::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    visibility: hidden;
    content: '';
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .01) 0, #000 100%);
    opacity: 0;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.ymwl-shy .h-images .item-tuwen a .thumb {
    display: block;
    height: 180px;
    background-size: cover;
}
.ymwl-shy .h-images .item-tuwen a strong {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    padding: .4em .8em .6em;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3;
    color: #fff;
    letter-spacing: .5px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .6) 100%);
    background-repeat: repeat-x;
    box-shadow: 0 -7px 15px rgba(0, 0, 0, .2);
}

@media (min-width: 992px) {
    .ymwl-shy .no-gutters .col-lg-9 {
        padding-right: 15px !important;
    }
    .ymwl-shy .h-images .item-tuwen a strong {
        display: block;
        font-size: 14px;
        line-height: 1.4;
        letter-spacing: 1px;
    }
}

@media (max-width: 992px) {
    .ymwl-shy.section {
        padding-top: 15px;
    }
    .ymwl-shy .swiper-container {
        height: 150px;
        margin-bottom: 15px;
    }
    .ymwl-shy .swiper-container .swiper-wrapper .swiper-slide h3 {
        display: none;
    }
    .ymwl-shy .h-images {
        height: 100px;
        margin: 0 -6px !important;
    }
    .ymwl-shy .h-images .item-tuwen {
        padding: 0 6px !important;
    }
    .ymwl-shy .h-images .item-tuwen a {
        height: 100px;
    }
    .ymwl-shy .h-images .item-tuwen a .thumb {
        height: 100px;
    }
}
