/**
    *首页样式
**/
/* 搜索/品牌 */
.search-brand-container{
    padding: 40px 0;
    background-color: #F2F2F2;
}
.search-brand-container .search-brand-wrap{}
.search-brand-container .search-block{
    width: 100%;
    padding: 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: var(--primary-bg-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search-brand-container .search-block .search-group{
    flex: 1;
    height: 60px;
    border-radius: 6px;
    background-color: var(--primary-bg-color);
    box-sizing: border-box;
    border: 1px solid #dadfe6;
    margin-right: 18px;
    position: relative;
}
.search-brand-container .search-block .search-group .search-txt{
    width: 100%;
    padding: 0 50px 0 18px;
    height: 60px;
    font-size: 18px;
    position: relative;
}
.search-brand-container .search-block .search-group .search-txt:after{
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-top: 8px solid #DADFE6;
    margin-top: 3px;
}
.search-brand-container .search-block .search-group .search-txt input{
    width: 100%;
    /*height: 100%;*/
}
.search-brand-container .search-block .search-group .search-txt input::-webkit-input-placeholder {
    color: #333 !important;
}
.search-brand-container .search-block .search-group .search-txt input:-moz-placeholder {
    color: #333 !important;
}
.search-brand-container .search-block .search-group .search-txt input::-moz-placeholder {
    color: #333 !important;
}
.search-brand-container .search-block .search-group .search-txt input:-ms-input-placeholder {
    color: #333 !important;
}
.search-brand-container .search-block .search-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 162px;
    height: 60px;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--primary-bg-color-theme);
}
.search-brand-container .search-block .search-btn .iconfont{
    font-size: 32px;
    font-weight: normal;
    margin-right: 7px;
}
.search-brand-container .brand-block{
    margin-top: 36px;
}
.search-brand-container .brand-block .brand-list {
    display: grid;
    /* 默认大屏：3列，每列等宽 */
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* 间距 */
}
.search-brand-container .brand-block .brand-list .brand-item{
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}
.search-brand-container .brand-block .brand-list .iconfont{
    color: #ffb400;
    font-size: 32px;
    margin-right: 6px;
}
.search-brand-container .search-tour-city-list {
    border: 1px solid #d1d1d1;
    position: absolute;
    background: #fff;
    /*width: 705px;*/
    max-height: 330px;
    overflow-y: auto;
    line-height: 24px;
    text-align: left;
    z-index: 1;
    left: 0;
    right: 0;
    top: 58px;
    cursor: default;
    /*display: none;*/
    border-radius: 6px;
    color: #000;
}
.search-brand-container .search-tour-city-list .city-list{
    padding: 20px;
	display: flex;
    align-items: center;
	flex-wrap: wrap;
}
.search-brand-container .search-tour-city-list .city-list li{
    display: flex;
    align-items: center;
    font-size: 20px;
    line-height: 44px;
    width: 24%;
    margin: 5px 2px;
}
.search-brand-container .search-tour-city-list .city-list li.hot{
    font-weight: bold;
}
.search-brand-container .search-tour-city-list .city-list .name{
    margin-left: 10px;
}
@media screen and (max-width:1200px) {
    .search-brand-container .search-tour-city-list .city-list li{
        font-size: 15px;
        line-height: 30px;
    }
}

/* 媒体查询——搜索/品牌 */
@media screen and (max-width: 768px) {
    .search-brand-container{
        padding: 0.3rem 0;
    }
    .search-brand-container .search-brand-wrap{
        padding: 0 !important;
        width: 100%;
    }
    .search-brand-container .search-block{
        border-radius: 0;
        padding: 0.3rem;
    }
    .search-brand-container .search-block .search-group{
        height: 0.8rem;
        font-size: 0.26rem;
    }
    .search-brand-container .search-block .search-group .search-txt{
        font-size: 0.26rem;
        padding: 0 0.8rem 0 0.18rem;
        height: 0.8rem;
		overflow: hidden;
    }
    .search-brand-container .search-block .search-group .search-txt:after{
        content: '';
        position: absolute;
        right: 0.2rem;
        border-left: 0.15rem solid transparent;
        border-right: 0.15rem solid transparent;
        border-top: 0.15rem solid #DADFE6;
        margin-top: 0.06rem;
    }
    .search-brand-container .brand-block{
        margin-top: 0.4rem;
        padding: 0 0.24rem;
    }

    .search-brand-container .brand-block .brand-list {
        /* 小屏关键代码：改为 2列 */
        grid-template-columns: repeat(2, 1fr);
    }
    .search-brand-container .brand-block .brand-list .brand-item{
        font-size:0.22rem;
        font-family: Arial, Helvetica, sans-serif;
    }
    .search-brand-container .brand-block .brand-list .iconfont{
        color: #ffb400;
        font-size: 0.32rem;
        margin-right: 0.06rem;
    }
    .search-brand-container .search-block .search-btn{
        width: 1.62rem;
        height: 0.8rem;
        color: #fff;
        font-size: 0.24rem;
        font-weight: bold;
        border-radius: 0.06rem;
    }
    .search-brand-container .search-block .search-btn .iconfont{
        font-size: 0.42rem;
        font-weight: normal;
        margin-right: 0.03rem;
    }
    .search-brand-container .search-tour-city-list{
        display: none;
    }
    .destination-layer-block{
        width: 7.02rem;
        background: transparent;
        border: none;
        top: 50%;
        left: 50%;
        margin: 0;
        border-radius: 0.2rem;
        z-index: 999;
        transform: translate(-50%,-50%);
    }
    .destination-layer-block .search-tour-city-list{
        display: block;
    }
    .destination-layer-block .search-tour-city-list {
        border: 1px solid #d1d1d1;
        background: #fff;
        width: 100%;
        overflow-y: auto;
        line-height: 0.24rem;
        text-align: left;
        z-index: 1;
        cursor: default;
        /*display: none;*/
        border-radius: 0.06rem;
        color: #000;
    }
    .destination-layer-block .search-tour-city-list .city-list{
        padding: 0.2rem;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0.1rem;
    }
    .destination-layer-block .search-tour-city-list .city-list li{
        /*display: flex;
        align-items: center;
        font-size: 0.2rem;
        line-height: 0.6rem;
        width: 50%;
		flex: 1;
        margin: 0.05rem .1rem 0 0;*/
		
    }
	.destination-layer-block .search-tour-city-list .city-list li:nth-of-type(2n){
        margin-right: 0;
    }
    .destination-layer-block .search-tour-city-list .city-list li label{
        display: flex;
        align-items: center;
        font-size: 0.2rem;
        line-height: 0.6rem;
        width: 100%;
    }
    .destination-layer-block .search-tour-city-list .city-list li.hot{
        font-weight: bold;
    }
    .destination-layer-block .search-tour-city-list .city-list .name{
		display: block;
        margin-left: 0.1rem;
    }
}

/* 畅销商品 */
.best-sellers-list{
    display: grid;
    margin: 0 auto;
    /* 大屏幕：一排 3 个 */
    grid-template-columns: repeat(3, 1fr);
    /* 卡片之间的间距 */
    gap: 30px;
}
.best-sellers-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;

    transition: transform 0.3s;
    background-color: #F2F2F2; /* 卡片底色偏灰 */
}
.best-sellers-card:hover {
    transform: translateY(-5px); /* 悬停浮动效果 */
}
.best-sellers-card .card-img-top {
    width: 100%;
    display: block;/* 消除底部微小空隙 */
    height: auto;
}
.best-sellers-card .best-sellers-info {
    padding: 30px 22px 40px;
}
.best-sellers-card .best-sellers-title {
    font-size: 22px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.best-sellers-card .duration-badge {
    display: block;
    background-color: #C75000;
    color: #fff;
    width: 110px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    font-size: 18px;
    margin: 16px auto 0;
}
.best-sellers-card .tour-location {
    color: #121826;
    font-size: 16px;
    margin-top: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.best-sellers-card .btn-explore {
    background-color: #fff;
    padding: 12px 30px;
    color: #121826;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s;
    margin-top: 30px;
}
.best-sellers-card .btn-explore:hover {
    background-color: #c85a17;
    color: white;
    border-color: #c85a17;
}
@media screen and (max-width: 1200px) {
    .best-sellers-info{
        padding: 24px 18px 32px!important;
    }
    .best-sellers-card .best-sellers-title{
        font-size: 18px;
    }
}
/* 手机端适配——畅销商品 */
@media screen and (max-width: 768px) {
    .best-sellers-list {
        /* 小屏幕：一排 2 个 */
        grid-template-columns: repeat(2, 1fr);
        gap: 0.18rem; /* 手机上间距稍微小一点 */
        margin-top: 0;
    }
    .best-sellers-card{
        /*width: 3.5rem;*/
    }
    .best-sellers-card:hover {
        transform: translateY(0); /* 悬停浮动效果 */
    }
    .best-sellers-card .card-img-top {
        width: 3.5rem;
        height: 2.5rem;
    }
    .best-sellers-card .best-sellers-info {
        padding: 0.2rem 0.2rem 0.34rem!important;
    }
    .best-sellers-card .best-sellers-title {
        font-size: 0.28rem;
    }
    .best-sellers-card .duration-badge {
        width: 1rem;
        height: 0.42rem;
        border-radius: 0.04rem;
        font-size: 0.22rem;
        line-height: 0.42rem;
        margin-top: 0.28rem;
    }
    .best-sellers-card .tour-location {
        font-size: 0.22rem;
        color: #121826;
        margin-top: 0.2rem;
    }
    .best-sellers-card .btn-explore {
        padding: 0 0.1rem;
        /*width: 2.8rem;*/
        height: 0.5rem;
        font-size: 0.22rem;
        transition: all 0.3s;
        margin: 0.26rem auto 0;
        line-height: 0.5rem;
        text-align: center;
    }
    .best-sellers-card .btn-explore:hover {
        background-color: #fff;
        color: #333;
        border-color: #fff;
    }
}


/* 热门目的地 */
.popular-destinations-container{}
.popular-destinations-list{
    display: grid;
    /* 电脑端：4 列 */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* 卡片间距 */
    max-width: 1320px;
    margin: 0 auto;
}
.popular-destinations-list .popular-destinations-card {
    position: relative; /* 为了给里面的标签做定位参考 */
    overflow: hidden;   /* 即使图片放大，也不超出圆角 */
    cursor: pointer;
    /*width: 320px;*/
    /*height: 320px;*/
    border-radius: 10px;
    transition: transform 0.3s; /* 鼠标悬停动画效果 */
}
.popular-destinations-list .popular-destinations-card:hover{
    transform: translateY(-5px);
}
.popular-destinations-list .popular-destinations-card img {
    width: 100%;
    height: auto;
    display: block;
}
.popular-destinations-list .popular-destinations-name{
    position: absolute;
    top: 20px;
    left: 18px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    padding: 5px 14px;
    border-radius: 4px;
    background-color: #C75000;
}
.popular-destinations-list .popular-destinations-name .iconfont{
    font-size: 27px;
    margin-right: 8px;
}
@media screen and (max-width: 1200px) {
    .popular-destinations-list .popular-destinations-name{
        font-size: 18px;
    }
    .popular-destinations-list .popular-destinations-name .iconfont{
        font-size: 18px;
    }
}
/* 手机端适配——热门目的地 */
@media screen and (max-width: 768px) {
    .popular-destinations-list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.18rem; /* 卡片间距 */
        margin-top: 0;
    }
    .popular-destinations-list .popular-destinations-name{
        font-size: 0.28rem;
        padding: 0.04rem 0.2rem;
    }
    .popular-destinations-list .popular-destinations-name .iconfont {
        top: 0.22rem;
        left: 0.22rem;
        font-size:0.35rem;
        margin-right: 0.04rem;
    }
}


/* 主题旅行体验 */
.themed-travel-list{
    display: grid;
    /* 电脑端：4 列 */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* 卡片间距 */
    max-width: 1320px;
    margin: 0 auto;
}
.themed-travel-list .themed-travel-card {
    position: relative; /* 为了给里面的标签做定位参考 */
    overflow: hidden;   /* 即使图片放大，也不超出圆角 */
    cursor: pointer;
}
.themed-travel-list .themed-travel-card img {
    width: 100%;
    height: auto;
    display: block;
}
.themed-travel-list .themed-travel-info{
    border-top: 7px solid #C75000;
    padding: 16px;
    height: 100px;
    background-color: #F2F2F2;
    transition: transform 0.3s; /* 鼠标悬停动画效果 */
}
.themed-travel-list .themed-travel-card:hover .themed-travel-info{
    background-color: #e7e7e7;
}
.themed-travel-list .themed-travel-info .themed-travel-title{
    font-size: 22px;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制显示的行数为3 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media screen and (max-width: 1200px) {
    .themed-travel-list .themed-travel-info .themed-travel-title{
        font-size: 18px;
    }
}
/* 手机端适配——主题旅行体验 */
@media screen and (max-width: 768px) {
    .themed-travel-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.18rem; /* 卡片间距 */
        margin-top: 0;
    }
    .themed-travel-list .themed-travel-info {
        border-top: 0.08rem solid #C75000;
        padding: 0.17rem;
        height: 1.1rem;
    }
    .themed-travel-list .themed-travel-info .themed-travel-title {
        font-size: 0.28rem;
        line-height: 0.34rem;
    }
}


/* 旅行指南与小贴士 */
.trave-guide-container{
    background-color: #F2F2F2;
}
.trave-guide-list{
    display: grid;
    /* 电脑端：4 列 */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* 卡片间距 */
    max-width: 1320px;
    margin: 0 auto;
}
.trave-guide-list .trave-guide-card {
    position: relative; /* 为了给里面的标签做定位参考 */
    overflow: hidden;   /* 即使图片放大，也不超出圆角 */
    cursor: pointer;
}
.trave-guide-list .trave-guide-card img {
    width: 100%;
    height: auto;
    display: block;
}
.trave-guide-list .trave-guide-info{
    padding: 16px;
    height: 120px;
    background-color: #fff;
    transition: transform 0.3s; /* 鼠标悬停动画效果 */
}
.trave-guide-list .trave-guide-card:hover .trave-guide-info{
    background-color: #e7e7e7;
}
.trave-guide-list .trave-guide-info .trave-guide-title{
    font-size: 18px;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 限制显示的行数为3 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 手机端适配——旅行指南与小贴士 */
@media screen and (max-width: 768px) {
    .trave-guide-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.18rem; /* 卡片间距 */
        margin-top: 0;
    }
    .trave-guide-list .trave-guide-info {
        padding: 0.17rem;
        height: 1.5rem;
    }
    .trave-guide-list .trave-guide-info .trave-guide-title {
        font-size: 0.28rem;
        line-height: 0.34rem;
    }
}


/* 定制 */
#customize-experts-list-wap{
    display: none;
}
.customize-experts-btn{
    display: block;
    width: 285px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    background-color: #C75000;
    margin: 0 auto;
}
.customize-experts-list{
    display: grid;
    /* 电脑端：4 列 */
    grid-template-columns: repeat(5, 1fr);
    gap: 15px; /* 卡片间距 */
    max-width: 1320px;
    margin: 58px auto 0;
}
.customize-experts-list .customize-experts-card {
    position: relative; /* 为了给里面的标签做定位参考 */
    overflow: hidden;   /* 即使图片放大，也不超出圆角 */
    cursor: pointer;
    transition: all .3s;
    /*width: 160px;*/
    height: 160px;
}
.customize-experts-list .customize-experts-card:hover{
    transform: translateY(-5px);
}
.customize-experts-group .customize-experts-card img {
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 100%;
    overflow: hidden;
}
.customize-experts-group .customize-experts-info{
    text-align: center;
    margin-top: 20px;
}
.customize-experts-group .customize-experts-info .customize-experts-title{
    font-size: 22px;
    font-weight: bold;
    line-height: 32px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.customize-experts-group .customize-experts-info .customize-experts-text{
    font-size: 16px;
    line-height: 30px;
    margin-top: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media screen and (max-width: 1200px) {
    .customize-experts-group .customize-experts-info .customize-experts-title{
        font-size: 18px;
    }
    .customize-experts-group .customize-experts-info .customize-experts-text{
        font-size: 14px;
        margin-top: 0;
    }
}
@media screen and (max-width: 950px) {
    .customize-experts-list{
        grid-template-columns: repeat(4, 1fr);
    }
}
/* 手机端适配——定制 */
@media screen and (max-width: 768px) {
    #customize-experts-list-pc{
        display: none;
    }
    #customize-experts-list-wap{
        display: block;
        margin-top: 0.56rem;
    }
    .customize-experts-group .customize-experts-card img {
        width: 1.6rem;
        height: 1.6rem;
    }
    .customize-experts-group .customize-experts-info{
        margin-top: 0.2rem;
    }
    .customize-experts-group .customize-experts-info .customize-experts-title{
        font-size: 0.24rem;
        height: 0.32rem;
        line-height: 0.32rem;
    }
    .customize-experts-group .customize-experts-info .customize-experts-text{
        font-size: 0.22rem;
        height: 0.24rem;
        line-height: 0.24rem;
        margin-top: 0.07rem;
    }
    .customize-experts-btn {
        display: block;
        width: 3.38rem;
        height: 0.66rem;
        line-height: 0.66rem;
        font-size: 0.28rem;
        font-weight: bold;
        border-radius: 0.1rem;
    }
}

/* 旅行故事 */
.travel-story-list{
    display: grid;
    /* 电脑端：4 列 */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* 卡片间距 */
    max-width: 1320px;
    margin: 0 auto;
}
.travel-story-list .travel-story-card {
    position: relative; /* 为了给里面的标签做定位参考 */
    overflow: hidden;   /* 即使图片放大，也不超出圆角 */
    cursor: pointer;
}
.travel-story-list .travel-story-card img {
    width: 100%;
    height: auto;
    display: block;
}
.travel-story-list .travel-story-info{
    padding: 16px;
    height: 208px;
    background-color: #F2F2F2;
    transition: transform 0.3s; /* 鼠标悬停动画效果 */
}
.travel-story-list .travel-story-card:hover .travel-story-info{
    background-color: #e7e7e7;
}
.travel-story-list .travel-story-info .travel-story-title{
    font-size: 18px;
    height: 90px;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 限制显示的行数为3 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.travel-story-list .travel-story-info .travel-story-data{
    margin-top: 20px;
    display: flex;
    align-items: center;
}
.travel-story-list .travel-story-info .travel-story-header{
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
}
.travel-story-list .travel-story-info .travel-story-header img{
    display: block;
    width: 100%;
    height: 100%;
}
.travel-story-list .travel-story-info .travel-story-author{
    flex: 1;
    margin-left: 10px;
}
.travel-story-list .travel-story-info .travel-story-author .name{
    font-size: 16px;
    color: #2C2C2C;
    height: 26px;
    line-height: 26px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.travel-story-list .travel-story-info .travel-story-author .date{
    font-size: 14px;
    color: #9E9E9E;
    height: 22px;
    line-height: 22px;
}
/* 手机端适配——旅行故事 */
@media screen and (max-width: 768px) {
    .travel-story-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.18rem; /* 卡片间距 */
        margin-top: 0;
    }
    .travel-story-list .travel-story-info {
        padding: 0.17rem;
        height: 2.28rem;
    }
    .travel-story-list .travel-story-info .travel-story-title {
        font-size: 0.28rem;
        height: 1.08rem;
        line-height: 0.36rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .travel-story-list .travel-story-info .travel-story-data {
        margin-top: 0.18rem;
    }
    .travel-story-list .travel-story-info .travel-story-header {
        width: 0.6rem;
        height: 0.6rem;
    }
    .travel-story-list .travel-story-info .travel-story-author .name {
        font-size: 0.24rem;
        color: #2C2C2C;
        height: 0.32rem;
        line-height: 0.32rem;
    }
    .travel-story-list .travel-story-info .travel-story-author .date {
        font-size: 0.22rem;
        color: #9E9E9E;
        height: 0.3rem;
        line-height: 0.3rem;
    }
}
