/* 北川旅游资讯网 · 内页样式（配合首页模板风格） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: #333; background: #f5f5f5; font-size: 15px; line-height: 1.7; }
a { color: #00902e; text-decoration: none; }
a:hover { color: #00ca3d; }
.wrap { max-width: 1150px; margin: 0 auto; padding: 0 15px; }

/* 顶栏 */
.topbar { background: #4d4d4d; color: #ddd; font-size: 12px; }
.topbar .wrap { display: flex; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }

/* 站名行 */
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 15px; background: #fff; }
.brand { display: flex; flex-direction: column; line-height: 1.25; }
.brand-en { color: #00ca3d; font-size: 24px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.brand-name { color: #333; font-size: 20px; font-weight: 700; }
.search-form { display: flex; }
.search-form input { border: 2px solid #00a650; border-right: 0; padding: 8px 12px; width: 240px; font-size: 14px; outline: none; border-radius: 3px 0 0 3px; }
.search-form button { background: #00a650; color: #fff; border: 0; padding: 0 18px; cursor: pointer; font-size: 14px; border-radius: 0 3px 3px 0; }
.search-form button:hover { background: #00ca3d; }

/* 主导航 */
.main-nav { background: #00a650; }
.main-nav .wrap { display: flex; flex-wrap: wrap; }
.main-nav a { color: #fff; padding: 13px 26px; font-size: 16px; display: block; }
.main-nav a:hover { background: #00ca3d; color: #fff; }
.main-nav a.active { background: #00843d; }

/* 主体 */
.page-body { padding: 24px 0 40px; }
.panel { background: #fff; padding: 28px 32px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }

/* 面包屑 */
.crumbs { font-size: 13px; color: #999; margin-bottom: 18px; }
.crumbs a { color: #666; }
.crumbs a:hover { color: #00a650; }

/* 栏目页 */
.banner { border-bottom: 2px solid #00a650; padding-bottom: 14px; margin-bottom: 20px; }
.banner h1 { font-size: 24px; color: #00902e; display: inline-block; }
.banner .en { color: #bbb; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.banner .desc { color: #888; font-size: 13px; margin-top: 4px; }
.rows { list-style: none; }
.rows li + li { border-top: 1px dashed #ddd; }
.rows a.item { display: flex; gap: 18px; padding: 18px 0; color: #333; }
.rows .thumb { flex: 0 0 200px; }
.rows .thumb img { width: 200px; height: 130px; object-fit: cover; border-radius: 3px; display: block; }
.rows h2 { font-size: 18px; font-weight: 600; color: #222; }
.rows a.item:hover h2 { color: #00a650; }
.rows .sum { color: #777; font-size: 13px; margin: 6px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rows time { color: #aaa; font-size: 12px; }

/* 文章页 */
.article-wrap { max-width: 900px; }
article h1 { font-size: 26px; line-height: 1.4; color: #222; margin-bottom: 12px; }
.meta { color: #999; font-size: 13px; border-bottom: 1px solid #eee; padding-bottom: 12px; margin-bottom: 18px; display: flex; gap: 18px; flex-wrap: wrap; }
.meta .cat { color: #00a650; }
.article-hero { margin: 0 0 18px; }
.article-hero img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 4px; }
.lead { background: #f0faf3; border-left: 3px solid #00a650; padding: 12px 16px; color: #555; font-size: 14px; margin-bottom: 20px; }
.prose p { margin-bottom: 1.1em; text-indent: 2em; color: #333; }
.pn { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #eee; margin-top: 28px; padding-top: 18px; font-size: 14px; }
.pn a { color: #555; max-width: 48%; }
.pn a:hover { color: #00a650; }
.pn .lbl { color: #aaa; font-size: 12px; display: block; }
.related { margin-top: 30px; }
.related h2 { font-size: 18px; color: #00902e; border-left: 4px solid #00a650; padding-left: 10px; margin-bottom: 14px; }
.related ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related img { width: 100%; height: 120px; object-fit: cover; border-radius: 3px; }
.related p { font-size: 13px; color: #444; margin-top: 6px; }

/* 搜索页 */
.search-info { color: #666; font-size: 14px; margin-bottom: 16px; }
.empty { text-align: center; color: #999; padding: 60px 0; }
.btn { display: inline-block; background: #00a650; color: #fff; padding: 8px 22px; border-radius: 3px; }
.btn:hover { background: #00ca3d; color: #fff; }

/* 页脚 */
.site-footer { background: #4d4d4d; color: #ccc; margin-top: 40px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding: 34px 15px; }
.site-footer .fname { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.site-footer .fdesc { font-size: 13px; color: #999; max-width: 22em; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; font-size: 13px; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #ccc; }
.site-footer a:hover { color: #00ca3d; }
.flinks { border-top: 1px solid #5e5e5e; padding: 12px 0; font-size: 13px; color: #999; }
.flinks strong { color: #ccc; font-weight: 600; margin-right: 6px; }
.flinks a { color: #bbb; margin-right: 16px; }
.flinks a:hover { color: #00ca3d; }
.copy { border-top: 1px solid #5e5e5e; padding: 14px 0; font-size: 12px; color: #999; }
.copy .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 768px) {
  .brand-row { flex-direction: column; align-items: flex-start; }
  .search-form input { width: 180px; }
  .main-nav a { padding: 11px 14px; font-size: 14px; }
  .panel { padding: 18px; }
  .rows a.item { flex-direction: column; gap: 8px; }
  .rows .thumb img { width: 100%; height: 160px; }
  .related ul { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
