/* =========================================================
   二级页面统一视觉：墨黑 + 金 + 细线
   仅前台加载（_Layout），后台使用独立样式，不受影响。
   首页会在其后追加 home.css，首页样式优先生效。
   ========================================================= */
:root {
    --ink: #0c1016;
    --hair: #e6e6e1;
    --gold: #b89154;
    --muted2: #6e7277;
    --ease2: cubic-bezier(.22, .72, .18, 1);
}

/* ---------- 顶栏（非首页） ---------- */
.header-phone b { color: var(--ink); }
.main-nav a { border-radius: 0; font-weight: 600; letter-spacing: .02em; }
.main-nav a:hover { background: transparent; color: var(--gold); }
.main-nav a.active {
    background: transparent; color: var(--ink);
    box-shadow: inset 0 -2px 0 var(--gold);
}

/* ---------- 页头 ---------- */
.page-hero {
    position: relative;
    color: #fff;
    padding: 88px 0 66px;
    overflow: hidden;
}
/* 背景图层：各页面通过 --hero-img 指定不同图片 */
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: var(--hero-img, url('/images/hero/hero-1.jpg')) center / cover no-repeat;
    z-index: 0;
}
/* 深色渐变遮罩：保证标题可读，同时保留金色氛围光 */
.page-hero::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(120% 130% at 84% -10%, rgba(184, 145, 84, .18), transparent 58%),
        linear-gradient(100deg, rgba(12, 16, 22, .94) 8%, rgba(12, 16, 22, .62) 100%);
    z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }

/* 各页面背景图变体 */
.hero-cars { --hero-img: url('/images/hero/hero-2.jpg'); }
.hero-news { --hero-img: url('/images/hero/hero-3.jpg'); }
.hero-about { --hero-img: url('/images/hero/hero-1.jpg'); }
.hero-contact { --hero-img: url('/images/hero/hero-2.jpg'); }
.page-hero .container::before {
    content: ""; display: block;
    width: 34px; height: 1px; margin-bottom: 20px;
    background: var(--gold);
}
.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600; letter-spacing: .06em; line-height: 1.2;
}
.page-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: 13.5px; letter-spacing: .18em;
}
.page-body { padding: 72px 20px 96px; }

/* ---------- 按钮 ---------- */
.btn { border-radius: 2px; }
.btn-primary {
    background: var(--ink); border-color: var(--ink); color: #fff;
    letter-spacing: .08em;
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); }
.btn-outline { border-color: var(--hair); color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-body .btn-outline {
    border: 1px solid var(--hair); color: var(--ink);
    border-radius: 2px; text-align: center; letter-spacing: .06em;
}
.page-body .btn-outline:hover {
    background: var(--ink); border-color: var(--ink); color: #fff;
}
/* 车型卡片内的小程序入口做成文字链接，避免与分隔线叠成双线 */
.car-cta {
    align-self: flex-start;
    display: inline-flex; align-items: center;
    margin-top: 4px; padding: 4px 0 0;
    border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 13.5px; letter-spacing: .08em;
    color: var(--gold);
    transition: color .2s;
}
.car-cta span { margin-left: 8px; transition: transform .2s; }
.car-cta:hover { color: var(--ink); }
.car-cta:hover span { transform: translateX(3px); }

/* ---------- 区块标题 ---------- */
.section-title { font-weight: 600; letter-spacing: .04em; }
.section-title::after {
    background: var(--gold); width: 40px; height: 1px; border-radius: 0;
}
.more-link { color: var(--gold); letter-spacing: .04em; }

/* ---------- 车型列表 ---------- */
.car-filter {
    max-width: 520px; gap: 12px; margin-bottom: 44px;
}
.car-filter input {
    flex: 1; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
    background: transparent; padding: 11px 2px; font-size: 14px;
    transition: border-color .25s;
}
.car-filter input:focus { outline: 0; border-bottom-color: var(--ink); }
.car-filter .btn { padding: 11px 28px; }

.car-grid { grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
.car-card {
    border: 0; border-radius: 0; background: transparent;
    transition: none;
}
.car-card:hover { transform: none; box-shadow: none; }
.car-img {
    height: auto; aspect-ratio: 4 / 3; width: 100%;
    background: #f1f1ee; display: block; overflow: hidden;
    border: 0; padding: 0; cursor: pointer;
}
.car-img img { transition: transform .9s var(--ease2); }
.car-card:hover .car-img img { transform: scale(1.05); }
.car-info {
    padding: 18px 2px 16px;
    border-bottom: 1px solid var(--hair);
    gap: 8px;
}
.car-info h3 { font-size: 16px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.car-desc { color: var(--muted2); font-size: 12.5px; line-height: 1.9; }
.car-meta { color: var(--muted2); }
.car-meta span {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent; border: 1px solid var(--hair);
    border-radius: 0; padding: 2px 10px; font-size: 12px;
}
.car-meta span .icon { width: 13px; height: 13px; color: var(--gold); }
.car-price { margin-top: 4px; }
.car-price b {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--ink); font-size: 18px; font-weight: 600;
}
.car-price b .icon { width: 14px; height: 14px; color: var(--gold); }
.car-price small { color: var(--muted2); font-size: 12px; margin-left: 3px; }

/* ---------- 小程序入口 ---------- */
.mp-band {
    display: flex; align-items: center; gap: 28px;
    padding: 26px 0 30px; margin-bottom: 34px;
    border-bottom: 1px solid var(--hair);
}
.mp-band-qr {
    width: 108px; height: 108px; flex: 0 0 108px;
    display: grid; place-items: center;
    background: #f4f4f1; overflow: hidden;
}
.mp-band-qr img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; }
.mp-band-icon {
    font-size: 11px; letter-spacing: .18em; color: var(--muted2);
    writing-mode: vertical-rl; line-height: 1.5;
}
.mp-band-text { flex: 1; min-width: 0; }
.mp-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11px; letter-spacing: .3em;
    color: var(--gold); margin-bottom: 9px;
}
.mp-eyebrow .icon { width: 13px; height: 13px; }
.mp-band-text h2 {
    margin: 0 0 9px; font-size: 19px; font-weight: 600;
    letter-spacing: .02em; color: var(--ink);
}
.mp-band-text p { margin: 0; color: var(--muted2); font-size: 13.5px; line-height: 1.9; }
.mp-band-actions {
    flex: 0 0 auto; display: flex; flex-direction: column;
    align-items: flex-end; gap: 10px;
}
.mp-phone {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; color: var(--muted2); letter-spacing: .04em;
}
.mp-phone .icon { width: 13px; height: 13px; color: var(--gold); }
.mp-phone:hover { color: var(--ink); }

/* ---------- 小程序弹层 ---------- */
.mp-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.mp-modal.on { display: block; }
.mp-mask { position: absolute; inset: 0; background: rgba(8, 11, 16, .62); }
.mp-sheet {
    position: relative; width: min(380px, calc(100vw - 40px));
    margin: 11vh auto 0; padding: 40px 32px 30px;
    background: #fff; text-align: center;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
}
.mp-sheet h3 { margin: 0 0 9px; font-size: 20px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.mp-sub { margin: 0 0 22px; color: var(--muted2); font-size: 13px; line-height: 1.9; }
.mp-qr { width: 180px; height: 180px; display: block; margin: 0 auto 20px; object-fit: contain; }
.mp-open {
    display: inline-block; padding: 11px 24px;
    background: var(--ink); color: #fff; font-size: 13.5px; letter-spacing: .08em;
}
.mp-open:hover { background: var(--gold); color: #fff; }
.mp-tel { margin: 18px 0 0; color: var(--muted2); font-size: 12.5px; }
.mp-tel a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.mp-x {
    position: absolute; top: 10px; right: 14px;
    border: 0; background: none; cursor: pointer;
    font-size: 22px; line-height: 1; color: #b6b8ba;
}
.mp-x:hover { color: var(--ink); }

/* ---------- 新闻列表 ---------- */
.news-grid { gap: 34px 26px; }
.news-card {
    border: 0; border-radius: 0; background: transparent;
    transition: none;
}
.news-card:hover { transform: none; box-shadow: none; }
.news-img { height: auto; aspect-ratio: 16 / 10; background: #f1f1ee; overflow: hidden; }
.news-img img { transition: transform .9s var(--ease2); }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 16px 2px 0; gap: 8px; }
.news-body h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.news-body p { color: var(--muted2); font-size: 13px; line-height: 1.9; }
.news-body time { color: #9a9d9f; font-size: 12px; letter-spacing: .06em; }
.news-tag {
    display: inline-flex; align-items: center; gap: 5px;
    background: transparent; color: var(--gold);
    border: 1px solid rgba(184, 145, 84, .4);
    border-radius: 0; padding: 1px 9px; font-size: 11.5px;
}
.news-tag .icon { width: 11px; height: 11px; }
.news-list li { border-bottom: 1px solid var(--hair); }

/* ---------- 行动区 ---------- */
.cta { background: var(--ink); }
.btn-light {
    background: transparent; color: #fff;
    border: 1px solid rgba(255, 255, 255, .38); border-radius: 2px;
}
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- 详情页正文 ---------- */
.article-title { letter-spacing: .02em; }
.article-body { color: #33383d; }

/* ---------- 新闻列表页 ---------- */
.news-layout { grid-template-columns: 200px 1fr; gap: 56px; }
.news-side {
    border: 0; border-radius: 0; padding: 0; height: fit-content;
}
/* 侧栏动态菜单：栏目计数徽章 + 详情页分隔 */
.news-side .cat-count {
    float: right; font-size: 11.5px; color: var(--muted2);
    background: #f2f1ec; border-radius: 9px; padding: 1px 8px;
}
.news-side a.active .cat-count { color: var(--gold); background: rgba(184, 145, 84, .12); }
/* 三级子栏目：缩进 + 左侧竖线 */
.news-side .cat-sub {
    margin: 2px 0 6px; padding: 2px 0 2px 12px;
    border-left: 1px solid var(--hair);
}
.news-side .cat-sub a { padding: 6px 0; font-size: 13px; color: var(--muted2); }
.news-side .cat-sub a.active { color: var(--gold); }
.side-divider { height: 1px; background: var(--hair); margin: 18px 0; }

.news-side h3 {
    margin: 0 0 14px;
    font-size: 11.5px; font-weight: 500;
    letter-spacing: .3em; color: var(--gold);
}
.news-side a {
    display: block; padding: 9px 0;
    border-bottom: 1px solid var(--hair); border-radius: 0;
    color: var(--muted2); font-size: 13.5px;
    transition: color .2s;
}
.news-side a:hover { background: transparent; color: var(--ink); }
.news-side a.active {
    background: transparent; color: var(--ink); font-weight: 600;
    box-shadow: inset 0 -1px 0 var(--gold);
}

.news-row {
    border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
    padding: 24px 0; gap: 30px;
}
/* 图片左右交替：偶数条图片翻到右侧 */
.news-row--flip { flex-direction: row-reverse; }
@media (max-width: 760px) {
    /* 窄屏恢复上下排列（图片在上），交替仅在宽屏生效 */
    .news-row, .news-row--flip { flex-direction: column; }
}
.news-row:hover { box-shadow: none; }
.news-row:hover h3 { color: var(--gold); }
.news-thumb {
    width: 200px; height: 124px;
    border-radius: 0; background: #f1f1ee; overflow: hidden;
}
.news-thumb img { transition: transform .9s var(--ease2); }
.news-row:hover .news-thumb img { transform: scale(1.05); }
/* 无图默认背景：白底 + 暗灰 LOGO，左对齐 */
.news-thumb--default {
    background: #fafaf8;
    display: flex; align-items: center;
    padding-left: 16px;
}
.news-thumb--default .news-thumb-logo {
    height: 44%; width: auto; max-width: 72%;
    object-fit: contain;
    filter: grayscale(1) contrast(.75) brightness(1.12);
    opacity: .6;
}
.news-row h3 {
    margin: 0 0 8px;
    font-size: 17px; font-weight: 600; letter-spacing: .01em;
    transition: color .2s;
}
.news-row p { margin: 0 0 10px; color: var(--muted2); font-size: 13.5px; line-height: 1.9; }
.news-row-meta { color: #9a9d9f; font-size: 12.5px; }
/* 新闻元信息与详情页图标 */
.news-row-meta > span, .news-row-meta time,
.news-detail-meta > span, .news-detail-meta time {
    display: inline-flex; align-items: center; gap: 5px;
}
.news-row-meta .icon, .news-detail-meta .icon { width: 12px; height: 12px; color: var(--gold); }

/* ---------- 新闻详情页布局 ----------
   列表页是「窄侧栏在左 + 正文 1fr 在右」；
   详情页相反：正文 1fr 在左，窄侧栏在右 */
.news-detail-page { grid-template-columns: 1fr 240px; gap: 56px; }
.news-detail { max-width: 100%; min-width: 0; }
.news-detail h1 {
    margin: 0 0 16px;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 600; letter-spacing: .02em; line-height: 1.45;
    color: var(--ink);
}
.news-detail-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
    padding-bottom: 18px; margin-bottom: 26px;
    border-bottom: 1px solid var(--hair);
    color: #9a9d9f; font-size: 12.5px;
}
.news-detail-img {
    display: block; width: 100%; height: auto;
    margin-bottom: 28px; border-radius: 0;
}

/* 正文排版 */
.rich-text {
    font-size: 14.5px; line-height: 2.05;
    color: #3a3d40; word-break: break-word;
}
.rich-text p { margin: 0 0 1.4em; }
.rich-text strong, .rich-text b { color: var(--ink); font-weight: 600; }
.rich-text h2, .rich-text h3, .rich-text h4 {
    margin: 1.8em 0 .8em;
    font-weight: 600; letter-spacing: .02em; line-height: 1.5;
    color: var(--ink);
}
.rich-text h2 { font-size: 19px; }
.rich-text h3 { font-size: 16.5px; }
.rich-text h4 { font-size: 15px; }
.rich-text img {
    display: block; max-width: 100%; height: auto;
    margin: 22px auto; border-radius: 0;
}
.rich-text ul, .rich-text ol { margin: 0 0 1.4em; padding-left: 22px; }
.rich-text li { margin-bottom: .5em; }
.rich-text blockquote {
    margin: 0 0 1.4em; padding: 2px 0 2px 16px;
    border-left: 2px solid var(--gold);
    color: var(--muted2); font-size: 13.5px;
}
.rich-text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.rich-text table {
    width: auto; min-width: 42%; max-width: 100%;
    border-collapse: collapse;
    margin: 0 auto 1.4em;   /* 表格按内容自适应宽度，水平居中，不再占满整行 */
    font-size: 13.5px;
}
.rich-text th, .rich-text td {
    border: 1px solid var(--hair); padding: 9px 12px; text-align: left;
}
.rich-text th { background: #faf9f6; color: var(--ink); font-weight: 600; }
.rich-text hr { border: 0; border-top: 1px solid var(--hair); margin: 2em 0; }

/* 窄屏：侧栏移到正文下方（与 site.css 的 1024px 断点一致） */
@media (max-width: 1024px) {
    .news-detail-page { grid-template-columns: 1fr; gap: 40px; }
}

.pager a {
    border: 1px solid var(--hair); border-radius: 0;
    color: var(--ink); padding: 7px 18px; font-size: 13.5px;
}
.pager a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager span { color: var(--muted2); font-size: 13px; }

/* ---------- 联系页 ---------- */
/* 联系渠道卡片 */
.contact-cards {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-bottom: 56px;
}
.contact-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 26px 24px;
    border: 1px solid var(--hair); background: #faf9f6;
    transition: border-color .2s, background .2s;
}
.contact-card:hover { border-color: var(--gold); background: #fff; }
.contact-card-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-bottom: 6px;
    border-radius: 50%; background: rgba(184, 145, 84, .1);
    color: var(--gold);
}
.contact-card-ico .icon { width: 19px; height: 19px; }
.contact-card-label { font-size: 11.5px; letter-spacing: .18em; color: var(--muted2); }
.contact-card a, .contact-card b {
    font-size: 15.5px; font-weight: 600; letter-spacing: .02em;
    color: var(--ink); word-break: break-all;
}
.contact-card a:hover { color: var(--gold); }

/* 下方布局：留言表单（主区）在左，公司信息侧栏在右 */
.contact-grid { grid-template-columns: 1fr 320px; gap: 56px; }
/* 覆盖 site.css 的圆角默认框，统一为直角细线风格 */
.contact-form {
    border: 1px solid var(--hair); border-radius: 0;
    padding: 34px 32px; background: #fff;
}
.contact-form h2 {
    font-size: 20px; font-weight: 600; letter-spacing: .04em; color: var(--ink);
    margin: 0 0 10px;
}
.form-lead { margin: 0 0 26px; color: var(--muted2); font-size: 13.5px; line-height: 1.8; }
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.btn-block-cta { width: 100%; height: 46px; letter-spacing: .14em; }

/* 信息侧栏卡片 */
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.side-card {
    padding: 24px 22px;
    border: 1px solid var(--hair); background: #faf9f6;
}
.side-card-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; margin-bottom: 14px;
    border-radius: 50%; background: rgba(184, 145, 84, .1);
    color: var(--gold);
}
.side-card-ico .icon { width: 17px; height: 17px; }
.side-card h3 {
    margin: 0 0 10px;
    font-size: 12px; font-weight: 500;
    letter-spacing: .24em; color: var(--gold);
}
.side-card p { margin: 0 0 8px; color: var(--ink); font-size: 13.5px; line-height: 1.9; }
.side-card p.muted { color: var(--muted2); font-size: 12.5px; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li {
    display: flex; align-items: center; gap: 9px;
    padding: 7px 0; border-bottom: 1px solid var(--hair);
    font-size: 13px; color: var(--ink);
}
.side-card li:last-child { border-bottom: 0; }
.side-card li .icon { width: 13px; height: 13px; color: var(--gold); }
.side-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; letter-spacing: .04em; color: var(--gold);
}
.side-card-link .icon { width: 13px; height: 13px; }
.side-card-link:hover { color: var(--ink); }

/* ---------- 公司位置（百度地图） ---------- */
.map-band { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--hair); }
.map-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.map-head h2 {
    margin: 0 0 10px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 600; letter-spacing: .04em; color: var(--ink);
}
.map-head p {
    margin: 0; display: inline-flex; align-items: center; gap: 8px;
    color: var(--muted2); font-size: 13.5px; letter-spacing: .04em;
}
.map-head p .icon { width: 14px; height: 14px; color: var(--gold); }
.map-open {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 20px;
    border: 1px solid var(--ink); border-radius: 2px;
    color: var(--ink); font-size: 13px; letter-spacing: .06em;
    transition: background .2s, color .2s;
}
.map-open .icon { width: 14px; height: 14px; }
.map-open:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.map-frame {
    border: 1px solid var(--hair); background: #f2f1ec;
    height: 420px;
}
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- 交通指引 ---------- */
.guide-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 40px;
    margin-top: 44px; padding-top: 34px;
    border-top: 1px solid var(--hair);
}
.guide-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-bottom: 14px;
    border: 1px solid var(--hair); border-radius: 50%;
    background: #faf9f6; color: var(--gold);
}
.guide-ico .icon { width: 19px; height: 19px; }
.guide-item h3 { margin: 0 0 10px; font-size: 15.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.guide-item p { margin: 0; color: var(--muted2); font-size: 13px; line-height: 1.95; }

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .map-frame { height: 320px; }
    .guide-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 32px; }
}
@media (max-width: 640px) {
    .contact-cards { grid-template-columns: 1fr; }
    .contact-card { flex-direction: row; align-items: center; gap: 14px; }
    .contact-card b, .contact-card a { margin-left: auto; }
    .contact-card-ico { width: 34px; height: 34px; margin-bottom: 0; }
    .form-duo { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: 24px 20px; }
    .map-band { margin-top: 48px; padding-top: 44px; }
    .map-frame { height: 260px; }
    .guide-grid { grid-template-columns: 1fr; }
    .map-open { width: 100%; justify-content: center; }
}

/* 关于页快速联系条 */
.quick-contact {
    display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap;
    margin-top: 44px; padding: 22px 24px;
    border: 1px solid var(--hair); background: #faf9f6;
}

/* ---------- 关于华安（about）页 ---------- */
.about-main { min-width: 0; }
/* 面包屑 */
.about-crumbs {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 34px; font-size: 12.5px;
    color: var(--muted2); letter-spacing: .04em;
}
.about-crumbs a { color: var(--muted2); }
.about-crumbs a:hover { color: var(--gold); }
.about-crumbs span { color: var(--hair); }
.about-crumbs b { color: var(--ink); font-weight: 600; }
.about-main .section-title { margin: 0 0 18px; font-size: 20px; }
.about-main .section-title + .rich-text,
.about-main .about-facts { margin-bottom: 46px; }

/* 公司数据亮点条 */
.about-facts {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--hair); background: #faf9f6;
}
.about-facts .fact {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 22px 10px; text-align: center;
    border-right: 1px solid var(--hair);
}
.about-facts .fact:last-child { border-right: 0; }
.about-facts .fact b {
    font-size: 24px; font-weight: 600; color: var(--gold);
    letter-spacing: .02em; line-height: 1.2;
}
.about-facts .fact span { font-size: 12px; color: var(--muted2); letter-spacing: .08em; }

/* 招聘联系人卡片 */
.job-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 1.4em; }
.job-person {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px 18px; border: 1px solid var(--hair); background: #faf9f6;
}
.job-person b { color: var(--ink); font-size: 14.5px; letter-spacing: .06em; }
.job-person span {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--muted2);
}
.job-person span .icon { width: 14px; height: 14px; color: var(--gold); }

/* 侧栏：联系方式与预约按钮 */
.about-side .side-contact { margin: -6px 0 16px; }
.about-side .side-contact p {
    display: flex; align-items: baseline; gap: 8px;
    margin: 8px 0; font-size: 13px; color: var(--muted2);
    line-height: 1.7; word-break: break-all;
}
.about-side .side-contact .icon { width: 14px; height: 14px; color: var(--gold); flex: 0 0 auto; transform: translateY(2px); }
.about-side .side-cta {
    display: flex; align-items: center; justify-content: center;
    padding: 11px 0; border: 1px solid var(--ink);
    color: var(--ink); font-size: 13px; letter-spacing: .1em;
    transition: background .2s, color .2s;
}
.about-side .side-cta:hover { background: var(--ink); color: #fff; }
@media (max-width: 640px) {
    .about-facts { grid-template-columns: repeat(2, 1fr); }
    .about-facts .fact:nth-child(2n) { border-right: 0; }
    .about-facts .fact:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
    .job-contact { grid-template-columns: 1fr; }
}

/* ---------- 成功案例（cases）页 ---------- */
/* 分类筛选条（图标式分类入口） */
.case-filter {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 30px; padding: 14px 16px;
    border: 1px solid var(--hair); background: #faf9f6;
}
.case-filter a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px; border: 1px solid transparent;
    font-size: 13px; color: var(--muted2); letter-spacing: .04em;
    transition: color .15s, border-color .15s, background .15s;
}
.case-filter a .icon { width: 14px; height: 14px; }
.case-filter a:hover { color: var(--ink); }
.case-filter a.active {
    color: var(--gold); border-color: var(--gold); background: rgba(184, 145, 84, .07);
}
.case-filter .cat-count {
    font-size: 11px; color: var(--muted2);
    background: #fff; border-radius: 9px; padding: 0 7px;
}

/* 案例列表：标题 + 摘要 + 了解更多 */
.case-list { display: flex; flex-direction: column; }
.case-item {
    padding: 24px 4px; border-bottom: 1px solid var(--hair);
    transition: background .15s;
}
.case-item:first-child { padding-top: 4px; }
.case-item:hover { background: #fbfaf7; }
.case-item h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 600; line-height: 1.6; }
.case-item h3 a { color: var(--ink); }
.case-item h3 a:hover { color: var(--gold); }
.case-item p {
    margin: 0 0 10px; font-size: 13.5px; line-height: 1.9;
    color: var(--muted2);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.case-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--muted2); }
.case-meta .icon { width: 13px; height: 13px; }
.case-meta .news-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); }
.case-more {
    margin-left: auto; color: var(--gold); font-size: 12.5px; letter-spacing: .05em;
    white-space: nowrap;
}
.case-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 精选线路（routes）页 ---------- */
.route-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.route-card {
    display: flex; flex-direction: column;
    border: 1px solid var(--hair); background: #fff;
    transition: box-shadow .2s, transform .2s;
}
.route-card:hover { box-shadow: 0 10px 26px rgba(20, 24, 32, .1); transform: translateY(-3px); }
.route-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f2f1ec; }
.route-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.route-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.route-body h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.55; }
.route-body h3 a { color: var(--ink); }
.route-body h3 a:hover { color: var(--gold); }
.route-body p {
    margin: 0; font-size: 12.5px; line-height: 1.8; color: var(--muted2); flex: 1;
}
.route-foot {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px; color: var(--muted2);
    padding-top: 10px; border-top: 1px solid var(--hair);
}
.route-foot .icon { width: 13px; height: 13px; }
.route-foot time { display: inline-flex; align-items: center; gap: 6px; }
.route-book {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--gold); font-size: 12.5px; letter-spacing: .05em;
}
.route-book .icon { width: 13px; height: 13px; }
.route-book:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 线路空态 */
.route-empty {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding: 70px 30px; border: 1px dashed var(--hair); background: #faf9f6;
    text-align: center;
}
.route-empty .icon { width: 44px; height: 44px; color: var(--gold); opacity: .7; }
.route-empty h2 { margin: 0; font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.route-empty p { margin: 0; max-width: 460px; font-size: 13.5px; line-height: 1.9; color: var(--muted2); }
.route-empty-btn { max-width: 220px; margin-top: 6px; }

@media (max-width: 1024px) {
    .route-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .route-grid { grid-template-columns: 1fr; }
    .case-filter { gap: 6px; }
}
.quick-item {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; letter-spacing: .04em; color: var(--muted2);
}
.quick-item .icon { width: 15px; height: 15px; color: var(--gold); }
.quick-btn {
    display: inline-flex; align-items: center; gap: 7px;
    margin-left: auto; padding: 10px 22px;
    border: 1px solid var(--ink); color: var(--ink);
    font-size: 13px; letter-spacing: .08em; border-radius: 2px;
    transition: background .2s, color .2s;
}
.quick-btn .icon { width: 14px; height: 14px; }
.quick-btn:hover { background: var(--ink); color: #fff; }
@media (max-width: 640px) {
    .quick-contact { margin-top: 30px; padding: 16px 16px; }
    .quick-btn { margin-left: 0; }
}
.contact-form { border: 0; border-radius: 0; padding: 0; }

.form-row label { font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.form-row input, .form-row select, .form-row textarea {
    border: 1px solid var(--hair); border-radius: 2px;
    padding: 11px 13px; background: #fff;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    border-color: var(--ink); box-shadow: none;
}
.alert { border-radius: 2px; }

@media (max-width: 1024px) {
    .car-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero { padding: 72px 0 54px; }
    .page-body { padding: 56px 20px 76px; }
}
@media (max-width: 640px) {
    .car-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 60px 0 46px; }
    .page-body { padding: 44px 20px 64px; }

    .mp-band { flex-wrap: wrap; gap: 18px; padding: 20px 0 24px; margin-bottom: 26px; }
    .mp-band-qr { width: 76px; height: 76px; flex: 0 0 76px; }
    .mp-band-icon { font-size: 9.5px; letter-spacing: .1em; }
    .mp-band-text { flex: 1 1 60%; }
    .mp-band-text h2 { font-size: 17px; }
    .mp-band-text p { font-size: 12.5px; }
    .mp-band-actions { flex: 1 1 100%; align-items: stretch; }
    .mp-band-actions .btn { width: 100%; }
    .mp-phone { text-align: center; }

    .mp-sheet { padding: 34px 22px 26px; margin-top: 8vh; }
    .mp-qr { width: 150px; height: 150px; }
}

/* ---------- 关于页简介配图 ---------- */
.about-intro-img {
    float: right;
    width: 46%; max-width: 380px;
    margin: 4px 0 14px 24px;
    border-radius: 10px;
    object-fit: cover;
}
@media (max-width: 760px) {
    .about-intro-img { float: none; width: 100%; max-width: none; margin: 4px 0 14px; }
}

/* ---------- Markdown 渲染补充（Markdig 输出元素） ---------- */
.rich-text code {
    font-family: SFMono-Regular, Consolas, "Courier New", monospace;
    font-size: .88em;
    background: #f2f0ec; border: 1px solid var(--hair);
    padding: 1px 6px; border-radius: 4px;
    color: var(--ink);
}
.rich-text pre {
    margin: 0 0 1.4em; padding: 16px 18px;
    background: #22252b; color: #e8e6e1;
    border-radius: 8px; overflow-x: auto; line-height: 1.65;
}
.rich-text pre code { background: none; border: 0; padding: 0; color: inherit; font-size: 13px; }
.rich-text del { color: var(--muted2); }
/* 任务列表：去圆点，勾选框品牌色 */
.rich-text ul.contains-task-list { padding-left: 4px; list-style: none; }
.rich-text li.task-list-item { list-style: none; }
.rich-text li.task-list-item input[type="checkbox"] {
    margin-right: 8px; accent-color: var(--gold); vertical-align: -1px;
}
/* 外嵌视频等 iframe 响应式 */
.rich-text iframe {
    max-width: 100%; width: 100%; aspect-ratio: 16 / 9; height: auto;
    border: 0; margin: 22px 0;
}
/* 窄屏宽表格横向滚动，不撑破版面 */
@media (max-width: 760px) {
    .rich-text table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- 手机端新闻侧栏：横向分类胶囊条（≤900px 生效） ---------- */
@media (max-width: 900px) {
    /* 侧栏从纵列变成可换行的横向胶囊组，紧贴列表顶部，不再占据整屏 */
    .news-side {
        display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
        padding: 14px 0 16px;
        border-bottom: 1px solid var(--hair);
        margin-bottom: 2px;
        height: auto;
    }
    .news-side h3 { width: 100%; margin: 0 0 4px; }
    .news-side a {
        display: inline-flex; align-items: center; gap: 6px;
        padding: 6px 14px;
        border: 1px solid var(--hair); border-radius: 999px;
        font-size: 13px; color: var(--muted2);
        white-space: nowrap;
        box-shadow: none; background: #fff;
    }
    .news-side a:hover { background: #faf9f6; color: var(--ink); }
    .news-side a.active {
        background: rgba(184, 145, 84, .1);
        border-color: var(--gold);
        color: var(--gold); font-weight: 600;
        box-shadow: none;
    }
    /* 三级子栏目与主栏目排进同一行流 */
    .news-side .cat-sub {
        display: contents;
    }
    .news-side .cat-sub a {
        padding: 4.5px 11px; font-size: 12.5px;
        border-style: dashed;
    }
    .news-side .cat-count { float: none; margin-left: 2px; padding: 0 6px; font-size: 10.5px; }
}

/* ---------- 手机端新闻布局修正（≤900px 单列，覆盖上方无断点的两列定义） ---------- */
@media (max-width: 900px) {
    .news-layout { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
    /* 上下排列时缩略图放大为全宽横幅，标题摘要更易读 */
    .news-thumb { width: 100%; height: 180px; }
    .news-row { gap: 14px; padding: 18px 0; }
    .news-row-body h3 { font-size: 16px; }
}

/* ---------- 接送站车次查询 ---------- */
.train-query-wrap { max-width: 760px; margin: 0 auto; }
.train-query-form {
    background: #fff; border: 1px solid var(--hair); border-radius: 14px;
    padding: 26px 28px; margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.tq-type { display: flex; gap: 12px; margin-bottom: 20px; }
.tq-type-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 14px 10px; border: 1.5px solid var(--hair); border-radius: 10px;
    cursor: pointer; transition: border-color .2s, background .2s;
}
.tq-type-item span { font-size: 16px; font-weight: 600; color: var(--ink); }
.tq-type-item small { font-size: 12px; color: var(--muted2); }
.tq-type-item input { position: absolute; opacity: 0; }
.tq-type-item.active {
    border-color: var(--gold); background: rgba(184,145,84,.07);
}
.tq-type-item.active span { color: var(--gold); }
.tq-fields { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.tq-field { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 6px; }
.tq-field label { font-size: 12.5px; color: var(--muted2); letter-spacing: .05em; }
.tq-field input {
    padding: 11px 14px; border: 1px solid var(--hair); border-radius: 8px;
    font-size: 15px; color: var(--ink); background: #fff;
}
.tq-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,145,84,.12); }
.tq-submit { padding: 11px 26px; border-radius: 8px; }
.tq-result {
    background: #fff; border: 1px solid var(--hair); border-radius: 14px;
    padding: 26px 28px; animation: tqIn .25s ease-out;
}
@keyframes tqIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tq-result--empty { text-align: center; color: var(--muted2); }
.tq-miss-title { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.tq-route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tq-route b { font-size: 17px; }
.tq-arrow { color: var(--gold); font-size: 18px; }
.tq-meta { margin-left: auto; font-size: 12.5px; color: var(--muted2); }
.tq-time-card {
    background: linear-gradient(135deg, #1c2433, #2a3648);
    border-radius: 12px; padding: 22px 24px; color: #fff; margin-bottom: 18px;
}
.tq-time-label { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 8px; }
.tq-time-main { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.tq-station { font-size: 22px; font-weight: 700; }
.tq-time { font-size: 46px; font-weight: 800; color: var(--gold); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.tq-time-type { font-size: 13px; color: rgba(255,255,255,.75); }
.tq-time-sub {
    display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px;
    font-size: 12.5px; color: rgba(255,255,255,.6);
}
.tq-day { color: #ffd479; font-weight: 600; }
.tq-note { font-size: 13px; color: var(--muted2); line-height: 1.8; }
.tq-note b { color: var(--gold); }
@media (max-width: 640px) {
    .tq-fields { flex-direction: column; align-items: stretch; }
    .tq-submit { width: 100%; }
    .tq-meta { margin-left: 0; width: 100%; }
    .tq-time { font-size: 36px; }
}
