/* 儿童城列表/正文样式 2026 */

.ico2 { background-image: none; }
.m-mianleft { width: 845px; }
.m-mainright { width: 320px; }

.m-navwz {
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  height: auto;
  min-height: 40px;
  line-height: 40px;
  margin-bottom: 8px;
}
.m-navwz a { color: var(--muted); margin: 0 4px; }
.m-navwz a:hover { color: var(--brand); }

.m-mianleft h1 {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1.35;
  padding-top: 12px;
  color: var(--ink);
  font-weight: 400;
}
.m-mianleft .m-maininfo { margin: 14px 0 24px; }
.m-mianleft .m-maininfo span {
  margin-right: 24px;
  color: var(--muted);
  font-size: 13px;
}

.m-mianleft .m-mianjianjie {
  height: auto;
  padding: 0;
  margin-bottom: 24px;
}
.m-mianleft .m-mianjianjie div {
  height: auto;
  overflow: hidden;
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
  padding: 16px 18px;
  color: var(--muted);
  background: var(--sky);
  border-radius: 14px;
  border-left: 4px solid var(--brand);
}
.m-mianleft .m-mianjianjie div strong { color: var(--ink); }

.m-maintxt { width: 660px; max-width: 100%; }
.m-maintxt p {
  font: 18px/1.9 var(--font);
  color: #334155;
  text-indent: 2em;
  margin: 1.4em 0 0;
}
.m-maintxt h3 {
  color: var(--brand-deep);
  font-size: 20px;
  margin-top: 28px;
  overflow: visible;
  height: auto;
  position: relative;
  font-family: var(--display);
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.m-maintxt h3 i { display: none; }
.m-maintxt h3 span {
  float: none;
  margin: 0;
  padding: 0;
  position: static;
}
.m-maintxt p a { color: var(--brand-deep); border-bottom: 1px dashed rgba(15,157,138,.35); }
.m-maintxt p a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.m-maintxt img {
  display: block;
  text-indent: 0;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border-radius: 12px;
}

.m-mianfx {
  border-right: 0;
  width: 149px;
  margin-top: 24px;
}
.m-mianleft .ltop {
  width: 150px;
  position: fixed;
  top: 100px;
  left: 50%;
  margin-left: -600px;
}
.m-fx { margin-bottom: 16px; }
.m-fx img { display: block; margin: 0 auto; }
.m-fxdiv ul li { display: block; margin-left: 0; }
body .m-fxdiv ul li a {
  display: block;
  height: 44px;
  line-height: 44px;
  width: auto;
  border-bottom: 1px solid var(--line);
  text-indent: 0;
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  padding-left: 12px;
  border-radius: 8px;
}
body .m-fxdiv ul li a:hover {
  background: var(--sky);
  color: var(--brand);
}

.m-mdiv, .m-div {
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  position: relative;
  padding-top: 36px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.m-h3tit {
  width: auto;
  height: 36px;
  line-height: 36px;
  font-size: 18px;
  text-align: left;
  font-weight: 600;
  background: #fff !important;
  background-image: none !important;
  position: absolute;
  top: -12px;
  left: 16px;
  color: var(--ink);
  font-family: var(--display);
  padding: 0 8px;
}
.m-h3tit span { color: var(--brand); }

.m-mtags a {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  background: var(--sky);
  text-align: center;
  padding: 0 14px;
  margin: 0 0 12px 12px;
  font-size: 13px;
  border-radius: 999px;
  color: var(--brand-deep);
}
.m-mtags a:hover { background: var(--brand); color: #fff; }

.m-imgnew { margin: 0 auto 12px; width: 280px; }
.m-imgnew a {
  display: block;
  width: 280px;
  height: 175px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.m-imgnew a img {
  display: block;
  width: 280px;
  height: 175px;
  object-fit: cover;
  transition: transform .45s ease;
}
.m-imgnew a:hover img { transform: scale(1.08); }
.m-imgnew a p {
  width: 100%;
  height: auto;
  min-height: 36px;
  line-height: 1.4;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: hidden;
  padding: 18px 12px 10px;
  font-size: 13px;
  box-sizing: border-box;
}
.m-imgnew a:hover p { color: #fff; }

.m-blphul { margin: 0 16px; padding-bottom: 10px; }
.m-blphul li a {
  display: block;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  font-size: 14px;
}
.m-blphul li a em {
  float: left;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background: var(--brand);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  margin: 10px 8px 0 0;
}

.m-hotgul { padding: 0 16px 12px; }
.m-hotgul li {
  margin-top: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.m-hotgul li a { display: block; overflow: hidden; }
.m-hotgul li a p.f-fl {
  width: 120px;
  height: 84px;
  overflow: hidden;
  margin-right: 12px;
  border-radius: 10px;
}
.m-hotgul li a p.f-fl img {
  display: block;
  width: 120px;
  height: 84px;
  object-fit: cover;
}
.m-hotgul li a strong {
  display: block;
  font-weight: 500;
  font-size: 14px;
  height: 44px;
  overflow: hidden;
  line-height: 1.45;
  margin-bottom: 6px;
}
.m-hotgul li a span { font-size: 12px; color: var(--muted); }

.pageLink { text-align: center; margin: 20px 0; }
.pageLink a {
  padding: 0 18px;
  font-size: 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 4px 12px;
  display: inline-block;
  line-height: 36px;
  background: #fff;
}
.pageLink a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pageLink a.page,
.pageLink a.page:hover {
  color: var(--muted);
  cursor: default;
  background: #fff;
  border-color: var(--line);
}

/* 列表页条目 */
.list, .m-list, .m-xg-ne, .m-xgwz-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.list:hover, .m-xgwz-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15,157,138,.12);
}

.m-pl-title {
  height: 50px;
  border-bottom: 1px solid var(--line);
}
.m-pl-title span {
  display: block;
  width: auto;
  height: 48px;
  line-height: 50px;
  border-bottom: 3px solid var(--brand);
  font-size: 22px;
  font-family: var(--display);
  padding-right: 12px;
}
.m-pl-title span i { color: var(--brand); }
.m-comment {
  height: auto;
  margin: 0 auto;
  display: block;
  overflow: hidden;
  padding: 20px 0;
}
.m-comment .comment-text {
  width: 100%;
  max-width: 831px;
  height: 100px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.m-comment .comment-input,
.m-comment #imageField {
  background: var(--brand);
  height: 34px;
  width: 88px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 34px;
  float: right;
  border: 0;
  margin-top: 8px;
  border-radius: 999px;
  cursor: pointer;
}
.m-comment .comment-body li {
  background: var(--sky-2);
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.m-mainbot, .m-rmwz, .m-fenye { margin-top: 24px; }
.m-page-up a, .m-page-down a, .u-back-home, .u-back-list {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--brand-deep);
  font-size: 13px;
}
.m-page-up a:hover, .m-page-down a:hover, .u-back-home:hover, .u-back-list:hover {
  background: var(--brand);
  color: #fff;
}

.g-box-1200.clearfix {
  animation: riseIn .55s ease both;
}

@media (max-width: 1200px) {
  .m-mianleft, .m-mainright, .m-maintxt { width: 100%; }
  .m-mianfx, .m-mianleft .ltop { display: none; }
  .f-fl.m-mianleft, .f-fr.m-mainright, .f-fr.m-maintxt {
    float: none !important;
  }
}
@media (max-width: 860px) {
  .m-mianleft h1 { font-size: 24px; }
  .m-maintxt p { font-size: 16px; line-height: 1.8; }
  .m-imgnew, .m-imgnew a, .m-imgnew a img { width: 100%; height: auto; }
}


/* ========== 正文/列表页布局补全 2026d ========== */

/* 正文双栏：主内容 + 侧栏 */
@media (min-width: 981px) {
  .g-box-1200.clearfix:has(> dt.m-mianleft) {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
  .g-box-1200.clearfix > dt.m-mianleft {
    order: 1;
    flex: 1 1 845px;
    max-width: 845px;
    min-width: 0;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
  }
  .g-box-1200.clearfix > dd.m-mainright {
    order: 2;
    flex: 0 0 320px;
    width: 320px !important;
    float: none !important;
    margin: 0 !important;
  }
}

/* 正文区：分享栏 + 正文 */
.m-mianleft > dl.clearfix {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
}
.m-mianleft > dl > dt.m-mianfx {
  flex: 0 0 149px;
  float: none !important;
  width: 149px !important;
}
.m-mianleft > dl > dd.m-maintxt,
.m-mianleft > dl > dd.htmlcontent {
  flex: 1 1 auto;
  min-width: 0;
  float: none !important;
  width: auto !important;
  max-width: none !important;
}

/* 移动端导入的正文块 */
.htmlcontent figure.section.img,
.m-maintxt figure.section.img {
  margin: 18px 0;
  padding: 0;
  text-align: center;
}
.htmlcontent .img-wrap,
.m-maintxt .img-wrap {
  display: block !important;
  position: relative !important;
  height: auto !important;
  padding-bottom: 0 !important;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
.htmlcontent .img-wrap img,
.m-maintxt .img-wrap img,
.htmlcontent figure img,
.m-maintxt figure img {
  width: 100% !important;
  max-width: 640px !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  text-indent: 0;
}
p.section.txt,
.htmlcontent p.section,
.m-maintxt p.section {
  font: 18px/1.9 var(--font);
  color: #334155;
  text-indent: 2em;
  margin: 1.2em 0 0;
}

/* 空导读隐藏 */
.m-mianjianjie div:empty,
.m-mianjianjie:has(div:only-child:not(:has(p))) {
  display: none;
}

/* 相关文章 */
.m-xg-ne { margin: 28px 0; clear: both; }
.m-xgwz-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  width: 100% !important;
  max-width: 100%;
  margin: 16px 0;
  overflow: hidden;
  background: none !important;
}
.m-xgwz-item li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.m-xgwz-item li em {
  flex: 0 0 28px;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
  font-family: Georgia, serif;
  line-height: 1.2;
}
.m-xgwz-item li img,
.m-xgwz-item li img[src*="<img"],
.m-xgwz-item li img[src*="img src"] {
  display: none !important;
}
.m-xgwz-item li p {
  float: none !important;
  width: auto !important;
  flex: 1;
  height: auto !important;
  max-height: 44px;
  line-height: 1.45;
  font-size: 15px;
  overflow: hidden;
}
.m-xgwz-item li p strong { font-weight: 500; color: var(--ink); }
.m-xgwz-item li a:hover p strong { color: var(--brand); }

/* 推荐文章 */
.m-rmwz {
  margin: 24px 0 32px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
}
.m-rmwz .m-rmwz-left,
.m-rmwz .m-rmwz-right {
  position: relative;
  flex: 1 1 240px;
  max-width: 266px;
  height: auto;
  margin: 0 !important;
  float: none !important;
  border-radius: 12px;
  overflow: hidden;
}
.m-rmwz .m-rmwz-left img,
.m-rmwz .m-rmwz-right img {
  width: 100%;
  height: 186px;
  object-fit: cover;
  display: block;
}
.m-rmwz .m-rmwz-left span,
.m-rmwz .m-rmwz-right span {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  line-height: 1.35;
  text-align: center;
  color: #fff;
  font-size: 13px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}
.m-rmwz .m-rmwz-center {
  flex: 1 1 260px;
  min-width: 240px;
  margin: 0 !important;
  float: none !important;
  height: auto;
  overflow: hidden;
  background: var(--sky-2);
  border-radius: 12px;
  padding: 14px 16px;
}
.m-rmwz .m-rmwz-center p strong {
  display: block;
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--ink);
}
.m-rmwz .m-rmwz-center p em {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  font-style: normal;
}
.m-rmwz .m-rmwz-center a.list {
  display: block;
  line-height: 1.5;
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-rmwz .m-rmwz-center a.list:hover { color: var(--brand); }

/* 上下篇导航 */
.m-mainbot {
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  clear: both;
}
.m-mainbot p {
  flex: 1 1 220px;
  min-height: 68px;
  margin: 0 !important;
  background: var(--sky);
  border-radius: 12px;
  overflow: hidden;
}
.m-mainbot p a {
  display: block;
  padding: 14px 16px;
  line-height: 1.45;
  font-size: 14px;
  color: var(--ink);
  background: none !important;
  text-indent: 0;
  border: none;
  height: auto;
  width: auto;
}
.m-mainbot p a:hover { color: var(--brand); }
.m-mainbot .u-back-home,
.m-mainbot .u-back-list {
  flex: 0 0 auto;
  min-width: 88px;
  text-align: center;
  padding: 10px 14px;
  height: auto;
  margin: 0 !important;
}

/* 列表页 */
.m-listul {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.m-listul li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin: 0 0 18px;
  overflow: hidden;
}
.m-listul li:last-child { border-bottom: 0; margin-bottom: 0; }
.m-listul li a.f-fl {
  margin-right: 16px;
  border-radius: 10px;
  overflow: hidden;
}
.m-listul li a.f-fl img {
  width: 280px;
  max-width: 36vw;
  height: 196px;
  object-fit: cover;
  display: block;
}
.m-listul li .m-listdiv .m-title {
  line-height: 1.4;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.m-listul li .m-listdiv .m-listinfo {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  height: auto;
  max-height: 52px;
  overflow: hidden;
  margin: 8px 0 12px;
}
.m-listul li .m-listdiv .m-listime {
  font-size: 13px;
  color: var(--muted);
}

/* 空广告不占位 */
.lc-ad--header,
.lc-ad--inTop {
  min-height: 0 !important;
}
.lc-ad .adsbygoogle[data-ad-status="unfilled"],
.lc-ad:has(.adsbygoogle[data-ad-status="unfilled"]) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.g-navlist + .lc-ad--header { display: none !important; }

@media (max-width: 980px) {
  .g-box-1200.clearfix:has(> dt.m-mianleft) {
    display: block !important;
  }
  .m-mianleft > dl.clearfix {
    flex-direction: column;
  }
  .m-xgwz-item { grid-template-columns: 1fr; }
  .m-listul li a.f-fl img { width: 120px; height: 84px; }
}
