body,h1,h2,h3,h4,h5,h6,p,ul,ol,li,input,select,textarea,div,table,td,th,tr,dt,dd,dl{margin:0;padding:0;}

ul,ol{list-style:none;}

em,i{font-style:normal;display: inline-block;}

table{border-spacing:0;border-collapse:collapse;}

img{border:0;vertical-align:middle;}

input,select{vertical-align:middle;outline: none;}

a:hover{color: #605ca8;text-decoration:none;}
a{color: #333;text-decoration:none;}
a:focus{
    text-decoration: none;
}

.mt20{
    margin-top: 20px;
}
.mt30{
    margin-top: 30px;
}
.mt40{
    margin-top: 40px;
}
.mt50{
    margin-top: 50px;
}

.mb20{
    margin-bottom: 20px;
}
.mb30{
    margin-bottom: 30px;
}
.mb40{
    margin-bottom: 40px;
}
.mb50{
    margin-bottom: 50px;
}

img{border:none;}

body{font-family:'Microsoft YaHei','Arial','Heiti SC';background:#f5f5f5;}

.fl{display:block;float:left;}

.fr{display:block;float:right;}

.clear{clear:both;}

.container{width: 1230px;margin: 0 auto;}

.mb15{
    margin-bottom: 15px;
}
.mb20{
    margin-bottom: 20px;
}

.more{
    font-size: 16px;
    padding: 10px 20px 40px;
    text-align: center;
}

#page{
	text-align: center;
	padding: 20px 0 40px;
}
#page .pagination{
    margin-top: 40px;
}
#page .pagination li span{
	width: 35px;
	height: 35px;
	line-height: 35px;
	border-radius: 0px!important;
	margin-right: 15px;
	padding: 0px;
	border: 1px solid #222222;
	background: #222222;
	color: #fff;
}
#page .pagination li a{
	width: 35px;
	height: 35px;
	line-height: 35px;
	border-radius: 0px!important;
	margin-right: 15px;
	padding: 0px;
	border: 1px solid #f5f5f5;
	color: #666;
}
#page .pagination li.disabled span{
	color: #666;
	border: 1px solid #f5f5f5;
	background: #fff;
}
#page .pagination li:last-child a{
    margin-right: 0px;
}

/*底部*/
.footer-bg {
    background: #e0e0e0;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
}
.footer-info {
    color: #222;
    text-align: center;
    padding: 28px 10px 32px 10px;
    font-size: 15px;
    line-height: 2.1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.footer-info > div {
    margin-bottom: 8px;
}
.footer-contact {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 8px;
}
@media (max-width: 900px) {
    .footer-info { font-size: 13px; padding: 18px 4px 22px 4px; max-width: 100vw; }
}

body { background: #f5f5f5; font-family: "微软雅黑", Arial, sans-serif; margin: 0; }
.header { background: #fff; border-bottom: 2px solid #222; }
.header .logo { font-size: 22px; font-weight: bold; padding: 15px 30px; display: inline-block; }
.nav { background: #222; }
.nav ul { margin: 0; padding: 0; list-style: none; display: flex; }
.nav li { }
.nav a { display: block; color: #fff; padding: 15px 25px; text-decoration: none; border-right: 1px solid #444; }
.nav a:hover, .nav .active { background: #e74c3c; }
.container { display: flex; margin: 30px auto; }
.main { flex: 3; margin-right: 20px; }
.sidebar {
    flex: none;
    width: 380px;
}
.breadcrumb { 
    background: #fff; 
    padding: 12px 20px; 
    margin-bottom: 20px; 
    font-size: 14px; 
    border-radius: 4px;
}
.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: #e74c3c;
}
.section { background: #fff; margin-bottom: 20px; padding: 20px; border-radius: 4px; }
.section h2 { font-size: 18px; margin: 0 0 15px 0; }

/* 侧边栏标题优化 */
.section h2 {
    font-size: 19px;
    color: #333;
    border-bottom: 2px solid #000000;
    padding-bottom: 6px;
    margin-bottom: 18px;
    margin-top: 0;
    letter-spacing: 2px;
    font-weight: bold;
    position: relative;
    /* padding-left: 28px; */
}

.section h1 {
    font-size: 22px;
    color: #222;
    margin-bottom: 18px;
    margin-top: 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #000000;
    padding-bottom: 8px;
}

.section h1 img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
    box-shadow: 4px 3px 6px rgb(34 34 34 / 16%);
}
.section h2::before {
    
}
.match-detail { background: #000; color: #fff; border-radius: 6px 6px 0 0; padding: 18px 10px 18px; text-align: center; font-size: 20px; font-weight: bold; }
.match-detail a{ background: #000; color: #fff; }
.match-area { background: #fff; border-radius: 0 0 6px 6px; }
.match-img-area { position: relative; width: 100%; height: 320px; background: #eee; overflow: hidden; }
.match-img-area img { width: 100%; height: 100%; object-fit: cover; }
.team-logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 170px;
    height: 90px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
/*    border: 2px solid #e74c3c;*/
}
.team-logo a{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.team-logo.left { left: 0px; border-radius: 0 78px 78px 0;}
.team-logo.right { right: 0px; border-radius: 78px 0 0 78px;}
.team-logo img { width: 48px; height: 48px; }
.team-logo span { margin-top: 8px; color: #222; font-size: 15px; font-weight: bold; text-align: center;}
.score-area { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); background: rgba(255,255,255,0.9); border-radius: 30px; padding: 20px 40px; font-size: 32px; color: #222; text-align: center; }
.score-area small { display: block; font-size: 16px; color: #666; margin-top: 5px; }
.live-links { background: #000; color: #fff; padding: 25px 20px; border-radius: 0 0 6px 6px;}
.live-links span { margin-right: 10px; }
.live-links span {
    margin-right: 10px;
    font-size: 15px;
}
.live-links span:first-child {
    color: #e74c3c;
    font-weight: bold;
}
.live-links a { display: inline-block; margin: 5px 5px; padding: 6px 18px; border: none; border-radius: 3px; background: #eee; color: #222; cursor: pointer; font-weight: bold; }
.live-links a:hover { background: #e74c3c; color: #fff; }
.desc-section { background: #fff; padding: 18px 20px; border-radius: 4px; font-size: 15px; line-height: 1.8; margin-bottom: 20px;}

.reping-list .list-item {
    border-bottom: 1px solid #1D4767;
    clear: both;
    display: block;
    padding: 6px 10px 0px 10px;
    padding-bottom: 6px;
    min-height: 48px;
    height: auto;
}
.reping-list .reping-avatar {
    float: left;
    width: 50px;
}
.reping-list .reping-avatar img {
    display: block;
    margin: 0 auto;
    width: 60% !important;
    max-width: 60% !important;
}
.reping-list .contavatar {
    padding: 0 0 0 60px;
}
.reping-list .reping-content {
    padding: 0 0 10px;
    width: auto;
}

.detail_tags{
    padding: 20px 0;
}
.detail_tags 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;
}
.detail_tags a:hover {
    background: #262626;
    color: #fff;
}

/* 倒计时样式 */
.countdown-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-title {
    font-size: 14px;
    font-weight: bold;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.countdown-icon {
    font-size: 16px;
    margin-right: 6px;
    animation: pulse 2s infinite;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.countdown-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.countdown-number {
    font-size: 18px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 30px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.countdown-label {
    font-size: 12px;
    opacity: 0.9;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@media (max-width: 900px) {
    .countdown-section {
        padding: 10px 15px;
        height: 45px;
    }
    .countdown-timer {
        gap: 10px;
    }
    .countdown-number {
        font-size: 16px;
        padding: 3px 6px;
        min-width: 25px;
    }
    .countdown-title {
        font-size: 13px;
        margin-right: 12px;
    }
    .countdown-icon {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .score-area small{
        font-size: 12px;
    }
    .match-detail{
        font-size: 16px;
    }
    .countdown-section {
        padding: 8px 12px;
        height: 40px;
    }
    .countdown-timer {
        gap: 8px;
    }
    .countdown-number {
        font-size: 14px;
        padding: 2px 5px;
        min-width: 22px;
    }
    .countdown-label {
        font-size: 10px;
    }
    .countdown-title {
        font-size: 12px;
        margin-right: 10px;
    }
    .countdown-icon {
        font-size: 12px;
    }
}
.tags, .hot-events { font-size: 14px; }
.tags a, .hot-events a { color: #333; text-decoration: none; margin-right: 10px; }
.tags a span, .hot-events a{ margin-bottom: 5px;display: inline-block; }
.tags a:hover, .hot-events a:hover { color: #e74c3c; }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { margin-bottom: 8px; font-size: 15px; }

@media (max-width: 900px) {
    .container { flex-direction: column; max-width: 100%; }
    .main, .sidebar { margin-right: 0; width: 100%; }
    .section, .desc-section { padding: 12px; }
    .match-img-area { height: 180px; }
    .team-logo { 
        width: 90px; 
        height: 90px; 
        padding: 10px 6px;
    }
    .team-logo img { width: 45px; height: 45px; }
    .team-logo span { 
        font-size: 14px; 
        line-height: 1.3;
        margin-top: 4px;
        text-align: center;
        word-break: break-word;
        max-width: 100%;
        font-weight: 500;
    }
    .score-area { font-size: 20px; padding: 10px 18px; }
    .live-links button { padding: 4px 10px; font-size: 13px; }
    .header .logo { font-size: 18px; padding: 10px 10px; }
    .nav ul { flex-wrap: wrap; }
    .nav a { padding: 10px 10px; font-size: 14px; }
}

@media (max-width: 600px) {
    .container { padding: 0 2px; margin-top: 0px;}
    .section, .desc-section { padding: 8px; }
    .extra-section{ padding: 8px!important; }
    .match-img-area { height: 180px; }
    .team-logo { 
        width: 120px; 
        height: 80px; 
        padding: 8px 4px;
    }
    .team-logo img { width: 32px; height: 32px; }
    .team-logo span { 
        font-size: 14px; 
        line-height: 1.2;
        margin-top: 3px;
        text-align: center;
        word-break: break-word;
        max-width: 100%;
        font-weight: 500;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .score-area { font-size: 20px; padding: 6px 15px;border-radius: 25px; }
    .live-links button {  font-size: 12px; margin: 2px 2px; }
    .header .logo { font-size: 15px; padding: 6px 6px; }
    .nav a { padding: 6px 6px; font-size: 12px; }
    .section h2 { font-size: 15px;  }
    .section h2::before {
        /* font-size: 14px; */
        /* top: 2px; */
    }
    .section h1{
        font-size: 20px!important;
    }
    .section h1 img{
        width: 28px;
        height: 28px;
    }
    .section .date-title{
        font-size: 15px;
        padding: 5px 10px;
    }
}
.tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 18px;
}
.tabs button {
    background: #fff;
    border: none;
    padding: 10px 28px;
    font-size: 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-right: 8px;
    color: #222;
    font-weight: bold;
    transition: all 0.2s;
}
.tabs button.active {
    color: #e74c3c;
    border-bottom: 2.5px solid #e74c3c;
    background: #fafafa;
}
.match-list {
    width: 100%;
}
.match-row {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
    transition: background 0.2s;
}
.match-row:hover {
    /* background: #f9f9f9; */
}
.match-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 30px;
    font-size: 13px;
    color: #888;
    flex-shrink: 0;
}
.match-icon {
    font-size: 20px;
    margin-bottom: 2px;
}
.match-time {
    font-size: 13px;
    color: #888;
    text-align: center;
    line-height: 1.2;
    padding: 2px 8px;
    width: 100px;
    flex-shrink: 0;
}
.match-info-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.match-league {
    margin: 0 5px 0 5px;
    padding: 2px 12px;
    display: inline-block;
    width: 96px;
    text-align: left;
    flex-shrink: 0;
}
.match-league a{
    color: #797373;
    font-size: 14px;
}
.match-teams {
    display: flex;
    align-items: center;
    font-size: 15px;
    flex: 1;
    justify-content: center;
}
.team {
    display: flex;
    width: 170px;
    font-size: 14px;
    align-items: center;
    /*font-weight: bold;*/
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.match-teams .team:first-child{
    justify-content: flex-end;
}
.team img {
    width: 35px;
    /*height: 22px;*/
    margin: 0 6px;
    border-radius: 50%;
    border: 1.5px solid #eee;
    background: #fff;
}
.vs {
    margin: 0 12px;
    color: #e74c3c;
    font-size: 16px;
    font-weight: bold;
}
.watch-btn a{
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 28px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.watch-btn a:hover {
    background: #c0392b;
}
@media (max-width: 900px) {
    .match-row { flex-direction: column; align-items: flex-start; padding: 10px 0; }
    .match-info-group { 
        display: flex; 
        align-items: center; 
        width: 100%; 
        margin-bottom: 8px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .match-meta { margin-right: 8px; }
    .match-time { margin-right: 8px; min-width: 100px; width: auto;}
    .match-league { margin-right: 0; text-align: right;}
    .match-teams { width: 100%; min-width: 0; margin: 0 0 4px 0; }
    .watch-btn { margin: 8px auto 0; min-width: 120px; }
}
@media (max-width: 600px) {
    .tabs button { padding: 6px 10px; font-size: 13px; }
    .sub-tabs {
        gap: 6px;
        margin-bottom: 15px;
    }
    .sub-tabs button {
        font-size: 12px;
        min-width: 50px;
        border-radius: 12px;
    }
    .sub-tabs button a{
        padding: 2px 5px!important;
    }
    .match-row { padding: 6px 0; }
    .team img { width: 28px; }
    .vs { margin: 0 6px; font-size: 12px; }
    .watch-btn { padding: 4px 8px; font-size: 12px; margin-bottom: 10px;}
}
.sub-tabs {
    padding-bottom: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sub-tabs button {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    font-size: 13px;
    cursor: pointer;
    border-radius: 16px;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    position: relative;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.sub-tabs button a{
    display: block;
    width: 100%;
    padding: 5px 12px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 16px;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    position: relative;
    text-align: center;
}
.sub-tabs button:hover {
    background: #f8f9fa;
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #495057;
}
.sub-tabs button.active {
    color: #fff;
    background: #e74c3c;
    border-color: #e74c3c;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.25);
    font-weight: 600;
}
.sub-tabs button.active a{
    color: #fff;
}
.sub-tabs button.active:hover {
    background: #c0392b;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.35);
}
.date-group {
    margin-bottom: 28px;
}
.date-title {
    font-size: 18px;
    color: #222;
    font-weight: bold;
    background: #fafafa;
    padding: 10px 18px;
    border-radius: 4px 4px 0 0;
    border-left: 4px solid #e74c3c;
    margin-bottom: 0;
}
.extra-section {
    padding: 18px 20px;
}
.section-title {
    font-size: 18px;
    color: #222;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.record-list, .news-list-main {
    list-style: none;
    padding: 0;
    margin: 0;
}
.record-list li, .news-list-main li {
    padding: 8px 4px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}
.record-list li a{
    display: block;
}
.news-list-main a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.news-list-main a:hover {
    color: #e74c3c;
}
.record-time {
    color: #888;
    margin-right: 15px;
    font-size: 14px;
}
.record-time a:hover{
    color: #e74c3c;
}
.record-text {
    color: #555555;
    font-size: 15px;
}

/* 积分榜表格样式 */
.league-table-section {
    margin-bottom: 25px;
}

.table-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
    border-left: 3px solid #e74c3c;
    padding-left: 12px;
}

.league-table {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.standings-table thead {
    background: #f8f9fa;
}

.standings-table th {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    font-size: 13px;
}

.standings-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #f1f3f4;
    color: #495057;
}

.standings-table tbody tr:hover {
    background: #f8f9fa;
}

.standings-table tbody tr:last-child td {
    border-bottom: none;
}

.top-team {
    background: #fff3cd;
}

.top-team td {
    font-weight: 600;
}

.points {
    color: #e74c3c !important;
    font-weight: bold;
    font-size: 15px;
}

.record-section {
    margin-top: 20px;
}

@media (max-width: 900px) {
    .standings-table {
        font-size: 12px;
    }
    .standings-table th,
    .standings-table td {
        padding: 8px 4px;
    }
    .points {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .standings-table {
        font-size: 11px;
    }
    .standings-table th,
    .standings-table td {
        padding: 6px 3px;
    }
    .table-title {
        font-size: 14px;
    }
}
/* Hamburger Menu Button */
.nav-toggle {
    display: none; /* Hidden on desktop */
    border: none; background: transparent; cursor: pointer;
    width: 30px; height: 30px;
    position: absolute; top: 0px; right: 20px;
    z-index: 1001;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ''; display: block; width: 26px; height: 3px;
    background: #333; border-radius: 3px; position: relative;
    transition: all 0.3s;
}
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 5px; }

/* Hamburger to "X" animation on open */
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); top: 0; }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg); top: 0; }
body.nav-open .nav-toggle span::before, body.nav-open .nav-toggle span::after { background: #fff; }

/* Overlay for when nav is open */
.overlay { display: none; }
body.nav-open .overlay {
    display: block; position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5); z-index: 999;
}

/* Mobile Nav Styles */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
        height: 80px;
        width: 40px;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        background: transparent;
    }
    .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
        margin-top: 0;
    }
    .nav {
        position: fixed; top: 0; right: -100vw; /* Start off-screen */
        width: 80vw; max-width: 320px; height: 100vh;
        background: #222; z-index: 1000;
        padding-top: 60px;
        transition: right 0.3s cubic-bezier(.4,0,.2,1);
        box-shadow: -2px 0 16px rgba(0,0,0,0.18);
        overflow-y: auto;
    }
    body.nav-open .nav { right: 0; } /* Slide in */
    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .nav li { width: 100%; }
    .nav a {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #444;
        padding: 18px 32px;
        font-size: 18px;
        text-align: left;
        box-sizing: border-box;
        background: none;
    }
    .nav a::after { display: none; }
    .nav a:hover,
    .nav a.active {
        color: #fff;
        background: #e74c3c;
    }
}
@media (max-width: 600px) {
    .nav {
        width: 95vw; max-width: none;
        padding-top: 48px;
    }
    .nav a {
        padding: 14px 18px;
        font-size: 16px;
    }
}
body.nav-open {
    overflow: hidden;
    touch-action: none;
}
.news-detail-section {
    padding: 20px 28px;
}
.section .news-title {
    font-size: 26px;
    font-weight: bold;
    color: #222;
    margin-bottom: 18px;
    line-height: 1.4;
    border: 0;
}
.news-meta {
    color: #888;
    font-size: 15px;
    margin-bottom: 22px;
}
.news-content p {
    font-size: 16px;
    color: #333;
    line-height: 2;
    margin: 0 0 16px 0;
}
.news-content p img{
    display: block;
    width: 70%;
    margin: 15px auto;
    height: auto !important;
}
.news-content p:nth-child(n+2):not(:last-child) {
    text-indent: 2em;
}
.news-content p:has(> strong), .news-content p:has(> b) {
    text-indent: 0;
    font-weight: bold;
}
@media (max-width: 900px) {
    .news-detail-section { padding: 16px 8px; }
    .news-title { font-size: 20px; }
    .news-content p { font-size: 14px; }
}
/* Header 和 Nav 的全宽背景 */
.header-bg {
    background: #fff;
    border-bottom: 1px solid #eee;
}
.nav-bg {
    background: #222;
    height: 50px; /* 固定导航栏高度 */
}

/* 1200px 居中容器 -> Now Full-width */
.header, .nav {
    /* max-width: 1200px; */ /*  <-- 注释掉或删除此行  */
    /* margin: 0 auto; */   /*  <-- 注释掉或删除此行  */
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Header 内部布局 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}
.header .logo {
    font-size: 24px;
    font-weight: bold;
}

/* Header 内的搜索框 */
.header-search {
    display: flex;
    align-items: center;
    margin-right: 20px;
}
.header-search input {
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 20px 0 0 20px;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    width: 250px;
}
.header-search input:focus {
    /*border-color: #e74c3c;*/
}
.header-search button {
    background: #fff;
    border: 1px solid #ddd;
    color: #fff;
    padding: 8px 15px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    font-size: 14px;
}

/* Nav 内部布局和样式 */
.nav, .nav ul, .nav li, .nav a {
    height: 100%; /* 核心：让所有元素撑满 nav-bg 的高度 */
    display: flex;
    align-items: center; /* 垂直居中 */
}
.nav ul {
    margin: 0; padding: 0; list-style: none;
}
.nav a {
    color: #f0f0f0;
    padding: 0 25px; /* 只保留水平内边距 */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s, background-color 0.3s;
    position: relative;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e74c3c;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.nav a:hover,
.nav a.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05); /* 背景色不会超出父级高度 */
}
.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
}

/* 移动端适配 */
@media (max-width: 900px) {
    .header-search {
        display: none; /* M端隐藏搜索框 */
    }
    .nav-bg {
        height: auto; /* M端恢复自动高度 */
    }
}
@media (max-width: 900px) {
    .header {
        height: 56px;
    }
    .header-bg {
        min-height: 56px;
    }
    .header .logo {
        font-size: 20px;
        padding: 10px 10px;
        line-height: 56px;
    }
    .nav-toggle {
        height: 56px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 600px) {
    .nav {
        width: 60vw; max-width: none; min-width: 120px;
        border-radius: 0 0 0 32px;
    }
    .nav ul { margin-top: 100px; }
    .nav li { height: 44px; }
    .nav a {
        padding: 0 12px 0 32px;
        font-size: 16px;
    }
}

/*暂无数据*/
.nothing {
    text-align: center;
    margin: 40px 0px;
}
.nothing img {
    width: 100px;
}
.nothing span {
    display: block;
}
