/* 顶部导航栏 */
header {
    background-color:#841806D4;
    color: #fff!important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.logo1{font-weight: bold; font-size: 24px;}
.header_logo{color: #fff;font-size: 24px;}
.header_logo:hover{color: #fff;}
.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: #841806D4!important;
}
.nav-menu a.active:hover {
    background-color: #fff!important;
    color: #841806D4!important;
}
.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: #841806D4; /* 深蓝色 */
    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;
}
/* 展开/折叠按钮：仅移动端显示 */
.sub-toggle {
    display: none;
}

#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;
}
/* 添加向下箭头 */
.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: #841806; /* 移动端菜单底色：不透明 */
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding: 10px 16px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-menu.active {
        display: flex;
        z-index: 100;
    }

    /* 每项独立成行：子菜单展开后整行下移，不与链接/按钮并排 */
    .nav-menu li {
        position: relative;
        display: block;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .nav-menu li > a {
        display: block;
        padding: 10px 40px 10px 0;
        border-radius: 0;
        font-size: 16px;
    }

    /* 移动端不做高亮：当前项与悬停统一白字、无底色 */
    .nav-menu a.active,
    .nav-menu a.active:hover,
    .nav-menu a:hover {
        background: transparent !important;
        color: #fff !important;
    }

    .menu-toggle {
        display: block;
    }

    .container {
        flex-direction: column;
    }

    /* 子菜单：默认收起，点 + 展开、点 - 折叠 */
    .sub-menu {
        position: static;
        display: none;
        background-color: rgba(0, 0, 0, 0.2);
        padding: 0 0 0 14px;
        margin: 0 0 6px 0;
        min-width: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .nav-menu li:hover .sub-menu {
        display: none;
    }

    .nav-menu li.open > .sub-menu {
        display: block;
        max-height: 52vh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* 展开/折叠按钮（+ / -）：固定在标题行右侧，不受子菜单高度影响 */
    .sub-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 8px;
        width: 26px;
        height: 26px;
        line-height: 24px;
        margin: 0;
        padding: 0;
        text-align: center;
        font-size: 18px;
        font-family: inherit;
        color: #fff;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        cursor: pointer;
    }

    .has-submenu > a::after {
        content: none;
    }
}
.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, #841806D4, #841806D4);
    margin-right: 6px;
    position: relative;
    top: 2px;
}
.biaoti a {
    float: right;
}
.tuwen ul {
    background: #fff;
    overflow: hidden;
}
.tuwen ul span {
    width: 250px;
    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 #841806D4;
    background: #fff;
}
.xxk ul {
    height: 50px;
    background: #f7f9fa;
    box-shadow: 0 2px 3px #ddd;
}
.xxk span.on {
    background: #841806D4;
    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: 99px;
    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;
    }
}
}

