/* ========== 深色多山多桥水墨导航栏 ========== */
header {
    width: 100%;
    height: 240px;        /* 匹配1920×240长图高度 */
    /* 深色水墨背景 + 半透明蒙版（核心：解决多元素背景文字遮挡） */
    background-size: cover;
    background-attachment: scroll;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(100, 110, 120, 0.4);
}

/* 透明Logo 深色背景适配 */
.logo {
    display: flex;
    align-items: center;
    position: relative;
    left: -16px !important;
    text-decoration: none;
}
.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    background: transparent;
    /* 白色投影，在深色水墨背景上更立体清晰 */
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}
.logo:hover img {
    filter: drop-shadow(0 0 10px rgba(212, 178, 118, 0.6));
    transform: scale(1.02);
}

/* 导航菜单 深色背景适配 */
.nav {
    display: flex;
    gap: 38px;
}
.nav a {
    color: #ffffff;          /* 纯白色文字，深色背景下最清晰 */
    text-decoration: none;
    font-size: 19px;
    font-family: "思源宋体", 宋体, serif;
    padding: 10px 28px;
    border-radius: 30px;
    transition: all 0.3s ease;
    /* 深色文字阴影，增强对比度 */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 导航 hover + 选中激活态（鎏金质感） */
.nav a:hover,
.nav a.active {
    background-color: rgba(212, 178, 118, 0.9);
    color: #1a2229;
    text-shadow: none;
    box-shadow: 0 4px 12px rgba(212, 178, 118, 0.3);
}

/* 搜索栏 深色背景适配 */
.search-bar {
    display: flex;
    align-items: center;
    margin-left: 15px !important;
    gap: 8px;
}
.search-bar input {
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
    background: rgba(255, 255, 255, 0.8);
    padding: 9px 16px;
    border-radius: 24px;
    font-size: 14px;
    color: #2c343b;
}
.search-bar input::placeholder {
    color: #666;
}
.search-bar button {
    border: none;
    background: rgba(212, 178, 118, 0.9);
    color: #1a2229;
    padding: 9px 18px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.search-bar button:hover {
    background: #d4b276;
    box-shadow: 0 2px 8px rgba(212, 178, 118, 0.4);
}

/* ========== 移动端响应式适配 ========== */
@media (max-width: 768px) {
    header {
        height: auto;
        flex-direction: column;
        padding: 25px 20px;
        gap: 20px;
        background-position: center bottom;
    }
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }
    .nav a {
        font-size: 16px;
        padding: 8px 20px;
    }
    .logo img {
        height: 45px;
    }
}

:root {
    --main: #2A4A5C;
    --gold: #D4B276;
    --radius: 16px;
    --shadow: 0 6px 18px rgba(42,74,92,0.1);
}
/* 贵州文旅统一视觉：蜡染蓝 + 苗银金 + 喀斯特肌理 */
:root {
  --guizhou-blue: #2A4A5C;
  --guizhou-gold: #D4B276;
  --guizhou-green: #3E6446;
}

/* 文旅提示框（通用） */
.tour-hover-box {
  position: absolute;
  background: var(--guizhou-blue);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  z-index: 99;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  pointer-events: none;
  white-space: nowrap;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}
body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}
/* 统一导航样式（复制到4个页面的CSS里） */
header {
    width: 100%;
    height: 75px;
    background-color: #2A4A5C;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav {
    display: flex;
    gap: 70px;
}
.nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: "思源宋体", "思源黑体", sans-serif;
    transition: all 0.3s ease;
}
.nav a:hover,
.nav a.active {
    background-color: #D4B276;
    color: #2A4A5C;
}

.container {
    max-width: 1200px;
    margin: 0rem auto;
    padding: 0 1rem;
    min-height: calc(100vh - 260px);
}
.slider {
    position: relative;
    width: 100%;
    height: 420px;        /* 统一高度 */
    overflow: hidden;
    border: 1px solid var(--main-gold);
    border-radius: 16px;  /* 统一圆角 */
    margin: 40px 0 70px;  /* 统一导航间距 */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.slider-item.active {
    opacity: 1;
}
.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}
.timeline-item:nth-child(odd)::before {
    right: -10px;
}
.timeline-item:nth-child(even)::before {
    left: -10px;
}
.timeline-content {
    background-color: white;
    padding: 1.5rem;
    border: 1px solid var(--gold);
    border-radius: 8px;  /* 统一圆角 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.timeline-content:hover {
    transform: translateY(-5px);
}
.timeline-content h3 {
    color: #2A4A5C;
    margin-bottom: 0.5rem;
}
.timeline-content p {
    color: #666;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.timeline-container {
    background: #2A4A5C;
    /* 布局、圆角、阴影统一 */
    padding: 50px 30px;
    border: 1px solid var(--gold);
    border-radius: 16px;  /* 统一圆角 */
    margin: 0 auto 70px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    /* 金色细边框，高级感 */
    position: relative;
    overflow: hidden;
}
.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}
.close-btn:hover {
    color: #2A4A5C;
}
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}
.modal-image img {
    width: 100%;
    border-radius: 8px;
}
.modal-details h3 {
    color: #2A4A5C;
    margin-bottom: 1rem;
}
.modal-details p {
    margin-bottom: 0.5rem;
}
footer {
    width: 100%;
    background-color: #2A4A5C;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}
.footer-source {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}
.footer-source strong {
    color: #D4B276;
}
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 20px;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::before {
        left: 10px;
    }
    .modal-body {
        grid-template-columns: 1fr;
    }
}

/* 数据总览 */
.data-panel {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-bottom: 60px;
}
.data-card {
    background: var(--main);
    color: #fff;
    border-radius: var(--radius);
    padding: 25px 20px;
    text-align: center;
    border: 1px solid var(--gold);
    border-radius: 16px;  /* 统一圆角 */
    box-shadow: var(--shadow);
}
.data-card h3 {
    font-size: 30px;
    color: var(--gold);
    margin: 0 0 6px 0;
}
.data-card p {
    font-size: 15px;
    margin: 0;
}
/* 导航栏右侧搜索栏（覆盖原有样式） */
header .search-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    position: relative; /* 新增 */
}
header .search-bar input {
    height: 38px;
    /* 移除原有宽度，改为动态展开 */
    width: 0;
    padding: 0 14px;
    border: 1px solid #D4B276;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    background: #ffffff;
    color: #2A4A5C;
    font-family: "思源宋体", "思源黑体", sans-serif;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
header .search-bar:hover input {
    width: 220px;
    opacity: 1;
    visibility: visible;
}
header .search-bar input:focus {
    border-color: #ffffff;
    background: #fff;
}
header .search-bar button {
    height: 38px;
    padding: 0 12px;
    border: none;
    border-radius: 6px;
    background: #ffffff !important;
    color: #2A4A5C !important;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}
header .search-bar button:hover {
    background: #D4B276 !important;
    color: #2A4A5C !important;
}
/* 搜索高亮红色 */
.search-highlight {
    color: red !important;
    font-weight: bold !important;
    background: transparent !important;
}
/* ========== 黔桥总览模块========== */
.home-new-section {
    max-width: 100%;
    margin: 0 auto 70px;
    padding: 0;
}
/* 强制拉近时间轴标题与下方模块距离 */
#timeline-title-section {
    margin-bottom: 20px !important;
}
.sec-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 30px;
    color: #2A4A5C;
    margin-bottom: 40px;
}
.sec-title::before,
.sec-title::after {
    content: "";
    width: 70px;
    height: 2px;
    background: #D4B276;
    margin: 0 20px;
}
.overview-box {
    background-image: url("../images/huazhang_sgq_bj.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 1px solid #D4B276;
    border-radius: 16px;
    position: relative;
    height: 400px;
    margin-top:30px !important;
    min-height: 400px;
    padding: 0;
    margin-bottom:60px;
    overflow: hidden;
}

.scroll-bridge-text {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 1000px;
  background: none;
  padding: 0;
  border-radius: 0;
  color: #3a3a38;
  font-size: 16px;
  line-height: 1.85;

  /* 核心修改：两端对齐 + 首行缩进2字符 */
  text-align: justify;
  text-indent: 2em;
}

@media (max-width: 768px) {
  .overview-box {
    height: 380px;
    min-height: 380px;
  }
  .scroll-bridge-text {
    font-size: 14px;
    width: 82%;
    bottom: 40px;
    text-indent: 2em;
  }
}
/* 溯源黔桥卡片 —— 背景图 + 文字底部居中 */
.home-card-grid {
  display: flex !important;
  gap: 20px !important;
  width: 100% !important;
}
.home-card-item {
  flex: 1 !important;
  position: relative !important;
  height: 220px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border: 1px solid #D4B276 !important;
  background-size: cover !important;
  background-position: center !important;
  display: flex !important;
  align-items: flex-end !important; /* 文字 ↓ 贴到底部 */
  justify-content: center !important;
  padding-bottom: 22px !important; /* 底部留白 */
}

/* 蒙版 */
.home-card-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
  z-index: 1;
}

/* 文字层级 */
.home-card-item .text-box {
  position: relative !important;
  z-index: 2 !important;
  text-align: center !important;
  color: #fff !important;
}
.home-card-item h3 {
  font-size: 22px !important;
  color: #D4B276 !important;
  margin: 0 0 6px 0 !important;
  font-family: "SimSun", serif !important;
}
.home-card-item p {
  font-size: 14px !important;
  color: #ffffff !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  font-family: "SimSun", serif !important;
}

/* 隐藏小图 */
.home-card-item img {
  display: none !important;
}
.home-new-section:has(.sec-title) + .timeline-container {
    margin-top: 0 !important;
}

/* 弹窗深色主题 */
.modal {
    background-color: rgba(0, 0, 0, 0.85) !important;
}
.modal-content {
    background-color: #2A4A5C !important;
    color: #ffffff !important;
}
.modal-details h3 {
    color: #D4B276 !important;
}
.modal-details p,
.modal-details strong {
    color: #ffffff !important;
}
.close-btn {
    color: #D4B276 !important;
}
.close-btn:hover {
    color: #ffffff !important;
}


/* 返回顶部按钮 */
#backTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 44px;
    height: 44px;
    background: #2A4A5C;    /* 深色主题 */
    color: #D4B276;        /* 金色文字 */
    border: 1px solid #D4B276;
    border-radius: 50%;
    font-size: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
}
/* 🔥 黔桥数据 - 高级质感弹窗 */
.data-info-modal {
    display: none;
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px); /* 背景模糊 → 高级感核心 */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.data-info-modal.show {
    opacity: 1;
}
.data-info-modal .modal-box {
    background: #2A4A5C;
    color: #fff;
    max-width: 560px;
    width: 90%;
    border-radius: 20px; /* 更大更柔和圆角 */
    padding: 42px 32px;
    border: 1px solid rgba(212, 178, 118, 0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,178,118,0.2);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.data-info-modal.show .modal-box {
    transform: scale(1) translateY(0); /* 弹入动画 */
}
.data-info-modal .close-btn {
    position: absolute;
    right: 24px; top: 22px;
    font-size: 24px;
    color: #D4B276;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.data-info-modal .close-btn:hover {
    background: rgba(212, 178, 118, 0.15);
    color: #fff;
    transform: rotate(90deg);
}
.data-info-modal .modal-title {
    font-size: 26px;
    color: #D4B276;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 1px;
}
.data-info-modal .modal-list {
    line-height: 2.1;
    font-size: 16px;
    padding-left: 6px;
}
.data-info-modal .modal-list br {
    margin-bottom: 6px;
}
/* 炫酷国风欢迎弹窗动画 */
.welcome-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #2A4A5C, #1A2229);
  color: #D4B276;
  padding: 20px 50px;
  border-radius: 50px;
  font-size: 20px;
  letter-spacing: 3px;
  z-index: 99999;
  border: 1px solid #D4B276;
  box-shadow: 0 0 20px rgba(212,178,118,0.4),
              0 0 40px rgba(212,178,118,0.2);
  /* 动画 */
  opacity: 0;
  transform: translate(-50%, -30%);
  animation: welcomeShow 0.8s ease forwards, welcomeHide 0.8s ease 3s forwards;
  pointer-events: none;
}

@keyframes welcomeShow {
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes welcomeHide {
  to {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
}
/* 桥畔寻踪内容背景：和时间轴容器 100% 像素级对齐 */
.culture-content-wrap {
    /* 完全继承时间轴的样式 */
    background: #2A4A5C;
    border: 1px solid rgba(212, 178, 118, 0.3);
    border-radius: 16px;
    padding: 50px 30px; /* 和时间轴完全一样的内边距 */
    margin: 0 auto 70px !important; /* 和时间轴完全一样的底部间距 */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* 和时间轴完全一样的阴影 */
    color: #ffffff;
    box-sizing: border-box;
}

/* 内容内文字颜色统一 */
.culture-content-wrap p,
.culture-content-wrap h3,
.culture-content-wrap h4 {
    color: #ffffff !important;
}

.culture-content-wrap strong {
    color: #D4B276 !important;
}
/* 强制横向4列：最高优先级，覆盖所有旧样式 */
.tour-card-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 0 auto 70px !important;
    max-width: 1200px !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 强制卡片样式：清除所有默认超链接样式 */
.tour-card {
    display: block !important;
    text-decoration: none !important;
    background: #2A4A5C !important;
    border: 1px solid var(--gold);
    border-radius: 16px;  /* 统一圆角 */
    padding: 30px 15px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
    float: none !important; /* 清除浮动干扰 */
}

.tour-icon {
    font-size: 42px !important;
    margin-bottom: 12px !important;
    transition: transform 0.3s ease !important;
}

.tour-card h3 {
    color: #D4B276 !important;
    font-size: 20px !important;
    margin: 0 0 6px 0 !important;
    font-weight: 600 !important;
}

.tour-card p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* hover效果 */
.tour-card:hover {
    transform: translateY(-8px) !important;
    border-color: #D4B276 !important;
    box-shadow: 0 12px 30px rgba(212, 178, 118, 0.2) !important;
    background: linear-gradient(135deg, #2A4A5C, #3a5a6e) !important;
}

.tour-card:hover .tour-icon {
    transform: scale(1.15) !important;
}

/* 响应式：平板2列，手机1列 */
@media (max-width: 1200px) {
    .tour-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 1200px) {
    .tour-card-grid {
        grid-template-columns: 1fr !important;
    }
}
/* 1. 强制文旅入口模块底部间距：和skill的时间轴完全一样（80px） */
.tour-card-grid {
    margin-bottom: 80px !important;
    padding-bottom: 0 !important;
}

footer {
    width: 100%;
    background-color: #2A4A5C;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 0px;
}
.container {
    max-width: 1200px;
    margin: 0rem auto;
    padding: 0 1rem;
    min-height: calc(100vh - 280px);
}
/* 只同步：底层全局背景 + 顶部header样式，不改动任何其他功能 */
/* 1. 全局底层背景 和 sgqYanXue 完全一致 */
body {
    background: #1A2B3D !important;
}

/* 2. 顶部导航栏 完全复刻石拱桥技艺页面顶部样式 */
header {
    background: rgba(42,74,92,0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(212,178,118,0.1) !important;
    height: 75px !important;
}
/* 终极强覆盖：所有标题/导航文字强制白色 + hover金色 */
/* 1. 全局重置所有a标签颜色 */
a,
a:link,
a:visited,
a:hover,
a:active {
  color: #ffffff !important;
}

/* 2. 导航栏所有链接（含嵌套） */
header a,
.nav-wrap a,
.nav-menu a,
.nav-item a,
.logo-text,
.site-title {
  color: #ffffff !important;
}

/* 3. 标题类（h1~h6） */
h1, h2, h4, h5, h6,
.page-title,
.section-title,
.card-title {
  color: #ffffff !important;
}

/* 4. hover保持金色（你原来的交互） */
header a:hover,
.nav-wrap a:hover,
.nav-menu a:hover,
.nav-item a:hover {
  color: #D4B276 !important;
}
/* 导航栏默认字体颜色：白色 */
header a,
.nav-menu a,
.nav-wrap a {
  color: #ffffff !important;
}

/* 鼠标移上去：字体变黑色（其余不动） */
header a:hover,
.nav-menu a:hover,
.nav-wrap a:hover {
  color: #000000 !important;
}
/* 时间轴容器 */
.timeline-section {
  width: 100%;
  padding: 30px 20px;
  background: #2A4A5C;
  margin-bottom:60px;
  border: 1px solid var(--gold);
  border-radius: 16px;
}

/* 时间轴主体 */
.timeline {
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
}

/* ————————————————————
   时间轴横线（居中）
———————————————————— */
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 3px;
  background: #D4B276;
  z-index: 1;
  transform: translateY(-50%);
}

/* ————————————————————
   右侧箭头（绝对居中！）
———————————————————— */
.timeline::after {
  content: '➤';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #D4B276;
  z-index: 2;
}
/* 节点 */
.timeline-item {
  position: relative;
  width: 10%;
  display: flex;
  justify-content: center;
  z-index: 3;
}

/* 圆点（居中在轴线上） */
.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #D4B276;
  border: 3px solid #2A4A5C;
  z-index: 4;
}

/* 上方：时代 */
.timeline-top {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  color: #D4B276;
  white-space: nowrap;
}
/* 时间轴小标题 */
.timeline-title {
  text-align: center;
  color: #D4B276;
  font-size: 16px;
  margin: 0 0 20px 0;
  font-weight: bold; /* 已加粗 */
  width: 100%;
}
/* 下方：桥名（可点击） */
.timeline-bottom {
  position: absolute;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}
.timeline-bottom:hover {
  color: #D4B276;
}
/* 时间轴桥名默认 */
.timeline-bottom {
  position: absolute;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 20px;
}
/* 鼠标悬浮胶囊 */
.timeline-bottom:hover {
  background-color: #D4B276;
  color: #2A4A5C;
  box-shadow: 0 0 8px rgba(212,178,118,0.5);
}
/* 点击选中常驻胶囊 */
.timeline-bottom.active {
  background-color: #D4B276;
  color: #2A4A5C;
  box-shadow: 0 0 8px rgba(212,178,118,0.5);
}
/* 轮播容器 */
.top-banner-slider {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 16px;
    border: 1px solid #D4B276;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 60px;
    margin-top:20px;
    background: #2A4A5C;
}

/* 轮播项 */
.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}
.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

/* 图片正常显示 */
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

/* -------- 文字一定显示！-------- */
.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* 保证在最上层 */
    pointer-events: none;
}
.banner-text {
    position: absolute;
    /* 核心修改：把 right 改为 left，整体左移到桥前空白区 */
    left: 180px;
    top: 112%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center; /* 整体内容水平居中 */
    gap: 5px; /* 标题和正文上下间距 */
    width: 800px; /* 文本总宽度 */
}

/* 统一宋体字体 */
.banner-text h2,
.banner-text p {
    font-family: "SimSun", "songti", serif !important;
    text-shadow: none !important;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    margin: 0;
}

/* 大标题：加粗、深棕墨 */
.banner-text h2 {
    font-size: 32px;
    font-weight: bold;
    color: #3A2716 !important;
    text-align: center;
    line-height: 1.2;
}

/* 正文：最深稳重墨色，清晰复古 */
.banner-text p {
    font-size: 18px;
    color: #2C1F10 !important;
    letter-spacing: 1px;
    text-align: justify;
    text-indent: 2em;
    line-height: 1.5;
}
/* 箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    user-select: none;
}
.banner-arrow.prev { left: 20px; }
.banner-arrow.next { right: 20px; }
.banner-arrow:hover { background: #D4B276; color: #000; }

/* 圆点 */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}
.dot.active { background: #D4B276; }