/* 首页 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 关键样式：使轮播图高度自适应 */
.layui-carousel, 
#banner {
    width: 100% !important;
}
.lbg{
    background: url('/style/images/live.png') no-repeat;
}
.lbg {
    position: relative;
    display: inline-block; /* 适配图片宽度 */
    cursor: pointer;
    text-decoration: none; /* 去掉a标签默认下划线 */
}

/* 蒙版：绝对定位覆盖图片 */
.lbg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* 半透明蒙版 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none; /* 不影响a标签点击 */
}
/* 播放按钮：用伪元素实现，无需额外DOM */
.lbg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1; /* 确保按钮在蒙版上层 */
    pointer-events: none; /* 不影响a标签点击 */
    background: url('/style/images/live.png') no-repeat;
}
/* 播放三角图标 */
.lbg::before::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%); /* 三角居中微调 */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #000;
}
.layui-carousel .carousel-item {
    width: 100%;
    position: relative;
}
.carousel-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.searchbar{
    display: flex;
    align-items: center;
    background: var(--nutui-searchbar-background,var(--nutui-gray-3,#f6f6f6));
    box-sizing: border-box;
    color: var(--nutui-searchbar-color,var(--nutui-gray-7,#1a1a1a));
    height: 45px;
}
.sinput{
    border: none;
    background: #fff url('../images/search.png') no-repeat 10px center;
    width: 85%;
    margin: 0 auto;
    height: 30px;
    background-size: 15px;
    border-radius: 15px;
    padding-left: 30px;
    text-align: center;
    font-size: 12px;
}
.hbox{
    background: #ffffff;
}
.htab{
    display: flex;
    justify-content: space-evenly;
    margin: 15px 0;
}
.htit.cur:after{
    content: '';
    display: block;
    width: 20%;
    height: 2px;
    background: currentColor;
    margin: 2px auto 0;
    animation: underline 0.2s;
}
.hmain{
    width: 90%;
    margin: 0 auto;
    padding-top: 15px;
}
.hlist{
    display: flex;
    font-size: 14px;
    border-bottom: 1px solid rgb(208, 207, 207);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.hpic{
    width: 130px;
    height: 90px;
    margin-right: 10px;
}
.hltit{
    overflow: hidden;
    text-overflow: ellipsis;
}
.time{
    margin-top: 5px;
    color: rgb(153, 153, 153);
}
.none {
    width: 160px;
    height: 160px;
    margin: 60px auto;
}
.none img{
    width: 100%;
    height: 100%;
}
.ntit{
    color: var(--nutui-gray-5,#8c8c8c);
    font-size: var(--nutui-font-size-2,12px);
    line-height: var(--nutui-empty-description-line-height,1.2);
    margin-top: var(--nutui-empty-description-margin-top,0);
    text-align: center;
}
.h60{
    width: 100%;
    height: 60px;
    display: block;
    clear: both;
    background: #fff;
}
.foot{
    height: 60px;
    position: fixed;
    display: flex;
    bottom: 0;
    background-color: #f7f7fa;
    width: 100%;
    padding: 5px 0;
}
.foot a{
    width: 33%;
    text-align: center;
    color: #bfbfbf;
}
.foot img{
    width: 32px;
}
.foot p{
    display: none;
}
.ftit{
    color: #000000;
}
.m-image{
    width: 100%;
}
.mbox{
    padding: 3%;
}
.mitem1{
    display: flex;
    justify-content: space-between;
}
.mitem1 a{
    width: 31%;
}
.mitem1 img{
    width: 100%;
}
.mitem2{
    display: flex;
    justify-content: space-between;
    margin-top: 3%;
}
.mitem3{
    display: flex;
    flex-wrap: wrap;
}
.mitem3 a{
    width: 31%;
    margin-right: 3.5%;
    margin-top: 3%;
}
.mitem3 a:nth-child(3n){
    margin-right: 0;
}
.mitem3 img{
    width: 100%;
}
.miteml{
    width: 48%;
}
.mitemr{
    width: 48%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mitem2 img{
    width: 100%;
}
.mt3{
    margin-top: 3%;
}
.mfoot{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.mfoot img{
    width: 20px;
}
.lhd{
    text-align: center;
    margin: 60px 0;
}
.logoin{
    width: 210px;
}