﻿@charset "utf-8";
/*
Theme Name: 时光宝盒
Theme URI: www.woltimes.com
Version: 1.0 版本号
Author: 畔游科技
Description: 畔游科技主营业务：网站/小程序定制开发，网站SEO推广，问答营销，软文营销
Author URI: www.shpanyou.com
Tags: 
*/
.container.home-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.container.home-flex .home-left {
    width: 10rem;
    margin-bottom: 1rem;
    /* flex: 1;
    flex-shrink: 0; */
}
.container.home-flex .home-right {
    width: 3.5rem;
    margin-bottom: 1rem;
}
.home-banner {
    margin-bottom: 0.2rem;
}
.home-banner .swiper-slide {
    position: relative;
}
.home-banner .swiper-slide a {
    display: block;
}
.home-banner .swiper-slide img {
    width: 100%;
    height: 4.2rem;
    object-fit: cover;
    display: block;
}
.home-banner .swiper-slide h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: .15rem;
    font-size: 0.16rem;
    font-weight: bold;
    color: #ffffff;
    background: rgba(0, 0, 0, .6);
}

.home-banner .swiper-button-next, .home-banner .swiper-button-prev {
    margin-top: 0;
}

.home-banner .swiper-button-next img, .home-banner .swiper-button-prev img {
    width: .3rem;
    height: auto;
}

.home-watch {
    margin-bottom: 0.2rem;
}
.home-watch ul {
    display: flex;
    justify-content: space-between;
}
.home-watch ul li {
    position: relative;
    width: 49%;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
    padding-bottom: 10px;
}
.home-club ul li {
    width: 32%;
}
.home-club ul li img {
    height: 3.7rem;
}
.home-watch ul li img {
    display: block;
    width: 100%;
    height: 3.6rem;
    object-fit: cover;
}
.home-watch ul li h3 {
    width: 100%;
    padding: .1rem .15rem;
    font-size: 0.16rem;
    font-weight: bold;
    color: #333333;
    position: relative;
    background-color: unset;
}
.home-watch ul li h4 {
    font-size: .15rem;
    text-wrap: wrap;
    padding: 0 .1rem;
    line-height: 1.5;
    max-height: 3em;
}
.home-watch ul li p {
    font-size: .15rem;
    color: #666666;
    padding: .05rem .1rem;
}
.home-watch ul li p span {
    font-size: .15rem;
    color: #666666;
}
.home-video {
    margin-bottom: 0.2rem;
}
.home-videos {
    display: flex;
    justify-content: space-between;
}
.home-videos .home-video-l {
    display: flex;
    width: 70%;
}

.home-videos .home-video-l li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.home-videos ul {
    display: flex;
    width: 100%;
}
.home-videos ul li {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-top: 10px;
    width: 100%;
}
.home-videos ul li a {
    position: relative;
    display: flex;
}
.home-videos ul li .bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-videos ul li .play {
    position: absolute;
    width: 0.56rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.home-videos ul li h3 a {
    margin: 0.05rem 0;
    font-size: 0.16rem;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-weight: bold;
}
.home-videos .home-video-r {
    width: 28%;
}
.home-videos .home-video-r ul {
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.home-videos .home-video-r ul li .play {
    width: 0.4rem;
}


.home-brand {
    margin-bottom: 0.2rem;
}
.home-brand ul {
    display: flex;
    flex-wrap: wrap;
}
.home-brand ul li {
    width: 20%;
    position: relative;
    border: 1px solid #dddddd;
    border-left:none;
}
.home-brand ul li:nth-child(5n+1){
    border-left:1px solid #dddddd;
}
.home-brand ul li:nth-child(6),
.home-brand ul li:nth-child(7),
.home-brand ul li:nth-child(8),
.home-brand ul li:nth-child(9),
.home-brand ul li:nth-child(10){
    border-top:none;
}
.home-brand ul li a {
    display: block;
}
.home-brand ul li img {
    width: 100%;
    /* height: 1rem; */
    object-fit: cover;
}
.home-brand ul li h3 {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: .1rem 0;
    font-size: 0.14rem;
    color: #333333;
    font-weight: bold;
}
.home-brandUA{
    display: flex;
    justify-content: space-between;
}
.home-brandUA a{
    font-size: 16px;
    color: #77171c;
}
.shop-xp {
    text-align: center;
}
.home-shop {
    /* margin-top: .2rem; */
    margin-top: 0;
    margin-bottom: .3rem;
    padding: .2rem;
    padding-top: 0.05rem;
    border: 1px solid #dddddd;
}

.home-shop .swiper-slide h3 {
    
}
.home-shop .swiper-slide a {
    display: block;
    font-size: 0.16rem;
    font-weight: bold;
    color: #333333;
}
.home-club .swiper-slide a {
    color: #333333;
}
.home-current .swiper-slide a {
    color: #333333;
}
.home-shop .swiper-slide a img {
    width: 100%;
    height: 3rem;
    object-fit: cover;
}
.home-current .swiper-slide a img {
    height: auto !important;
}
.home-shop .swiper-slide p {
    margin: .05rem 0;
    font-size: 0.15rem;
}
.home-shop .swiper-slide span {
    display: block;
    font-size: 0.14rem;
    color: #333333;
    margin-bottom: 20px;
}

@media (max-width: 1800px) {
    .container.home-flex .home-left {
        width: 12rem;
    }
    .container.home-flex .home-right {
        width: 5rem;
    }
}
@media (max-width: 1800px) {
    .home-banner .swiper-slide img {
        height: 420px;
    }
    .container.home-flex .home-left {
        width: 70%;
    }
    .container.home-flex .home-right {
        width: 28%;
    }
    .home-banner .swiper-slide h3 {
        padding: 15px;
        font-size: 16px;
    }
    .home-watch ul li h3 {
        padding: 10px;
        font-size: 18px;
    }
    .home-watch ul li h4{
        color: #666;
        padding: 0 10px;
        font-size: 14px;
    }
    .home-videos .home-video-l ul li a {
        flex: 1;
    }
    .home-videos ul li h3 a {
        margin: 5px 0;
        font-size: 16px;
    }
    .home-brand ul li h3 {
        padding: 10px 0;
        font-size: 14px;
    }
    .home-videos .home-video-r ul li h3 a{
        font-size: 14px;
    }
    .home-shop .swiper-slide a {
        font-size: 16px;
    }
    .home-shop .swiper-slide p {
        margin: 5px 0;
        font-size: 14px;
    }
    .home-shop .swiper-slide span {
        font-size: 14px;
    }
    .home-global h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .home-global ul li {
        margin: 0 15px;
    }
    .home-global ul li a img {
        width: 32px;
    }
    .home-watch ul li p {
        font-size: 12px;
        color: #999;
        padding: 5px 10px;
    }
    .home-watch ul li p span {
        font-size: 15px;
        color: #999;
    }
}

@media (max-width: 960px) {
    .home-banner .swiper-slide img {
        height: 280px;
    }
    .container.home-flex {
        padding: 0;
    }
    .home-banner {
        margin-bottom: 20px;
    }
    .home-video, .home-watch,.home-brand,.home-right {
        padding: 0 15px;
    }
    .home-brand{
        display: none;
    }
    .container.home-flex .home-left,.container.home-flex .home-right {
        width: 100%;
        margin-bottom: 0;
    }
    .home-banner .swiper-button-next, .home-banner .swiper-button-prev {
        margin-top: -20px;
    }
    .home-banner .swiper-slide h3 {
        padding: 10px 15px;
    }
    .home-brand ul,.home-watch ul {
        flex-wrap: wrap;
    }
    .home-brand ul li {
        width: 100%;
        margin-right: 0;
        border: none;
        border-bottom: 1px solid #dddddd;
    }
    .home-brand ul li:nth-child(5n+1){
        border: none;
        border-bottom: 1px solid #dddddd;
    }
    .home-brand ul li h3 {
        font-size: 16px;
    }
    .home-watch ul li {
        width: 100%;
        margin-bottom: 15px;
    }
    .home-watch ul li:last-of-type {
        margin-bottom: 0;
    }
    .home-watch ul li h3 {
        padding: 10px;
    }
    .shop-xp {
        text-align: center;
    }
    .home-videos ul li {
        padding-bottom: 10px;
        border-bottom: 1px solid #dddddd;
    }
    .home-videos ul li h3 a {
        margin-top: 10px;
        margin-bottom: 0;
        font-weight: bold;
        color: #333333;
        font-size: 16px;
    }
    .home-videos ul li:last-of-type a {
        margin-bottom: 0;
    }
    .home-videos .home-video-r ul li .play,.home-videos ul li .play {
        width: 20%;
    }
    .home-watch ul li h3,.home-videos ul li h3 a,.home-videos .home-video-r ul li h3 a {
        font-size: 18px;
    }
    .home-global {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 20px 20px;
    }
    .home-video,.home-watch {
        margin-bottom: 25px;
    }
    .home-videos ul {
        width: 100%;
    }
    .home-videos,.home-videos ul,.home-videos .home-video-l, .home-videos .home-video-r {
        flex-wrap: wrap;
    }
    .home-videos .home-video-l,.home-videos .home-video-r  {
        width: 100%;
    }
    .home-videos ul li {
        margin-bottom: 10px;
    }
    .home-global h3 {
        font-size: 16px;
    }
    .home-shop {
        margin-top: 0;
        margin-bottom: 15px;
        padding: 20px 15px;
        padding-top: 5px;
        padding-bottom: 0;
    }
    .home-shop .swiper-slide a {
        font-size: 16px;
    }
    .home-shop .swiper-slide a img {
        height: 300px;
    }
    .home-shop .swiper-slide p,.home-shop .swiper-slide span {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .home-shop .swiper-slide span {
        margin-bottom: 15px;
    }
    .home-banner .swiper-button-next img, .home-banner .swiper-button-prev img {
        width: 30px;
    }
    .breadcrumb {
        display: none;
        margin-bottom: 0;
    }
    .home-watch ul li img {
        height: 300px;
    }
    .home-club ul li img {
        height: 400px;
    }
    .home-brand ul li img {
        height: auto;
    }
    .home-watch ul li h4 {
        font-size: 14px;
        text-wrap: wrap;
        padding: 0 10px;
        line-height: 1.5;
        max-height: 3em;
    }
    .home-brandUA{
        display: none;
        justify-content: space-between;
        margin: 0 20px;
    }
    
}