/* Mobile content mirrors m.zmnwbzj.com; desktop templates remain independent. */
.mobile-ask-portal,.mobile-answer-label,.mobile-article-author-image,.mobile-search-meta,.mobile-list-question-meta,.mobile-detail-modules,.mobile-searches,.mobile-search-placement,.mobile-search-end-banner,.mobile-question-description { display:none; }
.template-ask .art-flq-text h3.sapnp { margin:14px 0 8px; font-size:16px; font-weight:700; line-height:1.5; }
.template-article img[src*="/static/images/categories/"],.search-template img[src*="/static/images/categories/"] { object-fit:contain!important; min-height:0!important; }
.template-article .article-image>img[src*="/static/images/categories/"],.search-template .search-result-image>img[src*="/static/images/categories/"] { height:100%; }
.content-mobile-service { display:none; }
.template-article .art-ashop-tj img { object-fit:contain; }
@media(min-width:768px) {
  .main:has(>.template-article) { padding-bottom:0; }
}
@media(max-width:767px) {
  .template-article .article-subnav { display:none; }
  .template-article .com-dqwz,.search-template .search-breadcrumb { height:40px; line-height:40px; margin:0; padding:0 15px; color:#a2a2b6; background:#f7f8fa; font-size:13px; }
  .template-article .com-dqwz a,.search-template .search-breadcrumb a { color:#a2a2b6; }
  .template-article .com-dqwz a:first-of-type::before,.search-template .search-breadcrumb a:first-of-type::before { content:'网站'; }
  .template-article .com-dqwz>span:first-child,.search-template .search-breadcrumb>span:first-child { display:none; }
  .template-article .com-dqwz>span:last-child:not(:nth-child(5)) { display:none; }
  .template-article .com-dqwz>span:nth-child(3),.template-article .com-dqwz>span:nth-child(5) { color:#e6454a; }
  .template-article .article-columns { display:block; }
  .template-article .art-fr,.search-template .search-sidebar { display:none; }
  .template-article .desktop-article-related,.template-ask .desktop-ask-related,.template-ask .desktop-ask-promotion,.template-ask .desktop-ask-watch { display:none; }
  .template-article .mobile-detail-modules { display:block; }
  .mobile-ask-detail .art-fl>.mobile-detail-modules { order:4; }
  .template-article .art-fla,.template-article .art-flb,.template-article .art-flc { padding:15px; }
  .template-article .article-mt15 { margin-top:10px; }
  .template-article .art-fla h1 { height:auto; margin:0 0 10px; padding:0; font-size:18px; line-height:27px; text-align:left; font-weight:700; white-space:normal; overflow:visible; }
  .template-article:not(.template-ask) .art-fla-info { display:grid; grid-template-columns:40px minmax(0,1fr) auto; grid-template-rows:20px 20px; gap:0 10px; padding-bottom:10px; margin-bottom:0; }
  .template-article:not(.template-ask) .mobile-article-author-image { display:block; grid-column:1; grid-row:1/3; width:40px; height:40px; object-fit:contain; }
  .template-article:not(.template-ask) .art-fla-info>span:nth-of-type(1) { grid-column:2; grid-row:2; }
  .template-article:not(.template-ask) .art-fla-info>span:nth-of-type(2) { grid-column:2; grid-row:1; color:#222; font-size:14px; font-weight:700; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
  .template-article:not(.template-ask) .art-fla-info>span:nth-of-type(3),.template-article:not(.template-ask) .art-fla-info>span:nth-of-type(5) { display:none; }
  .template-article:not(.template-ask) .art-fla-info .article-views { grid-column:3; grid-row:2; margin:0; }
  .template-article .art-fla-txt,.template-ask .art-flq-text { font-size:16px; line-height:1.5; overflow-wrap:anywhere; }
  .template-article .art-fla-txt p,.template-article .art-fla-txt h2,.template-article .art-fla-txt h3,.template-ask .art-flq-text p { margin-top:10px; text-indent:0; }
  .template-article .art-fla-txt h2,.template-article .art-fla-txt h3 { font-size:16px; line-height:1.4; font-weight:700; }
  .template-article .art-fla-txt img,.template-ask .art-flq-text img { max-width:100%!important; min-width:0!important; height:auto!important; }
  .template-article .art-fla-txt table,.template-ask .art-flq-text table { display:block; max-width:100%!important; overflow:auto; height:auto; }
  .template-article .art-fla-txt pre,.template-ask .art-flq-text pre { white-space:pre-wrap; overflow-wrap:anywhere; }
  .template-article .art-fla-txt iframe,.template-ask .art-flq-text iframe,.template-article .art-fla-txt video,.template-ask .art-flq-text video { max-width:100%!important; }
  .template-article .art-next { padding:15px; gap:10px; margin-top:10px; }
  .template-article .art-next>div { width:100%; padding:7px 12px; background:#f5f5f5; font-size:14px; line-height:22px; text-align:left; }
  .template-article #art-ashop { grid-template-columns:minmax(0,1fr); padding:15px 10px; }
  .template-article .detail-service { padding:0; background:transparent; }
  .detail-service>.content-mobile-service,.mobile-ask-service>.content-mobile-service { display:block; }
  .detail-service>.content-mobile-service>.mobile-service-card,.mobile-ask-service>.content-mobile-service>.mobile-service-card { margin-top:0; }
  .detail-service>#art-ashop,.mobile-ask-service>#art-ashop { display:none; }
  .template-article .art-ashop-tj { width:93px; height:139px; }
  .template-article .art-shop-box { gap:15px; }
  .template-article .art-shop-details h2 { font-size:16px; line-height:24px; }
  .template-article .art-shop-details p { font-size:13px; line-height:20px; }
  .template-article .art-ashop-btn { grid-template-columns:1fr 1fr; margin-top:12px; }
  .template-article .art-ashop-btn a { background:#e6454a; font-size:14px; font-weight:400; }
  .template-article .art-ashop-btn a:last-child { background:#c39869; }
  .template-article .art-ashop-list { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .template-ask.ask-has-mobile-portal>.article-columns { display:none; }
  .template-ask .mobile-ask-portal { display:block; }
  .template-ask .mobile-ask-topic { margin-top:10px; padding:15px; background:#fff; }
  .template-ask .mobile-ask-topic h2 { height:24px; margin:0; color:#e6454a; font-size:18px; line-height:24px; }
  .template-ask .mobile-ask-topic h2>a { float:right; color:#a2a2b6; font-size:13px; font-weight:400; }
  .template-ask .mobile-ask-topic ul { list-style:none; margin:0; padding:0; }
  .template-ask .mobile-ask-topic li { padding:10px 0 15px; border-bottom:1px solid #f7f8fa; }
  .template-ask .mobile-ask-topic li:last-child { padding-bottom:0; border:0; }
  .template-ask .mobile-ask-topic h3 { height:auto; margin:0; font-size:16px; line-height:24px; font-weight:400; }
  .template-ask .mobile-ask-topic h3 b { display:inline-block; width:20px; height:20px; margin-right:5px; background:#e6454a; color:#fff; border-radius:2px; font-size:12px; font-weight:400; line-height:20px; text-align:center; vertical-align:1px; }
  .template-ask .mobile-ask-photo { display:block; height:160px; margin-top:0; overflow:hidden; }
  .template-ask .mobile-ask-photo img { display:block; width:100%; height:100%; object-fit:cover; }
  .template-ask .mobile-ask-meta { display:flex; align-items:center; gap:5px; min-height:24px; margin-top:5px; color:#a2a2b6; font-size:11px; line-height:18px; }
  .template-ask .mobile-ask-meta img { width:20px; height:20px; object-fit:contain; flex:none; }
  .template-ask .mobile-ask-meta>span:last-child { margin-left:auto; white-space:nowrap; }
  .template-ask .mobile-ask-service { margin-top:10px; }
  .mobile-ask-detail .art-fl { display:flex; flex-direction:column; }
  .template-ask .art-fla .art-fla-bt { font-size:18px; }
  .template-ask .art-askbody { display:flex; flex-direction:column; gap:0; }
  .template-ask .art-askbox,.template-ask .art-askinfo { display:none; }
  .template-ask .art-askbt { height:auto; max-height:none; font-size:16px; line-height:24px; }
  .template-ask .art-askbt::before { content:'问'; display:inline-block; width:20px; height:20px; margin-right:5px; border-radius:2px; color:#fff; background:#e6454a; font-size:12px; line-height:20px; text-align:center; }
  .template-ask .art-askimg { width:100%; height:160px; margin-top:3px; }
  .template-ask .mobile-list-question-meta { display:flex; align-items:center; gap:7px; margin-top:5px; font-size:11px; line-height:20px; color:#a2a2b6; width:100%; }
  .template-ask .mobile-list-question-meta>span:last-child { margin-left:auto; }
  .template-ask .art-flk { padding:15px 15px 0; }
  .template-ask .art-flk h1 { font-size:18px; font-weight:700; line-height:27px; padding:0; }
  .template-ask .art-flk h1>span { display:none; }
  .template-ask .art-flk-info { justify-content:space-between; margin-top:10px; padding-bottom:5px; border-bottom:1px solid #f7f8fa; }
  .template-ask .art-flk-info span:not(:first-child):not(:last-child) { display:none; }
  .template-ask .art-flq { order:2; margin-top:10px; padding:15px; }
  .template-ask .art-flq-user { display:flex; }
  .template-ask .mobile-answer-label { display:block; font-size:16px; color:#e6454a; line-height:24px; margin:0 0 5px; }
  .template-ask .art-flq-text>p:first-child { margin-top:0; }
  .template-ask .art-next { order:1; }
  .mobile-ask-detail .art-fl>section:not(.art-flq) { order:3; }
  .template-ask .art-bshop-xtu { grid-template-columns:100px minmax(0,1fr); height:auto; }
  .template-ask .art-flb-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .template-ask .pagination { height:auto; padding:0 0 10px; }
  .search-template .search-layout { display:block; }
  .search-template .search-panel { padding:15px; }
  .search-template .search-tabs { height:41px; margin-bottom:0; }
  .search-template .search-tabs button { font-size:14px; padding:0 15px; }
  .search-template .search-count { display:none; }
  .search-template .search-results>li { padding:15px 0; }
  .search-template .search-result-heading { display:block; height:auto; font-size:16px; line-height:21px; }
  .search-template .search-result-heading a { display:block; white-space:normal; overflow:visible; }
  .search-template .search-result-heading>time { display:none; }
  .search-template .search-result-image { width:100px; height:80px; margin-top:5px; }
  .search-template .search-result-image img { width:100%; height:100%; object-fit:cover; }
  .search-template .mobile-search-meta { display:flex; justify-content:space-between; gap:8px; margin-top:5px; color:#a2a2b6; font-size:12px; line-height:20px; }
  .search-template .search-service-card { padding:15px 10px; }
  .search-template .search-service-card>img { width:75px; height:100px; }
  .search-template .search-service-card p { font-size:12px; }
  .search-template .search-question-results>li>p { font-size:14px; line-height:21px; }
  .search-template .search-empty { padding:25px 0; }
  .search-template .search-family-service,.search-template .ask-service-entry #art-ashop { grid-template-columns:minmax(0,1fr); }
  .mobile-question-description { display:block; padding:15px 0; }
  .mobile-question-description>h2 { margin:0 0 5px; font-size:16px; color:#e6454a; line-height:24px; }
  .mobile-question-description>p { font-size:16px; line-height:24px; margin:0; }
  .desktop-search-placement { display:none; }
  .mobile-search-placement,.mobile-search-end-banner { display:block; }
  .mobile-search-end-banner { margin-top:10px; }
  .mobile-search-end-banner .service-banner-hero { width:100%; height:calc(100vw / 3.5); }
  .mobile-content-panel { margin-top:10px; padding:15px; background:#fff; }
  .mobile-content-panel>h2 { margin:0; color:#e6454a; font-size:18px; font-weight:700; line-height:24px; }
  .mobile-content-panel ul { padding:0; margin:0; list-style:none; }
  .mobile-related-articles>li { padding:15px 0; border-bottom:1px solid #f7f8fa; }
  .mobile-related-articles>li:last-child { border:0; padding-bottom:0; }
  .mobile-related-articles h3,.mobile-related-questions h3 { margin:0; font-size:16px; font-weight:400; line-height:21px; }
  .mobile-related-articles img { display:block; width:118px; height:80px; margin-top:5px; object-fit:cover; }
  .mobile-content-meta { display:flex; align-items:center; gap:5px; margin-top:5px; color:#a2a2b6; font-size:12px; line-height:20px; }
  .mobile-content-meta>span:last-child { margin-left:auto; white-space:nowrap; }
  .mobile-related-banner { margin-top:10px; }
  .mobile-related-banner .service-banner-hero { width:100%; height:calc(100vw / 3.5); }
  .mobile-related-questions>li { padding:15px 0; border-bottom:1px solid #f7f8fa; }
  .mobile-related-questions>li:last-child { border:0; padding-bottom:0; }
  .mobile-related-questions h3 b { display:inline-block; width:20px; height:20px; margin-right:5px; color:#fff; background:#e6454a; border-radius:2px; font-size:12px; line-height:20px; text-align:center; font-weight:400; }
  .mobile-answer-preview { display:flex; gap:15px; margin-top:5px; align-items:flex-start; }
  .mobile-answer-preview>img { width:40px; height:40px; object-fit:contain; flex:none; }
  .mobile-answer-preview>p { position:relative; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; margin:0; padding:5px 10px; max-height:54px; overflow:hidden; background:#ffefdc; color:#666; border-radius:5px; font-size:14px; line-height:22px; }
  .mobile-searches { display:block; }
  .mobile-searches nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px 10px; margin-top:10px; }
  .mobile-searches nav a { display:block; min-width:0; height:33px; padding:0 10px; background:#f5f5f5; font-size:14px; line-height:33px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .mobile-content-empty { padding:20px 0; color:#a2a2b6; font-size:13px; }
}
@media(max-width:360px) {
  .template-article .art-ashop-phone { font-size:18px; white-space:nowrap; }
}
