/*
Theme Name: ChinaBlitz100
Theme URI: http://chinablitz100.com
Author: ChinaBlitz100
Author URI: http://chinablitz100.com
Description: A custom theme for Chinese American Football League archive site. Clean, data-focused design with Chinese typography.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chinablitz100
Tags: sports, archive, chinese, custom

ChinaBlitz100 WordPress Theme
*/

:root {
    --primary: #D32F2F;
    --primary-dark: #B71C1C;
    --primary-light: #EF5350;
    --secondary: #1565C0;
    --secondary-dark: #0D47A1;
    --accent: #F57C00;
    --accent-light: #FFB74D;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-subtle: #F5F5F5;
    --text-dark: #212121;
    --text-medium: #424242;
    --text-muted: #757575;
    --border: #E0E0E0;
    --border-light: #F0F0F0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Microsoft YaHei', 微软雅黑, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header - Matching Homepage Design */
.header {
    background: var(--bg-white);
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem 0.5em 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    font-size: 2.5rem;
}

.logo-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-family: 'Microsoft YaHei', 微软雅黑, sans-serif;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

/* Main Content */
.site-content {
    background: transparent;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section Title */
.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

/* Division Tabs */
.division-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.division-tab {
    background: var(--bg-white);
    border: 2px solid var(--border);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-family: 'Microsoft YaHei', 微软雅黑, sans-serif;
}

.division-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.division-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.division-content {
    display: none;
}

.division-content.active {
    display: block;
}

/* Group Container */
.group-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.group-standings {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.group-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 1rem 1.5rem;
    font-family: 'Noto Serif SC', serif;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Table Styles */
.group-standings table {
    width: 100%;
    border-collapse: collapse;
}

.group-standings th {
    background: var(--bg-subtle);
    color: var(--text-dark);
    font-weight: 700;
    padding: 1rem;
    text-align: left;
    font-size: 0.9rem;
}

.group-standings td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
}

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

.group-standings tbody tr:hover {
    background: var(--bg-subtle);
}

.rank {
    font-family: 'Microsoft YaHei', 微软雅黑, sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--secondary);
    width: 50px;
}

.team-cell {
    font-weight: 700;
}

.record {
    font-family: 'Microsoft YaHei', 微软雅黑, sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

/* Remove WordPress defaults that interfere */
.entry-content {
    margin: 0;
    padding: 0;
}

.entry-header {
    display: none;
}

.entry-title {
    display: none;
}

.site-footer {
    display: none;
}

article {
    margin: 0;
    padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .division-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .group-container {
        grid-template-columns: 1fr;
    }
}
