/* 附加样式只作用于滨海名片、畅达交通的切换区域。 */
.section2 .bh-panel-hidden,
.section8 .bh-panel-hidden {
  display: none;
}

/* 名片入口沿用原图标和文字样式，关闭点击后出现的焦点框。 */
.section2 .mljm_link_box [role="tab"]:focus {
  outline: none;
}

/* 交通入口为键盘操作保留焦点提示。 */
.section8 .bt-box-tit [role="tab"]:focus-visible {
  outline: 2px solid #3573b5;
  outline-offset: -2px;
}

/* 五个入口共用原“了解更多”的大小和位置。 */
.section2 .travel_more .bh-overview-more-item,
.section8 .travel_more .bh-traffic-more-item {
  width: 100%;
  height: 100%;
}

/* 去掉地图的外部阴影，让淡化的边缘直接叠在页面背景上。 */
.section8 .bh-traffic-stage {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: none;
}

.section8 .cdjt_con {
  box-shadow: none;
}

/* IE11 等旧浏览器用接近底图的浅色内阴影柔化边缘。 */
.section8 .cdjt_con::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-shadow: inset 0 0 22px 10px #f1f6f5;
  pointer-events: none;
}

/* 支持透明遮罩的浏览器让地图四边淡出。说明框位于图片之上。 */
@supports (mask-composite: intersect) {
  .section8 .cdjt_con > img {
    height: 100%;
    object-position: center top;
    mask-image: linear-gradient(to right, transparent, #000 34px, #000 calc(100% - 34px), transparent),
                linear-gradient(to bottom, transparent, #000 32px, #000 calc(100% - 32px), transparent);
    mask-composite: intersect;
  }

  .section8 .cdjt_con::after {
    content: none;
  }
}

.section8 .cdjt_con .popover {
  z-index: 1;
}

.section8 .bt-box-tit [role="tab"] {
  display: block;
  width: 100%;
  height: 100%;
}

.section8 .bh-detail-expanded {
  max-height: 200px;
  overflow-y: auto;
}

.section8 .bh-detail-expanded p {
  display: block;
  overflow: visible;
}

/* 跟随系统的减少动态效果设置。动画本身沿用 sq_index.css 的进屏样式。 */
@media (prefers-reduced-motion: reduce) {
  .section8 .animate-slide-in-left,
  .section8 .animate-slide-in-right {
    animation: none;
    opacity: 1;
  }
}

/* 核心资源整组按比例收紧，两排菱形保持原来的交错间距。 */
.section3 .culture_box .pic,
.section3 .culture_box .pic img {
  width: 260px;
  height: 260px;
}

/* 固定坐标覆盖原逐张动画写入的行内位置。 */
.section3 .culture_box .pic:nth-child(1) { top: 0 !important; left: 145px !important; }
.section3 .culture_box .pic:nth-child(2) { top: 136px !important; left: 280px !important; }
.section3 .culture_box .pic:nth-child(3) { top: 0 !important; left: 417px !important; }
.section3 .culture_box .pic:nth-child(4) { top: 136px !important; left: 552px !important; }
.section3 .culture_box .pic:nth-child(5) { top: 0 !important; right: 262px !important; }
.section3 .culture_box .pic:nth-child(6) { top: 136px !important; right: 124px !important; }

/* 整屏滚动插件切换 active 后，卡片组一起淡入并轻轻上移。
   will-change 提前把整组卡片提升为合成层，避免进场淡入时逐帧重绘大图造成卡顿。 */
.section3 .culture_box {
  height: 397px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 1.8s ease, transform 1.8s ease, visibility 0s linear 1.8s;
  will-change: opacity, transform;
}


.section3.active .culture_box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: .1s, .1s, 0s;
}

@media (prefers-reduced-motion: reduce) {
  .section3 .culture_box {
    transform: none;
    transition: none;
  }
}
