/* ==========================================================================
   2026 进口博览会 丰田专题页 · 手机端 H5
   设计稿 750px（@2x），代码按 375px 逻辑宽度还原，其余宽度自适应
   --------------------------------------------------------------------------
   注意：本页由手机站模板 header.php / footer.php 包裹，
        模板里有全局重置（img 等元素样式），因此本文件所有规则都收敛在
        #ciie26m 作用域内，不写 body / html / 通配符，避免影响站点头部页脚。
   KV 新闻条按设计稿 750 稿的实际尺寸写，用 --k（= 页面宽度 / 750）等比缩放，
   保证在任何手机宽度下都稳贴 KV 图片底边。
   ========================================================================== */

/* ---------- 作用域内的局部重置 ---------- */
#ciie26m,
#ciie26m * {
  box-sizing: border-box;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

#ciie26m {
  --k: .5;          /* 750 稿的缩放比，JS 会按实际页面宽度更新 */
  width: 100%;
  color: #1f1f1f;
  font-size: 14px;
  line-height: 1.5;
}

#ciie26m .ciie26m-page {
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  /* 用 clip 代替 hidden：避免横向溢出，又不会产生滚动容器（否则内部 sticky 会失效） */
  overflow-x: clip;
  overflow-y: visible;
}

#ciie26m img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

#ciie26m a {
  text-decoration: none;
  color: inherit;
}

#ciie26m button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
}

/* ---------- KV（图片） ---------- */
#ciie26m .ciie26m-kv {
  position: relative;
  box-sizing:border-box; padding-top:70px;
}

#ciie26m .ciie26m-kv__img {
  width: 100%;
}

/* KV 底部新闻条（设计稿 750 稿：left 24 / right 25 / bottom 26 / 702 × 165） */
#ciie26m .ciie26m-kv__card {
  position: absolute;
  right: calc(25px * var(--k));
  bottom: calc(26px * var(--k));
  display: flex;
  align-items: flex-start;
  width: calc(702px * var(--k));
  height: calc(165px * var(--k));
  padding: calc(20px * var(--k));
  border-radius: calc(10px * var(--k));
  background: #fff;
  box-shadow: 0 calc(2px * var(--k)) calc(12px * var(--k)) rgba(20, 50, 80, .10);
}

/* banner.jpg 缩略图：CSS 圆角 */
#ciie26m .ciie26m-kv__thumb {
  flex: 0 0 auto;
  width: calc(250px * var(--k));
  height: calc(125px * var(--k));
  border-radius: calc(8px * var(--k));
  object-fit: cover;
}

#ciie26m .ciie26m-kv__info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-self: stretch;
  margin-left: calc(26px * var(--k));
}

#ciie26m .ciie26m-kv__text {
  margin-top: calc(-6px * var(--k));
  font-size: calc(28px * var(--k));
  font-weight: 400;
  line-height: calc(36px * var(--k));
  color: #1f1f1f;
}

#ciie26m .ciie26m-kv__more {
  display: flex;
  align-items: center;
  align-self: flex-end;
  margin-top: auto;
  margin-bottom: calc(2px * var(--k));
  font-size: calc(25px * var(--k));
  line-height: 1;
  color: #3d8ec5;
}

#ciie26m .ciie26m-kv__play {
  width: 0;
  height: 0;
  margin-right: calc(6px * var(--k));
  border-left: calc(11px * var(--k)) solid currentColor;
  border-top: calc(8px * var(--k)) solid transparent;
  border-bottom: calc(8px * var(--k)) solid transparent;
}

/* ---------- 一级栏目 ---------- */
/* 定位锚点：占位 0，不吸附，JS 用它取一级菜单的真实文档位置 */
#ciie26m .ciie26m-pin-anchor {
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* 向下滑动超过原位置后吸附在站点固定头部（70px）下方，往回滑到原位即恢复正常 */
#ciie26m .ciie26m-tabs {
  position: sticky;
  top: 70px;
  z-index: 20;
  display: flex;
  height: 41.5px;
  background: #fff;
}

#ciie26m .ciie26m-tab {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .2px;
  text-align: center;
  color: #1f1f1f;
  background: var(--tab-tint);
  transition: background-color .25s ease, color .25s ease;
}

#ciie26m .ciie26m-tab[aria-selected="true"] {
  background: var(--tab-color);
  color: #fff;
}

/* ---------- 二级栏目（横向可拖动） ---------- */
/* 紧跟一级菜单一起吸附：70px（站点头部）+ 41.5px（一级菜单高度） */
#ciie26m .ciie26m-subnav-wrap {
  position: sticky;
  top: 111.5px;
  z-index: 19;
  padding: 13px 0 14px;
  background: #fff;
}

#ciie26m .ciie26m-subnav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 11.5px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#ciie26m .ciie26m-subnav::-webkit-scrollbar {
  display: none;
}

#ciie26m .ciie26m-subnav__item {
  position: relative;
  flex: 0 0 85px;
  width: 85px;
  height: 41.5px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--item-tint);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: #333;
  transition: background-color .25s ease, color .25s ease;
}

#ciie26m .ciie26m-subnav__item.is-active {
  background: var(--sub-color);
  color: #fff;
}

/* 选中项底部的小三角 */
#ciie26m .ciie26m-subnav__item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 0;
  height: 0;
  margin-left: -7px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid var(--sub-color);
}

/* 左右箭头 */
#ciie26m .ciie26m-subnav__arrow {display:none;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 10px;
  height: 30px;
  padding: 0;
  margin-top: -15px;
  opacity: .85;
}

#ciie26m .ciie26m-subnav__arrow--prev {
  left: 0;
}

#ciie26m .ciie26m-subnav__arrow--next {
  right: 0;
}

/* 无可滚动内容时隐藏对应箭头 */
#ciie26m .ciie26m-subnav__arrow.is-hidden {
  display: none;
}

#ciie26m .ciie26m-subnav__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -4px 0 0 -2px;
  border: 1.5px solid var(--sub-color);
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(-135deg);
}

#ciie26m .ciie26m-subnav__arrow--next::before {
  margin-left: -5px;
  transform: rotate(45deg);
}

/* ---------- 内容区 ---------- */
#ciie26m .ciie26m-panel {
  margin: 0 0 /*11.5px*/;
  padding: 15px 0px 30px 0px;
  border-radius: 0px;
  /*background: linear-gradient(180deg, #e8f3f9 0%, #c7dcef 50%, #9dc4e3 100%);*/
}

#ciie26m .ciie26m-panel__title {
  position: relative;
  margin-bottom: 18.5px;
}

#ciie26m .ciie26m-panel__title img {
  width: 100%;
}

#ciie26m .ciie26m-panel__title-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .5px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(23, 92, 143, .18);
  white-space: nowrap;
}

#ciie26m .ciie26m-panel__body img {
  width: 100%;
  height: auto;
}

/* 底部留白 */
#ciie26m .ciie26m-page::after {
  content: "";
  display: block;
  height: 13px;
}
