*,*::before,*::after{box-sizing:border-box}
img,video,iframe,object,embed{max-width:100%;height:auto}
table{max-width:100%}
@media (max-width:768px){
html,body{overflow-x:hidden}
img{max-width:100%!important;height:auto!important}
}

/* ===== 8817 首页「昭通活动房图片/案例」横向滚动区修复（2026-11-05）=====
 * 原 metinfo 模板把缩略图内表格写死 width="700"，11 张 160px 图塞不进一行被折成多行网格；
 * 且 marquee 容器内联 COLOR:#ffffff 让标题继承白字（浅底上看不清）。
 * 以下用高优先级(#id)选择器覆盖，仅作用于首页这两个滚动容器，不动其它页面/源码内容。
 */
/* 1) 让内表格按内容展开成单行（覆盖 HTML width="700" 属性）*/
#marquee1_1 > table,
#marquee1_2 > table,
#demo4 > table,
#demo5 > table{ width:auto !important; }
/* 2) 单元格不换行，保持一行横向滚动 */
#marquee1 td,
#demo3 td{ white-space:nowrap; }
/* 3) 缩略图卡片固定宽度、标题单行不折行 + 暗色可见 */
#marquee1 .indeximg,
#demo3 .indeximg{ width:160px; margin:0 auto; }
#marquee1 .indeximg h2,
#demo3 .indeximg h2{
  display:block;
  width:160px;
  margin:4px 0 0;
  padding:0;
  font-size:13px;
  font-weight:lighter;
  line-height:20px;
  height:20px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#333;
}
/* 4) 缩略图统一固定尺寸：覆盖全局 img{height:auto}，恢复 metinfo 源码站 160×129 统一显示，
 *    消除行内各图因原生比例不同（240×180 / 240×156）导致的高度参差（120/104 不等）。
 *    仅作用于首页这两个滚动容器，不动其它页面/源码内容。 */
#marquee1 .indeximg img,
#demo3 .indeximg img{
  width:160px;
  height:129px;
  display:block;
  margin:0 auto;
}
