body {
    background-color: #f5f5f5;
    color: #333;
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #1e40af;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部区域 */
.header {
    background: linear-gradient(to right, #1e3a8a, #2563eb);
    color: white;
    padding: 20px 0;
}

.header-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.header-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

/* 导航栏 */
.navbar {
    background-color: #1e40af;
    color: white;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    flex-wrap: wrap;
}

.navbar a {
    color: white;
    padding: 12px 20px;
    display: inline-block;
    transition: all 0.3s;
    font-size: 15px;
}

.navbar a:hover {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

.navbar a.active {
    background-color: #fff;
    color: #1e40af;
    font-weight: bold;
}

/* 面包屑 */
.breadcrumb {
    background: #f5f5f5;
    padding: 12px 0;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #1e40af;
}

.breadcrumb span {
    color: #333;
}

/* 页面标题 */
.page-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    border-left: 4px solid #1e40af;
    padding-left: 15px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #1e40af;
    padding-bottom: 8px;
    display: inline-block;
    margin-bottom: 15px;
}

/* 卡片 */
.card {
    background: white;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-blue {
    border-left: 4px solid #1e40af;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 14px;
    text-align: center;
}

.btn-primary {
    background-color: #1e40af;
    color: white;
}

.btn-primary:hover {
    background-color: #1e3a8a;
    color: white;
}

.btn-outline {
    border: 2px solid #1e40af;
    color: #1e40af;
    background: transparent;
}

.btn-outline:hover {
    background-color: #1e40af;
    color: white;
}

/* 网格布局 */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* 颜色类 */
.text-blue {
    color: #1e40af;
}

.text-center {
    text-align: center;
}

.text-gray {
    color: #666;
}

.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.px-4 { padding-left: 16px; padding-right: 16px; }

.bg-white { background: white; }
.bg-gray { background: #f5f5f5; }
.bg-blue { background: #1e40af; }
.bg-blue-light { background: #eff6ff; }

.rounded { border-radius: 0; }
.rounded-lg { border-radius: 0; }
.shadow { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.font-bold { font-weight: bold; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }

/* 图标盒子 */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    margin-right: 15px;
    flex-shrink: 0;
}

/* 统计卡片 */
.stat-card {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 20px;
    border-radius: 0;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

/* 新闻卡片 */
.news-item {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-item .content {
    padding: 15px;
}

.news-date {
    background: #1e40af;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 0;
    display: inline-block;
    margin-bottom: 8px;
}

/* 时间线 */
.timeline {
    border-left: 3px solid #1e40af;
    padding-left: 25px;
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #1e40af;
    border-radius: 50%;
    border: 2px solid white;
}

/* 表格 */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    font-weight: bold;
}

.table tr:hover {
    background: #eff6ff;
}

/* 表单 */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 0;
    max-width: 500px;
    width: 90%;
    position: relative;
}

/* 徽章 */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 500;
}

.badge-blue {
    background: #eff6ff;
    color: #1e40af;
}

/* 轮播图 */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: #ccc;
    cursor: pointer;
    display: inline-block;
    margin: 0 5px;
}

.slider-dot.active {
    background: #1e40af;
}

/* 页脚 */
.footer {
    background-color: #1e293b;
    color: #ccc;
    padding: 30px 0;
    font-size: 14px;
}

.footer a {
    color: #ccc;
    margin: 0 10px;
}

.footer a:hover {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid #334155;
    margin-top: 20px;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    padding: 0 15px;
    border-right: 1px solid #475569;
}

.footer-links a:last-child {
    border-right: none;
}

/* 联系方式 */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-label {
    font-weight: bold;
    color: #333;
    width: 80px;
    flex-shrink: 0;
}

.contact-value {
    color: #666;
    flex: 1;
}

/* 友链 */
.friend-links {
    background: #f5f5f5;
    padding: 20px;
    margin-top: 30px;
}

.friend-links-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.friend-links a {
    display: inline-block;
    margin: 5px 10px 5px 0;
    padding: 5px 15px;
    background: white;
    border: 1px solid #ddd;
    font-size: 14px;
}

.friend-links a:hover {
    border-color: #1e40af;
    color: #1e40af;
}

/* 搜索框 */
.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
}

.search-box button {
    padding: 8px 15px;
    background: #1e40af;
    color: white;
    border: none;
    cursor: pointer;
}

/* 主内容 */
main {
    min-height: 500px;
    padding: 30px 0;
}

/* 视频容器 */
.video-container {
    position: relative;
    width: 100%;
    background: #000;
}

.video-container video {
    width: 100%;
    display: block;
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 4px 10px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* 分隔线 */
.divider {
    height: 1px;
    background: #eee;
    margin: 20px 0;
}

/* 内容区域 */
.content {
    line-height: 1.8;
    color: #666;
}

.content p {
    margin-bottom: 15px;
}
