/* 首页样式*/
.content-area .site-main{
    padding-top: 0;
}
.first-page.hero{
    height: 100vh;
    position: relative;
    background: #1a1a1e;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.first-page.hero .background-overlay,.yp-category-container .background-overlay,.city-list-item .background-overlay{
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: #1a1a1e;
    opacity: 0.5;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    border-radius:5px;
}
.first-page.hero .background-overlay{
    border-radius:0 !important;
}
.first-page .search-box{
    background: #fff;
    border-radius: 5px;
}
.first-page .search-box input[type=search]{
    border: none;
    box-shadow: none;
    background: #f6f6f9;
    border-radius: 5px;
    font-size: 13px;
    padding: 20px;
}
.first-page .search-box input[type=submit]{
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 5px;
    background: var(--global--main-color) !important;
    border: none;
}
.first-page .search-box input[type=submit]:hover{
    border: none;
}
.hero .super-link a{
    display: inline-block;
    margin: 0 10px;
    font-size: 16px;
    font-weight: 500;
    color: #fff09c;
    position: relative;
}
.hero .super-link a:hover{
    color: #fff;
}
.hero .super-link a:hover::after{
    background: var(--global--color--gold);
}
.hero .super-link a::after{
    display: inline-block;
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #847650;
    bottom: -2px;
    left: 0;
}

    /*  首页商家列表  */

.index-hot-yp-list .index-hot-yp-list-box .box-header{
    padding: 5px 15px;
}
.index-hot-yp-list-box{
    padding: 15px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.05);
    border-radius: 7px;
}
.index-hot-yp-list .box-header .icon img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
}
.index-hot-yp-list .box-header .all-btn{
    color: var(--global--color--dark-gray);
}
    /*  分类列表  */
.yp-category-container{
    padding: 5rem 1rem;
    position: relative;
    background: url("/../wp-content/uploads/2024/07/pexels-pixabay-255464-scaled.jpg") no-repeat center center;
    background-size: cover;
}
.yp-category-container .background-overlay{
    opacity: 0.8;
}
.yp-category-container .main-cat{
    font-size: 1.2rem;
    font-weight: 500;
}
.yp-category-container .main-cat img{
    width: 60px;
    margin-right: 10px;
}
.yp-category-list-box{
    border-radius: 7px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.07);
}
    /*  城市列表  */
.city-list .city-list-item{
    height: 280px;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}
.city-list .city-list-item img,.reviews-list .review-img{
    width: 100%;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
}
.city-list .city-list-item p{
    position: absolute;
    text-align: center;
    top: 70%;
    z-index: 9;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
}
.city-list-item:hover .background-overlay{
    opacity: 0.2;
}
    /*  点评  */
.reviews-list .review-img{
    height: 240px !important;
}
.reviews-list .post-title{
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--global--text-color);
    margin-bottom: 0.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}
.reviews-list .review-info{
    display: flex;
    /*justify-content: flex-end;*/
    align-items: baseline;
    margin-top: 0.3rem;
    padding-left: 1rem;
}
.reviews-list .review-info .post-cat{
    font-size: 0.9rem;
    color: var(--global--main-color);
}
.reviews-list .review-info .post-date{
    font-size: 0.9rem;
    color: var(--global--color--dark-gray);
    margin-left: 1rem;
}
.reviews-list .post-excerpt{
    font-size: 0.9rem;
    color: var(--global--color--dark-gray);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}
.reviews-list .more-reviews{
    color: var(--global--color--gray);
}
.reviews-list .more-reviews a{
    color: var(--global--main-color);
    font-size: 1rem;
}

/* end 首页样式*/


/* 手机样式*/
@media only screen and (max-width: 481.98px) {

    .index-hot-yp-list-box{
        padding:10px 5px;
        margin-left: 5px;
        margin-right: 5px;
    }
    .list-box ul.columns.p5{
        padding: 0.5rem !important;
    }
}
/* unvisited link */
a:link {
    color: red;
}

/* visited link */
a:visited {
    color: green;
}

/* mouse over link */
a:hover {
    color: hotpink;
}

/* selected link */
a:active {
    color: blue;
}