/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
/* 已迁移到 header_footer_styles.css */

@media (max-width: 900px) {
    .exhibition-info {
        display: flex;
        flex-direction: column !important;
    }
    .exhibition-text, .exhibition-image {
        width: 100% !important;
        padding: 0 !important;
    }
    .exhibition-image {
        margin-bottom: 16px;
    }
    .nav-links {
        display: none;
    }
    .exhibition-item {
        flex-direction: column !important;;
        align-items: stretch;
    }
    .exhibition-poster {
        width: 100% !important;
        height: auto !important;
        max-width: 300px;
        max-height: 300px;
        object-fit: contain !important;
        background: #f5f5f5;
        margin: 0 auto;
        display: block;
    }
    .exhibition-info {
        height: auto;
        width: 100% !important;
        margin-top: 12px;
        overflow: visible;
    }
}


/* 展览信息区域样式 */
.exhibition-info {
    display: flex;
    margin-top: 80px;
    height: calc(100vh - 80px);
}

.exhibition-text {
    width: 30%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exhibition-text h3 {
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.exhibition-text h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.exhibition-text h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.exhibition-date, .exhibition-location {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.exhibition-image {
    width: 70%;
    height: 100%;
    overflow: hidden;
    padding-right: 21px;
    padding-left: 21px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 轮播图样式 */

/* Footer 样式 */
/* 已迁移到 header_footer_styles.css */

/* 展览列表样式 */
.exhibition-list-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

/* 年份下拉气泡样式 */
.year-dropdown-container {
    position: relative;
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
}

.year-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.year-dropdown:hover {
    background-color: #f8f8f8;
}

.year-dropdown.active {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.year-display {
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
}

.year-dropdown-arrow {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.year-dropdown.active .year-dropdown-arrow {
    transform: rotate(180deg);
}

.year-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    min-width: 300px;
    padding: 20px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.year-dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.year-dropdown-item {
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    border: 1px solid transparent;
}

.year-dropdown-item:hover {
    background-color: #f5f5f5;
    color: #333;
    border-color: #ddd;
}

.year-dropdown-item.selected {
    background-color: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
    border-color: #1a73e8;
}

.exhibition-list {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exhibition-item {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.exhibition-poster {
    width: 300px;
    height: 300px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f5f5f5;
}

.exhibition-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    height: 300px;
    overflow: hidden;
}

.exhibition-title {
    font-weight: bold;
    font-size: 1.2em;
}

.exhibition-artist {
    color: #666;
    font-size: 1.1em;
}

.exhibition-dates {
    font-size: 1.1em;
    color: #888;
}

/* 移除原有的年份列表样式 */
.year-list {
    display: none;
}

.year-item {
    display: none;
}

