/* 页面特定样式 */

/* 页面标题 */
.page-header {
    margin-top: 70px;
    padding: 60px 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 公开信息页面样式 */
.info-nav {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.info-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.info-tab {
    padding: 12px 30px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.info-tab.active,
.info-tab:hover {
    background: #2c5aa0;
    color: #fff;
    border-color: #2c5aa0;
}

.info-content {
    padding: 60px 0;
}

.info-panel {
    display: none;
}

.info-panel.active {
    display: block;
}

.info-panel h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c5aa0;
    text-align: center;
}

/* 文档卡片 */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.document-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.document-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.document-icon {
    font-size: 2.5rem;
    color: #2c5aa0;
    min-width: 60px;
}

.document-info {
    flex: 1;
}

.document-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
}

.document-info p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.document-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #999;
}

.btn-download {
    background: #2c5aa0;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-download:hover {
    background: #1e3d72;
}

/* 支出统计 */
.expense-summary {
    margin-bottom: 50px;
}

.expense-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.expense-stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* 支出表格 */
.expense-details h3 {
    margin-bottom: 20px;
    color: #333;
}

.expense-table {
    overflow-x: auto;
}

.expense-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.expense-table th,
.expense-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.expense-table th {
    background: #2c5aa0;
    color: #fff;
    font-weight: 600;
}

.expense-table tr:hover {
    background: #f8f9fa;
}

.btn-detail {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-detail:hover {
    background: #218838;
}

/* 关于我们页面样式 */
.foundation-intro {
    padding: 80px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #2c5aa0;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.mission,
.vision {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #2c5aa0;
}

.mission h3,
.vision h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 组织架构 */
.organization {
    padding: 80px 0;
    background: #f8f9fa;
}

.org-section {
    margin-bottom: 50px;
}

.org-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c5aa0;
    text-align: center;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.member-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.member-title {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 10px;
}

.member-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 发展历程 */
.timeline-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2c5aa0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    background: #2c5aa0;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 30px;
    flex: 1;
}

.timeline-content h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* 联系方式 */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.contact-details h3 {
    color: #2c5aa0;
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
    font-size: 1.1rem;
}

.map-placeholder {
    background: #e9ecef;
    height: 300px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    cursor: pointer;
    transition: background 0.3s ease;
}

.map-placeholder:hover {
    background: #dee2e6;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* 活动筛选 */
.activities-filter {
    padding: 30px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #2c5aa0;
    color: #fff;
    border-color: #2c5aa0;
}

/* 活动列表 */
.activities-list {
    padding: 60px 0;
}

.activity-meta {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.activity-meta i {
    color: #2c5aa0;
    width: 16px;
}

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

.page-btn {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: #2c5aa0;
    color: #fff;
    border-color: #2c5aa0;
}

/* 详情页面 */
.news-detail,
.activity-detail {
    margin-top: 70px;
    padding: 60px 0;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #666;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-image {
    margin-bottom: 40px;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid #2c5aa0;
}

.article-summary p {
    font-size: 1.2rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-content h3 {
    color: #2c5aa0;
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
}

.back-button {
    text-align: center;
    margin-top: 50px;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
}

.error-message h2 {
    color: #dc3545;
    margin-bottom: 15px;
}

.no-activities {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2rem;
}