/* 重置样式2 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== 动画定义 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 动画初始状态 */
.animate-on-scroll {
    opacity: 0;
}

/* 动画激活状态 */
.animate-on-scroll.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}

.animate-fade-up.animated {
    animation-name: fadeInUp;
}

.animate-fade-left.animated {
    animation-name: fadeInLeft;
}

.animate-fade-right.animated {
    animation-name: fadeInRight;
}

/* 动画延迟 */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: "PingFang SC", "Source Han Sans CN", "Microsoft YaHei", sans-serif;
    background-color: #d5def2;
    overflow-x: hidden;
    width: 100%;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
}

.page {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background-color: #fff;
    overflow-x: hidden;
}

/* ========== 顶部轮播区 ========== */
.hero-banner {
    width: 100%;
    max-width: 1920px;
    height: auto;
    min-height: 400px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

/* Swiper轮播 */
.banner-swiper {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
}

.banner-swiper .swiper-wrapper {
    width: 100%;
    height: auto;
}

.banner-swiper .swiper-slide {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.navbar {
    width: 100%;
    max-width: 1920px;
    height: 100px;
    background-color: rgba(51, 51, 51, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 0 160px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1000;
}

.logo-icon {
    width: 106px;
    height: 63px;
    margin-right: 8px;
}

.logo-text {
    width: 310px;
    height: 39px;
    margin-right: 223px;
}

.nav-links {
    display: flex;
    gap: 55px;
    flex: 1;
}

.nav-item {
    position: relative;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.nav-item.has-submenu {
    position: static;
}

.nav-item > span {
    display: block;
    padding: 5px 0;
}

.nav-item > span a{
    text-decoration: none;
    color: #ffffff;
}

.nav-item.active > span {
    font-weight: 500;
}

.nav-item:hover > span {
    opacity: 0.8;
}

/* 二级菜单 */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(148, 148, 148, 0.5);
    backdrop-filter: blur(10px);
    padding: 0 60px;
    height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    opacity: 0;
    visibility: hidden;
    transition: height 0.2s ease-out 0.3s,
    opacity 0.2s ease-out 0.3s,
    visibility 0s linear 0.5s;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* 当内容超出时，从左侧开始排列 */
.submenu.has-overflow {
    justify-content: flex-start;
}

/* 二级菜单渐变遮罩 - 提示可滚动 */
.submenu::before,
.submenu::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 50px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.submenu::before {
    left: 0;
    background: linear-gradient(to right, rgba(148, 148, 148, 0.8), transparent);
}

.submenu::after {
    right: 0;
    background: linear-gradient(to left, rgba(148, 148, 148, 0.8), transparent);
}

/* 只在有滚动时显示渐变遮罩 */
.submenu.has-overflow:hover::before,
.submenu.has-overflow:hover::after {
    opacity: 1;
}

/* 二级菜单滚动条样式 */
.submenu::-webkit-scrollbar {
    height: 4px;
}

.submenu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.submenu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.submenu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.nav-item.has-submenu:hover .submenu {
    height: 50px;
    opacity: 1;
    visibility: visible;
    transition: height 0.2s ease-out 0s,
    opacity 0.2s ease-out 0s,
    visibility 0s linear 0s;
}

.submenu:hover {
    height: 50px;
    opacity: 1;
    visibility: visible;
    transition: height 0.2s ease-out 0s,
    opacity 0.2s ease-out 0s,
    visibility 0s linear 0s;
}

.submenu-item {
    display: inline-block;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    line-height: 50px;
    height: 50px;
    flex-shrink: 0;
}

.submenu-item:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.submenu-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    margin: 0 5px;
    line-height: 50px;
    flex-shrink: 0;
}

/* 移除二级菜单箭头 */
.submenu::before {
    display: none;
}

.search-icon {
    width: 31px;
    height: 31px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.search-icon:hover {
    opacity: 0.8;
}

/* 移动端菜单按钮（默认隐藏） */
.mobile-menu-btn {
    display: none;
}

.mobile-nav-overlay,
.mobile-nav {
    display: none;
}

/* 搜索框 */
.search-box {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background-color: rgba(51, 51, 51, 0.95);
    backdrop-filter: blur(10px);
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: height 0.3s ease-out 0s, opacity 0.3s ease-out 0s, visibility 0s linear 0.3s;
    z-index: 998;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-box.active {
    height: 80px;
    opacity: 1;
    visibility: visible;
    transition: height 0.3s ease-out 0s, opacity 0.3s ease-out 0s, visibility 0s linear 0s;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.search-input {
    flex: 1;
    height: 45px;
    padding: 0 20px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.15);
}

.search-btn {
    height: 45px;
    padding: 0 35px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #1d6094 0%, #14466e 100%);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: linear-gradient(135deg, #2570a8 0%, #1a5582 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 96, 148, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

/* Swiper自定义分页器 */
.banner-pagination {
    position: absolute !important;
    bottom: 26px !important;
    right: 182px !important;
    left: auto !important;
    width: auto !important;
    display: flex;
    gap: 13px;
    z-index: 100;
}

.banner-pagination .swiper-pagination-bullet {
    width: 45px;
    height: 31px;
    background: url('../img/l2.png') center center no-repeat;
    background-size: 45px 31px;
    border-radius: 0;
    opacity: 1;
    margin: 0 !important;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.banner-pagination .swiper-pagination-bullet:hover {
    opacity: 0.8;
}

.banner-pagination .swiper-pagination-bullet-active {
    background-image: url('../img/l1.png');
    background-size: 45px 31px;
}

/* ========== 内容网格区 ========== */
.content-grid {
    width: 100%;
    max-width: 1596px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 955px 621px;
    gap: 20px;
}

/* 左侧列 */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 955px;
}

/* 右侧列 */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 621px;
}

/* 卡片通用样式 */
.card {
    padding: 30px 40px;
    border-radius: 8px;
    color: #fff;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.card-title {
    display: inline-block;
}


.you{
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.bullet {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 9px;
}

/* 通知公告卡片 */
.notice-card {
    background: linear-gradient(135deg, #1D6094 0%, #1D6094 100%);
    /* background: url('../img/xwdt.png') no-repeat; */
    background-size: cover;
    width: 955px;
    height: 209px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.notice-text-wrapper {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.notice-text {
    font-size: 16px;
    line-height: 24px;
    flex: 1;
}

.notice-date {
    font-size: 14px;
    white-space: nowrap;
    opacity: 0.8;
}

.notice-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

/* 新闻动态卡片 */
.news-card {
    background: linear-gradient(135deg, #3595CA 0%, #3595CA 100%);
    /* background: url('../img/zxhd.png') no-repeat; */
    background-size: cover;
    width: 955px;
    height: 319px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.news-text-wrapper {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.news-text {
    font-size: 16px;
    line-height: 24px;
    flex: 1;
}

.news-date {
    font-size: 14px;
    white-space: nowrap;
    opacity: 0.8;
}

.news-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

/* 新展推荐卡片 */
.exhibition-card {
    display: flex;
    width: 955px;
    height: 262px;
    border-radius: 8px;
    overflow: hidden;
}

.exhibition-left {
    flex: 1;
    background: linear-gradient(135deg, #4A9986 0%, #4A9986 100%);
    /* background: url('../img/xztj.png') no-repeat; */
    background-size: cover;
    padding: 30px 40px;
    color: #fff;
}

.exhibition-left .card-title {
    display: inline-block;
}

.exhibition-info {
    margin-top: 25px;
}

.exhibition-info h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}

.info-row img {
    width: 14px;
    height: 14px;
}

.exhibition-right {
    width: 397px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exhibition-right img {
    width: 100%;
     height:262px;
}
.exhibition-right a {
    width: 100%;
    height: 262px;
}

/* 参观指南卡片 */
.guide-card {
    background: linear-gradient(135deg, #4CAED5 0%, #4CAED5 100%);
    /* background: url('../img/cgzn.png') no-repeat; */
    background-size: cover;
    width: 621px;
    height: 464px;
}

.opening-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.time-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
}

.time-label {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

.separator {
    font-size: 24px;
    opacity: 0.6;
   margin-bottom: 20px;	
}

.guide-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.guide-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    padding: 20px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
}

.guide-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.guide-btn img {
    width: 24px;
    height: 24px;
    padding: 12px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-sizing: content-box;
}

.guide-btn span {
    font-size: 16px;
    font-weight: 500;
}

.guide-desc {
    font-size: 14px;
    line-height: 22px;
    opacity: 0.95;
}

/* 最新活动卡片 */
.activity-card {
    background: linear-gradient(135deg, #63A3CD 0%, #63A3CD 100%);
    /* background: url('../img/tztg.png') no-repeat; */
    background-size: cover;
    width: 621px;
    height: 346px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.activity-text {
    font-size: 16px;
    line-height: 24px;
}

.activity-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

/* ========== Tab切换区域 ========== */
.tab-box {
    width: 100%;
    max-width: 1596px;
    margin: 0px auto 80px;
    display: flex;
    gap: 20px;

}

.tab-image {
    width: 1022px;
    height: 500px;
    overflow: hidden;
    background: #f0f0f0;
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.tab-menu {
    width: 554px;
    height: 500px;
    background: linear-gradient(135deg, #5ba3c8 0%, #4a93b8 100%);
    padding: 55px 40px 20px;
    display: flex;
    flex-direction: column;
}

.tab-menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 64px;
    position: relative;
}

.tab-menu-title-box {
    display: inline-block;
    padding: 8px 43px;
    background: url('../img/tab.png') center center no-repeat;
    background-size: 100% 100%;
}

.tab-menu-title {
    font-size: 30px;
    font-weight: 700;
    font-family: 'STKaitiTC-Bold', 'KaiTi', serif;
    color: rgba(245, 240, 230, 1);
    line-height: 42px;
}

.tab-arrow-btn {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-arrow-btn:hover {
    color: #fff;
    transform: translateX(-3px);
}

.tab-menu-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
    padding: 10px 0;
}

/* 隐藏滚动条但保持滚动功能 */
.tab-menu-list::-webkit-scrollbar {
    width: 0;
    display: none;
}

.tab-menu-list::-webkit-scrollbar-track {
    display: none;
}

.tab-menu-list::-webkit-scrollbar-thumb {
    display: none;
}

.tab-menu-list::-webkit-scrollbar-thumb:hover {
    display: none;
}

/* Firefox滚动条样式 */
.tab-menu-list {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-menu-item {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    margin-bottom: 5px;
}

.tab-menu-item:last-child {
    margin-bottom: 0;
}

.tab-menu-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.tab-menu-item.active {
    color: #fff;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
}

.tab-menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 19px;
    height: 27px;
    background: url('../img/next.png') center center no-repeat;
    background-size: contain;
}

/* ========== 藏品鉴赏标题 ========== */
.section-title-wrapper {
    text-align: center;
    margin: 50px 0 60px;
}

.section-title {
    display: inline-block;
    font-size: 34px;
    font-weight: 700;
    color: #8b7355;
    padding: 15px 50px;
    background-image: url('../img/section_title.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ========== 数字淮博内容区 ========== */
.digital-museum {
    width: 100%;
    max-width: 1596px;
    margin: 0 auto 20px;
    display: grid;
    grid-template-columns: 554px 1022px;
    gap: 20px;
}

.digital-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.digital-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}


.mi_bg{background-color:#F3F4EE ; padding-top: 30px; padding-bottom: 30px;}
/* 淮北市博物馆介绍卡片 */
.museum-intro-card {
    /* background: linear-gradient(135deg, #5ba3c8 0%, #4a93b8 100%); */
    padding: 70px 37px 0;
    color: #fff;
    position: relative;
    height: 500px;
    /* display: flex; */
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 50px;
    background: url('../img/bwg_bg.png') no-repeat;
    background-size: cover;
}

.museum-intro-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px;
}

.museum-icon {
    width: 44px;
    height: 65px;
}

.museum-title {
    font-size: 26px;
    font-weight: 500;
    font-family: 'SourceHanSansCN-Medium', sans-serif;
    color: #fff;
    flex: 1;
    text-align: left;
    margin-left: 13px;
    line-height: 29px;
}

.museum-intro-content {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 0;
}

.museum-bg-icon {
    width: 39px;
    height: 186px;
    flex-shrink: 0;
    opacity: 1;
    order: 2;
}

.museum-text {
    flex: 1;
    order: 1;
}

.museum-text p {
    font-size: 16px;
    line-height: 29px;
    margin-bottom: 0;
    text-align: justify;
    color: rgba(255, 255, 255, 1);
    font-family: 'SourceHanSansCN-Regular', sans-serif;
}

.museum-text p:last-child {
    margin-bottom: 0;
}

/* 展厅图片 */
.gallery-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 全景VR区域 */
.vr-panorama {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.vr-panorama img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vr-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(29, 96, 148, 1);
    color: #fff;
    padding: 46px 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    width: 171px;
    height: 123px;
}

.vr-label {
    font-size: 20px;
    font-weight: 700;
    font-family: 'SourceHanSansCN-Bold', sans-serif;
    line-height: 30px;
}

.vr-percentage {
    display: none;
}

.vr-title {
    position: absolute;
    top: 50%;
    right: 37px;
    transform: translateY(-50%);
    font-size: 48px;
    font-weight: 700;
    color: rgba(51, 51, 51, 0.8);
    writing-mode: vertical-rl;
    letter-spacing: 8px;
    z-index: 10;
    display: none;
}

/* 名胜VR列表 */
.vr-list-card {
    background: linear-gradient(135deg, #5ba3c8 0%, #4a93b8 100%);
    padding: 55px 40px 20px;
    color: #fff;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.vr-list-header {
    margin-bottom: 40px;
}

.vr-list-title-box {
    display: inline-block;
    padding: 8px 43px;
    background: url('../img/list-title.png') center center no-repeat;
    background-size: 100% 100%;
}

.vr-list-title {
    font-size: 30px;
    font-weight: 700;
    font-family: 'STKaitiTC-Bold', 'KaiTi', serif;
    color: rgba(245, 240, 230, 1);
    line-height: 42px;
}

.vr-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vr-list-item {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

.vr-divider {
    width: 418px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 10px auto;
}

.vr-list-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    position: relative;
}

.vr-arrow-icon {
    width: 19px;
    height: 27px;
    flex-shrink: 0;
}

.vr-list-double {
    display: flex;
    flex-direction: column;
    gap: 43px;
    flex: 1;
}

.vr-dividers {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 418px;
    pointer-events: none;
}

/* ========== 藏品展示 ========== */
.collection-display {
    width: 100%;
    max-width: 1596px;
    margin: 0 auto 80px;
    display: flex;
    overflow: hidden;
    height: 720px;
    gap: 0;
}

.collection-item {
    width: 20%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    transition: width 0.5s ease, background-position 0.5s ease;
    cursor: pointer;
}

.collection-title {
    position: absolute;
    left: 30px;
    top: 30px;
    transform: none;
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 20px 12px;
    border-radius: 4px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 8px;
    z-index: 2;
    transition: all 0.5s ease;
    opacity: 0.9;
}

.collection-item.active .collection-title {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    font-size: 22px;
    padding: 25px 14px;
    letter-spacing: 10px;
    opacity: 1;
}

.collection-item:hover .collection-title {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    font-size: 22px;
    padding: 25px 14px;
    letter-spacing: 10px;
    opacity: 1;
}

.collection-item.active {
    width: 64%;
    background-position: center;
}

/* ========== 页脚 ========== */
.footer {
    width: 100%;
    max-width: 1920px;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.95) 0%, rgba(30, 30, 30, 0.95) 100%);
    background: url('../img/footer.png') no-repeat;
    background-size: cover;
    padding: 56px 20px 66px;
    color: #fff;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 31px;
}

.footer-logo img:first-child {
    width: 141px;
    height: 84px;
}

.footer-logo img:last-child {
    width: 310px;
    height: auto;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-bottom: 31px;
    font-size: 18px;
    font-weight: 500;
}

.footer-nav .divider {
    opacity: 0.5;
}

.footer-info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 125px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-row {
    display: flex;
    gap: 28px;
    align-items: center;
}

.contact-row span {
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 1);
    white-space: nowrap;
}

.record-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.record-row a {
    color: #ffffff;
    text-decoration: none;
}
.record-row span {
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 1);
}

.record-row img {
    width: 31px;
    height: 37px;
}

.qr-codes {
    display: flex;
    gap: 15px;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    height: 108px;
    margin: 0 auto 14px;
    border-radius: 8px;
}

.qr-item p {
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 1);
    white-space: nowrap;
}


.main{
    /* background: url('../img/bg.png') no-repeat; */
    background-size: cover;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #fff;
}

.logo{margin-right: 200px}


/* ========== 响应式设计 ========== */
@media (max-width: 1920px) {
    .page {
        width: 100%;
    }

    .hero-banner {
        width: 100%;
    }

    .navbar {
        width: 100%;
        padding: 0 5%;
    }

    .banner-pagination {
        right: 5%;
    }
}

@media (max-width: 1600px) {
    .content-grid {
        padding: 0 20px;
    }

    .navbar {
        padding: 0 40px;
    }

    .banner-pagination {
        right: 40px;
    }

    .digital-museum {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .tab-box {
        flex-direction: column;
    }

    .tab-image,
    .tab-menu {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
        max-width: 955px;
    }

    .left-column,
    .right-column {
        width: 100%;
    }

    .notice-card,
    .news-card,
    .exhibition-card {
        width: 100%;
    }

    .guide-card,
    .activity-card {
        width: 100%;
    }

    .digital-museum {
        grid-template-columns: 1fr;
    }

    .digital-left,
    .digital-right {
        width: 100%;
    }

    .collection-display {
        height: 600px;
    }
}

@media (max-width: 768px) {
    /* 显示移动端元素 */
    .mobile-menu-btn {
        display: flex !important;
    }

    .mobile-nav-overlay,
    .mobile-nav {
        display: block !important;
    }

    /* 导航栏 */
    .navbar {
        padding: 0 20px;
        height: 80px;
        flex-wrap: nowrap;
    }

    .logo-icon {
        width: 80px;
        height: 48px;
    }

    .logo-text {
        width: 200px;
        height: 25px;
        margin-right: auto;
    }
    .logo {
        margin-right: 139px;
        width: 50%;
    }
    .nav-links {
        display: none;
    }

    .search-icon {
        display: none;
    }

    /* 移动端菜单按钮 */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 3px;
        background-color: #fff;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* 移动端导航遮罩 */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1100;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* 移动端侧边导航 */
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(135deg, #2d5f7e 0%, #1e4a66 100%);
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 1101;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        background: rgba(0, 0, 0, 0.2);
    }

    .mobile-logo {
        width: 150px;
        height: auto;
    }

    .mobile-nav-close {
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 36px;
        cursor: pointer;
        line-height: 1;
        padding: 0;
    }

    /* 移动端搜索 */
    .mobile-search {
        display: flex;
        padding: 15px 20px;
        gap: 10px;
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-search-input {
        flex: 1;
        height: 40px;
        padding: 0 15px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
        font-size: 14px;
        outline: none;
    }

    .mobile-search-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .mobile-search-btn {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
    }

    .mobile-search-btn:active {
        background: rgba(255, 255, 255, 0.3);
    }

    .mobile-search-btn img {
        width: 20px;
        height: 20px;
    }

    /* 移动端菜单列表 */
    .mobile-nav-list {
        padding: 10px 0;
    }

    .mobile-nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }

    .mobile-nav-item > span {
        display: block;
        padding: 15px 20px;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
    }

    .mobile-submenu-toggle {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        transition: transform 0.3s;
    }

    .mobile-submenu-toggle.active {
        transform: translateY(-50%) rotate(45deg);
    }

    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.2);
        transition: max-height 0.3s ease;
    }

    .mobile-submenu.active {
        max-height: 500px;
    }

    .mobile-submenu a {
        display: block;
        padding: 12px 20px 12px 40px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: background 0.2s;
    }

    .mobile-submenu a:active {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Banner */
    .hero-banner {
        height: auto;
        min-height: 300px;
    }

    .banner-pagination {
        right: 20px;
        bottom: 20px;
        gap: 8px;
    }

    .banner-pagination .swiper-pagination-bullet {
        width: 35px;
        height: 24px;
        background-size: 35px 24px;
    }

    /* 内容网格 */
    .content-grid {
        margin: 30px auto;
        padding: 0 15px;
        gap: 15px;
    }

    .left-column,
    .right-column {
        width: 100%;
        gap: 15px;
    }

    .main {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* 卡片通用样式 */
    .card {
        padding: 20px 15px;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
    }

    .card-header {
        margin-bottom: 15px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-title img {
        max-width: 120px;
        height: auto;
    }

    .card-header .you {
        width: 14px;
        height: 14px;
    }

    /* 通知公告 */
    .notice-card {
        height: auto !important;
        min-height: 180px;
        padding: 20px 15px !important;
    }

    .notice-content {
        width: 100%;
    }

    .notice-item {
        margin-bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .notice-text-wrapper {
        width: 100%;
        display: flex;
        align-items: flex-start;
    }

    .notice-text {
        font-size: 14px;
        line-height: 22px;
        flex: 1;
    }

    .notice-date {
        font-size: 12px;
        width: auto;
        align-self: flex-end;
        padding-left: 18px;
        opacity: 0.9;
    }

    .notice-divider {
        margin: 12px 0;
    }

    /* 新闻动态 */
    .news-card {
        height: auto !important;
        min-height: 280px;
        padding: 20px 15px !important;
    }

    .news-content {
        width: 100%;
    }

    .news-item {
        margin-bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .news-text-wrapper {
        width: 100%;
        display: flex;
        align-items: flex-start;
    }

    .news-text {
        font-size: 14px;
        line-height: 22px;
        flex: 1;
    }

    .news-date {
        font-size: 12px;
        width: auto;
        align-self: flex-end;
        padding-left: 18px;
        opacity: 0.9;
    }

    .news-divider {
        margin: 12px 0;
    }

    /* 新展推荐 */
    .exhibition-card {
        flex-direction: column;
        height: auto !important;
        width: 100% !important;
    }

    .exhibition-left {
        width: 100%;
        padding: 20px 15px;
    }

    .exhibition-left .card-header {
        margin-bottom: 15px;
    }

    .exhibition-info {
        margin-top: 15px;
    }

    .exhibition-info h3 {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 12px;
        line-height: 24px;
    }

    .info-row {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 20px;
    }

    .info-row img {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .exhibition-right {
        width: 100%;
        height: 250px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .exhibition-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 参观指南 */
    .guide-card {
        height: auto !important;
        min-height: 350px;
        padding: 20px 15px !important;
    }

    .opening-time {
        margin: 20px 0;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .time {
        font-size: 32px;
        font-weight: 900;
    }

    .time-label {
        font-size: 13px;
        margin-top: 5px;
    }

    .separator {
        font-size: 24px;
    }

    .guide-desc {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 12px;
        text-align: justify;
    }

    .guide-buttons {
        flex-wrap: wrap;
        gap: 12px;
        margin: 20px 0;
    }

    .guide-btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 130px;
        padding: 15px 12px;
        gap: 10px;
        flex-direction: row;
        justify-content: center;
    }

    .guide-btn img {
        width: 20px;
        height: 20px;
        padding: 10px;
    }

    .guide-btn span {
        font-size: 14px;
        white-space: nowrap;
    }

    /* 最新活动 */
    .activity-card {
        height: auto !important;
        min-height: 280px;
        padding: 20px 15px !important;
    }

    .activity-content {
        width: 100%;
    }

    .activity-item {
        margin-bottom: 12px;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .activity-text {
        font-size: 14px;
        line-height: 22px;
        flex: 1;
    }

    .activity-divider {
        margin: 12px 0;
    }

    /* 数字淮博 */
    .digital-museum {
        margin: 30px auto;
        padding: 0 15px;
    }

    .museum-intro-card {
        height: auto !important;
        min-height: 350px;
        padding: 30px 20px 20px !important;
      

    }

    .museum-intro-header {
        margin-bottom: 15px;
    }

    .museum-icon {
        width: 18px;
        height: 38px;
    }

    .museum-title {
        font-size: 20px;
        line-height: 26px;
    }

    .museum-intro-content {
        gap: 10px;
    }

    .museum-bg-icon {
        width: 30px;
        height: 150px;
    }

    .museum-text p {
        font-size: 14px;
        line-height: 26px;
        margin-bottom: 10px;
    }

    .gallery-image,
    .vr-panorama {
        height: 300px;
    }

    .vr-list-card {
        height: auto !important;
        min-height: 350px;
        padding: 30px 20px !important;
    }

    .vr-list-header {
        margin-bottom: 25px;
    }

    .vr-list-title {
        font-size: 24px;
    }

    .vr-list-item {
        font-size: 16px;
        padding: 12px 0;
    }

    .vr-divider {
        width: 100%;
        margin: 8px auto;
    }

    /* Tab切换 */
    .tab-box {
        margin: 30px auto;
        padding: 0 15px;
    }

    .tab-image {
        height: 250px;
    }

    .tab-menu {
        height: auto;
        min-height: 350px;
        max-height: 500px;
        padding: 30px 20px 20px;
    }

    .tab-menu-header {
        margin-bottom: 30px;
    }

    .tab-menu-title-box {
        padding: 6px 30px;
    }

    .tab-menu-title {
        font-size: 22px;
        line-height: 32px;
    }

    .tab-menu-list {
        gap: 0;
        max-height: 280px;
        overflow-y: auto;
    }

    .tab-menu-item {
        font-size: 16px;
        padding: 12px 15px;
        line-height: 24px;
        margin-bottom: 5px;
    }

    .tab-menu-item.active::before {
        width: 15px;
        height: 22px;
        left: 5px;
    }

    /* ========== 藏品展示 - 移动端修复 ========== */
    .section-title-wrapper {
        margin: 50px 0 30px;
    }
    .section-title {
        font-size: 26px;
        padding: 12px 40px;
    }

    .collection-display {
        height: auto !important;
        flex-direction: column;
        gap: 15px;
        margin: 0 auto 50px;
    }

    .collection-item {
        width: 100% !important;
        height: 60px;
        background-position: center;
        background-size: cover;
        transition: height 0.4s ease;
    }

    .collection-item.active,
    .collection-item:hover {
        height: 300px;
    }

    .collection-title {
        left: 15px;
        top: 15px;
        transform: none;
        font-size: 16px;
        padding: 12px 16px;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        letter-spacing: 4px;
        white-space: nowrap;
    }

    .collection-item.active .collection-title,
    .collection-item:hover .collection-title {
        font-size: 18px;
        padding: 14px 18px;
        letter-spacing: 6px;
    }
}

/* 页脚 */
.footer {
    padding: 30px 20px;
}

.footer-logo img:first-child {
    width: 100px;
    height: 60px;
}

.footer-logo img:last-child {
    width: 310px;
    height: auto;
}

.footer-nav {
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}

.footer-info {
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.contact-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.qr-codes {
    justify-content: center;
}

@media (max-width: 480px) {
    /* 超小屏幕 */
    .navbar {
        height: 60px;
        padding: 0 15px;
    }
    .logo-icon {
        width: 60px;
        height: 36px;
    }

    .logo-text {
        width: 150px;
        height: 19px;
    }

    .mobile-menu-btn {
        width: 28px;
        height: 22px;
    }

    .mobile-menu-btn span {
        height: 2.5px;
    }

    .hero-banner {
        height: auto;
        min-height: 200px;
    }

    .content-grid {
        margin: 20px auto;
        padding: 0 10px;
    }

    .card {
        padding: 15px 12px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-title img {
        max-width: 100px;
    }

    .notice-text,
    .news-text,
    .activity-text {
        font-size: 13px;
        line-height: 20px;
    }

    .notice-date,
    .news-date {
        font-size: 11px;
    }

    .exhibition-info h3 {
        font-size: 15px;
    }

    .info-row {
        font-size: 12px;
    }

    .exhibition-right {
        height: 250px;
    }

    .guide-card {
        min-height: 320px;
    }

    .time {
        font-size: 28px;
    }

    .time-label {
        font-size: 12px;
    }

    .guide-desc {
        font-size: 13px;
        line-height: 20px;
    }

    .guide-btn {
        flex: 1 1 100%;
        min-width: auto;
    }

    .guide-btn span {
        font-size: 13px;
    }

    .section-title {
        font-size: 22px;
        padding: 10px 30px;
    }

    /* 藏品展示 - 超小屏幕调整 */
    .collection-display {
        gap: 12px;
        margin-bottom: 40px;
    }
    .collection-item {
        height: 50px;
    }
    .collection-item.active,
    .collection-item:hover {
        height: 260px;
    }
    .collection-title {
        font-size: 12px;
        padding: 6px 12px;
    }
    .collection-item:hover .collection-title {
        font-size: 14px;
        padding: 8px 16px;
    }

    .digital-museum {
        padding: 0 10px;
    }

    .museum-title {
        font-size: 18px;
    }

    .museum-text p {
        font-size: 13px;
        line-height: 24px;
    }

    .tab-box {
        padding: 0 10px;
    }

    .tab-image {
        height: 200px;
    }

    .tab-menu {
        min-height: 320px;
        max-height: 450px;
        padding: 25px 15px 15px;
    }

    .tab-menu-list {
        max-height: 250px;
        overflow-y: auto;
    }

    .tab-menu-title {
        font-size: 20px;
        line-height: 28px;
    }

    .tab-menu-item {
        font-size: 15px;
        padding: 10px 12px;
        margin-bottom: 5px;
    }

    .footer {
        padding: 25px 15px;
    }

    .footer-logo {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .footer-logo img:first-child {
        width: 90px;
        height: 54px;
    }

    .footer-logo img:last-child {
        width: 210px;
        height: auto
    ;
    }

    .footer-nav {
        font-size: 13px;
        gap: 12px;
        margin-bottom: 20px;
    }

    .footer-info {
        gap: 25px;
    }

    .contact-row span {
        font-size: 12px;
    }

    .qr-codes {
        gap: 12px;
    }

    .qr-item img {
        width: 80px;
        height: 82px;
    }

    .qr-item p {
        font-size: 11px;
    }
}

/* ========== 列表页样式 ========== */
/* 列表页顶部图片 */
.list_banner {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.list_banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 导航标签 */
.list-nav {
    width: 100%;
    background: url('../img/list_nav.png') no-repeat;
    background-size: cover;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.nav-title {
    font-weight: 500;
    font-size: 26px;
    color: #333333;
    line-height: 44px;
    text-align: right;
    font-style: normal;
    flex-shrink: 0;
    margin-left: 137px;
    white-space: nowrap;
}

.nav-tabs-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
}

/* 滚动容器 */
.nav-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;
    padding-bottom: 5px;
}

/* 滚动条样式 */
.nav-tabs::-webkit-scrollbar {
    height: 6px;
}
.nav-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}
.nav-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
.nav-tabs::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}
.nav-tabs {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
}

/* 标签样式 */
.tab-item {
    flex: 0 0 auto;
    min-width: 100px;
    padding: 0 20px;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    box-sizing: border-box;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 4px;
}

.tab-item:hover {
    background: rgba(213, 222, 242, 0.5);
    color: #1d6094;
    font-weight: 600;
}

.tab-item.active {
    background: rgba(213, 222, 242, 0.5);
    color: #1d6094;
    font-weight: 600;
}

/* 文章列表 */
.article-list {
    width: 100%;
    max-width: 1596px;
    margin: 30px auto;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 40px 60px;
}

.article-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(213, 222, 242, 0.6);
    transition: all 0.3s ease;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background: rgba(213, 222, 242, 0.3);
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
}

.article-icon {
    color: #5ba3c8;
    font-size: 12px;
    flex-shrink: 0;
}

.article-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    line-height: 24px;
    transition: color 0.3s ease;
}

.article-title:hover {
    color: #1d6094;
}

.article-date {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

/* 分页 */
.pagination {
    width: 100%;
    max-width: 1596px;
    margin: 30px auto 60px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-prev,
.page-next {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(213, 222, 242, 0.8);
}

.page-prev:hover,
.page-next:hover {
    background: #5ba3c8;
    color: #fff;
    border-color: #5ba3c8;
}

.page-num {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(213, 222, 242, 0.8);
}

.page-num:hover {
    background: rgba(91, 163, 200, 0.2);
    border-color: #5ba3c8;
    color: #1d6094;
}

.page-num.active {
    background: #5ba3c8;
    color: #fff;
    border-color: #5ba3c8;
    font-weight: 600;
}

.page-info {
    margin-left: 20px;
    font-size: 14px;
    color: #666;
}

.list_mian{
    background: url('../img/list_main_bg.png') no-repeat;
    background-size: cover;
    padding-top: 0px;
}

/* 桌面端 - nav-tabs横向滚动已在上方定义 */


/*陈列*/
.single_main{background-color: #fff; padding-top: 20px; padding-bottom: 20px;}
.single_list{overflow: hidden; background: url('../img/single.png') no-repeat; background-size: 100%;  padding: 40px;
    width: 1481px; margin: 0 auto; margin-bottom: 30px;}
.single_img{width: 32%;}
.single_img img{width: 100%;}
.single_title{width: 65%;}
.single_title h3{text-align: center; font-weight: 500;
    font-size: 24px;
    color: #333333;
    line-height: 50px;
    text-align: left;
    font-style: normal;  width: 24%; margin: 0 auto; overflow: hidden; margin-bottom: 20px; margin-top: 30px;}
.single_title h3 img{margin-left: 20px; margin-right: 20px; display: inline-block; margin-top: 10px;}
.left{float: left;}
.right{float: right;}
.single_title p{text-indent: 31px; line-height: 32px;}
.single_r{ background: url('../img/right.png') no-repeat; }

/* 响应式 - 列表页 */
@media (max-width: 768px) {
    .list-nav {
        padding: 20px 15px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nav-title {
        display: none;
    }

    .nav-tabs-wrapper {
        width: 100%;
    }

    .nav-tabs {
        flex-wrap: wrap;
        gap: 0;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        border: none;
        background: transparent;
    }

    .nav-tabs::after {
        content: "";
        display: block;
        clear: both;
    }

    .tab-item {
        float: left;
        width: 84%;
        height: 44px;
        margin-left: 30px;
        padding: 12px 10px;
        font-size: 14px;
        border-right: none;
        border-bottom: none;
        flex: none;
        min-width: auto;
    }

    .tab-item:nth-child(3n) {
        border-right: none;
    }

    .tab-item:nth-last-child(-n+3) {
        border-bottom: none;
    }

    .article-list {
        padding: 25px 20px;
        margin: 20px auto;
    }

    .article-icon {
        display: none;
    }

    .article-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 0;
    }

    .article-item:hover {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .article-title {
        font-size: 14px;
        line-height: 22px;
    }

    .article-date {
        font-size: 12px;
        align-self: flex-end;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        margin: 20px auto 40px;
    }

    .page-prev,
    .page-next {
        padding: 6px 15px;
        font-size: 13px;
    }

    .page-num {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }

    .page-info {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .list-nav {
        padding: 15px 10px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-title {
        display: none;
    }

    .nav-tabs-wrapper {
        width: 100%;
    }

    .nav-tabs {
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        border: none;
        background: transparent;
    }

    .nav-tabs::after {
        content: "";
        display: block;
        clear: both;
    }

    .tab-item {
        float: left;
        width: 84% !important;
        height: 44px;
        margin-left: 30px;
        padding: 10px 8px;
        font-size: 13px;
        border-right: none;
        border-bottom: none;
        flex: none;
        min-width: auto;
    }

    .tab-item:nth-child(3n) {
        border-right: none;
    }

    .tab-item:nth-child(2n) {
        border-right: none;
    }

    .tab-item:nth-last-child(-n+3) {
        border-bottom: none;
    }

    .tab-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .article-list {
        padding: 20px 15px;
        margin: 15px auto;
    }

    .article-icon {
        display: none;
    }

    .article-item {
        padding: 12px 0;
    }

    .article-title {
        font-size: 13px;
        line-height: 20px;
    }

    .article-date {
        font-size: 11px;
    }

    .pagination {
        gap: 6px;
        margin: 15px auto 30px;
    }

    .page-prev,
    .page-next {
        padding: 5px 12px;
        font-size: 12px;
    }

    .page-num {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .page-info {
        font-size: 12px;
    }

    .single_list{width: 100%; background-color: #fafafa;}
    .single_r{background:none;background-color: #fafafa;}

    .single_title {
        width: 100%;
    }
    .single_img {
        width: 100%;
    }
    .single_title h3{width: 74%;}


}

/* ========== 图片网格样式 ========== */
.photo-grid {
    width: 100%;
    max-width: 1596px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background-color: #fff; padding-bottom: 20px; padding-top: 20px;
}

.photo-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.photo-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-image img {
    transform: scale(1.05);
}

.photo-info {
    padding: 20px;
}

.photo-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 24px;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.photo-title img{display: inline-block; margin-right: 10px; float: left;}
.photo-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #666;
    line-height: 22px;
}

.meta-icon {
    flex-shrink: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meta-text {
    flex: 1;
    line-height: 22px;
}

/* 响应式 - 图片网格 */
@media (max-width: 1200px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        margin: 20px auto;
    }

    .photo-image {
        height: 220px;
    }

    .photo-info {
        padding: 15px;
    }

    .photo-title {
        font-size: 15px;
        line-height: 22px;
        min-height: 44px;
    }

    .meta-row {
        font-size: 13px;
        line-height: 20px;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        padding: 0 10px;
        margin: 15px auto;
        gap: 15px;
    }

    .photo-image {
        height: 180px;
    }

    .photo-info {
        padding: 12px;
    }

    .photo-title {
        font-size: 14px;
        line-height: 20px;
        min-height: 40px;
        margin-bottom: 12px;
    }

    .meta-row {
        font-size: 12px;
        line-height: 18px;
    }

    .meta-icon {
        font-size: 12px;
    }
}

/* ========== 详情页样式 ========== */
.view_box {
    width: 100%;
    max-width: 1560px;
    margin: 30px auto;
    padding: 50px 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 文章标题 */
.view-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(213, 222, 242, 0.6);
}

/* 文章元信息 */
.view-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    font-size: 14px;
    color: #999;
}

.meta-item {
    color: #666;
}

.meta-divider {
    color: #ddd;
}

/* 文章内容 */
.view-content {
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.view-content p:not([style]) {
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;
}

.view-content p:not([style]):last-of-type {
    margin-bottom: 30px;
}
.view-content img {
    max-width: 100%;
    height: auto;
}
.view-content p[style*="text-align: center"] img {
    display: block;
    margin: 8px auto;
}

/* 文章图片 */
.view-image {
    margin: 30px 0;
    text-align: center;
}

.view-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* 标签 */
.view-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid rgba(213, 222, 242, 0.6);
    margin-top: 30px;
}

.tag-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.tag-label {
    color: #666;
    font-weight: 500;
}

.tag-value {
    color: #333;
}

/* 上下篇导航 */
.view-navigation {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(213, 222, 242, 0.6);
}

.nav-prev,
.nav-next {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(213, 222, 242, 0.3);
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    background: rgba(91, 163, 200, 0.2);
    color: #1d6094;
}

.nav-prev {
    justify-content: flex-start;
}

.nav-next {
    justify-content: flex-end;
    text-align: right;
}

.nav-icon {
    font-size: 12px;
    color: #5ba3c8;
    flex-shrink: 0;
}

.nav-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 响应式 - 详情页 */
@media (max-width: 768px) {
    .view_box {
        width: 95%;
        max-width: 95%;
        padding: 30px 20px;
        margin: 20px auto;
    }

    .view-title {
        font-size: 22px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .view-meta {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
        font-size: 13px;
    }

    .view-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .view-content p {
        margin-bottom: 15px;
    }

    .view-image {
        margin: 20px 0;
    }

    .view-tags {
        gap: 15px;
        padding: 20px 0;
        margin-top: 20px;
    }

    .tag-row {
        font-size: 13px;
    }

    .view-navigation {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding-top: 20px;
    }

    .nav-prev,
    .nav-next {
        padding: 12px 15px;
        font-size: 13px;
    }

    .nav-next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .view_box {
        width: 95%;
        max-width: 95%;
        padding: 20px 15px;
        margin: 15px auto;
    }

    .view-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .view-meta {
        font-size: 12px;
        gap: 8px;
        margin-bottom: 25px;
    }

    .view-content {
        font-size: 14px;
        line-height: 1.8;
    }

    .view-content p {
        margin-bottom: 12px;
        text-indent: 2em;
    }

    .view-image {
        margin: 15px 0;
    }

    .view-tags {
        gap: 12px;
        padding: 15px 0;
        margin-top: 15px;
    }

    .tag-row {
        font-size: 12px;
        flex: 1 1 calc(50% - 6px);
    }

    .view-navigation {
        gap: 12px;
        margin-top: 25px;
        padding-top: 15px;
    }

    .nav-prev,
    .nav-next {
        padding: 10px 12px;
        font-size: 12px;
    }

    .nav-icon {
        font-size: 10px;
    }
}

/* ========== 单页展示样式 ========== */
.single_box {
    width: 100%;
    max-width: 1596px;
    margin: 30px auto 60px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.single-item {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    min-height: 350px;
}

/* 图片在右侧 */
.single-item-right {
    flex-direction: row;
}

/* 图片在左侧 */
.single-item-left {
    flex-direction: row-reverse;
}

.single-content {
    flex: 1;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: rgba(248, 249, 252, 0.8);
}

.single-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.single-title::before,
.single-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5ba3c8);
}

.single-title::before {
    left: 0;
}

.single-title::after {
    right: 0;
    background: linear-gradient(270deg, transparent, #5ba3c8);
}

.single-text {
    font-size: 16px;
    line-height: 2;
    color: #666;
    text-align: justify;
    text-indent: 2em;
    margin-bottom: 0;
}

.single-watermark {
    position: absolute;
    bottom: 20px;
    left: 30px;
    opacity: 0.15;
    pointer-events: none;
}

.single-watermark img {
    width: 120px;
    height: auto;
}

.single-image {
    flex: 0 0 580px;
    width: 580px;
    overflow: hidden;
    position: relative;
}

.single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-item:hover .single-image img {
    transform: scale(1.05);
}

/* 响应式 - 单页展示 */
@media (max-width: 1200px) {
    .single-image {
        flex: 0 0 480px;
        width: 480px;
    }

    .single-content {
        padding: 40px 50px;
    }

    .single-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .single-text {
        font-size: 15px;
        line-height: 1.9;
    }
}

@media (max-width: 768px) {
    .single_box {
        width: 100%;
        max-width: 100%;
        gap: 20px;
        margin: 15px auto 30px;
        padding: 0;
        overflow: hidden;
    }

    .single-item {
        flex-direction: column !important;
        min-height: auto;
        margin: 0;
        border-radius: 0;
        width: 100%;
        overflow: hidden;
    }

    .single-item-left {
        flex-direction: column !important;
    }

    .single-content {
        padding: 25px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .single-title {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .single-title::before,
    .single-title::after {
        width: 15px;
    }

    .single-text {
        font-size: 14px;
        line-height: 1.8;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .single-watermark {
        bottom: 10px;
        left: 15px;
    }

    .single-watermark img {
        width: 60px;
    }

    .single-image {
        flex: 0 0 220px;
        width: 100%;
        max-width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .single-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .single_box {
        width: 100%;
        max-width: 100%;
        gap: 15px;
        margin: 10px auto 20px;
        padding: 0;
        overflow: hidden;
    }

    .single-item {
        margin: 0;
        border-radius: 0;
        width: 100%;
    }

    .single-content {
        padding: 20px 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .single-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .single-title::before,
    .single-title::after {
        width: 12px;
    }

    .single-text {
        font-size: 13px;
        line-height: 1.8;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .single-watermark {
        bottom: 8px;
        left: 12px;
    }

    .single-watermark img {
        width: 50px;
    }

    .single-image {
        flex: 0 0 180px;
        width: 100%;
        max-width: 100%;
        height: 180px;
        overflow: hidden;
    }

    .single-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ========== 移动端优化 - 列表页通用 ========== */
@media (max-width: 768px) {
    /* list_mian 容器优化 */
    .list_mian {
        padding-top: 15px;
        padding-bottom: 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* 列表页顶部图片优化 */
    .list_banner {
        margin-bottom: 0;
    }

    .list_banner img {
        min-height: 150px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .list_mian {
        padding-top: 10px;
        padding-bottom: 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .list_banner img {
        min-height: 120px;
    }
}

/* ========== 移动端优化 - 导航标签已在上方响应式部分定义 ========== */

/* ========== 移动端优化 - 详情页 ========== */
@media (max-width: 768px) {
    .view_box {
        border-radius: 0;
        margin: 15px;
    }
}

@media (max-width: 480px) {
    .view_box {
        margin: 10px;
        border-radius: 0;
    }

    .view-content p {
        text-indent: 2em;
    }
}

/* ========== 移动端优化 - 单页展示 ========== */
@media (max-width: 768px) {
    .single_box {
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .single-item {
        border-radius: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .single_box {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .single-item {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
}

/* ========== 移动端优化 - 图片网格 ========== */
@media (max-width: 768px) {
    .photo-grid {
        gap: 15px;
    }

    .photo-item {
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        gap: 12px;
    }

    .photo-item {
        border-radius: 4px;
    }
}

/* ========== 移动端优化 - 文章列表 ========== */
@media (max-width: 768px) {
    .article-list {
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .article-list {
        border-radius: 4px;
    }
}

/* ========== 移动端优化 - 分页 ========== */
@media (max-width: 768px) {
    .pagination {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .pagination {
        padding: 0 10px;
    }
}

/* ========== 移动端优化 - 主容器 ========== */
@media (max-width: 768px) {
    .main {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .main {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* ========== 移动端优化 - 页面容器 ========== */
@media (max-width: 768px) {
    .page {
        min-width: 320px;
    }

    body {
        min-width: 320px;
    }
}

/* ========== 移动端优化 - 触摸优化 ========== */
@media (max-width: 768px) {
    /* 增加可点击区域 */
    .tab-item,
    .page-num,
    .page-prev,
    .page-next,
    .article-item,
    .photo-item,
    .nav-prev,
    .nav-next {
        -webkit-tap-highlight-color: rgba(91, 163, 200, 0.2);
        tap-highlight-color: rgba(91, 163, 200, 0.2);
    }

    /* 移除悬停效果，使用点击效果 */
    .tab-item:active,
    .page-num:active,
    .page-prev:active,
    .page-next:active {
        opacity: 0.7;
    }

    .article-item:active {
        background: rgba(213, 222, 242, 0.5);
    }

    .photo-item:active {
        transform: scale(0.98);
    }
}

/* ========== 移动端优化 - 字体大小调整 ========== */
@media (max-width: 480px) {
    /* 确保最小字体大小 */
    body {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* 标题字体优化 */
    h1, h2, h3, h4, h5, h6 {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* ========== 移动端优化 - 图片加载优化 ========== */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .photo-image img,
    .single-image img,
    .view-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ========== 移动端优化 - 滚动优化 ========== */
@media (max-width: 768px) {
    .page {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }

    /* 防止横向滚动 */
    body, html {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

/* ========== 移动端优化 - 表单元素 ========== */
@media (max-width: 768px) {
    input,
    button,
    select,
    textarea {
        font-size: 16px; /* 防止iOS自动缩放 */
    }
}

/* ========== 移动端优化 - 间距调整 ========== */
@media (max-width: 768px) {
    /* 减少大间距 */
    .view-title,
    .single-title {
        margin-bottom: 20px;
    }

    .view-meta {
        margin-bottom: 25px;
    }

    .view-navigation,
    .view-tags {
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .view-title,
    .single-title {
        margin-bottom: 15px;
    }

    .view-meta {
        margin-bottom: 20px;
    }

    .view-navigation,
    .view-tags {
        margin-top: 20px;
    }
}

/* ========== 移动端优化 - 性能优化 ========== */
@media (max-width: 768px) {
    /* 减少动画以提升性能 */
    .photo-item:hover .photo-image img,
    .single-item:hover .single-image img {
        transform: none;
    }

    /* 简化阴影效果 */
    .photo-item,
    .view_box,
    .single-item {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }
}

/* ========== 横屏模式优化 ========== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-banner {
        min-height: 200px;
    }

    .list_banner img {
        min-height: 100px;
    }

    .photo-image {
        height: 180px;
    }

    .single-image {
        height: 180px;
    }
}

/* ========== 超小屏幕优化 (320px) ========== */
@media (max-width: 360px) {
    .navbar {
        padding: 0 10px;
    }

    .logo-icon {
        width: 50px;
        height: 30px;
    }

    .logo-text {
        width: 130px;
        height: 16px;
    }

    .mobile-menu-btn {
        width: 24px;
        height: 20px;
    }

    .view_box,
    .single_box,
    .photo-grid,
    .article-list {
        margin-left: 5px;
        margin-right: 5px;
    }

    .view-content,
    .single-content {
        padding: 15px 12px;
    }

    .photo-info {
        padding: 10px;
    }

    .article-list {
        padding: 15px 12px;
    }
}

@media (min-width: 1601px) {
    .page,
    .hero-banner,
    .navbar,
    .footer {
        max-width: none;
        width: 100%;
    }

    .navbar {
        padding: 0 clamp(40px, 4vw, 160px);
    }

    .hero-banner {
        min-height: 420px;
    }

    .banner-pagination {
        right: clamp(40px, 4vw, 180px) !important;
    }

    .content-grid {
        width: 100%;
        max-width: 1596px;
        margin: 64px auto;
        padding: 0 20px;
        grid-template-columns: minmax(0, 1.54fr) minmax(0, 1fr);
        gap: clamp(20px, 1.4vw, 28px);
    }

    .left-column,
    .right-column {
        width: auto;
        min-width: 0;
        gap: clamp(20px, 1.4vw, 28px);
    }

    .card {
        padding: clamp(28px, 2vw, 40px) clamp(32px, 2.4vw, 48px);
    }

    .notice-card,
    .news-card,
    .exhibition-card,
    .guide-card,
    .activity-card {
        width: 100%;
        min-width: 0;
    }

    .exhibition-right {
        width: 38%;
        min-width: 320px;
    }

    .tab-box {
        width: 100%;
        max-width: 1596px;
        margin-bottom: 96px;
        padding: 0 20px;
        gap: clamp(20px, 1.4vw, 28px);
    }

    .tab-image {
        flex: 1 1 62%;
        width: auto;
        /* height: clamp(520px, 30vw, 680px); */
    }

    .tab-menu {
        flex: 0 0 clamp(360px, 31vw, 620px);
        width: auto;
        /* height: clamp(520px, 30vw, 680px); */
        padding: clamp(40px, 3vw, 64px) clamp(30px, 2.5vw, 48px) 20px;
    }

    .digital-museum {
        width: 100%;
        max-width: 1596px;
        margin: 0 auto 24px;
        padding: 0 20px;
        grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.06fr);
        gap: clamp(20px, 1.4vw, 28px);
    }

    .museum-intro-card,
    .gallery-image,
    .vr-panorama {
        /* height: clamp(520px, 31vw, 760px); */
    }

    .museum-intro-card {
        padding: 60px 44px 0;
    }

    .collection-display {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .article-list {
        width: 100%;
        max-width: 1596px;
        padding: 44px 60px;
    }

    .photo-grid {
        width: 100%;
        max-width: 1596px;
        padding: 20px 20px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(18px, 1.4vw, 28px);
    }

    .photo-image {
        /* height: clamp(240px, 18vw, 340px); */
    }

    .pagination {
        width: 100%;
        max-width: 1596px;
        padding: 0 20px;
        margin: 30px auto 60px;
    }

    .view_box {
        width: 100%;
        max-width: 1560px;
        padding: 50px 80px;
    }

    .single_box {
        width: 100%;
        max-width: 1596px;
        padding: 0 20px;
        gap: clamp(32px, 2vw, 48px);
    }

    .single_list {
        width: 100%;
        max-width: 1481px;
        padding: 40px;
    }

    .list-nav {
        width: 100%;
        max-width: 1596px;
        padding: 20px 20px;
        gap: clamp(24px, 3vw, 60px);
    }

    .nav-title {
        margin-left: 0;
    }

    .nav-tabs {
        flex-wrap: nowrap;
    }

    .footer {
        width: 100%;
        max-width: none;
        padding: 56px 20px 66px;
    }

    .footer-info {
        max-width: none;
        gap: clamp(80px, 8vw, 160px);
    }

    .footer-logo img:first-child {
        width: clamp(120px, 8vw, 180px);
        height: auto;
    }

    .footer-logo img:last-child {
        width: clamp(260px, 16vw, 360px);
        height: auto;
    }
}

/* Desktop restore and compact laptop tuning */
@media (min-width: 769px) {
    .footer {
        padding: 56px 20px 66px;
    }

    .footer-logo {
        flex-direction: row;
        gap: 14px;
        margin-bottom: 31px;
    }

    .footer-logo img:first-child {
        width: 141px;
        height: 84px;
    }

    .footer-logo img:last-child {
        width: 310px;
        height: auto;
    }

    .footer-nav {
        flex-wrap: nowrap;
        gap: 36px;
        margin-bottom: 31px;
        font-size: 18px;
    }

    .footer-info {
        flex-direction: row;
        gap: clamp(48px, 6vw, 125px);
        align-items: flex-start;
    }

    .contact-row {
        flex-direction: row;
        gap: 28px;
        text-align: left;
    }

    .qr-codes {
        justify-content: flex-start;
    }
}

@media (min-width: 1201px) and (max-width: 1600px) {
    .navbar {
        height: 88px;
        padding: 0 32px;
    }

    .logo {
        width: clamp(260px, 22vw, 340px);
        height: auto;
        margin-right: clamp(24px, 4vw, 56px);
        flex: 0 1 auto;
    }

    .nav-links {
        gap: clamp(18px, 2vw, 32px);
        min-width: 0;
    }

    .nav-item {
        font-size: clamp(16px, 1.15vw, 18px);
        white-space: nowrap;
    }

    .search-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .submenu {
        top: 100%;
        padding: 0 28px;
    }

    .submenu::before,
    .submenu::after {
        top: 0;
    }

    .search-box {
        top: 88px;
    }

    .hero-banner {
        min-height: 320px;
    }

    .banner-pagination {
        right: 32px !important;
        bottom: 22px !important;
    }

    .content-grid,
    .digital-museum,
    .tab-box,
    .collection-display,
    .article-list,
    .photo-grid,
    .pagination,
    .single_box,
    .view_box,
    .list-nav {
        width: calc(100% - 56px);
        max-width: 1280px;
    }

    .content-grid {
        margin: 44px auto;
        padding: 0;
        gap: 16px;
        grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
    }

    .left-column,
    .right-column,
    .notice-card,
    .news-card,
    .exhibition-card,
    .guide-card,
    .activity-card {
        width: 100%;
        min-width: 0;
    }

    .left-column,
    .right-column {
        gap: 16px;
    }

    .card {
        padding: 24px 28px;
    }

    .notice-card {
        height: auto;
        min-height: 209px;
    }

    .news-card {
        height: auto;
        min-height: 319px;
    }

    .guide-card {
        height: auto;
        min-height: 464px;
    }

    .activity-card {
        height: auto;
        min-height: 315px;
    }

    .notice-text-wrapper,
    .news-text-wrapper,
    .activity-item {
        min-width: 0;
    }

    .notice-text,
    .news-text,
    .activity-text {
        font-size: 15px;
        line-height: 23px;
        white-space: nowrap;
        overflow:hidden;
        text-overflow: ellipsis;
    }

    .exhibition-card {
        height: auto;
        min-height: 262px;
    }

    .exhibition-left {
        min-width: 0;
        padding: 24px 28px;
    }

    .exhibition-right {
        width: 38%;
        min-width: 280px;
    }

    .exhibition-right,
    .exhibition-right a,
    .exhibition-right img {
        height: auto;
        min-height: 262px;
    }

    .opening-time {
        gap: 18px;
        margin: 24px 0;
    }

    .time {
        font-size: 30px;
    }

    .guide-buttons {
        gap: 10px;
        margin: 24px 0;
        flex-wrap: wrap;
    }

    .guide-btn {
        padding: 14px 10px;
        gap: 8px;
    }

    .guide-btn img {
        width: 20px;
        height: 20px;
        padding: 8px;
    }

    .guide-btn span {
        font-size: 14px;
        white-space: nowrap;
    }

    .section-title-wrapper {
        margin: 60px 0 42px;
    }

    .collection-display {
        height: clamp(460px, 40vw, 560px);
        margin-bottom: 60px;
    }

    .digital-museum {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 24px;
    }

    .museum-intro-card,
    .vr-panorama,
    .gallery-image {
        height: clamp(295px, 21vw, 500px);
    }

    .museum-intro-card {
        padding: 18px 28px 20px;
    }

    .museum-title {
        font-size: 23px;
    }

    .museum-text p {
        font-size: 12px;
        line-height: 25px;
    }

    .museum-bg-icon {
        height: 150px;
    }

    .tab-box {
        flex-direction: row;
        gap: 16px;
        margin-bottom: 64px;
        padding: 0;
    }

    .tab-image {
        flex: 1 1 64%;
        width: auto;
        height: clamp(420px, 34vw, 500px);
    }

    .tab-menu {
        flex: 0 0 34%;
        width: auto;
        height: clamp(420px, 34vw, 500px);
        padding: 38px 28px 18px;
    }

    .tab-menu-header {
        margin-bottom: 36px;
    }

    .tab-menu-title {
        font-size: 26px;
        line-height: 36px;
    }

    .tab-menu-item {
        font-size: 18px;
        line-height: 28px;
        padding: 12px 18px;
    }

    .list-nav {
        padding: 18px 32px;
        gap: 32px;
    }

    .nav-title {
        margin-left: 0;
        font-size: 22px;
    }

    .nav-tabs {
        flex-wrap: nowrap;
    }

    .tab-item {
        font-size: 16px;
        padding: 0 16px;
    }

    .article-list {
        padding: 34px 44px;
        margin: 24px auto;
    }

    .photo-grid {
        padding: 20px;
        gap: 22px;
        margin: 24px auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .photo-image {
        height: 240px;
    }

    .pagination {
        margin: 24px auto 52px;
    }

    .view_box {
        padding: 42px 56px;
        margin: 28px auto;
    }

    .single_box {
        padding: 0 16px;
        margin: 24px auto 52px;
        gap: 28px;
    }

    .single_list {
        width: 100%;
        max-width: 1280px;
        padding: 32px;
    }

    .single_title h3 {
        width: auto;
        max-width: 100%;
        text-align: center;
        line-height: 1.4;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .navbar {
        height: 80px;
        padding: 0 24px;
    }

    .logo {
        width: clamp(200px, 24vw, 260px);
        height: auto;
        margin-right: 20px;
        flex: 0 1 auto;
    }

    .nav-links {
        gap: 12px;
        min-width: 0;
    }

    .nav-item {
        font-size: 14px;
        white-space: nowrap;
    }

    .search-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .submenu {
        top: 100%;
    }

    .search-box {
        top: 80px;
    }

    .submenu::before,
    .submenu::after {
        top: 0;
    }

    .hero-banner {
        min-height: 260px;
    }

    .banner-pagination {
        right: 24px !important;
        bottom: 18px !important;
    }

    .content-grid,
    .digital-museum,
    .tab-box,
    .collection-display,
    .article-list,
    .photo-grid,
    .pagination,
    .single_box,
    .view_box,
    .list-nav {
        width: calc(100% - 40px);
        max-width: 960px;
    }

    .content-grid {
        margin: 36px auto;
        padding: 0;
        gap: 15px;
        grid-template-columns: 1fr;
    }

    .left-column,
    .right-column {
        width: 100%;
        gap: 15px;
    }

    .notice-card,
    .news-card,
    .exhibition-card,
    .guide-card,
    .activity-card {
        width: 100%;
        height: auto;
        min-width: 0;
    }

    .digital-museum {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tab-box {
        flex-direction: column;
        gap: 15px;
    }

    .tab-image,
    .tab-menu {
        width: 100%;
        height: auto;
        min-width: 0;
    }

    .tab-image {
        height: 360px;
    }

    .tab-menu {
        min-height: 320px;
        padding: 30px 24px 18px;
    }

    .collection-display {
        height: 500px;
    }

    .collection-title {
        left: 20px;
        top: 20px;
    }

    .article-list {
        padding: 28px 32px;
        margin: 20px auto;
    }

    .photo-grid {
        padding: 18px;
        gap: 18px;
        margin: 20px auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .photo-image {
        height: 220px;
    }

    .pagination {
        margin: 20px auto 48px;
    }

    .view_box {
        padding: 34px 36px;
        margin: 20px auto;
    }

    .single_box {
        padding: 0 10px;
        margin: 20px auto 44px;
        gap: 24px;
    }

    .single_list {
        width: 100%;
        max-width: 960px;
        padding: 24px;
    }

    .single_img,
    .single_title {
        width: 100%;
    }

    .single_title h3 {
        width: auto;
        max-width: 100%;
        margin: 0 auto 18px;
        line-height: 1.4;
    }

    .footer {
        padding: 42px 18px 48px;
    }

    .footer-logo {
        gap: 10px;
        margin-bottom: 22px;
    }

    .footer-logo img:first-child {
        width: 110px;
        height: 66px;
    }

    .footer-logo img:last-child {
        width: 250px;
    }

    .footer-nav {
        gap: 12px;
        font-size: 14px;
        margin-bottom: 22px;
        flex-wrap: wrap;
    }

    .footer-info {
        gap: 24px;
    }

    .contact-row {
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }

    .qr-codes {
        justify-content: center;
    }
}
