/* ================================================================
   线路详情页：行程内容宽度调整 + 左侧日期锚点导航
   适用：PC 端线路详情（.xl2 .show .infoMain）
   日期：2026-11-25
   ================================================================ */

/* ---------- 1. 行程主栏宽度 ---------- */
/* 左栏 860 + 30 间距 + 右栏 280 + 30 右边距 = 1200 */
.xl2 .show .infoMain .leftBox {
  width: 860px;
}
.xl2 .mainCon .navBox {
  width: 860px !important;
}
.xl2 .xl2b {
  width: 820px;
}
.xl2 .show .infoMain .rightBox {
  width: 280px;
  margin-right: 30px;
}
.xl2 .show .infoMain .bCity {
  width: 280px !important;
}
/* 行程配图跟随加宽后正文，避免右侧留白 */
.sef2 .preview {
  width: 100% !important;
}
.sef2 .preview_a,
.sef2 .preview_b {
  width: 49.4%;
}
.sef2 .preview_a img,
.sef2 .preview_b img,
.sef2 .preview_c img {
  -o-object-fit: cover;
  object-fit: cover;
}

/* 在行程介绍内部左侧留出定位栏（宽度 70px） */
#feeincludes .sef2 .trips {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 70px;
}

/* ---------- 2. 左侧日期锚点导航 ---------- */
.tour-daynav {
  position: fixed;
  left: 0;
  top: 100px;
  z-index: 950;
  width: 68px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.18s ease;
  transition: opacity 0.18s ease;
  will-change: top;
}
.tour-daynav.is-show {
  opacity: 1;
  visibility: visible;
}
.tour-daynav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  max-height: calc(100vh - 150px);
  padding: 4px 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.tour-daynav__list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.tour-daynav__item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 68px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: #f4f4f4;
  color: #4a4a4a;
  font-size: 15px;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  -webkit-transition: background 0.18s ease, -webkit-box-shadow 0.18s ease;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}
.tour-daynav__item:hover {
  background: #ececec;
}
.tour-daynav__item:focus {
  outline: none;
}
.tour-daynav__item.is-active {
  background: #ff6a00;
  color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* ---------- 3. 行程时间轴：线条更细、改灰，日期圆圈缩小并去掉数字 ---------- */
.xl2 .xl2b .tripList {
  border-left: 1px dotted #ededed;
  margin-left: 30px;
  padding-left: 30px;
}
.xl2 .xl2b .tripList .module i {
  width: 14px;
  height: 14px;
  left: -37px;
  top: 1px;
  background-color: #ededed;
  color: #fff;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}
.xl2 .xl2b .tripList .title i {
  line-height: 14px;
  font-size: 0;
  color: transparent;
}
/* 每日标题前的「第N天」作为标题文字，不加标签底色 */
.xl2 .xl2b .tripList .title.module h3[data-day-cn]::before {
  content: "第" attr(data-day-cn) "天";
  margin-right: 6px;
}

/* 开始/结束节点保留空心灰点，不再显示图标 */
.xl2 .xl2b .tripList .title i[class] {
  font-size: 0;
  color: transparent;
}
/* 时间轴只在首尾节点之间显示，不向上/向下冒头 */
#feeincludes .trips > .tripList:first-child {
  position: relative;
}
#feeincludes .trips > .tripList:first-child::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 3px;
  height: 11px;
  background: #fff;
  z-index: 1;
}
#feeincludes .trips > .tripList:last-child {
  position: relative;
}
#feeincludes .trips > .tripList:last-child::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 25px;
  bottom: 0;
  width: 3px;
  background: #fff;
  z-index: 1;
}

/* 窄屏没有左侧留白，隐藏导航，避免压住正文 */
@media screen and (max-width: 1320px) {
  .tour-daynav {
    display: none !important;
  }
}
