/* 利川人 PC 端样式 - 实用 / 清晰 / 图片化背景 */
:root {
    --brand: #0f766e;
    --brand-2: #14867c;
    --brand-dark: #0b4f47;
    --gold: #d97706;
    --gold-2: #f59e0b;
    --ink: #16212e;
    --gray: #64748b;
    --line: #e4e9ed;
    --bg: #f4f6f7;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(16, 34, 48, .04), 0 4px 14px rgba(16, 34, 48, .05);
    --shadow-lg: 0 8px 28px rgba(16, 34, 48, .12);
    --img: url("../images/bg-mountain.svg");
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.65 "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .18s; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
ul, li { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: .3px; }
p { margin: 0 0 10px; }

.container { width: 1200px; max-width: 94%; margin: 0 auto; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 38px; padding: 0 20px; border: 1px solid var(--brand); border-radius: 8px;
    background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background .18s, border-color .18s, color .18s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: #b45309; border-color: #b45309; }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: #f2faf8; color: var(--brand); }
.btn-sm { height: 30px; padding: 0 14px; font-size: 13px; }

/* ============ 顶部导航 ============ */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; height: 64px; gap: 20px; flex-wrap: nowrap; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
    width: 38px; height: 38px; border-radius: 9px;
    background: var(--brand); display: grid; place-items: center;
    color: #fff; font-size: 19px; font-weight: 800;
}
.logo-text b { font-size: 21px; letter-spacing: 2px; display: block; line-height: 1.15; }
.logo-text span { font-size: 11px; color: var(--gray); letter-spacing: 1px; }

.nav {
    flex: 1 1 auto; min-width: 0; display: flex; gap: 18px; flex-wrap: nowrap;
    font-size: 15px; font-weight: 500; overflow: hidden;
}
.nav a { position: relative; padding: 4px 0; flex: none; white-space: nowrap; }
.nav a:hover { color: var(--brand); }
.header-right { margin-left: auto; flex: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.header-right .btn { flex: none; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 14px; max-width: 160px; }
.user-chip .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
    width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none;
    background: var(--brand); color: #fff;
    display: grid; place-items: center; font-size: 13px; font-weight: 700;
}

/* ============ Hero（利川山水背景图） ============ */
.hero {
    position: relative; overflow: hidden; color: #fff; padding: 60px 0 88px;
    background: #0b3f47 url("../images/bg-hero.svg") center center / cover no-repeat;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(4, 32, 38, .94) 0%, rgba(5, 44, 50, .78) 42%, rgba(6, 60, 62, .38) 100%);
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background: url("../images/bg-texture.svg") repeat;
    opacity: .05; mix-blend-mode: overlay;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: 38px; line-height: 1.25; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.hero h1 em { font-style: normal; color: #ffd8a8; }
.hero-sub { font-size: 15.5px; opacity: .9; margin-bottom: 26px; }

.search-bar {
    display: flex; background: #fff; border-radius: 8px; padding: 6px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .26); max-width: 700px;
}
.search-bar input {
    flex: 1; border: 0; outline: 0; height: 44px; padding: 0 20px;
    font-size: 15px; background: transparent; border-radius: 8px;
}
.search-bar .btn { height: 44px; padding: 0 30px; border-radius: 6px; }
.search-bar.plain { max-width: 100%; background: #fff; box-shadow: none; border: 1px solid var(--line); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-size: 13px; }
.hero-tags a {
    padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .26); transition: .18s;
}
.hero-tags a:hover { background: #fff; color: var(--brand-dark); }

.hero-stats { display: flex; gap: 42px; margin-top: 34px; }
.hero-stats b { display: block; font-size: 28px; letter-spacing: 1px; }
.hero-stats span { font-size: 13px; opacity: .82; }

/* ============ 区块 ============ */
.section { padding: 40px 0 6px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; display: flex; align-items: center; gap: 9px; }
.section-head h2::before {
    content: ''; width: 4px; height: 20px; border-radius: 3px; background: var(--brand);
}
.section-head .more { font-size: 13px; color: var(--gray); }

.card {
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--line);
}

/* 乡镇街道板块：白底轻纹理，实用为主 */
.board-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.board-item {
    position: relative; overflow: hidden;
    background: #fff url("../images/bg-texture.svg") right bottom / 130px no-repeat;
    border: 1px solid var(--line); border-radius: 10px; padding: 14px 8px; text-align: center;
    box-shadow: var(--shadow); transition: border-color .18s, box-shadow .18s, transform .18s;
}
.board-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-2); }
.board-item b { display: block; font-size: 15px; margin-top: 6px; }
.board-item span { font-size: 12px; color: var(--gray); }
.bd-ico {
    width: 40px; height: 40px; margin: 0 auto; border-radius: 10px; display: grid; place-items: center;
    font-size: 18px; font-weight: 700; color: #fff; background: var(--brand);
}
.bd-ico.gold { background: var(--gold); }
.bd-ico.blue { background: #0369a1; }
.bd-ico.purple { background: #6d28d9; }

/* 景区卡片：改用图片背景 */
.scenic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scenic-item {
    position: relative; overflow: hidden; border-radius: 12px; height: 172px; color: #fff;
    box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
    background: #0b4f47 center / cover no-repeat;
}
.scenic-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scenic-item .cover {
    position: absolute; inset: 0; background: center / cover no-repeat;
    transform: scale(1.02); transition: transform .4s;
}
.scenic-item:hover .cover { transform: scale(1.08); }
.scenic-item .mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(2, 24, 28, .12) 0%, rgba(2, 24, 28, .3) 45%, rgba(2, 20, 24, .82) 100%);
}
.scenic-item .info { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; }
.scenic-item .info b { font-size: 17px; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.scenic-item .info p { margin: 4px 0 0; font-size: 12px; opacity: .92; height: 36px; overflow: hidden; }
.scenic-item .info em {
    font-style: normal; display: inline-block; margin-top: 6px; font-size: 12px;
    padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .3);
}

/* 幻灯片：图片背景 */
.slides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -52px; position: relative; z-index: 5; }
.slide-item {
    position: relative; overflow: hidden; height: 128px; border-radius: 12px; padding: 18px;
    color: #fff; box-shadow: var(--shadow-lg); transition: transform .25s;
    background: #0b4f47 center / cover no-repeat;
}
.slide-item:hover { transform: translateY(-4px); }
.slide-item::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(3, 30, 36, .88) 0%, rgba(4, 44, 50, .55) 60%, rgba(4, 44, 50, .3) 100%);
}
.slide-item b, .slide-item p { position: relative; z-index: 2; }
.slide-item b { font-size: 18px; letter-spacing: .5px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.slide-item p { margin: 6px 0 0; font-size: 12px; opacity: .92; }

/* 信息列表 */
.post-list { display: flex; flex-direction: column; gap: 10px; }
.post-item {
    display: flex; gap: 14px; padding: 14px 16px; background: #fff;
    border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
    transition: border-color .18s, box-shadow .18s;
}
.post-item:hover { border-color: var(--brand-2); box-shadow: var(--shadow-lg); }
.post-thumb {
    width: 116px; height: 84px; border-radius: 8px; flex: none; overflow: hidden;
    display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 700;
    background: #0b4f47 url("../images/bg-mountain.svg") center / cover no-repeat;
    position: relative;
}
.post-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(3, 32, 38, .34); }
.post-thumb.has-img::after { display: none; }
.post-thumb span { position: relative; z-index: 2; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.post-main { flex: 1; min-width: 0; }
.post-title { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.post-title a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.post-title a:hover { color: var(--brand); }
.post-desc { color: var(--gray); font-size: 13px; margin: 5px 0 7px; height: 21px; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #94a3b8; }
.post-side { flex: none; width: 148px; text-align: right; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.price-num { color: #e0453a; font-size: 19px; font-weight: 700; }
.price-unit { color: #e0453a; font-size: 12px; margin-left: 2px; }
.price-free { color: var(--brand); font-size: 16px; font-weight: 700; }

.tag {
    display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 12px;
    background: #e8f6f4; color: var(--brand);
}
.tag-top { background: var(--gold); color: #fff; }
.tag-rec { background: #fee2e2; color: #dc2626; }
.tag-type { background: #eef2ff; color: #4f46e5; }

/* 侧栏 */
.layout-main { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; padding-bottom: 44px; }
.side-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid var(--line); padding: 18px; margin-bottom: 16px;
}
.side-card h3 { font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-card h3::before { content: ''; width: 3px; height: 15px; border-radius: 3px; background: var(--brand); }
.hot-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.hot-list li:last-child { border: 0; }
.hot-list .no { width: 20px; height: 20px; border-radius: 5px; background: #eef2f5; color: var(--gray); font-size: 12px; display: grid; place-items: center; flex: none; }
.hot-list li:nth-child(1) .no { background: var(--gold); color: #fff; }
.hot-list li:nth-child(2) .no { background: #94a3b8; color: #fff; }
.hot-list li:nth-child(3) .no { background: #b45309; color: #fff; }
.hot-list .t { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 侧栏推广卡（乡镇村舍图片背景） */
.side-cta {
    position: relative; overflow: hidden; color: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 22px 20px;
    background: #244a38 url("../images/bg-town.svg") center / cover no-repeat;
}
.side-cta::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12, 48, 36, .5) 0%, rgba(8, 34, 26, .86) 100%);
}
.side-cta > * { position: relative; z-index: 2; }
.side-cta h3 { font-size: 16px; margin-bottom: 8px; }
.side-cta p { font-size: 13px; opacity: .92; line-height: 1.7; }
.side-cta .btn { width: 100%; margin-top: 12px; background: #fff; color: var(--brand-dark); border-color: #fff; }
.side-cta .btn:hover { background: #f0f7f5; color: var(--brand-dark); }

/* 筛选条 */
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 14px 18px; margin-bottom: 16px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 5px 0; }
.filter-row .lb { color: var(--gray); font-size: 13px; width: 48px; flex: none; }
.filter-row a { padding: 4px 12px; border-radius: 6px; font-size: 13px; background: #f1f5f7; color: #475569; }
.filter-row a:hover { background: #e8f6f4; color: var(--brand); }
.filter-row a.on { background: var(--brand); color: #fff; }

/* 详情页 */
.detail-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; padding: 22px 0 44px; }
.detail-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 26px; }
.detail-title { font-size: 24px; line-height: 1.4; margin-bottom: 10px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--gray); font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.detail-price { background: #fffaf2; border: 1px solid #fcd9a8; border-radius: 10px; padding: 14px 18px; margin: 16px 0; }
.detail-price .price-num { font-size: 26px; }
.detail-content { font-size: 15.5px; line-height: 1.95; color: #334155; }
.detail-content p { margin-bottom: 12px; }
.detail-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.detail-gallery img { width: 100%; height: 128px; object-fit: cover; border-radius: 8px; cursor: zoom-in; }
.contact-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.contact-box div { background: #f7fafb; border: 1px solid var(--line); border-radius: 8px; padding: 12px; text-align: center; }
.contact-box span { display: block; font-size: 12px; color: var(--gray); }
.contact-box b { font-size: 16px; }

/* 表单 */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 28px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form-row label i { color: #e0453a; font-style: normal; }
.input, .select, .textarea {
    width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px;
    font-size: 14px; outline: 0; transition: .18s; background: #fff; font-family: inherit;
}
.textarea { height: 140px; padding: 12px; line-height: 1.8; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .1); }
.form-tip { font-size: 12px; color: var(--gray); margin-top: 6px; }
.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-group label { font-weight: 500; }
.radio-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line);
    border-radius: 999px; cursor: pointer; font-size: 14px;
}
.radio-chip input { accent-color: var(--brand); }
.uploader { display: flex; gap: 10px; flex-wrap: wrap; }
.uploader .up-item { position: relative; width: 100px; height: 100px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.uploader .up-item img { width: 100%; height: 100%; object-fit: cover; }
.uploader .up-del { position: absolute; top: 2px; right: 2px; background: rgba(0, 0, 0, .55); color: #fff; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 12px; }
.uploader .up-add { width: 100px; height: 100px; border: 1px dashed #cbd5e1; border-radius: 8px; display: grid; place-items: center; color: var(--gray); cursor: pointer; font-size: 13px; background: #fafcfc; }
.uploader .up-add:hover { border-color: var(--brand); color: var(--brand); }

/* 分页 */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.pagination li { display: inline-block; }
.pagination li a, .pagination li span {
    display: inline-block; min-width: 34px; height: 34px; padding: 0 10px; line-height: 34px; text-align: center;
    border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 14px;
}
.pagination li a:hover { border-color: var(--brand); color: var(--brand); }
.pagination li.active span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination li.disabled span { color: #cbd5e1; }

/* 面包屑 */
.crumb { font-size: 13px; color: var(--gray); padding: 16px 0 0; }
.crumb a { color: var(--gray); }
.crumb a:hover { color: var(--brand); }

/* 页脚（夜色山影图片背景） */
.footer {
    position: relative; overflow: hidden; color: #a9bcc0; padding: 44px 0 20px; margin-top: 26px;
    background: #04191f url("../images/bg-footer.svg") center bottom / cover no-repeat;
}
.footer::before { content: ''; position: absolute; inset: 0; background: rgba(3, 20, 25, .78); }
.footer .container { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer li { padding: 4px 0; font-size: 13px; }
.footer .f-brand b { color: #fff; font-size: 19px; letter-spacing: 2px; }
.footer .f-brand p { font-size: 13px; margin-top: 10px; line-height: 1.85; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 26px; padding-top: 16px; font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* 会员中心 */
.user-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; padding: 22px 0 44px; }
.user-side { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 16px; }
.user-side .u-top { text-align: center; padding: 8px 0 14px; border-bottom: 1px solid var(--line); }
.user-side .u-top .avatar { width: 58px; height: 58px; font-size: 21px; margin: 0 auto 8px; }
.user-side .menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; margin-top: 3px; }
.user-side .menu a.on, .user-side .menu a:hover { background: #e8f6f4; color: var(--brand); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 16px; text-align: center; }
.stat-box b { display: block; font-size: 24px; color: var(--brand); }
.stat-box span { font-size: 13px; color: var(--gray); }

/* 后台 */
.admin-body { background: #eef2f4; }
.admin-top { background: #0d2b31; color: #fff; }
.admin-top .container { display: flex; align-items: center; height: 56px; gap: 20px; }
.admin-top b { font-size: 18px; letter-spacing: 1px; }
.admin-top .r { margin-left: auto; font-size: 13px; display: flex; gap: 16px; align-items: center; }
.admin-wrap { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding: 18px 0 36px; align-items: start; }
.admin-nav { background: #fff; border-radius: 10px; padding: 8px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.admin-nav a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 14px; color: #475569; }
.admin-nav a.on, .admin-nav a:hover { background: #0f766e; color: #fff; }
.admin-main { background: #fff; border-radius: 10px; padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 440px; }
.admin-main h3 { font-size: 17px; margin-bottom: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { background: #f6f9fa; font-weight: 600; color: #475569; }
.table tr:hover td { background: #fafcff; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.admin-card { background: var(--brand); color: #fff; border-radius: 10px; padding: 16px; }
.admin-card b { display: block; font-size: 26px; }
.admin-card span { font-size: 13px; opacity: .9; }
.mini-table td, .mini-table th { font-size: 13px; padding: 8px; }

/* 登录框（山水图片背景） */
.auth-wrap {
    position: relative; min-height: 78vh; display: grid; place-items: center; padding: 40px 0;
    background: #0b3f47 url("../images/bg-hero.svg") center / cover no-repeat;
}
.auth-wrap::before { content: ''; position: absolute; inset: 0; background: rgba(3, 26, 32, .55); }
.auth-box {
    position: relative; z-index: 2; width: 390px; max-width: 94%; background: #fff;
    border-radius: 12px; box-shadow: var(--shadow-lg); padding: 32px;
}
.auth-box h2 { font-size: 21px; text-align: center; margin-bottom: 22px; }
.auth-box .btn { width: 100%; height: 42px; }
.auth-links { display: flex; justify-content: space-between; font-size: 13px; margin-top: 12px; color: var(--gray); }

/* 提示 */
.alert { padding: 11px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }
.alert-info { background: #e8f6f4; color: var(--brand); }
.empty { text-align: center; padding: 50px 0; color: var(--gray); }
.empty b { display: block; font-size: 36px; margin-bottom: 8px; opacity: .3; }

/* 图片背景轮换（景区 / 幻灯 / 列表缩略图） */
.scenic-item .cover,
.slide-item {
    background-image: url("../images/bg-mountain.svg");
}
.scenic-item:nth-child(6n+2) .cover { background-image: url("../images/bg-forest.svg"); }
.scenic-item:nth-child(6n+3) .cover { background-image: url("../images/bg-cave.svg"); }
.scenic-item:nth-child(6n+4) .cover { background-image: url("../images/bg-water.svg"); }
.scenic-item:nth-child(6n+5) .cover { background-image: url("../images/bg-tea.svg"); }
.scenic-item:nth-child(6n+6) .cover { background-image: url("../images/bg-town.svg"); }

.slides .slide-item:nth-child(4n+2) { background-image: url("../images/bg-forest.svg"); }
.slides .slide-item:nth-child(4n+3) { background-image: url("../images/bg-tea.svg"); }
.slides .slide-item:nth-child(4n+4) { background-image: url("../images/bg-water.svg"); }

.post-list .post-item:nth-child(5n+2) .post-thumb { background-image: url("../images/bg-forest.svg"); }
.post-list .post-item:nth-child(5n+3) .post-thumb { background-image: url("../images/bg-tea.svg"); }
.post-list .post-item:nth-child(5n+4) .post-thumb { background-image: url("../images/bg-water.svg"); }
.post-list .post-item:nth-child(5n+5) .post-thumb { background-image: url("../images/bg-town.svg"); }

.board-grid .board-item:nth-child(5n+2) .bd-ico { background: #0369a1; }
.board-grid .board-item:nth-child(5n+3) .bd-ico { background: var(--gold); }
.board-grid .board-item:nth-child(5n+4) .bd-ico { background: #6d28d9; }
.board-grid .board-item:nth-child(5n+5) .bd-ico { background: #be123c; }

/* 移动端兜底（PC 模板在窄屏下的自适应） */
@media (max-width: 1340px) {
    .nav a:nth-child(n+7) { display: none; }
}
@media (max-width: 1180px) {
    .board-grid { grid-template-columns: repeat(5, 1fr); }
    .scenic-grid, .slides { grid-template-columns: repeat(3, 1fr); }
    .nav a:nth-child(n+5) { display: none; }
}
@media (max-width: 980px) {
    .container { width: 96%; }
    .layout-main, .detail-wrap, .user-wrap { grid-template-columns: 1fr; }
    .board-grid { grid-template-columns: repeat(4, 1fr); }
    .hero { padding: 44px 0 64px; }
    .hero h1 { font-size: 27px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-wrap { grid-template-columns: 1fr; }
    .admin-cards { grid-template-columns: repeat(2, 1fr); }
    .nav { display: none; }
}
@media (max-width: 640px) {
    .board-grid { grid-template-columns: repeat(3, 1fr); }
    .scenic-grid, .slides { grid-template-columns: repeat(2, 1fr); }
    .slides { margin-top: -34px; }
    .post-item { flex-direction: column; }
    .post-thumb { width: 100%; height: 150px; }
    .post-side { width: 100%; text-align: left; flex-direction: row; align-items: center; justify-content: space-between; }
    .hero-stats { gap: 22px; }
    .contact-box, .detail-gallery { grid-template-columns: repeat(2, 1fr); }
}
