/* 东顺分类信息网 C端样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; background: #f5f6f7; color: #333; font-size: 14px; }
a { color: #333; text-decoration: none; }
a:hover { color: #ff6600; }
.container { width: 1180px; margin: 0 auto; }

/* 顶栏 */
.topbar { background: #fff; border-bottom: 2px solid #ff6600; }
.topbar-inner { display: flex; align-items: center; padding: 12px 0; gap: 24px; }
.logo { font-size: 26px; font-weight: 700; color: #ff6600; }
.search-box { flex: 1; max-width: 480px; display: flex; }
.search-box form { display: flex; flex: 1; }
.search-box input { flex: 1; height: 38px; border: 2px solid #ff6600; border-right: none; padding: 0 12px; font-size: 14px; outline: none; }
.search-box button { height: 38px; background: #ff6600; color: #fff; border: none; padding: 0 22px; cursor: pointer; font-size: 14px; }
.btn-post { display: inline-block; background: #ff6600; color: #fff; padding: 9px 22px; border-radius: 4px; font-size: 15px; }
.btn-post:hover { color: #fff; opacity: .9; }
.btn-plain { background: #fff; color: #ff6600; border: 1px solid #ff6600; }
.btn-block { display: block; text-align: center; }

/* 导航 */
.nav-inner { display: flex; flex-wrap: wrap; gap: 4px 2px; padding: 0 0 10px; }
.nav-inner a { padding: 6px 14px; font-size: 15px; }
.nav-inner a:hover, .nav-inner a.active { background: #ff6600; color: #fff; border-radius: 4px; }

/* 面板 */
.panel { background: #fff; border-radius: 6px; padding: 16px 20px; margin-bottom: 16px; }
.panel-title { font-size: 16px; font-weight: 700; border-left: 4px solid #ff6600; padding-left: 10px; margin-bottom: 12px; }

/* 首页分类网格 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-item { border: 1px solid #eee; border-radius: 4px; padding: 10px 12px; }
.cat-parent a { font-size: 15px; font-weight: 600; color: #ff6600; }
.cat-children { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.cat-children a { color: #666; font-size: 13px; }

/* 区县链接 */
.zone-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.zone-links a { color: #444; font-size: 14px; }

/* 信息列表 */
.info-list { list-style: none; }
.info-list li { display: flex; align-items: center; padding: 12px 4px; border-bottom: 1px dashed #eee; gap: 14px; }
.info-list li:last-child { border-bottom: none; }
.info-cat { flex-shrink: 0; background: #f0f0f0; color: #666; font-size: 12px; padding: 2px 8px; border-radius: 3px; }
.info-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.info-time, .info-meta { flex-shrink: 0; color: #999; font-size: 13px; }
.info-list .empty { justify-content: center; color: #999; }

/* 布局 */
.layout { display: flex; gap: 16px; }
.sidebar { width: 220px; flex-shrink: 0; }
.content { flex: 1; min-width: 0; }

/* 侧栏 */
.side-list { list-style: none; }
.side-list li { padding: 7px 2px; border-bottom: 1px dashed #f0f0f0; }
.side-list li:last-child { border-bottom: none; }
.side-list a { color: #555; display: block; }
.side-list a:hover, .side-list a.active { color: #ff6600; }

/* 面包屑 */
.crumb { padding: 12px 0; color: #999; }
.crumb a { color: #666; }
.crumb a:hover { color: #ff6600; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pagination a { border: 1px solid #ddd; padding: 6px 12px; border-radius: 4px; background: #fff; color: #555; }
.pagination a:hover { border-color: #ff6600; color: #ff6600; }
.pagination a.current { background: #ff6600; color: #fff; border-color: #ff6600; }

/* 详情 */
.detail-title { font-size: 22px; margin-bottom: 10px; }
.detail-meta { color: #999; font-size: 13px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; margin-bottom: 16px; }
.detail-content { line-height: 1.9; font-size: 15px; min-height: 80px; white-space: pre-wrap; word-break: break-word; }
.detail-contact { margin-top: 20px; background: #fff7f0; border: 1px solid #ffd9b8; border-radius: 6px; padding: 14px 16px; line-height: 2; }
.detail-contact .phone { font-size: 18px; color: #ff6600; font-weight: 700; }
.post-tip { color: #999; margin-bottom: 10px; }

/* 404 */
.error-page { text-align: center; padding: 60px 20px; }
.error-page h1 { font-size: 72px; color: #ff6600; }
.error-page p { margin: 10px 0 20px; color: #666; }
.error-page .btn-post { margin: 0 6px; }

/* 发布表单 */
.form-panel { max-width: 640px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 6px; font-weight: 600; }
.form-row .req { color: #ff6600; }
.form-row input[type=text], .form-row input[type=tel], .form-row textarea, .form-row select {
  width: 100%; border: 1px solid #ddd; border-radius: 4px; padding: 9px 12px; font-size: 14px; outline: none;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: #ff6600; }
.form-row textarea { resize: vertical; min-height: 140px; }
.form-row .hint { color: #999; font-size: 12px; margin-top: 4px; }
.captcha-row { display: flex; gap: 10px; }
.captcha-row input { flex: 1; }
.captcha-row img { height: 38px; cursor: pointer; border: 1px solid #ddd; border-radius: 4px; }
.form-submit { margin-top: 8px; }
.success-box { text-align: center; padding: 40px 20px; }
.success-box h2 { color: #52c41a; margin-bottom: 12px; }

/* 页脚 */
.footer { background: #fff; border-top: 2px solid #ff6600; margin-top: 30px; padding: 18px 0 26px; }
.footer p { text-align: center; color: #888; font-size: 13px; line-height: 2; }
.footer a { color: #888; }
.footer a:hover { color: #ff6600; }
.footer .footer-icp a { color: #999; font-size: 12px; }
