/* 顶部导航栏 */
header {
    background-color:#5B89FE;
    color: #fff!important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.logo1{font-weight: bold; font-size: 24px;}
.nav-container {
    display: flex;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    padding: 10px;
    justify-content: space-between;
}
.nav-menu a.active {
    background-color: #fff!important;
    color: #FFA500;
}
.logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    margin-left: 15px;
}

.nav-menu a {
    color: #fff!important;
    font-size: 18px;
    transition: color 0.3s, background-color 0.3s;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
}

.nav-menu a:hover {
    background-color: rgba(245, 240, 240, 0.1);
    color: #fff!important;
}

/* 二级导航 */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #5B89FE; /* 深蓝色 */
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 180px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 100000;
}

.sub-menu li {
    margin: 0;
}

.sub-menu a {
    padding: 10px 15px;
    font-size: 14px;
}

.nav-menu li:hover .sub-menu {
    display: block;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

#hot_league {
    margin: 5px;
}
.header_newnav {
    width: 1200px;
    display: flex;
    align-items: center;
    background: #ffffff;
    margin: 0 auto;
}
.headline {
    display: flex;
    align-items: center;
    margin-right: 50px;
}
.dsnone{padding-left: 30px; position: relative;}
/* 添加向下箭头 */
.has-submenu > a::after {
    content: "∨"; /* 向下箭头符号 */
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

/* 鼠标悬停时旋转箭头 */
.has-submenu:hover > a::after {
    transform: rotate(180deg);
}
#newNav {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 10px;
}
.teamslists{padding-right: 15px;}
.famous-nav {
    color: #fff;
    background-color: #e9d8d955;
    display: flex;
    align-items: center;
    overflow-x: auto;
}
.famous-nav-item {
    display: flex;
    justify-content: center;
    min-width: 80px;
    margin: 6px 5px;
    color: #fff;
    padding: 2.5px;
    border-radius: 5px;
    background-color: #FF9E29;
}
.famous-nav-item a {
    display: flex;
    align-items: center;
}
@media (max-width: 768px) {
    .aside{width:98%!important;}
    .index-div .a .team a{line-height: 30px!important;}
    .famous-nav-item {
        min-width: 90px;
    }
    .nav_reg, .header_newnav, .focus {
        width: 100%;
    }
    .headline {
        margin-right: 0;
        overflow: auto;
        padding: 4px;
    }
    #newNav {
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow: auto;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: #5B89FE;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding: 20px;
    }

    .nav-menu.active {
        display: flex;
        z-index: 100;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .container {
        flex-direction: column;
    }

    .sub-menu {
        position: static;
        display: none;
        background-color: rgba(0, 0, 0, 0.1);
        padding-left: 20px;
    }

    .nav-menu li:hover .sub-menu {
        display: none;
    }

    .nav-menu li.active .sub-menu {
        display: block;
    }
    .has-submenu > a::after {
        content: ">"; /* 移动端改为向右箭头 */
    }

    .has-submenu.active > a::after {
        content: "∨"; /* 展开时改为向下箭头 */
    }
}
.navs a{font-size:14px;line-height:34px;height:34px;background:#f1f1f1;padding:3px 10px;margin:5px 5px 0 0;border-radius:3px;transition:all .2s;color:#525252;white-space:nowrap;}
.navs a:hover{background:#019e7b;color:#fff}
/* ??????  */
.syzt{
    height: 40px;
    padding: .3em 0.4em .08em 0.4em;
    line-height: 40px;
    font-size: 15px;
    position: relative;
    font-weight: bold;
    background: #f4f4f4;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
}
.biaoti {
    overflow: hidden;
}
.top20 {
    margin-top: 20px;
}
.biaoti h2 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    float: left;
}
.biaoti h2:before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(90deg, #5B89FE, #5B89FE);
    margin-right: 6px;
    position: relative;
    top: 2px;
}
.biaoti a {
    float: right;
}
.tuwen ul {
    background: #fff;
    overflow: hidden;
}
.tuwen ul span {
    width: 240px;
    background: #fff;
    box-shadow: 0 0 10px 0 #dfdfdf;
    border-radius: 4px;
    padding: 10px;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.tuwen ul span .img {
    height: 129px;
    position: relative;
    overflow: hidden;
}
.tuwen ul span .img img {
    width: 100%;
    height: 129px;
}
.tuwen ul span .biaoti {
    font-size: 14px;
    color: #1d1d1f;
    height: 30px;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.xxk {
    border-top: 2px solid #5B89FE;
    background: #fff;
}
.xxk ul {
    height: 50px;
    background: #f7f9fa;
    box-shadow: 0 2px 3px #ddd;
}
.xxk span.on {
    background: #5B89FE;
    color: #FFF;
}
.xxk span {
    height: 50px;
    line-height: 50px;
    margin-right: 2px;
    background: #f7f9fa;
    text-align: center;
    padding: 0 12px;
    float: left;
    cursor: pointer;
}
.itemp {
    overflow: hidden;
    background: #fff;
    padding: 0px 5px 10px 5px;
}
.itemp a {
    display: block;
    float: left;
    width: 95px;
    background: #fff;
    box-shadow: 0 0 4px 0 #dfdfdf;
    margin: 5px;
    padding: 5px;
}
.itemp a img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}
.itemp a span {
    height: 30px;
    line-height: 30px;
    display: block;
    text-align: center;
}
.hide {
    display: none;
}

@media screen and (max-width: 768px){
    .xxk ul {
        display: flex;
        overflow: hidden;
        white-space: nowrap;
        overflow-x: auto;
    }
    .tuwen ul span {
        width: 40%;
    }
    .itemp a {
        width: 66px;
    }
}

@media screen and (max-width: 340px){
    .tuwen ul span {
        width: 240px;
    }
    .itemp a {
        width: 84px;
    }
}
}

