 body {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      margin: 0;
      padding: 0;
      background-color: #f9f9f9;
    }

    .custom-header {
      background-color: #ff9624;
      padding: 10px 20px;
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .layui-logo {
      color: #fff;
      font-size: 24px;
      font-weight: bold;
    }
   .layui-logo a{
      color: #fff!important;
    text-decoration: dashed;
    }
    .menu-icon {
      display: none; 
      font-size: 24px;
      cursor: pointer;
      color: #fff;
    }

    .layui-nav {
      display: flex;
      align-items: center;
      margin: 0;
      padding: 0;
    }

    .layui-nav-item {
      list-style: none;
    }

    .layui-nav-item a {
      color: #fff;
      font-size: 16px;
      padding: 10px 15px;
      text-decoration: none;
      display: block;
      transition: background-color 0.3s ease;
    }

    .layui-nav-item a:hover {
      background-color: #004d40;
    }

    .layui-container {
      padding: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      margin-top: 20px;
    }

    h1 {
      font-size: 32px;
      font-weight: bold;
      color: #333;
      margin-bottom: 10px;
    }

    .meta-info {
      color: #666;
      font-size: 14px;
      margin-bottom: 20px;
    }

    .meta-info span {
      margin-right: 10px;
    }

    .content {
      font-size: 16px;
      color: #333;
      line-height: 1.8;
    }



.content img {
    display: block;           /* 确保图片是块级元素 */
    width:650px;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;        /* 上下边距20px，左右自动（居中） */
    text-align: center;       /* 这个对img本身无效，可以去掉 */
}

    .content p {
      margin-bottom: 20px;
    }

    .content ul {
      margin-bottom: 20px;
      padding-left: 20px;
    }

    .content ul li {
      margin-bottom: 10px;
    }

    .related-articles {
      margin-top: 40px;
    }

    .related-articles h3 {
      font-size: 24px;
      font-weight: bold;
      color: #333;
      margin-bottom: 20px;
    }

    .related-articles .layui-card {
      margin-bottom: 20px;
    }

    .related-articles .image-container {
      position: relative;
      height: 200px;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .related-articles .image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .related-articles .layui-card-body {
      padding: 15px;
    }

    .related-articles .layui-card-body h4 {
      font-size: 18px;
      font-weight: bold;
      color: #333;
      margin-bottom: 10px;
    }

    .related-articles .layui-card-body p {
      font-size: 14px;
      color: #666;
    }

    @media screen and (max-width: 768px) {
      .menu-icon {
        display: block; 
      }


.content img {
    display: block;           /* 确保图片是块级元素 */
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;        /* 上下边距20px，左右自动（居中） */
    text-align: center;       /* 这个对img本身无效，可以去掉 */
}


      .layui-nav {
        display: none;
        position: absolute;
        top: 78px;
        right: 0px;
        background-color: #00796b;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        width: 190px;
        padding: 10px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
      }

      .layui-nav.active {
        display: flex; 
        opacity: 1;
        transform: translateY(0);
      }

      .layui-nav-item a {
        font-size: 16px;
        padding: 12px 20px;
        border-radius: 4px;
        margin: 4px 10px;
      }

      .layui-nav-item a:hover {
        background-color: #004d40;
      }
    }

    @media screen and (min-width: 768px) {
      .layui-nav {
        display: flex; 
      }

      .menu-icon {
        display: none;
      }
    }
.layui-favorite-btn {
            position: fixed;
            bottom: 40px;
            right: 20px;
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background-color: #fff;
            border: 1px solid #ccc;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
            transition: all 0.3s;
        }

.layui-favorite-btn a{
text-decoration: none;
}
.layui-favorite-btn i{color: #ff4500;}
.layui-favorite-top a{
text-decoration: none;
}

.layui-favorite-top {
            position: fixed;
            bottom:100px;
            right: 20px;
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background-color: #fff;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
            transition: all 0.3s;
        }

        .layui-favorite-btn:hover {
            background-color: #f2f2f2;
        }

        .layui-favorite-btn.favorited {
            color: #ff4500;
        }

.footer {
   border-top: 1px solid #ccc;
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
}
a{text-decoration: none;}
 .flex{display:flex;align-items: center;}
.layui-nav .layui-nav-item {
    line-height: 38px;
}


.ssbt{
    background: none;
    border: 0;
    padding: 0;
    margin: 10px 0;
}

a:active {
    color: inherit; /* 保持原有的颜色 */
    background-color: transparent; /* 背景色透明 */
    outline: none; /* 移除点击时的轮廓线 */
    text-decoration: none; /* 移除下划线 */
}



/* ===== 整体区域 ===== */
.related-cities {
  margin: 40px 0;
  padding: 0 12px;
}

.related-cities__title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 16px;
  padding-left: 10px;
  position: relative;
}

.related-cities__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background-color: #4CAF50;
  border-radius: 2px;
}

/* ===== 横向列表（移动端关键） ===== */
.related-cities__list {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 14px;
  list-style: none;
  margin: 0;
  -webkit-overflow-scrolling: touch; /* iOS 顺滑滚动 */
}

/* 隐藏滚动条 */
.related-cities__list::-webkit-scrollbar {
  display: none;
}

/* ===== 城市卡片 ===== */
.related-cities__item .city-card {
  width: 88px;                 /* 手机更友好 */
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px #4CAF5050;
  text-align: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* 图片优化（关键） */
.related-cities__item .city-card img {
  width: 100%;
  height: 64px;                /* 控制高度，避免长图 */
  object-fit: cover;
  object-position: center;
}

/* 城市名 */
.related-cities__item .city-name {
  display: block;
  padding: 6px 4px;
  font-size: 13px;
  color: #333;
  font-weight: 500;
  line-height: 1.2;
}

/* 当前城市 */
.related-cities__item.current .city-card {
  border: 2px solid #4CAF50;
}

/* ===== 下一站标签 ===== */
.next-label {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 6px;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(135deg, #4CAF50, #2196F3);
  border-radius: 10px;
}

/* ===== 连接线 & 距离 ===== */
.related-cities__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  flex-shrink: 0;
}

.related-cities__line .distance {
  font-size: 11px;
  color: #888;
  white-space: nowrap;
  margin-bottom: 2px;
}

/* 箭头 */
.arrow {
  width: 28px;
  height: 2px;
  background-color: #bbb;
  position: relative;
}

.arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #bbb;
  border-top: 2px solid #bbb;
  transform: rotate(45deg);
}

/* ===== Hover（移动端保留但弱化） ===== */
@media (hover: hover) {
  .related-cities__item.next .city-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(33, 150, 243, 0.25);
  }
}

/* ===== 平板 / 桌面适配 ===== */
@media (min-width: 768px) {
  .related-cities__item .city-card {
    width: 100px;
  }

  .related-cities__item .city-card img {
    height: 70px;
  }

  .related-cities__line {
    min-width: 72px;
  }

  .arrow {
    width: 40px;
  }

  .related-cities__title {
    font-size: 20px;
  }
}