/* ============ 0370.cc 信息板块 · 模仿 永城信息港(ycxinxi.com) ============ */
/* 配色：导航保持橙色(现有全局)，信息内容区主色蓝、强调橙、价格红。如需改色，只动下面变量。 */
:root{
  --yc:#ff6c00;          /* 与现有全局导航一致（橙） */
  --ycb:#1e7fd0;         /* 内容区主色（蓝） */
  --ycb-d:#1668b5;
  --yco:#ff6c00;         /* 强调/发布按钮（橙） */
  --ycr:#e53935;         /* 价格（红） */
  --line:#ececec;
  --bg:#f5f6f8;
  --text:#333;
  --gray:#999;
}
body{ font-family:"Microsoft YaHei","PingFang SC","Hiragino Sans GB",Arial,sans-serif; color:var(--text); }

/* ===================== 信息列表容器 ===================== */
.indexMessBox{ margin-top:0; }
.indexMessBox .messlist{
  width:1000px; overflow:hidden;
  letter-spacing:normal;
  background:#f5f6f8; border:1px solid var(--line); border-radius:8px;
  padding:14px;
}

/* ===================== 列表条目（框/卡片模式） ===================== */
.yc-box{
  float:left; width:calc(25% - 10.5px); margin:0 14px 14px 0;
  background:#fff; border:1px solid #e9edf2; border-radius:8px;
  padding:12px 13px; min-height:120px; position:relative;
  transition:.15s;
}
.yc-box:nth-child(4n){ margin-right:0; }
.yc-box:hover{ border-color:var(--yco); box-shadow:0 6px 18px rgba(42,127,196,.12); transform:translateY(-2px); }
.yc-box-cat{ display:inline-block; font-size:12px; color:var(--ycb); background:#eaf3fb; padding:2px 9px; border-radius:4px; margin-bottom:9px; }
.yc-box-cat:hover{ background:var(--ycb); color:#fff; }
.yc-box-title{ display:block; font-size:15px; line-height:22px; color:#222; text-decoration:none; height:66px; overflow:hidden; }
.yc-box-title:hover{ color:var(--yco); }
.yc-box-flag{ position:absolute; top:0; right:0; background:var(--yco); color:#fff; font-size:12px; padding:2px 8px; border-radius:0 8px 0 8px; }
.yc-box-top{ border-color:#ffe0bf; }
.yc-box-foot{ margin-top:8px; display:flex; justify-content:space-between; align-items:baseline; }
.yc-box-date{ font-size:12px; color:var(--gray); }
.yc-box-price{ font-size:15px; color:var(--ycr); font-weight:700; }

/* ===================== 分类筛选条 ===================== */
.xxSortBox{
  background:#fff; border:1px solid var(--line); border-radius:8px;
  padding:4px 12px;
}
.xxSort{ padding:6px 0; border-bottom:1px dashed #f0f0f0; }
.xxSort:last-of-type{ border-bottom:0; }
.xxSort .item label{
  float:left; width:54px; line-height:30px;
  color:var(--ycb); font-weight:bold; font-size:14px;
}
.xxSort .sortul{ padding-left:54px; overflow:hidden; }
.xxSort .sortul li{ float:left; list-style:none; }
.xxSort .sortul li a{
  display:inline-block; padding:4px 12px; margin:2px 4px;
  color:#555; font-size:14px; text-decoration:none; border-radius:4px;
}
.xxSort .sortul li a:hover{ color:#fff; background:var(--ycb); }
.xxSort .sortul li.sour a{ color:#fff; background:var(--ycb); font-weight:bold; }
.xxSort .sortul li a.post{ color:#fff; background:linear-gradient(90deg,var(--yco),#ff8c1a); font-weight:bold; }
.kisplaytype{ margin:0; padding:0; }
.kisplaytype li{ display:inline-block; list-style:none; margin-left:6px; }
.kisplaytype li a, .kisplaytype li span{
  display:inline-block; padding:4px 12px; font-size:13px;
  color:#666; border:1px solid var(--line); border-radius:4px; text-decoration:none;
}
.kisplaytype li.sour a, .kisplaytype li.sour span{ color:#fff; background:var(--ycb); border-color:var(--ycb); }

/* ===================== 分页 ===================== */
.pagelist{ margin-top:14px; text-align:center; }
.pagelist .page{ display:inline-block; padding:0; margin:0; }
.pagelist .page li{ display:inline-block; list-style:none; margin:0 3px; }
.pagelist .page a, .pagelist .page span{
  display:inline-block; min-width:32px; height:32px; line-height:32px;
  padding:0 8px; color:#555; text-decoration:none;
  border:1px solid var(--line); border-radius:4px; font-size:14px;
}
.pagelist .page a:hover{ color:var(--ycb); border-color:var(--ycb); }
.pagelist .page .sour{ color:#fff; background:var(--ycb); border-color:var(--ycb); }

/* ===================== 详情页（沿用系统默认结构，仅重配色） ===================== */
.infoTop{ padding:10px 0; color:#888; font-size:13px; }
.infoTop a{ color:#666; text-decoration:none; }
.infoTop a:hover{ color:var(--ycb); }
.main{ background:transparent; }
.infoTitleWrap .title{
  font-size:26px; color:#222; font-weight:bold; line-height:1.4;
  border-left:5px solid var(--ycb); padding-left:12px; margin:0 0 8px;
}
.infoTitleWrap .title .price{ color:var(--ycr); font-size:24px; margin-left:10px; }
.infoBarTop{
  background:#fafbfc; border:1px solid var(--line); border-radius:6px;
  padding:8px 12px; margin-bottom:12px; color:#888; font-size:13px;
}
.infoBarTop .operate a{ color:var(--ycb); text-decoration:none; margin-left:10px; }
.infoContent{
  background:#fff; border:1px solid var(--line); border-radius:8px;
  padding:18px; line-height:1.9; font-size:15px; color:#444;
}
.infoContent .textwrap{ margin-bottom:10px; }
.infoContent .picwrap{ overflow:hidden; }
.infoContent .picwrap a{ float:left; margin:0 8px 8px 0; }
.infoContent .picwrap img{ max-width:200px; border:1px solid var(--line); border-radius:4px; }
.infoContact{
  margin-top:16px; background:#fff; border:1px solid var(--line); border-radius:8px; padding:16px;
}
.infoContact .titlewrap .title{ font-size:17px; font-weight:bold; color:var(--ycb); }
.infoContact .titlewrap .comment{ color:#999; font-size:13px; margin-top:4px; }
.kf_title_1{ background:#fff; border-left:5px solid var(--ycb); padding-left:10px; font-weight:bold; color:#222; margin:18px 0 10px; }
.kf_title_1 em{ display:none; }
.infoSortLink{ background:#fff; border:1px solid var(--line); border-radius:8px; padding:12px 16px; overflow:hidden; }
.infoSortLink li{ float:left; list-style:none; margin:4px 14px 4px 0; }
.infoSortLink a{ color:#555; text-decoration:none; }
.infoSortLink a:hover{ color:var(--ycb); }
.infoRight .infoHot .title, .infoRight .kf_title_1{
  background:var(--ycb); color:#fff; padding:8px 12px; border-radius:6px 6px 0 0; font-size:15px; border-left:0;
}
.infoRight .infoHot{ border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.infoRight .infoHot ul{ padding:8px 12px; margin:0; }
.infoRight .infoHot li{ list-style:none; padding:6px 0; border-bottom:1px dashed #f0f0f0; }
.infoRight .infoHot li:last-child{ border-bottom:0; }
.infoRight .infoHot a{ color:#444; text-decoration:none; }
.infoRight .infoHot a:hover{ color:var(--ycb); }
.infoRight .infoHot .price{ color:var(--ycr); }
.pinglun_wrap{ background:#fff; border:1px solid var(--line); border-radius:8px; padding:16px; margin-top:18px; }
.pinglun_wrap .title{ font-size:17px; font-weight:bold; color:var(--ycb); margin-bottom:10px; }

/* 兼容：列表模式（文字行）兜底，避免后台切换模式时破版 */
.yc-row{ display:flex; align-items:center; padding:12px 14px; border-bottom:1px solid #f3f3f3; font-size:15px; }
.yc-row:last-child{ border-bottom:0; }
.yc-row-cat{ flex:none; margin-right:12px; padding:2px 9px; background:#eaf3fb; color:var(--ycb); border-radius:4px; font-size:13px; white-space:nowrap; }
.yc-row-cat:hover{ background:var(--ycb); color:#fff; }
.yc-row-title{ flex:1; min-width:0; color:#222; text-decoration:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.yc-row-title:hover{ color:var(--ycb); }
.yc-row-flag{ flex:none; margin-right:10px; padding:1px 7px; background:var(--yco); color:#fff; border-radius:3px; font-size:12px; }
.yc-row-top{ background:#fffaf2; }
.yc-row-date{ flex:none; margin-left:14px; color:var(--gray); font-size:13px; white-space:nowrap; }
/* 主题强调色（2026-11-18 模板切换可见化） */
body{--kf-accent:#ff6c00;}

/* ===================== ycxinxi 永城信息港主题覆盖（2026-11-19） ===================== */
/* 配色：导航蓝 #1e7fd0，强调橙 #ff6c00，置顶橙，信息流双列行式 */
:root{ --yco2:#ff6c00; --ycnav:#1e7fd0; }
.indexMessBox .messlist{ background:#fff; border-color:#eee; border-radius:2px; padding:4px 14px; }
/* 信息流行式：白底、下虚线、橙标题、» 前缀 */
.messlist .qjrow,.kinfolistwrap .qjrow{
  background:#fff; border:0; border-bottom:1px dashed #eee; border-radius:0;
  box-shadow:none; min-height:64px; padding:10px 2px;
}
.qjrow:hover{ background:#fff9f2; box-shadow:none; }
.qjrow-t{ color:var(--yco2); font-weight:600; }
.qjrow-t::before{ content:"\00BB\0020"; color:var(--yco2); font-weight:700; }
.qjrow-t:hover{ color:#e55f00; }
.qjrow-c{ background:#fff3e8; color:var(--yco2); border-radius:2px; }
.qjrow-d{ color:#aaa; }
.qjrow-ding{ background:var(--yco2); border-radius:2px; }
.qjrow-top{ border-left:0; background:transparent; }
/* 区块标题橙（分类信息MESSAGE 风） */
.kf_title_1 em,.indexlink .title em{ background:var(--yco2) !important; }
.iNewsHot,.iBizTitle,.iInfoTitle{ border-left:3px solid var(--yco2) !important; }
.iInfoTitle .title,.iBizTitle .title,.iNewTitle .title{ color:var(--yco2); }
.yc-sectitle .t{ border-left-color:var(--yco2); }
.yc-sectitle .t em{ color:var(--yco2); }
/* 分类导航条：蓝条橙点 */
.yc-catbar-inner a:hover{ color:#fff; background:var(--ycnav); }
.yc-catbar-inner a.yc-cat-all{ color:var(--yco2); }
.yc-catbar-inner a.yc-cat-post{ color:#fff; background:var(--yco2); }
/* 顶部发布/搜索按钮橙 */
.top_btn .post_btn{ background:var(--yco2) !important; }
.searchsubmit{ background:var(--yco2) !important; }
/* 详情页头部蓝（导航色） */
.kptopwrap,.ktopwrap{ background:linear-gradient(90deg,var(--ycnav),#1668b5); }

/* ===== 2026-11-21 列表页版式修复：宽度对齐容器（信息流行式为整行） ===== */
.indexMessBox .messlist{ width:auto; float:none; }
.indexMessBox .messlist > .mList{ width:100%; }
.indexMessBox .messlist > .clear{ display:none; }

/* ===== 2026-11-21 补官方 .mList 列表模式布局（List_1/TList_1 用） ===== */
.mList{width:1200px; padding:30px 0px; height:150px; position: relative; box-sizing:content-box;}
.mList::after{content:"\20"; display: block; height: 0px; margin-left:190px; width: 1010px; overflow: hidden; border-bottom:1px solid #f3f3f3; position: absolute; bottom: 0px; left: 0px;}
.mList:hover{ background-color:#fafafa;}
.mList:hover .textwrap .title a{ color:#ed414a;}
.mListPic{overflow:hidden; background-color:#fafafa; width:170px; height:150px; float: left; position: relative; display: flex;}
.mListPic .picnum{position:absolute; top: 0px; left: 0px; font-size: 12px; color: #fff; z-index: 100; padding: 0px 5px; line-height: 20px;}
.mListPic .picnum:after{content: "\20"; display: block; width: 100%; height: 100%; position:absolute; top: 0px; left: 0px; background-color: #000; z-index: -99;filter:alpha(opacity=40); opacity:0.4;}
.mListPic .kicon_video{position:absolute; bottom: 0px; right: 0px; display: block; font-size: 12px; color: #fff; z-index: 100; line-height: 20px; width: 50px; height: 20px;}
.mListPic .kicon_video::before{content: "\20"; position: absolute; opacity: 0.4; top: 0px; left: 0px; width: 100%; height: 100%; background-color: #000; display: block;}
.mListPic .kicon_video::after{content:"\e7c7视频"; text-align: center; width: 100%; font-family: "iconfont"; display: block; position: absolute; }
.mListPic img{ width:100%; height:auto; min-height: 100%; padding:0px; object-fit: cover;}
.mList .textwrap{ margin-left:210px; margin-right: 220px;}
.mList .textwrap .title{font-size:18px; margin-bottom:20px; line-height:20px;}
.mList .textwrap .title a{color:#000000; display: inline; margin-right: 5px; vertical-align: middle;}
.mList .textwrap .title .vip{background-color:#ff3300; color:#Ff0; width:auto; text-align:center; line-height:20px; height:20px; padding:2px 5px; border-radius:3px; display: inline; font-size: 12px; margin-right: 5px;background-image: linear-gradient(#FF0000,#FF9900);}
.mList .textwrap .title .vip:after{content:"会员";}
.mListDing{background-color:#ff3300; color:#FFF; width:auto; text-align:center; line-height:20px; height:20px; padding:2px 5px; border-radius:3px; display: inline; font-size: 12px;  margin-right: 5px;background-image: linear-gradient(#FF0000,#FF9900);}
.mListClass{ width:100%; height:20px; font-size:12px; line-height:20px; margin-bottom: 10px;}
.mListClass p{display: inline-block; width:auto; overflow:hidden; padding:0px 8px; text-align:center; height:20px; border:1px solid #35a6ee; color:#35a6ee; border-radius:0px; margin: 0px; margin-right:8px;}
.mListClass p:nth-of-type(4n+2){border:1px solid #f0962a; color:#f0962a;}
.mListClass p:nth-of-type(4n+3){border:1px solid #1fbf8c; color:#1fbf8c;}
.mListContent{font-size:14px; line-height:25px; max-height:50px; color:#444; margin-right: 100px;}
.mListContact{font-size:14px; line-height:25px; color:#444;}
.mListContact p{display: inline-block; margin: 0px; padding: 0px; margin-right: 10px;}
.mListPrice{ float:right; padding-right: 20px; line-height:30px; height:100px; width:auto; text-align: right;}
.mListPrice .price{ margin-top: 40px; font-size: 20px; color:#ff3300; height: 40px; line-height: 40px; }
.mListPrice strong{ font-size:14px; font-weight: normal;}
.mListPrice .date{font-size:14px; color: #888888;}

/* ===== 2026-11-21 列表页同首页双列信息流（用户要求，覆盖官方 mList 大卡片） ===== */
.indexMessBox .messlist{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px;
  background:#fff; border:1px solid #eee; border-radius:2px; padding:6px 14px; width:auto; float:none; }
.indexMessBox .messlist .qjrow{ float:none; width:auto; margin:0; min-height:62px;
  background:#fff; border:0; border-bottom:1px dashed #eee; border-radius:0; padding:9px 2px;
  box-sizing:border-box; display:flex; flex-direction:column; box-shadow:none; }
.indexMessBox .messlist .qjrow:hover{ background:#fff9f2; }
.indexMessBox .messlist .qjrow-t{ color:#ff6c00; font-size:14px; font-weight:600; line-height:20px; text-decoration:none;
  display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.indexMessBox .messlist .qjrow-t::before{ content:"\00BB\0020"; color:#ff6c00; font-weight:700; }
.indexMessBox .messlist .qjrow-t:hover{ color:#e55f00; }
.indexMessBox .messlist .qjrow-m{ margin-top:auto; display:flex; justify-content:space-between; gap:6px;
  font-size:12px; color:#aaa; padding-top:6px; }
.indexMessBox .messlist .qjrow-c{ background:#fff3e8; color:#ff6c00; border-radius:2px; padding:0 5px; }
.indexMessBox .messlist .qjrow-d{ color:#aaa; }
/* 列表模式(mList 行)也按信息流样式渲染，不再用官方大卡片 */
.indexMessBox .messlist > .mList{ grid-column:1 / -1; width:auto; min-height:0; height:auto; padding:9px 2px;
  background:#fff; border:0; border-bottom:1px dashed #eee; box-shadow:none; position:static; }
.indexMessBox .messlist > .mList::after{ display:none; }
.indexMessBox .messlist > .mList .mListPic{ display:none; }
.indexMessBox .messlist > .mList .textwrap{ margin:0; }
.indexMessBox .messlist > .mList .textwrap .title{ font-size:14px; font-weight:600; margin-bottom:4px; line-height:20px; }
.indexMessBox .messlist > .mList .textwrap .title a{ color:#ff6c00; }
.indexMessBox .messlist > .mList .textwrap .title a::before{ content:"\00BB\0020"; color:#ff6c00; font-weight:700; }
.indexMessBox .messlist > .mList .mListClass{ margin-bottom:4px; }
.indexMessBox .messlist > .mList .mListContent{ margin-right:0; max-height:none; color:#444; }
.indexMessBox .messlist > .mList .mListPrice{ float:none; height:auto; padding:0; margin-top:4px; text-align:left; }
.indexMessBox .messlist > .mList .mListPrice .price{ margin:0; height:auto; line-height:20px; font-size:14px; display:inline; margin-right:10px; }
.indexMessBox .messlist > .mList .mListPrice .date{ display:inline; color:#aaa; }

/* ===== 县站首页三栏重排（2026-11-22）===== */
.im{width:auto;max-width:1220px;}
.iml{width:470px;margin-right:10px;}
.imc{width:418px;}
.imr{width:312px;}
@media (max-width:1240px){
  .im{max-width:100%;}
  .iml,.imc,.imr{width:100%;float:none;margin:0 0 10px 0;}
  .iml .vsBox{width:100% !important;}
  .iml .vsBox img{width:100%;height:auto;}
}

/* ===== 县站首页三栏重排（2026-11-22）===== */
.im{width:auto;max-width:1220px;}
.iml{width:470px;margin-right:10px;}
.imc{width:418px;}
.imr{width:312px;}
@media (max-width:1240px){
  .im{max-width:100%;}
  .iml,.imc,.imr{width:100%;float:none;margin:0 0 10px 0;}
  .iml .vsBox{width:100% !important;}
  .iml .vsBox img{width:100%;height:auto;}
}

/* 堆叠模式 banner 定高裁切（修正） */
@media (max-width:1240px){
  .iml .vsBox img{width:100%;height:300px;object-fit:cover;}
}

/* 堆叠模式 banner 居中原尺寸（再次修正） */
@media (max-width:1240px){
  .iml{background-color:#FFFFFF;}
  .iml .vsBox{width:470px !important;margin:0 auto;}
  .iml .vsBox img{width:100%;height:100%;object-fit:fill;}
}

@media (max-width:1240px){
  .iml .vsBox{float:none !important;display:block;margin:0 auto;}
}
