/**
 * /festival.html 中国生态旅游节 手机适配层（2026-11-12，"快速建页模式"：布局齐 + 不串 ID）。
 *
 * 桌面版布局在共享的 /static/css/style.css（多页共用，只读不改）+ public.css +
 * bootstrap3 网格；骨架是烘焙 HTML（festival.body.html）。本页无独立 page-css 桌面层
 * （tourism-festival.css 是模板 <style> 提取物，几乎全是 Evernote 剪辑器垃圾 + 字体），
 * 所以本文件就是这页唯一的手写覆盖层，只经 TourismFestivalPage 的 useHead 挂载，
 * 不影响其它引用 style.css 的页面。
 *
 * ⚠️ 选择器全部双类/双 id 锚定：style.css、public.css 与本文件同为全局作者层，
 *   平头 (0,1,x) 撞上就是平分听顺序（dev 下 SFC chunk 注入在后）—— (0,2,x) 稳赢。
 * ⚠️ swiper slide 里的 <img> 带内联 width:615px/1120px、reportimg 带 353px——内联样式
 *   必须 !important 才压得住（值照抄遗留比例，只改容器适配）。
 * ⚠️ investment 页脚（#upFooter*）已由全局 mobile.css ≤750 分段处理，这里不重复。
 *
 * 区块：banner 头图 / header 锚导航(6 条,滚动吸顶) / #news(左 615 轮播+右 460 列表)
 *       / #marvellous(1120×600 大图轮播+箭头) / #tour(5×208 float) / #report(bootstrap
 *       col-xs-4 三卡) / .contact(两列联系方式) / footer。
 */
@media (max-width: 750px) {
  .navlist {
    display: none;
  }
  #news{
    padding:12px;
  }
  .title.title{
    background-size:60px;
  }
  /* ---------- 头图：min-width:1120 是横滚真凶，img 本身已 width:100% ---------- */
  .banner.banner {
    min-width: 0;
    height: 240px;
  }
  .banner.banner > img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  /* ---------- 锚导航：6 条 22 号字横排装不下 → 横滚（吸顶 .fixed 机制不动） ---------- */
  .header .navlist.navlist {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navlist.navlist > li {
    line-height: 44px;
    flex: none; /* 不收缩才能滚 */
  }
  .navlist.navlist > li > a {
    padding: 0 14px;
    font-size: 15px;
    white-space: nowrap;
  }

  /* ---------- 区块壳：题图条 / 边距 ---------- */
  .header_bg.header_bg {
    padding: 0 12px;
  }
  .title.title {
    height: 56px;
    line-height: 56px;
    font-size: 18px;
    padding: 0 40px;
  }
  #news#news {
    margin-top: 14px;
  }
  .newcontent.newcontent {
    margin-top: 16px;
    /* layout.css:52 的 .clear{height:0;line-height:0;font-size:0} 是 float 时代 clearfix hack：
       桌面双 float 溢出靠它撑位，手机纵排（float 已关）必须还原高度，否则新区块压进本块内容
       （实测 marvellous 轮播 y=428 叠到 news_right y=548 上） */
    height: auto;
    line-height: normal;
    font-size: inherit;
  }

  /* ---------- #news：615+460 双 float → 纵排；轮播图 fluid ---------- */
  .news_left.news_left {
    float: none;
    width: auto;
  }
  .news_right.news_right {
    float: none;
    width: auto;
    margin-top: 18px;
  }
  .news_left .swiper-slide img {
    width: 100% !important; /* 内联 615×329 */
    height: auto !important;
    display: block;
  }
  #newsbanner .swiper-slide.swiper-slide > p {
    font-size: 14px;
    line-height: 36px;
    padding: 0 46px 0 10px; /* 右侧留圆点区（pagination 右对齐 !important 在 style.css，保留） */
  }
  /* 右侧列表：绝对定位日期格压字号，链接让位缩到 74 */
  .newlist.newlist > li > a {
    padding-left: 74px;
  }
  .newlist.newlist .date .time {
    font-size: 20px;
    line-height: 22px;
  }
  .newlist.newlist .date > p {
    font-size: 14px;
    text-align: center;
    line-height: 20px;
  }

  /* ---------- #marvellous：大图轮播 + 箭头 + 题注 ---------- */
  #marvellous{
    margin-top: 20px;
    padding-top:20px;
    padding-bottom: 20px;
  }
  #marvelbanner#marvelbanner {
    margin-top: 16px;
  }
  /* 四张 slide 真实比例 1.49~3.05（963×645/993×663/1080×608/1920×630），
     遗留内联 "1120×600" 是假比例；auto 高会让各 slide 高度不齐，横幅火龙图下方
     留空洞、圆点悬空（用户 2026-11-12 截图指认）。统一 1.5 定比盒 + cover 居中裁 */
  #marvelbanner .swiper-slide.swiper-slide {
    aspect-ratio: 3 / 2;
  }
  #marvelbanner .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  #marvelbanner .marvel-btn {
    width: 20px;
    height: 34px;
    margin-top: -17px;
  }
  #marvelbanner .marvel-btn::after {
    font-size: 28px; /* SFC 全局块 (0,1,1)，这里 (1,2,1) 稳赢 */
  }
  .bannerfont.bannerfont {
    font-size: 14px;
    margin-top: 14px;
    padding: 0 60px;
    line-height: 1.5;
  }

  /* ---------- #tour：5×208 float → 两列网格 ----------
     ⚠️ 网格要打在 .tourlist 里的 **ul.clear** 上：li 不是 .tourlist 直接子级
     （`<div class="tourlist"><ul class="clear"><li>`），容器级选择器 > li 选空，
     grid 只剩一个子项（ul），ul 高 0、float 的 li 溢出压到下一区块（实测首验抓到） */
     #tour{
      padding: 20px 0;
     }
  .tourlist.tourlist {
    margin-top: 20px;
  }
  .tourlist{
    padding:0 12px;
  }
  .tourlist .clear.clear {
    display: flex;
    flex-wrap: nowrap;
    
    /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
    gap: 14px;
    height: auto; /* 同 .newcontent：.clear 的 height:0 hack 必须解，否则网格行高 0 */
    line-height: normal;
    font-size: inherit;
    overflow-x: scroll;
  }
  .tourlist .clear.clear a{
    display: block;
  }
  .tourlist .clear.clear > li {
    float: none;
    width: 156px;
    min-width: 156px;
    margin-right: 0;
    height:260px;
  }
  .avatar.avatar img {
    width: 100%;
    height: 200px;
    display: block;
  }
  .tourlist.tourlist li h1 {
    font-size: 14px;
    margin: 10px 0 6px;
  }
  .tourlist.tourlist li p {
    font-size: 13px;
    line-height: 20px;
  }

  /* ---------- #report + .contact：bootstrap col-xs-4 永远三/两列 → 纵向堆叠 ---------- */
  #report#report {
    padding: 20px 0;
  }
  .reportlist.reportlist {
    margin-top: 16px;
  }
  .contact.contact {
    margin-top: 20px;
  }
  .contact.contact h1 span {
    font-size: 16px;
  }
  .col-xs-4.col-xs-4 {
    float: none;
    width: 100%;
    margin-bottom: 20px;
  }
  .reportimg.reportimg img {
    width: 100% !important; /* 内联 353×228 */
    height: auto !important;
    display: block;
  }
  .reportlist .reportcontent h1 {
    font-size: 15px;
    line-height: 32px;
    margin: 8px 0;
  }
  .reportlist .reportcontent p {
    font-size: 13px;
    line-height: 22px;
    height: 66px; /* 3 行 clamp 等比压缩 */
  }
  .newstitle h1{
    font-size: 18px;
  }
  .newstitle>a{
    font-size: 14px;
  }
}
