/*
Theme Name: 四川省沉浸式文艺发展协会主题
Description: 专为四川省沉浸式文艺发展协会设计的WordPress主题
Version: 1.0
Author: 主题开发团队
*/

/* ================ 基础重置 ================ */
* {
    box-sizing: border-box;
}



/* 全局隐藏WordPress管理栏 */
#wpadminbar {
    display: none !important;
}

/* 修复顶部空白 - 全面重置 */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* 强制重置所有可能的顶部空白 */
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 重置WordPress默认样式 */
body.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 重置所有可能的顶部间距 */
.site-header,
.main-navigation,
.search-section,
.main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 强制覆盖WordPress默认样式 */
body.admin-bar,
body.logged-in {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 确保页面从顶部开始 */
html {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 重置所有可能的顶部空白 */
* {
    margin-top: 0;
}

.site-header,
.main-navigation {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 给搜索区域和主内容添加适当间距 */
.search-section {
    margin-top: 20px !important;
    padding: 30px 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.search-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-form {
    width: 100%;
    max-width: 600px;
}

.search-form form {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 25px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    outline: none;
    font-size: 16px;
    background: transparent;
    color: white;
    border-radius: 25px 0 0 25px;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-btn {
    padding: 15px 25px;
    background: #c41e3a;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.search-btn:hover {
    background: #8b1538;
}

.search-btn i {
    font-size: 18px;
}

.main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #c41e3a;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #8b1538;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================ 头部样式 ================ */
.site-header {
    background: linear-gradient(to bottom, #64b5f6 0%, #90caf9 50%, #e1bee7 100%);
    border-bottom: 1px solid rgba(33, 150, 243, 0.5);
    padding: 15px 0;
    margin-top: 0 !important;
    position: relative;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-title {
    margin: 0 0 5px 0;
    font-size: 28px;
    font-weight: 700;
}

.site-title a {
    color: #c41e3a;
    text-decoration: none;
}

.site-subtitle {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.organization-info {
    text-align: left;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
}

.organization-info span {
    display: block;
    margin-bottom: 2px;
}

.organization-info strong {
    color: #333;
}

/* 移动端导航样式 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #c41e3a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 移动端下拉导航 */
.mobile-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid #f0f0f0;
}

.mobile-nav-dropdown.active {
    display: block !important;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu .current-menu-item > a {
    color: #c41e3a;
    background: #f8f9fa;
}

/* ================ 导航菜单 ================ */
.main-navigation {
    background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.desktop-menu {
    display: block;
    width: 100%;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* 移动端侧边导航 */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

.mobile-nav-sidebar.active {
    right: 0;
}

.mobile-nav-header {
    background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-content {
    padding: 20px;
}

/* ================ 用户功能区 ================ */
.user-functions {
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.user-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-text {
    font-size: 14px;
    color: #666;
}

.login-search {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-form {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.login-form label {
    color: #666;
    margin: 0;
}

.login-form input {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    width: 80px;
}

.login-btn {
    padding: 4px 12px;
    background: #666;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

.login-btn:hover {
    background: #555;
}

.search-form form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-input {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    width: 120px;
}

.search-btn {
    padding: 4px 12px;
    background: #c41e3a;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

.search-btn:hover {
    background: #8b1538;
}

/* ================ 主要内容区域 ================ */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px 0 20px;
}

/* 为所有页面的主内容区域添加顶部间距 */
.main-content:not(:has(.search-container)) {
    padding-top: 40px;
}

.content-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
}

.content-area {
    flex: 1;
    margin: 0;
    padding: 0;
}

.sidebar-area {
    width: 300px;
    order: 2;
    margin: 0;
    padding: 0;
}

/* 搜索框容器样式 */
.search-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    order: 1;
    width: 100%;
}

/* ================ 轮播图 ================ */
.hero-slider {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide-item.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 30px 40px;
    border-radius: 8px;
    max-width: 600px;
}

.slide-category {
    display: inline-block;
    background: rgba(196, 30, 58, 0.9);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.slide-date {
    font-size: 14px;
    opacity: 0.9;
}

.slide-title {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.slide-excerpt {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.slide-link {
    display: inline-block;
    background: #c41e3a;
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.slide-link:hover {
    background: #8b1538;
    transform: translateY(-2px);
    color: white;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* ================ 沉浸式展示区 ================ */
.immersive-showcase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.showcase-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.immersive-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.showcase-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.showcase-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.showcase-category {
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 10px;
}

.showcase-item-title {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

/* ================ 侧边栏样式 ================ */
.sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 首页侧边栏与轮播图高度对齐 */
.home .sidebar,
body.home .sidebar {
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

/* 首页动态资讯widget对齐 */
.home .sidebar .widget:first-child,
body.home .sidebar .widget:first-child {
    height: 450px !important;
    overflow-y: auto !important;
}

/* 首页联系我们widget正常显示 */
.home .sidebar .widget:last-child,
body.home .sidebar .widget:last-child {
    height: auto !important;
}

/* 首页布局强制对齐 */
.home .content-wrapper,
body.home .content-wrapper {
    align-items: flex-start !important;
}

.home .content-area,
.home .sidebar-area,
body.home .content-area,
body.home .sidebar-area {
    margin: 0 !important;
    padding: 0 !important;
}

/* 首页轮播图强制设置 */
.home .hero-slider,
body.home .hero-slider {
    height: 450px !important;
    margin: 0 !important;
    margin-bottom: 30px !important;
}

/* 移动端侧边栏高度调整 */
@media (max-width: 768px) {
    .home .sidebar .widget:first-child {
        height: 300px !important;
    }
    
    .home .hero-slider {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    .home .sidebar .widget:first-child {
        height: 250px !important;
    }
    
    .home .hero-slider {
        height: 250px !important;
    }
}

/* 强制设置widget间距 */
.sidebar .widget {
    margin-bottom: 20px !important;
    margin-top: 0 !important;
}

.sidebar .widget:last-child {
    margin-bottom: 0 !important;
}

/* 确保相邻widget之间有间距 */
.sidebar .widget + .widget {
    margin-top: 20px !important;
}

/* 更具体的选择器 */
.sidebar .widget:not(:last-child) {
    margin-bottom: 20px !important;
}

.widget-title {
    background: #c41e3a;
    color: white;
    margin: 0;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
}

.widget-content {
    padding: 20px;
}

/* 联系方式卡片样式 */
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item i {
    color: #c41e3a;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-info strong {
    color: #333;
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

.contact-info span,
.contact-info a {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
    word-break: break-all;
}

.contact-info a:hover {
    color: #c41e3a;
}

/* 动态资讯列表样式 */
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-list a {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.news-list a:hover {
    color: #c41e3a;
}

.news-date {
    color: #999;
    font-size: 12px;
}

/* 沉浸体验推荐特殊样式 */
.immersive-showcase-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    overflow: hidden;
}

.showcase-featured {
    padding: 20px;
    background: rgba(0,0,0,0.2);
}

.featured-title {
    font-size: 14px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.featured-desc {
    font-size: 12px;
    margin: 0 0 10px 0;
    opacity: 0.9;
    line-height: 1.4;
}

.featured-tags {
    display: flex;
    gap: 5px;
}

.tag {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
}

.showcase-items {
    padding: 15px 20px;
}

.showcase-item-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
}

.showcase-item-small:last-child {
    border-bottom: none;
}

.item-category {
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    flex-shrink: 0;
}

.item-title {
    flex: 1;
    margin-left: 10px;
    font-size: 11px;
}

/* ================ 功能特色板块 ================ */
.feature-blocks-section {
    margin: 40px 0;
}

.feature-blocks-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 100%;
}

.feature-block {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(196, 30, 58, 0.1);
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.2);
}

.feature-header {
    background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.feature-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
}

.feature-subtitle {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.feature-content {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.feature-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
}

.feature-thumbnail {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(196, 30, 58, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.feature-tag {
    background: rgba(196, 30, 58, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #c41e3a;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
}

.feature-info {
    flex: 1;
    min-width: 0;
}

.feature-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.feature-stats i {
    color: #c41e3a;
    font-size: 16px;
}

.more-link {
    color: #c41e3a;
    text-decoration: none;
    font-size: 12px;
    margin-left: auto;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #8b1538;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

.feature-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
    min-width: 0;
}

.feature-list li a:hover {
    color: #c41e3a;
}

.list-bullet {
    width: 6px;
    height: 6px;
    background: #c41e3a;
    border-radius: 50%;
    flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .feature-blocks-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-image {
        width: 100%;
        height: 100px;
    }
}

/* ================ 响应式设计 ================ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        min-height: auto;
    }
    
    .site-logo {
        justify-content: center;
    }
    
    .organization-info {
        text-align: left;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .user-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .login-search {
        flex-direction: column;
        gap: 10px;
    }
    
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar-area {
        width: 100%;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 20px;
    }
    
    .hero-slider {
        height: 250px;
    }
    
    .slide-title {
        font-size: 18px;
    }
    
    .immersive-showcase {
        padding: 20px;
    }
    
    .showcase-title {
        font-size: 20px;
    }
    

    
    .contact-row span,
    .org-row span {
        display: block;
        margin: 5px 0;
    }
    
    .copyright-info span {
        display: block;
        margin: 5px 0;
    }
}

/* ================ 页脚样式 ================ */
.site-footer {
    background: #34495e;
    color: #ecf0f1;
    padding: 30px 0 20px 0;
    margin-top: 40px;
    font-size: 13px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    margin-bottom: 20px;
}

.footer-main-info {
    margin-bottom: 15px;
}

.footer-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.footer-subtitle {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #bdc3c7;
    font-style: italic;
}

.footer-contact {
    margin-bottom: 15px;
}

.contact-row {
    margin-bottom: 5px;
    line-height: 1.6;
}

.contact-row span {
    margin-right: 20px;
}

.footer-organization {
    margin-bottom: 20px;
    font-size: 12px;
}

.org-row {
    margin-bottom: 5px;
    line-height: 1.5;
}

.org-row span {
    margin-right: 20px;
}



.footer-bottom {
    border-top: 1px solid #4a5a6a;
    padding-top: 15px;
}

.footer-bottom-content {
    text-align: center;
}

.copyright-info {
    margin-bottom: 8px;
    font-size: 12px;
}

.copyright-info span {
    margin: 0 15px;
    color: #95a5a6;
}

.tech-info {
    font-size: 11px;
    color: #7f8c8d;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #c41e3a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #8b1538;
    transform: translateY(-5px);
}

.back-to-top span {
    font-size: 18px;
    font-weight: bold;
}

/* ================ 响应式设计 ================ */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar-area {
        width: 100%;
    }
    
    .main-content {
        padding: 0 15px;
    }
    
    /* 搜索页面响应式 */
    .search-results-page .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
}

/* ================ 其他样式 ================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
} 

/* 移动端导航菜单状态 */
body.nav-open {
    overflow: hidden;
} 

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .desktop-menu {
        display: none !important;
    }
    
    .nav-container {
        justify-content: flex-end !important;
    }
    
    .main-navigation {
        position: relative;
    }
}