/* 新闻页面专用样式 */
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 95%;
    margin: 0 auto;
    padding: 0;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #000;
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    position: relative;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.nav-logo h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.nav-link.active {
    border-bottom: 2px solid #000;
}

.nav-link:hover {
    color: #666;
}

.search-icon {
    font-size: 1.1rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 页面头部 */
.page-header {
    background: #333;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    z-index: -1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.page-header h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #fff;
    margin: 20px auto 0;
}

.breadcrumb {
    font-size: 1rem;
    color: #ccc;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* 新闻区域 */
.news-section {
    padding: 80px 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    margin-bottom: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.news-date {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
    gap: 8px;
}

.news-date .day {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    line-height: 1;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.news-date .month {
    font-size: 18px;
    color: #666;
    margin: 0;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-weight: 600;
}

.news-date .year {
    font-size: 18px;
    color: #666;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-weight: 600;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.news-excerpt {
    font-size: 17px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.news-meta {
    display: none;
}

/* 分页 */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.page-link:hover {
    background-color: #f8f9fa;
    border-color: #333;
}

.page-link.active {
    background-color: #333;
    color: white;
    border-color: #333;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
}

.footer p {
    font-size: 1rem;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .news-item {
        flex-direction: column;
        gap: 20px;
    }

    .news-date {
        min-width: auto;
        width: 100px;
        margin: 0 auto;
    }

    .news-title {
        font-size: 1.8rem;
    }

    .news-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .nav-container {
        width: 95%;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .news-item {
        padding: 20px;
        width: 95%;
    }

    .news-date {
        width: 80px;
        padding: 15px;
    }

    .news-date .day {
        font-size: 20px;
    }

    .news-title {
        font-size: 1.6rem;
    }

    .news-excerpt {
        font-size: 15px;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
    }
} 