* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
    overflow-x: auto;
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #1a1a2e;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
    text-decoration: none;
}

.logo span {
    color: #fff;
    font-size: 14px;
    margin-left: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6b35;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../image/tdec98545_hero-sports.webp') center/cover no-repeat;
    opacity: 0.15;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 36px;
    margin-bottom: 14px;
    line-height: 1.3;
    color: #fff;
}

.page-hero p {
    font-size: 16px;
    color: #ddd;
    opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #eef0f3;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 54px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ff6b35;
}

.breadcrumb .sep {
    color: #c8ccd4;
}

.breadcrumb .cur {
    color: #1a1a2e;
    font-weight: 500;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* News List */
.sports-content {
    background: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.content-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: transform 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-card-body {
    padding: 25px;
}

.content-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.content-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

.content-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.content-card-meta {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #999;
}

.content-card-time {
    color: #999;
}

/* Empty */
.news-empty {
    text-align: center;
    color: #999;
    padding: 60px 0;
    font-size: 15px;
}

/* Pagination（对齐 EyouCMS pagelist 输出：裸 li + .thisclass 当前页 + 无 href 的禁用项） */
.pagination-wrap {
    margin-top: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li {
    display: inline-flex;
}

.pagination li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    color: #666;
    font-size: 14px;
    line-height: 1;
    transition: all 0.3s;
}

.pagination li a[href]:hover {
    color: #ff6b35;
    border-color: #ff6b35;
}

/* 禁用项：上一页/下一页在首末页时无 href */
.pagination li:not(.thisclass) a:not([href]) {
    color: #bbb;
    background: #f7f7f7;
    cursor: not-allowed;
}

/* 当前页 */
.pagination li.thisclass a {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
    font-weight: 600;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: #fff;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ff6b35;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.footer-section p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 25px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
        border-top: 1px solid #333;
        margin-top: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .page-hero {
        padding: 50px 0;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        margin-bottom: 35px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-hero h1 {
        font-size: 24px;
    }

    .content-card-body {
        padding: 25px;
    }
}

/* f8ab63 */
:root {
    will-change: transform;
}
::selection {
    scroll-behavior: auto;
}
