/* style.css - 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    background: url('../images/hero-background.png');
    background-size: cover;
    color: #333;
    line-height: 1.6;
    min-height: 50vh; /* 最小高度 = 视口高度 */

}
.detail-background {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}


.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(37, 5, 5, 0.8);
}

.navbar-container {
    width: 80%;
    height: 70px;
    display: flex;
    align-items: center;
    margin-left: 4%;
    position: relative;
}

.logo {
    margin-right: 4%;
    align-items: center;
}

.logo-img {
    height: 50px; /* 根据实际需要调整高度 */
    width: auto; /* 保持图片比例 */
}
/* 导航栏-------------------开始*/
.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-item-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
}

/* 导航链接样式 */
.nav-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0 30px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 22px;
    line-height: 22px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    box-sizing: border-box;
}

/* hover效果 */
.nav-item:hover {
    background-color: rgba(172, 133, 71, 0.3);
    transform: translateY(-2px);
    border-radius: 1px;
}

/* 选中状态 */
.nav-item.active {
    background-color: rgba(172, 133, 71, 0.5);
    color: white;
    font-weight: bold;
}

/* 默认隐藏子菜单 */
.nav-item-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(37, 5, 5, 0.8);
    padding: 10px 0;
    border-radius: 0 0 4px 4px;
    z-index: 1001;
    margin: 0;
    width: max-content;
}

/* 当鼠标悬停在 nav-item-wrapper 上时显示子菜单 */
.nav-item-wrapper:hover .nav-item-sub {
    display: block;
}

/* 子菜单列表样式 */
.nav-item-sub ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

/* 子菜单项样式 */
.nav-item-sub ul li {
    padding: 8px 20px;
    white-space: nowrap;
}

/* 子菜单链接样式 */
.nav-item-sub ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

/* 子菜单链接悬停效果 */
.nav-item-sub ul li a:hover {
    color: #D3A356;
}

/* 子菜单链接选中状态 */
.nav-item-sub ul li a.active {
    color: #D3A356;
    font-weight: bold;
}



/* 中英文切换按钮样式 */
.lang-switch-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 22px;
    padding: 0 30px;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lang-switch-btn:hover {
    background-color: rgba(172, 133, 71, 0.3);
    color: white;
}
.lang-switch-btn.active {
    background-color: rgba(172, 133, 71, 0.5);
    color: white;
    font-weight: bold;
}

/* 导航栏----------结束*/
.hero {
    position: relative;
    height: calc(100vh);
    min-height: 1080px;
}


.hero-below {
    width: 100%;
    height: 100%;
}

.hero-above {
    position: absolute;
    top: min(88vh, 700px); /* 当70vh小于900px时使用70vh，否则使用900px */
    left: 0; /* 左右拉满父容器 */
    right: 0;
    margin: 0 auto; /* 水平自动居中（核心） */
    transform: translate(0, -50%); /* 仅保留垂直方向偏移，抵消top的50% */
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px; /* 根据需求调整 */
    width: 100%; /* 可选：让元素宽度自适应父容器（不超过max-width） */
}

.banner-image {
    height: 100vh;  /* 改为视口高度 */
    width: 100vw;   /* 改为视口宽度 */
    object-fit: cover;
    display: block;
    vertical-align: top;
}

.action-btns{
    margin: 50px 300px;

}

.action-btns-0 {
    margin-bottom: 30vh; /* 使用视口高度单位实现自适应 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3); /* 半透明黑色背景 */
    padding: 20px;
    border-radius: 10px;
    max-width: 100%;
    text-align: center;
}

.action-btns-0 h1 {
    color: white;
    font-size: 80px;
    text-align: center;
    letter-spacing: 12px; /* 增加字间距 */
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.action-btns-0 p {
    text-align: center;
    color: white;
    font-size: 30px;
    line-height: 25px;
    letter-spacing: 3px; /* 增加字间距 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.action-btns-1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 250px;
    min-height: 250px;
}
/* 滚动逐渐显示 -开始 */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 显示状态 */
.animate-element.animate-show {
    opacity: 1;
    transform: translateY(0);
}

/* 不同模块的延迟效果 */
.open-time {
    transition-delay: 0.1s;
}

.action-btns-notice {
    transition-delay: 0.3s;
}

.action-btns-reservation {
    transition-delay: 0.5s;
}

.about {
    transition-delay: 0.7s;
}

.announcements {
    transition-delay: 0.9s;
}

/* 不同模块的延迟效果 */
.exhibitions-title {
    transition-delay: 0.1s;
}

.exhibition-item {
    transition-delay: 0.3s;
}

.collections-num {
    transition-delay: 0.2s;
    transition: transform 0.3s ease;
}

.collections-image {
    transition-delay: 0.5s;
}

.info-title {
    transition-delay: 0.1s;
}

.info-list {
    transition-delay: 0.5s;
}

.education-title {
    transition-delay: 0.2s;
}

.education-list {
    transition-delay: 0.5s;
}
/* 滚动逐渐显示 -结束 */
.open-time {
    background: url('../images/open-time-background@2x.png') no-repeat center center;
    background-size: cover;
    flex: 1;
    min-width: 50%;
    height: 100%;
    text-align: center;
    margin-right: 10px;
}

.open-time-icon {
    width: 34px;
    height: 28px;
    margin-top: 31px;
    margin-bottom: 10px;
}

.open-time h3 {
    color: #FFE3B0;
    font-size: 30px;
    line-height: 30px;
}

.open-time p {
    color: #D0BCAD;
    font-size: 14px;
    line-height: 14px;
    margin-top: 13px;
}

.time-grid {
    display: flex;
    justify-content: space-between;
    margin: 20px 60px;

}

.time-item {
    text-align: center;
    flex: 1;
}

.time-item strong {
    color: white;
    font-size: 30px;
    line-height: 30px;
}

.time-item span {
    color: #D0BCAD;
    font-size: 12px;
    line-height: 12px;
    display: block;
    margin-top: 6px;
}


.action-btns-notice {
    background: url('../images/notice-background@2x.png') no-repeat center center;
    background-size: cover;
    flex: 1;
    min-width: 24%;
    height: 100%;
    text-align: center;
    margin-right: 10px;
}


.notice-icon {
    width: 57px;
    height: 57px;
    margin-top: 68px;
}

.action-btns-notice h4 {
    color: #FFE3B0;
    font-size: 16px;
    line-height: 16px;
    margin-top: 10px;
}

.action-btns-notice p {
    color: #F3E7E5;
    font-size: 14px;
    line-height: 14px;
    margin-top: 10px;
    opacity: 0.8; /* 添加80%透明度 */
}


.action-btns-reservation {
    background: url('../images/reservation-background@2x.png') no-repeat center center;
    background-size: cover;
    flex: 1;
    min-width: 24%;
    height: 100%;
    text-align: center;
}

.reservation-icon {
    width: 57px;
    height: 57px;
    margin-top: 68px;
}

.action-btns-reservation h4 {
    color: #FFE3B0;
    font-size: 16px;
    line-height: 16px;
    margin-top: 10px;
}

.action-btns-reservation p {
    color: #F3E7E5;
    font-size: 14px;
    line-height: 14px;
    margin-top: 10px;
    opacity: 0.8; /* 添加80%透明度 */
}


.action-btns-2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 350px;
    min-height: 350px;
    margin-top: 20px;

}

.about {
    background: url('../images/about-background@2x.png') no-repeat center center;
    background-size: cover;
    flex: 1;
    min-width: 60%;
    height: 100%;
    text-align: center;
    margin-right: 15px;

}

.about-icon {
    width: 160px;
    height: 100px;
    display: block;
    margin: 18px auto;

}

.about-content p {
    color: #F3E7E5;
    font-size: 14px;
    line-height: 24px;
    margin-top: 10px;
    letter-spacing: 0.15em;
    opacity: 0.85; /* 添加80%透明度 */
}

.about-content-button {
    width: 170px;
    height: 42px;
    background-color: #8B3526;
    border: none;
    color: white;
    cursor: pointer;
    margin-top: 20px;
}


.announcements {
    background: url('../images/announcements-background@2x.png') no-repeat center center;
    background-size: cover;
    flex: 1;
    min-width: 38%;
    height: 100%;
    text-align: center;
}

.announcements-title-icon {
    display: flex;
    align-items: center;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

.announcements-title-icon h3 {
    margin: 0;
    font-size: 18px;
    text-align: center;
}

.announcements-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 20px;
}


.announcements-title-more {
    color: #F3E7E5;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.85; /* 添加80%透明度 */
    margin-right: 20px;
}


.announcements-icon-left,
.announcements-icon-right {
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

.announcements-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 15px;
}

.announcements-list p {
    color: white;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
    flex: 1;
}

.announcements-list span {
    color: white;
    font-size: 14px;
    line-height: 22px;
    text-align: right;
}

.announcement-text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.exhibitions {
    /* 设置背景图片 */
    background-image: url('../images/exhibitions-background.png');
    /* 设置背景颜色 */
    background-color: #78312B;
    /* 背景相关属性 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 605px;
    max-width: 30000px; /* 根据需求调整 */

}

.exhibitions-above {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px; /* 根据需求调整 */
    width: 100%; /* 可选：让元素宽度自适应父容器（不超过max-width） */
    flex-direction: column;
    gap: 20px; /* 控制标题与列表之间的间距 */
}

.exhibitions-title {
    text-align: center;
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: flex-start; /* 左对齐 */
    align-items: center;
}

.exhibitions-title-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* 控制图片与文字之间的间距 */
}

.exhibitions-title-icon .exhibitions-icon-left,
.exhibitions-title-icon .exhibitions-icon-right {
    width: 34px;
    height: 34px;
}

.exhibitions-title-icon h3 {
    color: #FFE3B0;
    font-size: 26px;
    line-height: 26px;
    margin: 0;
    white-space: nowrap;
}

.exhibitions-list {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none; /* 隐藏滚动条（Firefox） */
}

.exhibitions-list::-webkit-scrollbar {
    display: none; /* 隐藏滚动条（Chrome/Safari） */
}

.exhibition-item {
    flex: 0 0 auto;
    width: 387px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.exhibitions-item-img {
    width: 387px;
    height: 290px;
    object-fit: cover;
    object-position: center; /* 图片居中显示 */
    flex-shrink: 0;
    transition: transform 0.6s ease;
}
.exhibition-item:hover .exhibitions-item-img {
    transform: scale(1.05);
}
.exhibition-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.exhibition-item-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #FFE3B0;
    font-size: 16px;
    line-height: 16px;
}

.exhibition-date {
    color: #FFFFFF;
    font-size: 14px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    opacity: 0.8; /* 添加80%透明度 */

}


/* 藏品展示 */

.collections {
    display: flex;
    height: 760px;
    flex-direction: column;
    gap: 20px; /* 控制两个区域之间的间距 */
}

.collections-first {
    display: flex;
    flex-direction: row;
    flex: 1;
    height: 50%;
    gap: 15px; /* 控制内部元素间距 */
    margin-top: 40px;
}

.collections-second {
    display: flex;
    flex: 1;
    height: 50%;
    gap: 15px; /* 控制内部元素间距 */
}

.collections-num {
    background: url('../images/collections-background.png') no-repeat center center;
    background-size: cover;
    flex: 1;
    width: 276px;
    height: 370px;
    text-align: center;
}

.collections-num-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* 控制数字与单位图片之间的间距 */
}

.collections-num-text-num {
    color: white;
    font-size: 40px;
    line-height: 40px;
    font-weight: bold;
}


.collections-icon-right,
.collections-icon-left {
    width: 34px;
    height: 34px;
}

.collections-title {
    margin-top: 40px;
    margin-bottom: 30px;
}

.collections-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* 控制图片与文字之间的间距 */
}

.collections-title-icon h3 {
    color: white;
    font-size: 26px;
    line-height: 26px;
    margin: 0;
    white-space: nowrap;
}

.collections-num-button {
    position: relative; /* 创建定位上下文 */
    display: inline-block;
    width: 160px; /* 按钮容器宽度 */
    height: 80px; /* 按钮容器高度 */
    cursor: pointer;
}

/* 文字层（上层） */
.collections-num-button-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    z-index: 2; /* 确保文字在图片上方 */
    padding-top: 42px;
}

/* 图片层（下层） */
.collections-num-button-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* 图片高度 */
    object-fit: contain; /* 保持图片比例 */
    z-index: 1; /* 图片在文字下方 */
    transition: all 0.3s ease;
}

/* 交互效果 */
.collections-num-button:hover .collections-num-button-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.collections-num-button:active .collections-num-button-img {
    transform: scale(0.98);
}

/* 响应式调整 */
@media (max-width: 480px) {
    .collections-num-button {
        width: 140px;
        height: 70px;
    }
}

.collections-image {
    background: #fff;
    background-size: cover;
    flex: 1;
    width: 276px;
    height: 370px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.collection-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.collections-image:hover .collection-img {
    transform: scale(1.05);
}

.collections-first,
.collections-second {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; /* 4列等宽 */
    gap: 15px;
}

.collections-num,
.collections-image {
    width: 100%;
}


/* 资讯与教育模块 */

.info-panels {
    height: 300px;
    display: flex;
}

.info {
    background: url('../images/info-background.png') no-repeat center center;
    background-size: cover;
    flex: 1;
    min-width: 48%;
    height: 100%;
    text-align: center;
    margin-right: 20px;
    margin-top: 40px;
}

.info-title-icon {
    display: flex;
    align-items: center;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

.info-title-icon h3 {
    margin: 0;
    font-size: 18px;
    text-align: center;
}

.info-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 20px;
}


.info-title-more {
    color: #F3E7E5;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.85; /* 添加80%透明度 */
    margin-right: 20px;
}

.info-icon-left,
.info-icon-right {
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 15px;
}

.info-list p {
    color: white;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
    flex: 1;
}

.info-list span {
    color: white;
    font-size: 14px;
    line-height: 22px;
    text-align: right;
}

.info-text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.education {
    background: url('../images/education-background.png') no-repeat center center;
    background-size: cover;
    flex: 1;
    min-width: 48%;
    height: 100%;
    text-align: center;
    margin-top: 40px;

}

.education-title-icon {
    display: flex;
    align-items: center;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

.education-title-icon h3 {
    margin: 0;
    font-size: 18px;
    text-align: center;
}

.education-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 20px;

}

.education-icon-left,
.education-icon-right {
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

.education-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 15px;
}

.education-list p {
    color: white;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
    flex: 1;
}

.education-list span {
    color: white;
    font-size: 14px;
    line-height: 22px;
    text-align: right;
}

.education-text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.education-title-more {
    color: #F3E7E5;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.85; /* 添加80%透明度 */
    margin-right: 20px;
}

/* 页脚 */

footer {
    background: #250505;
    text-align: center;
    margin-top: 100px;
    color: white;
    padding: 20px 0;

}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0 auto;
    text-align: center;
}

.official-content {
    flex: 0.6;
    text-align: left;
}

.official-account {
    flex: 0.2;
    text-align: center;
}

.official-content p {
    margin: 5px 0;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
    background: white;
}




/* 响应式适配（示例：手机屏幕） */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }

    .navbar-menu {
        display: none; /* 移动端隐藏导航，需添加汉堡菜单 */
    }

    .exhibition-cards {
        flex-direction: column;
    }

    .artifact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 统一两个区域的容器样式 */
.hero-above,
.exhibitions-above,
.collections,
.info-panels {
    max-width: 1200px;
    margin: 0 auto;
}

.info-panels {
    margin-top: 20px;
}

/* 顶部导航栏样式 */
.sub-nav {
    background-color: #8b3a3a;
    padding: 26px 0;
}

.sub-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.sub-nav ul li {
    display: inline-block;
    margin: 0 15px;
}

.sub-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}


.sub-nav-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 26px 20px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
    line-height: 16px;
}

.sub-nav-item:hover {
    background-color: rgba(172, 133, 71, 0.2);
    transform: translateY(-2px);
    border-radius: 1px;
}

.sub-nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 36px;
    right: 36px;
    height: 2px;
    background-color: #D3A356;
    transform: translateY(-5px);
}
/* 选中状态的子导航项样式 */
.sub-nav-item.active {
    background-color: rgba(172, 133, 71, 0.5);
    color: white;
    font-weight: bold;
    border-bottom: 2px solid #D3A356;
}


/* 新闻列表区域样式 */
.news-list {
    width: 1100px;
    margin: 20px auto;
}

.news-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 20px 20px;
    height: 160px;
}

.news-item img {
    float: left;
    margin-right: 15px;
    width: 200px;
    height: 122px;
    object-fit: cover;
    object-position: center; /* 图片居中显示 */

}

.news-content {
    overflow: hidden; /* 清除浮动影响 */
}

.news-content h3 {
    color: #333;
    margin-top: 0;
}

.news-meta {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
    line-height: 16px; /* 与图片高度一致 */
}

.news-meta img {
    vertical-align: middle;
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.news-content p {
    font-size: 13px;
    color: #555;
}

.news-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-all;
}

.news-item {
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: #fff9db;
    transform: translateY(-2px); /* 轻微上移效果 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 添加阴影 */
}


/* 分页区域样式 */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    background-color: #fff;
}

.pagination a.active {
    background-color: #8b3a3a;
    color: #fff;
    border-color: #8b3a3a;
}

.pagination a:hover {
    background-color: #eee;
}


/* 主体内容容器样式 */
.news-detail {
    width: 1300px;
    margin: 30px auto;
    padding: 0 20px;
    min-height: 1080px;
}

.news-detail h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.news-detail .time {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.news-detail p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

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

.news-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.news-detail-meta img {
    vertical-align: middle;
}

.news-detail-content {
    padding: 20px; /* 可选：添加内边距 */
}


.reset-link {
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    outline: none;
    font: inherit;
    cursor: pointer;
    padding: 0;
    margin: 0;
}
.news-detail-content {
    display: none;
}

.news-detail-content.content-display {
    display: block;
}


.exhibition-container {
    display: flex;
    gap: 20px; /* 卡片间距 */
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap; /* 允许换行 */
 }
.exhibition-card {
    flex: 0 0 calc(33.333% - 14px); /* 每行最多3个卡片，减去间距 */
    background: url('../images/bj01.jpg');
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 900px;
    box-sizing: border-box;
    width: 432px;
}
.card-img {
    width: 432px;
    height: 64%;
    object-fit: cover;  /* 保持图片比例，裁剪多余部分 */
    transition: transform 1s ease;

}
.card-info {
    padding: 45px 38px;
    width: 100%;
    height: 36%;
}
.card-title {
    text-decoration: none;
    color: white;
    text-align: center;
    font: 22px "微软雅黑", Arial, Tahoma, Helvetica, sans-serif;
    margin-bottom: 100px;
}
.card-detail {
    font: 18px "微软雅黑", Arial, Tahoma, Helvetica, sans-serif;
    line-height: 1.6;
    color: white;
}
.zt-shijian {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}
.zt-didian {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-img:hover {
    transform: scale(1.05);
}

/* 滚动渐显动画 */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-element.animate-show {
    opacity: 1;
    transform: translateY(0);
}


/* 响应式：小屏幕下堆叠显示 */
@media (max-width: 768px) {
    .exhibition-container {
        flex-direction: column;
    }
}
