/* ============================================
   江西职教高考宣传系统 - 响应式样式表
   适配手机端(320px+)与桌面端(1200px+)
   ============================================ */

/* --- CSS变量 --- */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --secondary: #ff6d00;
    --secondary-light: #fff3e0;
    --success: #0f9d58;
    --danger: #ea4335;
    --warning: #f9ab00;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-light: #80868b;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f1f3f4;
    --border-color: #dadce0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --header-height: 64px;
}

/* --- 全局重置 --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* --- 容器 --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================
   顶部导航
   ============================================ */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.logo i {
    font-size: 1.5rem;
}

.main-nav ul {
    display: flex;
    gap: 4px;
}

.main-nav a {
    display: block;
    padding: 8px 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   主内容区
   ============================================ */
.site-main {
    flex: 1;
    padding: 24px 0;
}

/* --- 页面标题 --- */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 32px;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.page-header .breadcrumb {
    margin-top: 12px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.page-header .breadcrumb a {
    color: rgba(255,255,255,0.9);
}

/* ============================================
   首页 Hero Banner
   ============================================ */
.hero-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #4285f4 50%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-banner .subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.hero-stat .label {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* --- 按钮 --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background: #e65100;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ============================================
   卡片组件
   ============================================ */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   网格布局
   ============================================ */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================
   区块标题
   ============================================ */
.section {
    padding: 48px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ============================================
   特色功能卡片 (首页)
   ============================================ */
.feature-card {
    text-align: center;
    padding: 32px 20px;
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================
   政策列表
   ============================================ */
.policy-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.policy-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    align-items: flex-start;
}

.policy-item .policy-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.policy-item .policy-content h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.policy-item .policy-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.policy-tag {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.75rem;
    border-radius: 20px;
    margin-top: 8px;
}

.tag-policy { background: var(--primary-light); color: var(--primary); }
.tag-exam { background: var(--secondary-light); color: var(--secondary); }
.tag-major { background: #e6f4ea; color: var(--success); }
.tag-compare { background: #fce8e6; color: var(--danger); }

/* ============================================
   考试科目页
   ============================================ */
.score-overview {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e6f4ea 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.score-total {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.score-total span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.score-breakdown {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.score-item {
    background: var(--bg-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    min-width: 120px;
}

.score-item .score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.score-item .name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.subject-detail-card {
    margin-bottom: 20px;
}

.subject-detail-card .card-body {
    padding: 20px 24px;
}

.subject-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.subject-header h3 {
    font-size: 1.1rem;
}

.subject-score-badge {
    background: var(--primary);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.subject-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   招生院校页
   ============================================ */
.college-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-white);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.college-card {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.college-card .college-info {
    flex: 1;
}

.college-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.college-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.college-meta span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.college-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.college-tag {
    padding: 2px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    background: var(--bg-gray);
    color: var(--text-secondary);
}

.college-tag.level-undergraduate { background: #fce8e6; color: var(--danger); }
.college-tag.level-specialty { background: var(--primary-light); color: var(--primary); }

.college-plan {
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.college-plan .plan-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.college-plan .plan-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ============================================
   复习资料页
   ============================================ */
.material-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    align-items: center;
}

.material-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.material-icon.culture { background: var(--primary-light); color: var(--primary); }
.material-icon.skill { background: var(--secondary-light); color: var(--secondary); }
.material-icon.policy { background: #e6f4ea; color: var(--success); }

.material-info {
    flex: 1;
}

.material-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.material-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.material-price {
    font-weight: 600;
    white-space: nowrap;
}

.material-price.free {
    color: var(--success);
}

.material-price.paid {
    color: var(--secondary);
}

/* ============================================
   五大优势页
   ============================================ */
.advantage-section {
    margin-bottom: 48px;
}

.advantage-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.advantage-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.advantage-header h2 {
    font-size: 1.35rem;
    color: var(--text-primary);
}

.advantage-content {
    padding-left: 64px;
}

.advantage-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.advantage-content ul {
    margin-bottom: 16px;
}

.advantage-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.advantage-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.advantage-highlight {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 16px 0;
}

.advantage-highlight p {
    color: var(--primary-dark);
    margin: 0;
    font-weight: 500;
}

/* ============================================
   新闻公告
   ============================================ */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--bg-gray);
    transition: var(--transition);
}

.news-item:hover {
    background: var(--primary-light);
}

.news-item .news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
    min-width: 80px;
}

.news-item .news-title {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.news-item .news-badge {
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    background: var(--danger);
    color: white;
}

/* ============================================
   留言表单
   ============================================ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    text-align: center;
}

/* ============================================
   分页
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: var(--transition);
}

.pagination a {
    background: var(--bg-white);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: white;
    border: none;
}

/* ============================================
   搜索框
   ============================================ */
.search-box {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    max-width: 500px;
}

.search-box input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-box button {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* ============================================
   专业大类表格
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table th {
    background: var(--primary);
    color: white;
    padding: 12px 16px;
    font-size: 0.85rem;
    text-align: left;
    white-space: nowrap;
}

.data-table td {
    padding: 12px 16px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--bg-gray);
    color: var(--text-secondary);
}

.data-table tr:hover td {
    background: var(--primary-light);
}

/* ============================================
   19大专业大类网格
   ============================================ */
.major-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.major-card {
    padding: 20px;
}

.major-card .major-code {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.major-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.major-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.major-card .major-colleges {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--primary);
}

/* ============================================
   底部
   ============================================ */
.site-footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.8);
    padding: 48px 0 0;
    margin-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
}

.footer-col h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* --- 回到顶部 --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   响应式 - 平板 (768px以下)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .main-nav.open {
        max-height: 400px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 8px 16px;
    }

    .main-nav a {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .hero-banner {
        padding: 40px 0;
    }

    .hero-banner h1 {
        font-size: 1.75rem;
    }

    .hero-banner .subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat .number {
        font-size: 1.8rem;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .advantage-content {
        padding-left: 0;
    }

    .advantage-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .college-card {
        flex-direction: column;
    }

    .college-plan {
        flex-direction: row;
        gap: 8px;
    }

    .score-breakdown {
        gap: 12px;
    }

    .score-item {
        min-width: 100px;
        padding: 12px 16px;
    }

    .data-table {
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 8px 10px;
    }

    .major-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   响应式 - 小屏手机 (480px以下)
   ============================================ */
@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 80%;
        justify-content: center;
    }

    .score-total {
        font-size: 2.2rem;
    }

    .score-breakdown {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .material-card {
        flex-direction: column;
        text-align: center;
    }

    .search-box {
        flex-direction: column;
    }
}

/* ============================================
   动画效果
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 打印样式 */
@media print {
    .site-header, .site-footer, .back-to-top, .mobile-menu-toggle {
        display: none;
    }
    .site-main {
        padding: 0;
    }
}
