@charset "utf-8";
/* ==========================================================
   整站响应式样式（桌面 ≥1001px 保持原样；以下自动适配）
   【已归档】本文件规则已逐字节合并进 css.css 文件尾
   （RWD-RULES-MERGED-BY-SCRIPT-2026 段），全站不再单独引用。
   此处仅作源稿留存：如需回退，可恢复页面/模板引入本文件，
   并删除 css.css 中的合并段。
========================================================== */

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* 汉堡按钮（桌面隐藏，仅小屏显示） */
.mnav_btn {
  display: none;
}

/* ==================== ≤1000px 平板/手机 ==================== */
@media screen and (max-width: 1024px) {
  /* ---------- 全局 ---------- */
  body,
  body * {
    box-sizing: border-box;
  }
  body img {
    max-width: 100%;
  }

  /* 顶部：LOGO + 咨询热线自适应 */
  .top {
    height: auto;
  }
  .top1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    margin: 0;
    padding: 8px 10px;
  }
  .top1 > a {
    order: -1;
  }
  .top1 a h1,
  .top1 a h2 {
    width: auto;
    height: auto;
    margin: 0;
    display: block;
  }
  .top1 a h1 img,
  .top1 a h2 img {
    display: block;
    max-width: 50vw;
    height: auto;
  }
  .top1 > img,
  .top1 span img {
    display: none;
  }
  .top1 span {
    float: none;
    line-height: 1.4;
    font-size: 12px;
    white-space: nowrap;
  }
  .top1 span a {
    display: inline-block;
  }

  /* 顶部页标题行（首页 slogan / 内页栏目大标题） */
  body > h1 {
    font-size: 15px !important;
    line-height: 1.5;
    padding: 8px 6px !important;
  }

  /* ---------- 导航：汉堡菜单 ---------- */
  .dh {
    height: auto;
    position: sticky;
    top: 0;
    z-index: 999;
    background: #303919;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }
  .dh1 {
    position: relative;
    width: auto;
    height: 44px;
    margin: 0;
    background: none;
  }
  .mnav_btn {
    display: block;
    position: relative;
    height: 44px;
    line-height: 44px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    padding-left: 46px;
    user-select: none;
    -webkit-user-select: none;
  }
  .mnav_btn::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 22px;
    height: 2px;
    background: #fff;
    box-shadow:
      0 8px 0 #fff,
      0 16px 0 #fff;
  }
  .dh1_1 {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    margin: 0;
    padding: 6px 0 12px;
    background: rgba(48, 57, 25, 0.98);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  body.mnav-open .dh1_1 {
    display: flex;
  }
  .dh1_1 .nLi {
    width: 100%;
    height: auto;
  }
  .dh1_1 .nLi > span,
  .dh1_1 .nLi > h3 {
    float: none;
    width: 100%;
  }
  .dh1_1 .nLi > span > a,
  .dh1_1 .nLi > h3 > a {
    width: 100%;
    height: 42px;
    line-height: 42px;
    padding: 0 16px;
    text-align: left;
    font-size: 15px;
    background: none !important;
  }
  .dh1_1 .nLi > span > a::after,
  .dh1_1 .nLi > h3 > a::after {
    content: "▾";
    float: right;
    opacity: 0.7;
  }
  .dh1_1 .sub {
    display: none;
    position: static;
    width: 100%;
    left: auto;
    top: auto;
    padding: 0 0 6px;
    background: rgba(255, 255, 255, 0.12);
  }
  .dh1_1 .nLi.open > .sub {
    display: block;
  }
  .dh1_1 .sub a {
    line-height: 36px;
    padding-left: 30px;
    text-align: left;
    color: #eef0d5;
  }

  /* ---------- 首页主横幅（mobile 等比例缩放，不裁切） ---------- */
  /* SuperSlide 会把 .bd ul 再包一层 .tempWrap，这里整条链路高度全部交给 <img> 的自然比例决定 */
  .in_banner {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .in_banner .bd,
  .in_banner .bd .tempWrap,
  .in_banner .bd .tempWrap ul,
  .in_banner .bd .tempWrap ul li,
  .in_banner .bd .tempWrap ul li a {
    height: auto;
  }
  .in_banner .bd .tempWrap ul li {
    position: relative;
    background-image: none !important;
  }
  .in_banner .bd .tempWrap ul li picture {
    display: block;
  }
  .in_banner .bd .tempWrap ul li img {
    display: block;
    width: 100%;
    height: auto;
  }
  .in_banner .bd .tempWrap ul li a {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    line-height: normal;
  }
  .in_banner .hd {
    bottom: 4px;
  }

  /* ---------- 首页内容区大容器 ---------- */
  .in_gongzhuang,
  .in_sizhuang1,
  .in_fengge,
  .in_shenhua,
  .in_shejishi1,
  .in_gonglue1,
  .in_hezuo,
  .in_hezuo1 {
    width: auto;
    margin-left: 12px;
    margin-right: 12px;
  }
  .in_gongzhuang_bt,
  .in_sizhuang1_bt,
  .in_fengge_bt,
  .in_shenhua_bt,
  .in_gonglue1_bt,
  .in_hezuo_bt,
  .in_shejishi1_bt {
    height: 40px;
    background-size: 100% 100%;
  }

  /* 工装案例区：≤1000px 三列网格 */
  .in_gongzhuang {
    padding-top: 12px;
    padding-bottom: 20px;
    height: auto;
  }
  .in_gongzhuang1 {
    padding-top: 12px;
  }
  .in_gongzhuang1 ul {
    width: auto;
    display: flex;
    flex-wrap: wrap;
  }
  .in_gongzhuang1 ul li {
    float: none;
    width: 29%;
    flex: 0 0 auto;
    min-width: 0;
    box-sizing: border-box;
    height: auto;
    margin: 0 1.66% 24px;
    display: block;
  }
  .in_gongzhuang1 ul li:nth-child(4),
  .in_gongzhuang1 ul li:nth-child(4) a {
    display: block;
    flex: none;
    overflow: visible;
  }
  .in_gongzhuang1 ul li img,
  .in_gongzhuang1 ul li:nth-child(4) img,
  .in_gongzhuang1 ul li:nth-child(n + 6) img {
    width: 100%;
    height: auto;
    aspect-ratio: 320 / 210;
    object-fit: cover;
    display: block;
  }
  .in_gongzhuang1 ul li::after {
    display: none;
  }
  .in_gongzhuang1 ul li b,
  .in_gongzhuang1 ul li p {
    display: block;
    position: static;
  }
  /* 触摸/hover 状态与常显完全一致：无弹出特效、无行高变化、文字按内容完整显示不裁切 */
  .in_gongzhuang1 ul li:hover b,
  .in_gongzhuang1 ul li:hover p {
    display: block;
    position: static;
    -webkit-line-clamp: unset;
    -webkit-box-orient: horizontal;
    overflow: visible;
    line-height: 1.6;
    max-height: none;
    height: auto;
    transition: none;
  }
  /* 彻底去掉 CSS 中 PC 端 hover 文字特效在移动端的影响：
     颜色、字重、文字阴影全部与常显状态一致，触摸时零变化 */
  .in_gongzhuang1 ul li:hover b,
  .in_gongzhuang1 ul li:hover b a,
  .in_gongzhuang1 ul li:hover b a:hover,
  .in_gongzhuang1 ul li:hover p {
    text-shadow: none;
  }
  .in_gongzhuang1 ul li:hover b,
  .in_gongzhuang1 ul li:hover b a {
    color: #505050;
    font-weight: 700;
  }
  .in_gongzhuang1 ul li:hover p {
    color: #989797;
    font-weight: 400;
  }
  .in_gongzhuang1 ul li b a:hover {
    color: #505050;
  }
  .in_gongzhuang1 ul li b,
  .in_gongzhuang1 ul li b a {
    color: #505050;
  }
  .in_gongzhuang1 ul li p {
    color: #989797;
  }
  .in_gongzhuang1 ul li b {
    display: block;
    font-weight: 700;
    padding: 8px 4px 4px;
  }
  .in_gongzhuang1 ul li p {
    padding: 0 4px;
    line-height: 1.6;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: none;
  }

  /* 别墅案例区 */
  .in_sizhuang1 {
    padding-top: 14px;
    padding-bottom: 10px;
  }
  .in_sizhuang2 {
    padding-top: 12px;
  }
  .in_sizhuang2 ul {
    width: auto;
  }
  .in_sizhuang2 ul li {
    width: 30%;
    height: auto;
    margin: 0 1.66% 24px;
  }
  .in_sizhuang2 ul li img {
    width: 100%;
    height: auto;
    aspect-ratio: 320 / 170;
    object-fit: cover;
  }
  .in_sizhuang2 ul li b {
    display: block;
    padding: 8px 4px 4px;
  }
  .in_sizhuang2 ul li p {
    padding: 0 4px;
  }

  /* 装修风格区 */
  .in_fengge {
    padding-top: 12px;
    padding-bottom: 6px;
  }
  .in_fengge1 {
    padding: 14px 0 4px;
  }
  .in_fengge1 ul {
    width: auto;
  }
  .in_fengge1 ul li {
    width: 32%;
    margin: 0 1.333% 18px;
    height: auto;
    padding-bottom: 0;
  }
  .in_fengge1 ul li img {
    width: 100%;
    height: auto;
    float: none;
    padding-right: 0;
  }
  .in_fengge1 ul li b {
    display: block;
    padding-top: 4px;
  }

  /* 设计师区 */
  .in_shejishi1 {
    padding: 24px 0;
  }
  .in_shejishi2 {
    width: auto;
    padding-top: 14px;
  }
  .in_shejishi2 ul {
    width: auto;
    overflow: visible;
  }
  .in_shejishi2 ul li {
    float: none;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 26px;
  }
  .in_shejishi2 ul li img {
    width: 100%;
    height: auto;
  }
  .in_shejishi2 ul li .text {
    position: static;
    width: 100%;
    height: auto;
    top: auto;
    padding: 12px;
    background: rgba(0, 0, 0, 0.75);
  }
  .in_shejishi2 ul li .text b {
    padding: 0 0 8px;
    text-align: left;
  }
  .in_shejishi2 ul li .text a {
    width: 100%;
    margin-top: 12px;
  }

  /* 深化设计区 */
  .in_shenhua {
    padding-top: 14px;
    padding-bottom: 8px;
  }
  .in_shenhua1 {
    width: auto;
    height: auto;
    padding-top: 12px;
  }
  .in_shenhua1 .items {
    width: 49%;
    float: left;
    height: auto;
    margin: 0 0.5% 20px;
  }
  .in_shenhua1 .items img {
    width: 100%;
    height: auto;
    display: block;
  }
  .in_shenhua1 .items .img {
    height: auto;
  }
  .in_shenhua1 .items .desc {
    position: static;
    width: 100%;
    height: auto;
    top: auto;
    padding: 8px;
    background: rgba(0, 0, 0, 0.72);
    opacity: 1;
    filter: none;
  }
  .in_shenhua1 .items .desc a {
    width: 100%;
    height: auto;
  }
  .in_shenhua1 .items .desc b {
    display: block;
    padding: 0 0 4px;
    font-size: 15px;
  }
  .in_shenhua1 .items .desc p {
    line-height: 1.6;
  }

  /* 攻略区三列 */
  .in_gonglue1 {
    padding: 14px 0 30px;
  }
  .in_gonglue2 {
    padding-top: 12px;
    width: auto;
  }
  .in_gonglue2 > ul {
    width: 32%;
    float: left;
    margin: 0 1.333% 0 0;
  }
  .in_gonglue2 > ul:last-of-type {
    margin-right: 0;
  }
  .in_gonglue ul .in_gonglue2_1 {
    height: 137px;
    margin-bottom: 10px;
    overflow: hidden;
  }
  .in_gonglue ul .in_gonglue2_1 img {
    width: calc(100% - 50px);
    height: 137px;
    object-fit: cover;
  }

  /* 合作品牌区 */
  .in_hezuo {
    padding: 14px 0;
  }
  .in_hezuo1 {
    height: auto;
    margin: 0;
    padding-top: 14px;
  }
  .in_hezuo1 .bd {
    width: 100%;
  }
  .in_hezuo1 .bd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .in_hezuo1 .bd ul li {
    float: none;
    width: 31%;
    margin: 0 0 10px;
    text-align: center;
  }
  .in_hezuo1 .bd ul li img {
    width: auto;
    max-width: 100%;
    height: 40px;
    display: inline-block;
    vertical-align: middle;
  }

  /* ---------- 内页横幅与主体 ---------- */
  .ny_banner {
    height: 36vw;
    min-height: 130px;
    max-height: 240px;
  }
  .ny_banner,
  .ny_banner div,
  .ny_banner a {
    background-size: cover !important;
  }
  .ny_nr {
    width: auto;
    margin: 0 12px;
    padding: 10px 0 24px;
    background: #fff;
  }
  .ny_left {
    float: none;
    width: 100%;
    padding-top: 8px;
  }
  /* 栏目列表页（带大分类树）：小屏正文优先、分类折叠放后面 */
  .ny_nr:has(.ny_left1) {
    display: flex;
    flex-wrap: wrap;
  }
  .ny_nr:has(.ny_left1) > .ny_left {
    order: 2;
    width: 100%;
  }
  .ny_nr:has(.ny_left1) > .ny_right {
    order: 1;
    width: 100%;
    padding-top: 10px;
  }
  /* 详情页左侧标题图（小屏可隐藏） */
  .ny_left_bt {
    display: none;
  }
  /* 详情页左侧：子栏目改为横向标签 */
  .ny_left3 {
    padding-top: 10px;
  }
  .ny_left3 ul li {
    display: inline-block;
    width: auto;
    height: auto;
    margin: 0 8px 8px 0;
    line-height: normal;
    overflow: hidden;
  }
  .ny_left3 ul li a {
    display: block;
    width: auto;
    height: 34px;
    line-height: 34px;
    padding: 0 14px;
    text-align: left;
    background: #a7be71;
    color: #fff;
    font-size: 13px;
    border-radius: 4px;
  }
  .ny_left3 ul li a:hover,
  .ny_left3 ul li a.ny_left31 {
    background: #76952f;
  }
  .ny_right {
    float: none;
    width: 100%;
    padding-top: 20px;
  }
  .ny_rgiht_bt {
    height: auto;
    min-height: 30px;
    line-height: 1.8;
    text-align: left;
    font-size: 12px;
    word-break: break-all;
  }
  .ny_right1 {
    padding-top: 15px;
  }
  /* 详情正文 */
  .ny_zxgl_xx1 h1 {
    font-size: 18px;
    padding-bottom: 8px;
  }
  .ny_zxgl_xx1 p,
  .ny_zxgl_xx1 .ny_zxgl_xx p {
    word-break: break-all;
  }
  .ny_zxgl_xx1 img {
    max-width: 100% !important;
    height: auto !important;
  }
  .ny_zxgl_xx1 table {
    max-width: 100%;
  }
  .ny_zxgl_xx1 td {
    word-break: break-all;
  }
  /* 右侧推荐列表两列改单列 */
  .xgtj {
    margin-top: 20px;
    height: auto;
  }
  .xgtj ul li {
    width: 100%;
    float: none;
  }

  /* ---------- 底部 ---------- */
  .di1 {
    width: auto;
    margin: 0;
    padding: 18px 12px;
  }
  .di1 p {
    line-height: 1.9;
    word-break: break-all;
  }
}

/* ==================== ≤760px 手机 ==================== */
@media screen and (max-width: 760px) {
  .top1 a h1 img,
  .top1 a h2 img {
    max-width: 50vw;
  }
  /* 首页各区块单列 */
  .in_sizhuang2 ul li,
  .in_fengge1 ul li,
  .in_shenhua1 .items {
    width: 48%;
    padding: 3px;
  }
  .in_sizhuang2 ul li,
  .in_shenhua1 .items {
    margin: 0 0 22px;
  }
  .in_fengge1 ul li {
    margin: 0 0 16px;
  }
  .in_fengge1 ul li img {
    width: 90px;
    max-height: 140px;
    float: left;
    padding-right: 10px;
  }
  .in_gonglue2 > ul {
    width: 100%;
    float: none;
    margin: 0 0 24px;
  }
  .in_gonglue2 > ul:last-of-type {
    margin-bottom: 0;
  }
  .in_shejishi2 ul li .text p {
    font-size: 12px;
  }
  .xuanfu {
    display: none !important;
  }
  /* 列表页左侧大分类：默认只显示一级，点击展开 */
  .ny_left1 {
    padding-top: 6px;
  }
  .ny_left1 > ul > li > ul {
    display: none;
  }
  .ny_left1 > ul > li.open > ul {
    display: block;
  }
  .ny_left1 > ul > li > a {
    position: relative;
    padding-right: 30px;
  }
  .ny_left1 > ul > li > a::after {
    content: "+";
    position: absolute;
    right: 14px;
    top: 0;
    font-size: 16px;
    color: #fff;
  }
  .ny_left1 > ul > li.open > a::after {
    content: "-";
  }
  .ny_left1 > ul > li > a,
  .ny_left1 > ul > li > a.ny_left1_1,
  .ny_left1 > ul > li > a.ny_left1_2 {
    background-position: left center;
  }
  /* 列表左栏联系广告隐藏，联系方式见底部 */
  .ny_left2 {
    display: none;
  }
  /* 案例列表单列 */
  .ny_sjal li {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-bottom: 10px;
  }
  .ny_sjal li img {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 10px;
  }
  .ny_sjal_right {
    float: none;
    width: 100%;
  }
  .ny_zxg2 li {
    overflow: hidden;
  }
  .ny_zxg2 li img {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 10px;
  }
  /* 防固定侧栏插件影响移动端 */
  #fixtobot,
  #fixtotop {
    position: static !important;
    top: auto !important;
    left: auto !important;
  }
}

/* ==================== ≤460px 小屏手机 ==================== */
@media screen and (max-width: 460px) {
  .top1 a h1 img,
  .top1 a h2 img {
    max-width: 44vw;
  }
  .top1 span {
    font-size: 11px;
  }
  .in_hezuo1 .bd ul li {
    width: 48%;
  }
  .ny_zxgl_xx1 h1 {
    font-size: 16px;
  }
}

/* ==================== 案例网格：列数逐级递减（3→2→1） ==================== */
/* 公装案例：≤760px 由三列变为两列 */
@media screen and (max-width: 760px) {
  .in_gongzhuang1 ul {
    display: flex;
    flex-wrap: wrap;
  }
  .in_gongzhuang1 ul li {
    float: none;
    width: 46%;
    min-width: 0;
    height: auto;
    margin: 0 1% 22px;
  }
  .in_gongzhuang1 ul li b {
    display: block;
    padding: 8px 4px 4px;
  }
  .in_gongzhuang1 ul li p {
    padding: 0 4px;
    line-height: 1.6;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: none;
  }
}

/* 公装案例：≤460px 变为单列 */
@media screen and (max-width: 460px) {
  .in_gongzhuang1 ul {
    display: flex;
    flex-wrap: wrap;
  }
  .in_gongzhuang1 ul li {
    float: none;
    width: 48%;
    min-width: 0;
    margin: 0 0 18px;
  }
}

/* ==================== 移动端防弹：公装案例 hover 强制锁定为常显状态，杜绝任何弹出特效 ==================== */
@media screen and (max-width: 1024px) {
  /* 常显（未 hover）强制锁定：标题+简介始终显示在图片下方，杜绝 PC 端“默认隐藏、hover 才显示” */
  .in_gongzhuang1 ul li b,
  .in_gongzhuang1 ul li b a {
    display: block !important;
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    padding: 8px 4px 4px !important;
    color: #505050 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: inherit !important;
    text-shadow: none !important;
    background: transparent !important;
    border: none !important;
  }
  .in_gongzhuang1 ul li p {
    display: block !important;
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 4px !important;
    color: #989797 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: horizontal !important;
    text-shadow: none !important;
    background: transparent !important;
    border: none !important;
  }
  /* 禁止 hover 遮罩黑条 */
  .in_gongzhuang1 ul li::after,
  .in_gongzhuang1 ul li:hover::after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  /* 标题：位置/行高/颜色/阴影全部与常显一致 */
  .in_gongzhuang1 ul li:hover b,
  .in_gongzhuang1 ul li:hover b a,
  .in_gongzhuang1 ul li:hover b a:hover {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 8px 4px 4px !important;
    color: #505050 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: inherit !important;
    text-shadow: none !important;
    background: transparent !important;
    border: none !important;
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
  /* 简介：行高/位置/显示与常显完全一致，绝不跳变 */
  .in_gongzhuang1 ul li:hover p {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 4px !important;
    color: #989797 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: horizontal !important;
    text-shadow: none !important;
    background: transparent !important;
    border: none !important;
  }
}
/* ===== CASE DETAIL & GALLERY RESPONSIVE PATCH (appended by script) ===== */
@media screen and (max-width: 1024px) {
  /* 妗堜緥澶у浘搴擄細720px 鍥哄畾瀹芥敼涓?100% */
  #DB_gallery {
    width: 100%;
  }
  #DB_gallery .DB_imgSet {
    height: auto;
  }
  #DB_gallery .DB_imgSet .DB_imgWin img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  #DB_gallery .DB_thumSet {
    width: 100%;
  }
  /* 妗堜緥/椋庢牸鍥炬枃璇︽儏姝ｆ枃锛氬浘鐗囥€佽〃鏍艰嚜閫傚簲 */
  .ny_sjal_xx2,
  .ny_sjal_xx2 p,
  .ny_zxfg2,
  .ny_zxfg2 p {
    max-width: 100%;
  }
  .ny_sjal_xx2 img,
  .ny_zxfg2 img {
    max-width: 100% !important;
    height: auto !important;
  }
  .ny_sjal_xx2 table,
  .ny_zxfg2 table {
    max-width: 100% !important;
  }
  .ny_sjal_xx2 td,
  .ny_zxfg2 td {
    word-break: break-all;
  }
  .ny_sjal_xx2 center img,
  .ny_zxfg2 center img {
    display: block;
    margin: 0 auto;
  }
}
@media screen and (max-width: 760px) {
  .ny_sjal_xx2 h1,
  .ny_zxfg2 h1 {
    font-size: 18px;
  }
}

/* ==================== 移动端案例卡片简介截断（须放本文件最末，覆盖上面 display:block !important） ==================== */
@media screen and (max-width: 760px) {
  /* 首页公装区 */
  .in_gongzhuang1 ul li p,
  .in_gongzhuang1 ul li:hover p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    max-height: none !important;
    height: auto !important;
  }
  /* 首页别墅/厂房/商铺/民宿区 */
  .in_sizhuang2 ul li p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }
  /* 案例/栏目列表页卡片 */
  .ny_sjal li p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }
}

/* ==================== 内容页“最新推荐”两列错位修复（覆盖页面内联style，文字单行省略号） ==================== */
@media screen and (max-width: 760px) {
  .xgtj {
    height: auto !important;
  }
  .xgtj ul {
    list-style: none !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
  }
  .xgtj ul li {
    list-style: none !important;
    float: left !important;
    width: 50% !important;
    line-height: 26px !important;
    box-sizing: border-box !important;
    padding: 0 8px 0 0 !important;
  }
  /* 单行 + 省略号直接作用到链接（inline-block），圆点放在链接前，保证与文字同行 */
  .xgtj ul li a {
    display: inline-block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: top !important;
    font-size: 14px;
  }
  .xgtj ul li a::before {
    content: "•";
    margin-right: 6px;
  }
}

/* ==================== iPad / 平板 761–1024px 自适应层 ==================== */
/* iPad 竖屏 / 窄平板（761–900px）：首页案例、列表卡片统一两列 */
@media screen and (min-width: 761px) and (max-width: 900px) {
  .in_gongzhuang1 ul,
  .in_sizhuang2 ul {
    display: flex;
    flex-wrap: wrap;
  }
  /* 首页公装：iPad 竖屏也改为一排三个（与 901–1024px 档参数一致） */
  .in_gongzhuang1 ul li {
    float: none;
    flex: 0 0 auto;
    width: 30.333%;
    margin: 0 1% 26px;
  }
  /* 首页别墅案例：保持一排两个 */
  .in_sizhuang2 ul li {
    float: none;
    flex: 0 0 auto;
    width: 48%;
    margin: 0 1% 26px;
  }
  .in_gongzhuang1 ul li img,
  .in_sizhuang2 ul li img {
    width: 100%;
    height: auto;
  }
  .in_gongzhuang1 ul li b,
  .in_sizhuang2 ul li b {
    font-size: 15px;
  }
  /* 简介最多 3 行，避免 iPad 卡片过高 */
  .in_gongzhuang1 ul li p,
  .in_gongzhuang1 ul li:hover p,
  .in_sizhuang2 ul li p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    max-height: none !important;
    height: auto !important;
  }
  /* 列表页卡片：两列 */
  .ny_sjal {
    display: flex;
    flex-wrap: wrap;
  }
  .ny_sjal li {
    float: none;
    width: 48%;
    min-width: 0;
    height: auto;
    overflow: hidden;
    margin: 0 1% 24px;
    border-bottom: none;
  }
  .ny_sjal li img {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 10px;
    aspect-ratio: 250 / 180;
    object-fit: cover;
  }
  .ny_sjal_right {
    float: none;
    width: 100%;
  }
  .ny_sjal li h4 {
    font-size: 17px;
    line-height: 1.4;
    padding-bottom: 8px;
    word-break: break-all;
  }
  .ny_sjal li p {
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  /* 内容详情正文 iPad 阅读字号 */
  .ny_sjal_xx2 p {
    font-size: 15px !important;
    line-height: 1.9 !important;
  }
}

/* iPad 横屏 / 宽平板（901–1024px）：首页案例、列表卡片统一三列 */
@media screen and (min-width: 901px) and (max-width: 1024px) {
  .in_gongzhuang1 ul,
  .in_sizhuang2 ul {
    display: flex;
    flex-wrap: wrap;
  }
  .in_gongzhuang1 ul li,
  .in_sizhuang2 ul li {
    float: none;
    flex: 0 0 auto;
    width: 30.333%;
    margin: 0 1% 26px;
  }
  .in_gongzhuang1 ul li img,
  .in_sizhuang2 ul li img {
    width: 100%;
    height: auto;
  }
  .in_gongzhuang1 ul li b,
  .in_sizhuang2 ul li b {
    font-size: 15px;
  }
  .in_gongzhuang1 ul li p,
  .in_gongzhuang1 ul li:hover p,
  .in_sizhuang2 ul li p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    max-height: none !important;
    height: auto !important;
  }
  .ny_sjal {
    display: flex;
    flex-wrap: wrap;
  }
  .ny_sjal li {
    float: none;
    width: 31.333%;
    min-width: 0;
    height: auto;
    overflow: hidden;
    margin: 0 1% 24px;
    border-bottom: none;
  }
  .ny_sjal li img {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 10px;
    aspect-ratio: 250 / 180;
    object-fit: cover;
  }
  .ny_sjal_right {
    float: none;
    width: 100%;
  }
  .ny_sjal li h4 {
    font-size: 16px;
    line-height: 1.4;
    padding-bottom: 8px;
    word-break: break-all;
  }
  .ny_sjal li p {
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .ny_sjal_xx2 p {
    font-size: 15px !important;
    line-height: 1.9 !important;
  }
}

/* iPad（761–1024px）：隐藏左栏“联系我们”大图横幅，与手机端一致 */
@media screen and (min-width: 761px) and (max-width: 1024px) {
  .ny_left2 {
    display: none;
  }
}
