@charset "utf-8";
/*
  页面：https://yzcity.gov.cn/xyb/index.shtml（"湘易办"超级服务端专题）
  方式：纯 CSS 媒体查询覆盖，不改 HTML / 不改 JS，只写 max-width
  断点：1300px 容器流式化 / 1100px 单列+删背景 / 680px 手机细节
  部署：必须放在最后一个样式表之后。本页最后一个 CSS 是
        /default/xhtml/css/commonfooter.css（页脚 .ewmul 内，第 790 行），
        建议追加到该文件末尾，或用 <link> 置于其后。
        若追加进 /xyb/xhtml/css/index.css，会被后加载的
        /cnyz/xhtml/css/index.css 覆盖，伪元素与颜色会失效。
  豁免：.fbfs 区块（视频轮播，JS 写死 frameWidth=1100）按要求不做任何适配，
        本文件不含任何 .fbfs 选择器；仅靠 html/body 的 overflow-x 兜底避免整页横滚。
*/

/* 横向滚动兜底：.fbfs 豁免后其 1100px 宽度由外层裁切，不影响其它区块 */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* ============================================================
   第一档 1300px：固定宽容器改流式
   ============================================================ */
@media only screen and (max-width: 1300px) {
  /* 专题通知容器（.zttz 自身即 .contian）
     注意：此处不能加左右 padding。三卡并排需 346*3+30*2=1098px，
     容器可用宽必须保持 1100px，否则 1280 笔记本上第三张会掉行。 */
  .zttz.contian {
    width: auto;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  /* 活动情况内层容器：不能写全局 .contian，避免波及豁免区块 .fbfs */
  .hdqk .contian {
    width: auto;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  /* 标题图片 1100×61 → 自适应 */
  .hdqk-title {
    width: auto;
    height: auto;
  }
  .hdqk-title img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 友情链接条 1190px → 流式 */
  .yyqlj {
    min-width: 0;
    height: auto;
  }
  .yyqlj > div {
    width: auto;
    max-width: 1190px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  /* 页脚 1190px → 流式（仅解除最小宽度与固定高度，内部视觉不变） */
  .yfooter {
    min-width: 0;
    height: auto;
  }
  .yfc {
    width: auto;
    max-width: 1190px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
}

/* ============================================================
   第二档 1100px：三栏/两栏转单列，删除装饰背景
   ============================================================ */
@media only screen and (max-width: 1100px) {
  /* 春节装饰背景（1920×1379）+ 120px 顶部留白，手机端移除 */
  body {
    background: #f7f7f7 !important;
    background-image: none !important;
    padding-top: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
      "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1",
      "Helvetica Neue", Arial, sans-serif;
  }

  /* 转为单列后，容器补回左右留白（第一档刻意不加，避免挤压并排卡片） */
  .zttz.contian,
  .hdqk .contian {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 漂浮广告（floatAdv.js 动态定位）一律隐藏 */
  #img {
    display: none !important;
  }

  /* logo：left:410px 绝对定位会顶出屏幕，改回文档流居中 */
  .logo {
    position: static;
    height: auto;
    text-align: center;
    padding: 32px 0 8px;
  }
  .logo img {
    height: 44px;
    width: auto;
  }

  /* 首屏主视觉：1920×582 背景图承载标题与说明文字，小屏删除后补回标题 */
  .banner {
    height: auto !important;
    background: linear-gradient(180deg, #e8f4fd 0%, #f7fbfe 100%) !important;
    overflow: visible;
    padding: 20px 18px 26px;
    box-sizing: border-box;
  }
  .banner::before {
    content: "湘易办";
    display: block;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #d8261c;
    letter-spacing: 6px;
    line-height: 1.3;
  }
  .banner::after {
    content: "超级服务端";
    display: block;
    text-align: center;
    font-size: 17px;
    color: #1f6fd0;
    letter-spacing: 8px;
    margin-top: 6px;
  }

  /* 专题通知：三张 346×140 卡片改单列 */
  .zttz {
    height: auto;
    padding-top: 18px;
  }
  .zttz .li {
    display: block;
    float: none;
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-bottom: 12px;
    padding: 18px 20px;
    box-sizing: border-box;
    background: #4a9ae8 !important;
    background-image: none !important;
    border-radius: 8px;
    line-height: 26px;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(26, 111, 196, 0.18);
  }
  .zttz .li:last-child {
    margin-bottom: 0;
  }

  /* 活动情况：删浅蓝底图，610px 固定高改自适应 */
  .hdqk {
    height: auto !important;
    background: #f2f8fe !important;
    background-image: none !important;
    padding: 24px 0 30px;
  }
  .hdqk ul li {
    float: none;
    width: 100%;
    height: auto;
    margin-top: 15px;
    padding-bottom: 40px;
    box-sizing: border-box;
    background: #fff !important;
    background-image: none !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(26, 111, 196, 0.1);
  }
  .hdqk ul li:nth-of-type(even) {
    margin-left: 0;
  }
  .hdqk ul .title {
    font-size: 18px;
    line-height: 1.5;
    padding: 16px 16px 6px;
  }
  .hdqk ul .context {
    font-size: 14px;
    line-height: 26px;
    padding: 4px 16px 0;
  }
  .hdqk ul .more {
    bottom: 14px;
    right: 16px;
  }

  /* "更多+"按钮：绝对定位改回文档流居中 */
  .morep {
    position: static;
    display: block;
    width: 129px;
    height: 40px;
    margin: 22px auto 0;
    line-height: 40px;
  }

  /* 友情链接：5 个下拉框改整行排列 */
  .yyqlj {
    padding: 12px 0 8px;
    box-sizing: border-box;
  }
  .yyqlj .select {
    float: none;
    width: 100%;
    margin: 0 0 8px;
  }
  .yyqlj .select dt {
    width: 100%;
    box-sizing: border-box;
    background-position: right 12px center;
    white-space: normal;
  }
  .yyqlj .select dd {
    width: 100%;
    box-sizing: border-box;
  }
  .yyqlj .select dd ul {
    width: auto;
  }

  /* 页脚：三块内容由横排改纵向堆叠 */
  .yfooter {
    padding-bottom: 20px;
    box-sizing: border-box;
  }
  .yfc ul {
    width: 100%;
    float: none;
    padding-top: 24px;
  }
  .yfc li.ydb {
    margin-top: 0;
  }
  .yfc li.yzc {
    width: auto;
  }
  .yfp {
    width: 100% !important;
    float: none;
    padding-top: 12px;
  }
  .yfp div {
    height: auto;
    line-height: 28px;
  }
  .ewmul {
    float: none !important;
    width: 100%;
    overflow: visible;
    padding-top: 10px;
    box-sizing: border-box;
  }
  .ewm {
    width: 25%;
    margin-right: 0;
    box-sizing: border-box;
  }
  .ewm span {
    font-size: 12px;
    line-height: 18px;
  }
}

/* ============================================================
   第三档 680px：手机端字号与间距
   ============================================================ */
@media only screen and (max-width: 680px) {
  .logo {
    padding: 26px 0 6px;
  }
  .logo img {
    height: 38px;
  }

  .banner {
    padding: 16px 15px 22px;
  }
  .banner::before {
    font-size: 26px;
    letter-spacing: 4px;
  }
  .banner::after {
    font-size: 15px;
    letter-spacing: 6px;
  }

  .zttz.con {
    margin-top: 22px;
  }
  .zttz {
    padding-top: 0;
  }
  .zttz .li {
    font-size: 14px;
    line-height: 24px;
    padding: 15px 16px;
  }

  .hdqk {
    padding: 18px 0 24px;
  }
  .hdqk ul .title {
    font-size: 16px;
    padding: 14px 14px 4px;
  }
  .hdqk ul .context {
    font-size: 13px;
    line-height: 24px;
    padding: 2px 14px 0;
  }
  .hdqk ul .more {
    font-size: 13px;
    bottom: 12px;
    right: 14px;
  }

  .yfp p {
    font-size: 12px;
    line-height: 22px;
  }
  .ewm span {
    font-size: 11px;
  }
}
