@charset "UTF-8";
/* ============================================================
 * huilongshan 主题：首页样式
 * 源自原站 com_jn/css/demo.css，按区块抽取并统一 hls-* 前缀。
 * ============================================================ */

/* ① 首屏视频 Banner */
.hls-class-bg {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hls-v-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.hls-v-container video,
.hls-banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* 多视频/多图轮播：堆叠 + 淡入淡出 */
.hls-class-bg .hls-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease;
    z-index: 1;
}

.hls-class-bg .hls-banner-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hls-banner-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.hls-banner-dots span {
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: background .3s ease, width .3s ease;
}

.hls-banner-dots span.is-active {
    background: #fff;
    width: 44px;
}

/* Banner 整屏点击跳转覆盖层（仅当广告位 link 非空时渲染） */
.hls-class-bg .hls-banner-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    text-decoration: none;
}

.hls-v-contral {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    height: 30px;
}

.hls-v-button {
    width: 60%;
    height: 30px;
    margin: 0 auto;
}

.hls-v-turn {
    float: left;
}

.hls-v-turn .hls-v-line {
    position: relative;
    width: 90%;
    height: 5px;
    margin: 0 auto;
    background: #454545;
    opacity: .4;
    cursor: pointer;
    transition: height .4s ease, opacity .4s ease;
}

.hls-v-turn .hls-v-line:hover {
    height: 10px;
    opacity: .8;
}

.hls-v-turn .hls-v-line .hls-v-show {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #14cc76;
}

.hls-v-title-static {
    position: absolute;
    left: 0;
    bottom: 18%;
    width: 100%;
    z-index: 2;
    font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
    padding: 0 20px;
    pointer-events: none;
}

/* ② 第二屏：地球上美丽的伤痕 */
.hls-scarcontent {
    width: 100%;
    padding: 80px 0 60px;
    background: #fff;
}

.hls-scar-titles {
    width: 100%;
    text-align: center;
}

.hls-scar-title1 {
    font-size: 40px;
    font-weight: bold;
    color: #222;
    line-height: 72px;
}

.hls-scar-title2 {
    font-size: 14px;
    color: #9a9a9a;
    line-height: 1.9;
}

.hls-scar-select {
    margin-top: 60px;
    width: 100%;
}

.hls-scar-center-select {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

.hls-scar-prev-wrap,
.hls-scar-next-wrap {
    display: block;
    flex: 0 0 auto;
}

.hls-scar-prev,
.hls-scar-next {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(20, 204, 118, .9);
    color: #fff;
    font-size: 22px;
    text-align: center;
    line-height: 54px;
    cursor: pointer;
    transition: background .2s, transform .2s;
    user-select: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.hls-scar-prev:hover,
.hls-scar-next:hover {
    background: #14cc76;
    transform: scale(1.08);
}

.hls-scar-content {
    flex: 1 1 auto;
    max-width: 950px;
    width: 100%;
    height: 500px;
    margin: 0 20px;
    background: #424242;
    position: relative;
    overflow: hidden;
}

.hls-scar-center-details {
    display: none;
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    cursor: pointer;
}

/* JS 未执行也保证首张可见，避免手机空白 */
.hls-scar-content>.hls-scar-center-details:first-of-type {
    display: block;
}

.hls-scar-center-details img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hls-scar-ratio {
    position: absolute;
    right: 60px;
    bottom: 50px;
    z-index: 5;
    display: inline-flex;
    align-items: baseline;
    padding: 4px 14px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .65);
    pointer-events: none;
}

.hls-selectto {
    color: #fff;
}

.hls-selectxiegan {
    margin: 0 4px;
    font-weight: 300;
    opacity: .9;
}

.hls-selecttotals {
    color: #fff;
    opacity: .75;
    font-size: 22px;
}

/* ③ 第三屏：十里画廊 / 感受大裂谷 */
.hls-touchcontent {
    width: 100%;
    padding: 100px 20px;
    background: #f2f2f2;
}

.hls-touchdetails {
    display: flex;
    max-width: 1200px;
    height: 520px;
    margin: 0 auto;
    gap: 0;
}

.hls-touchzuo {
    flex: 0 0 600px;
    height: 520px;
    overflow: hidden;
}

.hls-touchzuo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hls-touchyou {
    flex: 0 0 600px;
    height: 520px;
}

.hls-youshang,
.hls-youxia {
    display: flex;
    width: 100%;
    height: 260px;
}

.hls-shangzuo {
    flex: 0 0 300px;
    height: 260px;
    background: #46b8f7;
    padding: 40px 30px 30px;
    color: #fff;
}

.hls-zuotitles {
    font-size: 20px;
    font-weight: bold;
    line-height: 50px;
}

.hls-zuocontent {
    width: 100%;
    max-height: 100px;
    overflow: hidden;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    opacity: .8;
}

.hls-zuomore {
    margin-top: 14px;
}

.hls-zuomore a,
.hls-youmore a {
    display: inline-block;
    padding: 5px 25px;
    border: 1px solid #fff;
    font-size: 12px;
    color: #fff;
    transition: background .2s, color .2s;
}

.hls-zuomore a:hover,
.hls-youmore a:hover {
    background: #14cc76;
    border-color: #14cc76;
    color: #fff;
}

.hls-shangyou,
.hls-xiazuo {
    flex: 0 0 300px;
    height: 260px;
    overflow: hidden;
}

.hls-shangyou img,
.hls-xiazuo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hls-xiayou {
    flex: 0 0 300px;
    height: 260px;
    background: #806af3;
    padding: 40px 30px 30px;
    color: #fff;
}

.hls-youtitls {
    font-size: 20px;
    font-weight: bold;
    line-height: 50px;
}

.hls-youcontent {
    width: 100%;
    max-height: 100px;
    overflow: hidden;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    opacity: .8;
}

.hls-youmore {
    margin-top: 14px;
}

/* ④ 第五屏：吃 / 住 / 玩 / 行 */
.hls-eatwalkcontent {
    width: 100%;
    padding: 60px 20px 80px;
    background: #fff;
}

.hls-eatwalkdetails {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
}

.hls-likeeat,
.hls-likehome,
.hls-likeplay,
.hls-likewalk {
    position: relative;
    width: 300px;
    height: 550px;
}

/* 整张卡片包成一个 <a>，覆盖圆形 + 底图，保证点击全区域有效 */
.hls-eatwalk-link {
    position: absolute;
    inset: 0;
    display: block;
    color: inherit;
    text-decoration: none;
    z-index: 4;
}

.hls-eatyuan,
.hls-homeyuan,
.hls-playyuan,
.hls-walkyuan {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    z-index: 2;
    cursor: pointer;
    overflow: hidden;
    transition: transform .3s;
}

.hls-likeeat:hover .hls-eatyuan,
.hls-likehome:hover .hls-homeyuan,
.hls-likeplay:hover .hls-playyuan,
.hls-likewalk:hover .hls-walkyuan {
    transform: scale(1.08);
}

.hls-eatyuan {
    background: #2196F3;
}

.hls-homeyuan {
    background: #FFAB14;
}

.hls-playyuan {
    background: #83C44E;
}

.hls-walkyuan {
    background: #E53935;
}

.hls-eattitle1,
.hls-hometitle1,
.hls-playtitle1,
.hls-walktitle1 {
    padding-top: 45px;
    font-size: 22px;
    line-height: 30px;
}

.hls-eattitle2,
.hls-hometitle2,
.hls-playtitle2,
.hls-walktitle2 {
    font-size: 22px;
    line-height: 30px;
}

.hls-eatcontent,
.hls-homecontent,
.hls-playcontent,
.hls-walkcontent {
    position: absolute;
    left: 5px;
    top: 55px;
    /* 保证底图接在圆形下方 */
    width: 290px;
    height: 475px;
    background: #000;
    z-index: 1;
    overflow: hidden;
}

.hls-eatcontent img,
.hls-homecontent img,
.hls-playcontent img,
.hls-walkcontent img {
    width: 290px;
    height: 475px;
    object-fit: cover;
    opacity: .85;
    transition: opacity .3s, transform .6s;
}

.hls-likeeat:hover .hls-eatcontent img,
.hls-likehome:hover .hls-homecontent img,
.hls-likeplay:hover .hls-playcontent img,
.hls-likewalk:hover .hls-walkcontent img {
    opacity: 1;
    transform: scale(1.05);
}

/* ============================================================
 * 响应式
 * ============================================================ */
@media (max-width: 992px) {
    .hls-class-bg {
        height: 60vh;
        min-height: 380px;
    }

    .hls-v-title {
        font-size: 24px;
        bottom: 130px;
    }

    .hls-scar-title1 {
        font-size: 28px;
        line-height: 48px;
    }

    .hls-scar-title2 {
        font-size: 13px;
        padding: 0 20px;
    }

    /* 手机端：箭头浮在图上左右，内容占满 */
    .hls-scar-select {
        margin-top: 30px;
        padding: 0 10px;
    }

    .hls-scar-center-select {
        position: relative;
        flex-direction: row;
        padding: 0;
    }

    .hls-scar-content {
        width: 100%;
        height: 260px;
        margin: 0;
    }

    .hls-scar-center-details {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .hls-scar-prev-wrap,
    .hls-scar-next-wrap {
        position: absolute;
        top: 50%;
        z-index: 6;
        transform: translateY(-50%);
    }

    .hls-scar-prev-wrap {
        left: 12px;
    }

    .hls-scar-next-wrap {
        right: 12px;
    }

    .hls-scar-prev,
    .hls-scar-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
        line-height: 40px;
        background: rgba(0, 0, 0, .45);
    }

    .hls-scar-prev:hover,
    .hls-scar-next:hover {
        background: rgba(20, 204, 118, .95);
    }

    .hls-scar-ratio {
        right: 16px;
        bottom: 12px;
        font-size: 22px;
    }

    .hls-selecttotals {
        font-size: 16px;
    }

    .hls-touchcontent {
        padding: 40px 10px;
    }

    .hls-touchdetails {
        flex-direction: column;
        height: auto;
    }

    .hls-touchzuo,
    .hls-touchyou {
        flex: 1 1 auto;
        width: 100%;
        height: auto;
    }

    .hls-touchzuo {
        height: 260px;
        margin-bottom: 8px;
    }

    .hls-youshang,
    .hls-youxia {
        height: auto;
        flex-wrap: wrap;
    }

    .hls-shangzuo,
    .hls-shangyou,
    .hls-xiazuo,
    .hls-xiayou {
        flex: 1 1 50%;
        height: 200px;
        padding: 20px;
    }

    .hls-shangzuo,
    .hls-xiayou {
        padding: 20px;
    }

    .hls-zuotitles,
    .hls-youtitls {
        font-size: 18px;
        line-height: 36px;
    }

    .hls-eatwalkdetails {
        flex-wrap: wrap;
        gap: 16px;
        padding-top: 60px;
    }

    .hls-likeeat,
    .hls-likehome,
    .hls-likeplay,
    .hls-likewalk {
        flex: 1 1 48%;
        width: 48%;
        height: 420px;
    }

    .hls-eatcontent,
    .hls-homecontent,
    .hls-playcontent,
    .hls-walkcontent {
        width: 100%;
        height: 340px;
        left: 0;
    }

    .hls-eatcontent img,
    .hls-homecontent img,
    .hls-playcontent img,
    .hls-walkcontent img {
        width: 100%;
        height: 340px;
    }
}

@media (max-width: 560px) {
    .hls-eatwalkdetails {
        padding-top: 40px;
    }

    .hls-likeeat,
    .hls-likehome,
    .hls-likeplay,
    .hls-likewalk {
        flex: 1 1 100%;
        width: 100%;
        height: 380px;
    }

    .hls-eatcontent,
    .hls-homecontent,
    .hls-playcontent,
    .hls-walkcontent {
        height: 300px;
    }

    .hls-eatcontent img,
    .hls-homecontent img,
    .hls-playcontent img,
    .hls-walkcontent img {
        height: 300px;
    }
}