/* ============ 旅游吐槽网 基础样式 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif; font-size: 15px; line-height: 1.7; color: #333; background: #f6f7f8; }

a { color: #1a6bd6; text-decoration: none; }
a:hover { color: #0d4f9e; text-decoration: underline; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sec-title { font-size: 26px; color: #222; margin: 8px 0 18px; font-weight: 700; }
.sec-title small { display: block; font-size: 13px; color: #999; font-weight: 400; margin-top: 4px; }
.more-link { text-align: right; margin-top: 10px; }
.empty { color: #999; padding: 24px 0; }

/* ---------- 顶栏与头部 ---------- */
.topbar { background: #222; color: #bbb; font-size: 12px; }
.topbar .wrap { display: flex; justify-content: space-between; padding: 5px 16px; }
.topbar-phone { color: #e8a23d; }
.site-head { background: #fff; border-bottom: 1px solid #e5e7eb; }
.head-row { display: flex; align-items: center; justify-content: space-between; padding: 16px; }
.logo a { font-size: 26px; font-weight: 800; color: #222; }
.logo span { display: block; font-size: 12px; color: #999; margin-top: 2px; }
.search-box { display: flex; width: 420px; max-width: 46%; }
.search-box input { flex: 1; border: 2px solid #2a9d5f; border-right: none; padding: 9px 12px; font-size: 14px; outline: none; border-radius: 4px 0 0 4px; }
.search-box button { background: #2a9d5f; color: #fff; border: none; padding: 0 18px; font-size: 14px; cursor: pointer; border-radius: 0 4px 4px 0; }
.main-nav { background: #2a9d5f; }
.main-nav .wrap { display: flex; }
.main-nav a { color: #fff; padding: 11px 20px; font-size: 15px; }
.main-nav a:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.main-nav a.active { background: #1e7a48; }

/* ---------- 面包屑 ---------- */
.crumb { background: #fff; border-bottom: 1px solid #eee; padding: 9px 0; font-size: 13px; color: #888; }
.crumb a { color: #888; }
.crumb i { margin: 0 6px; color: #ccc; font-style: normal; }
.crumb .cur { color: #333; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #1d6f4a 0%, #2a9d5f 55%, #4db381 100%); color: #fff; padding: 46px 0 40px; }
.hero h1 { font-size: 32px; margin-bottom: 10px; }
.hero p { opacity: .94; max-width: 860px; }
.hero-search { display: flex; margin: 20px 0 12px; max-width: 560px; }
.hero-search input { flex: 1; border: none; padding: 13px 16px; font-size: 15px; border-radius: 6px 0 0 6px; outline: none; }
.hero-search button { background: #f5a623; color: #fff; border: none; padding: 0 26px; font-size: 15px; border-radius: 0 6px 6px 0; cursor: pointer; font-weight: 600; }
.hot-kw { font-size: 13px; }
.hot-kw a { color: #d9f2e4; margin: 0 2px; }

/* ---------- 通用区块 ---------- */
section { margin-bottom: 26px; }
.page-wrap .wrap { display: flex; gap: 26px; align-items: flex-start; }
.main-col { flex: 1; min-width: 0; background: #fff; padding: 26px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.side { width: 300px; flex-shrink: 0; }
.side-box { background: #fff; border-radius: 8px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.side-box h4 { font-size: 16px; border-left: 4px solid #2a9d5f; padding-left: 10px; margin-bottom: 10px; color: #222; }
.side-box li { list-style: none; padding: 6px 0; border-bottom: 1px dashed #eee; font-size: 14px; }
.side-box li:last-child { border-bottom: none; }

/* ---------- 季节推荐 ---------- */
.seasons { background: #fff; padding: 30px 0; }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.season-card { border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; }
.season-card h3 { font-size: 19px; color: #2a9d5f; margin-bottom: 6px; }
.season-card .season-intro { color: #888; font-size: 13px; margin-bottom: 10px; }
.season-card ul { list-style: none; }
.season-card li { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px dashed #eee; }
.season-card li em { font-style: normal; color: #f5a623; font-size: 12px; }

/* ---------- 省份框架 ---------- */
.prov-framework { background: #fff; padding: 30px 0; border-top: 1px solid #f0f0f0; }
.prov-block { border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 12px; padding: 14px 16px; }
.prov-block h3 { font-size: 18px; display: flex; align-items: baseline; gap: 8px; }
.prov-block h3 em { font-style: normal; color: #999; font-size: 12px; }
.prov-cities { margin: 8px 0 4px; line-height: 2.1; }
.prov-cities span { margin-right: 8px; }
.prov-cities a, .prov-counties a { color: #555; font-size: 14px; }
.prov-cities a:hover { color: #1a6bd6; }
.prov-cities .more, .prov-counties .more { color: #2a9d5f; font-size: 13px; }
.prov-counties { color: #999; font-size: 13px; line-height: 2; }
.prov-counties .cn { font-style: normal; color: #f5a623; }

/* ---------- 排行 ---------- */
.rank-block, .free-block, .article-block, .city-quick, .site-desc { background: #fff; padding: 30px 0; border-top: 1px solid #f0f0f0; }
.rank-list { list-style: none; counter-reset: rk; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 30px; }
.rank-list li { border-bottom: 1px dashed #eee; }
.rank-list a { display: flex; align-items: center; gap: 10px; padding: 10px 4px; color: #333; }
.rank-list a:hover { color: #1a6bd6; }
.rank-list em { font-style: normal; background: #2a9d5f; color: #fff; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; font-size: 12px; }
.rank-list li:nth-child(-n+3) em { background: #f5a623; }
.rank-list span { color: #999; font-size: 13px; flex: 1; }
.rank-list b { color: #f5a623; font-weight: 600; }

.free-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.free-list li { list-style: none; }
.free-list a { display: block; border: 1px solid #e5e7eb; border-radius: 6px; padding: 10px 12px; color: #333; }
.free-list a span { display: block; color: #999; font-size: 12px; }

.art-list li { list-style: none; padding: 8px 0; border-bottom: 1px dashed #eee; }
.city-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.city-list li { list-style: none; }
.city-list a { border: 1px solid #e5e7eb; border-radius: 6px; padding: 8px 10px; display: block; color: #333; text-align: center; }
.city-list a span { display: block; color: #999; font-size: 12px; }

.site-desc { color: #555; }

/* ---------- 页面头部 ---------- */
.page-head h1 { font-size: 26px; margin-bottom: 8px; }
.page-sub { color: #888; font-size: 14px; margin-bottom: 18px; }
.prose h2 { font-size: 21px; margin: 8px 0 12px; color: #222; }
.prose p { margin-bottom: 12px; color: #444; }

/* ---------- 城市卡片 ---------- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.pc-card { border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px 14px; }
.pc-card h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.pc-card h3 em { font-style: normal; color: #f5a623; font-size: 12px; }
.pc-counties { margin-top: 6px; line-height: 2; }
.pc-counties a { color: #777; font-size: 13px; margin-right: 8px; }

/* ---------- 景点表格 ---------- */
.spot-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spot-table th, .spot-table td { border: 1px solid #e5e7eb; padding: 9px 10px; text-align: left; }
.spot-table th { background: #f2f8f4; color: #333; }

/* ---------- 景点卡片网格 ---------- */
.spot-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.spot-card a { display: block; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px 16px; color: #333; }
.spot-card a:hover { border-color: #2a9d5f; text-decoration: none; }
.spot-card h3 { font-size: 17px; margin-bottom: 4px; }
.spot-card .region { color: #999; font-size: 13px; }
.spot-card .tags span { display: inline-block; background: #f0f7f2; color: #2a9d5f; font-size: 12px; padding: 1px 8px; border-radius: 10px; margin: 6px 6px 0 0; }
.spot-card .score { color: #f5a623; font-size: 13px; margin-top: 8px; }

/* ---------- 全部省份/城市链接 ---------- */
.all-prov-links { border-top: 1px dashed #ddd; padding-top: 16px; margin-top: 20px; }
.all-prov-links h2 { font-size: 16px; margin-bottom: 8px; color: #333; }
.prov-links2 { line-height: 2.2; }
.prov-links2 a { color: #555; margin-right: 10px; }

/* ---------- 景点详情页 ---------- */
.spot-head h1 { font-size: 27px; }
.spot-meta span { display: inline-block; background: #f0f7f2; color: #2a9d5f; border-radius: 12px; padding: 2px 12px; margin: 10px 6px 0 0; font-size: 13px; }
.quick-info ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #e5e7eb; border-radius: 8px; }
.quick-info li { list-style: none; padding: 10px 14px; border-bottom: 1px dashed #eee; font-size: 14px; }
.quick-info li:nth-last-child(-n+2) { border-bottom: none; }
.quick-info b { color: #666; margin-right: 6px; }
.complaint-box { background: #fff8ec; border: 1px solid #f3e2bd; border-radius: 8px; padding: 16px 18px; }
.complaint-box h2 { color: #c07a1d; }
.pains { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pains li { border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px 14px; }
.pains h3 { font-size: 15px; color: #c0392b; margin-bottom: 4px; }
.pains p { color: #555; font-size: 14px; }
.tips li { margin: 4px 0 4px 18px; }
.faq-item { border-bottom: 1px dashed #eee; padding: 12px 0; }
.faq-item h3 { font-size: 15px; color: #222; margin-bottom: 4px; }
.faq-item p { color: #555; font-size: 14px; }

/* ---------- 评论 ---------- */
.comments li { list-style: none; border: 1px solid #eee; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; }
.c-meta { color: #999; font-size: 13px; margin-bottom: 6px; }
.cform { margin-top: 16px; background: #fafbfc; border: 1px solid #eee; border-radius: 8px; padding: 16px; }
.cform .cf-row { display: flex; gap: 10px; margin-bottom: 10px; }
.cform input, .cform select { padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; }
.cform textarea { width: 100%; min-height: 90px; padding: 10px; border: 1px solid #ccc; border-radius: 4px; margin-bottom: 10px; }
.cform button { background: #2a9d5f; color: #fff; border: none; padding: 9px 22px; border-radius: 4px; cursor: pointer; }

/* ---------- 排行大列表 ---------- */
.rank-big { list-style: none; counter-reset: rb; }
.rank-big a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px dashed #eee; color: #333; }
.rank-big a:hover { color: #1a6bd6; }
.rank-big em { font-style: normal; background: #eee; color: #666; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; font-size: 14px; }
.rank-big li:nth-child(-n+3) em { background: #f5a623; color: #fff; }
.rank-big .r-name { font-weight: 600; }
.rank-big .r-region { color: #999; font-size: 13px; flex: 1; }
.rank-big b { color: #f5a623; }

/* ---------- 文章 ---------- */
.article h1 { font-size: 26px; margin-bottom: 6px; }
.art-meta { color: #999; font-size: 13px; margin-bottom: 16px; }
.article p { margin-bottom: 14px; color: #444; }

/* ---------- 搜索 ---------- */
.search-big { display: flex; margin: 10px 0 20px; max-width: 560px; }
.search-big input { flex: 1; padding: 11px 14px; border: 2px solid #2a9d5f; border-right: none; border-radius: 6px 0 0 6px; font-size: 15px; outline: none; }
.search-big button { background: #2a9d5f; color: #fff; border: none; padding: 0 22px; border-radius: 0 6px 6px 0; cursor: pointer; font-size: 15px; }

/* ---------- 404 ---------- */
.error404 { text-align: center; padding: 80px 0; }
.error404 h2 { font-size: 60px; color: #ddd; }
.error404 p { margin: 10px 0; color: #888; }

/* ---------- 页脚 ---------- */
.site-foot { background: #222; color: #999; padding: 34px 0 0; margin-top: 30px; }
.foot-about h4, .foot-links h4 { color: #eee; font-size: 16px; margin-bottom: 10px; }
.foot-about p { font-size: 13px; line-height: 1.9; max-width: 760px; }
.foot-links { margin-top: 18px; }
.prov-links { font-size: 13px; line-height: 2.2; }
.prov-links a { color: #bbb; margin-right: 12px; }
.foot-copy { border-top: 1px solid #333; margin-top: 24px; padding: 14px 0; font-size: 12px; }
.foot-copy a { color: #999; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .season-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-grid { grid-template-columns: 1fr 1fr; }
  .free-list { grid-template-columns: repeat(2, 1fr); }
  .city-list { grid-template-columns: repeat(3, 1fr); }
  .page-wrap .wrap { flex-direction: column; }
  .side { width: 100%; }
  .rank-list { grid-template-columns: 1fr; }
  .search-box { max-width: 100%; }
}
@media (max-width: 560px) {
  .season-grid, .pc-grid, .free-list, .city-list, .spot-grid, .pains, .quick-info ul { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .head-row { flex-direction: column; gap: 10px; }
}
