/* ==========================================================================
   首席酒店观察 - 前台样式
   风格：左侧竖向导轨 + 右侧内容舞台，白底 + 铜色点缀，双列卡片
   ========================================================================== */

:root {
    --paper: #ffffff;
    --shell: #f6f6f4;
    --ink: #1e242b;
    --text: #3b424a;
    --muted: #7b828b;
    --line: #e4e5e2;
    --copper: #a86a34;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) {
    html, body { overflow-x: clip; }
}

body {
    margin: 0;
    padding-left: 232px;          /* 给左侧导轨留位 */
    background: var(--paper);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; }

.shell {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 52px;
    padding-right: 52px;
}

.shell-narrow {
    width: 100%;
    max-width: 812px;
    margin: 0 auto;
    padding-left: 52px;
    padding-right: 52px;
}

/* ------------------------------ 左侧导轨 ------------------------------ */
.rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 232px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px 28px 34px;
    background: var(--shell);
    border-right: 1px solid var(--line);
    z-index: 100;
}

.rail-brand { display: block; }

.rail-mark {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--copper);
    margin-bottom: 18px;
}

.rail-name {
    display: block;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--ink);
    line-height: 1.4;
}

.rail-en {
    display: block;
    margin-top: 8px;
    font-size: 8.5px;
    letter-spacing: .26em;
    color: var(--muted);
}

.rail-nav { margin-top: 54px; display: flex; flex-direction: column; }

.rail-nav a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 11px 0;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}

.rail-no {
    font-size: 10px;
    letter-spacing: .1em;
    color: #bfc3c7;
    transition: color .2s;
}

.rail-nav a:hover { color: var(--copper); }
.rail-nav a:hover .rail-no { color: var(--copper); }
.rail-nav a.on { color: var(--ink); font-weight: 600; }
.rail-nav a.on .rail-no { color: var(--copper); }

.rail-bottom { padding-top: 20px; }

.rail-label {
    display: block;
    font-size: 9px;
    letter-spacing: .26em;
    color: #b3b8bd;
}

.rail-wx {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--text);
}

.rail-btn { display: none; }

.rail-mask { display: none; }

/* ------------------------------ 首页焦点 ------------------------------ */
.spot-wrap { padding-top: 56px; }

.spot { display: block; }

.spot-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef0f1;
}

.spot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.spot:hover .spot-media img { transform: scale(1.02); }

.spot-body { display: block; padding-top: 26px; }

.spot-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: .26em;
    color: var(--copper);
}

.spot-body h1 {
    margin: 14px 0 14px;
    font-size: 34px;
    line-height: 1.42;
    letter-spacing: -.02em;
    max-width: 860px;
}

.spot-desc {
    display: block;
    max-width: 760px;
    font-size: 14.5px;
    line-height: 1.95;
    color: var(--muted);
}

.spot-date {
    display: block;
    margin-top: 16px;
    font-size: 11.5px;
    letter-spacing: .12em;
    color: var(--muted);
}

/* ------------------------------ 列表 ------------------------------ */
.feed { padding: 54px 0 88px; }

.feed-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--ink);
}

.feed-head h2 { font-size: 17px; letter-spacing: .06em; }

.feed-count {
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--muted);
}

.rack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 40px;
}

.tile { min-width: 0; }

.tile-media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #eef0f1;
}

.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.tile:hover .tile-media img { transform: scale(1.03); }

.tile-date {
    display: block;
    margin-top: 16px;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--copper);
}

.tile h3 {
    margin: 8px 0 8px;
    font-size: 19px;
    line-height: 1.55;
}

.tile h3 a:hover { color: var(--copper); }

.tile p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #c6c9cc;
    font-size: 26px;
}

/* ------------------------------ 栏目头 ------------------------------ */
.stage-head { padding: 56px 0 4px; }

.stage-label {
    font-size: 10px;
    letter-spacing: .28em;
    color: var(--copper);
}

.stage-head h1 { margin: 12px 0 0; font-size: 32px; letter-spacing: .02em; }
.stage-head p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* ------------------------------ 正文 ------------------------------ */
.read { padding-top: 54px; }

.crumb {
    font-size: 11.5px;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: 24px;
}
.crumb i { font-style: normal; margin: 0 8px; color: #c8cbce; }
.crumb a:hover { color: var(--copper); }

.read-title {
    font-size: 32px;
    line-height: 1.45;
    letter-spacing: -.02em;
}

.read-lead {
    margin: 16px 0 0;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--muted);
}

.read-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    font-size: 11.5px;
    letter-spacing: .1em;
    color: var(--muted);
}

.read-date { color: var(--copper); }
.read-sep { width: 14px; height: 1px; background: #d5d8da; }

.read-cover { margin: 32px 0 0; }
.read-cover img { width: 100%; }

.read-body {
    margin-top: 36px;
    font-size: 16.5px;
    line-height: 2.05;
    color: var(--text);
    word-break: break-word;
}

.read-body * { max-width: 100% !important; }
.read-body p { margin: 20px 0; }
.read-body img { margin: 28px auto; height: auto !important; }

.read-body h1, .read-body h2, .read-body h3, .read-body h4 {
    margin: 40px 0 16px;
    font-size: 20px;
    line-height: 1.6;
}

.read-body h2 { padding-bottom: 10px; border-bottom: 1px solid var(--line); }

.read-body blockquote {
    margin: 26px 0;
    padding: 18px 22px;
    background: #f7f7f5;
    border-left: 3px solid var(--copper);
    color: #4c525a;
}

.read-body a { color: var(--copper); text-decoration: underline; }

.read-body ul, .read-body ol { margin: 20px 0; padding-left: 24px; }
.read-body li { margin: 8px 0; list-style: disc; }
.read-body ol li { list-style: decimal; }

.read-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.read-body td, .read-body th { border: 1px solid var(--line); padding: 10px 12px; font-size: 14px; }

/* 微信模板的装饰引号段：别继承正文 2 倍行高 */
.read-body section[style*="font-size: 60px"],
.read-body section[style*="font-size:60px"] { line-height: 1.2; }

.read-nav {
    margin-top: 58px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.read-nav a, .read-nav .is-empty {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.read-nav a:hover .rn-t { color: var(--copper); }

.rn-k {
    flex: 0 0 46px;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--muted);
}

.rn-t { font-size: 15px; line-height: 1.6; color: var(--ink); }

.is-empty .rn-t { color: #b7bbbf; }

.more { padding-top: 64px; }

/* ------------------------------ 关于 ------------------------------ */
.prose { padding: 40px 0 90px; }

.prose-lead {
    margin: 0 0 34px;
    font-size: 17px;
    line-height: 1.95;
    color: var(--ink);
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.prose h2 {
    margin: 34px 0 12px;
    font-size: 17px;
    letter-spacing: .02em;
    color: var(--ink);
}

.prose h2::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 2px;
    background: var(--copper);
    vertical-align: middle;
    margin-right: 10px;
}

.prose p { margin: 12px 0; font-size: 15.5px; line-height: 2; }
.prose ul { margin: 14px 0; }

.prose li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.85;
    border-bottom: 1px dotted var(--line);
}
.prose li strong { flex: 0 0 92px; color: var(--ink); }

/* ------------------------------ 分页 ------------------------------ */
.pager {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.pager-step { font-size: 12.5px; color: var(--text); }
.pager-step:hover { color: var(--copper); }
.pager-step.disabled { color: #c2c5c8; }

.pager-pages { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.pager-page {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    color: var(--text);
}
.pager-page:hover { color: var(--copper); }
.pager-page.on { background: var(--ink); color: #fff; }

.pager-dot { color: var(--muted); padding: 0 2px; }

.empty {
    padding: 80px 0;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
}
.empty i { font-size: 28px; display: block; margin-bottom: 12px; color: #c6c9cc; }

/* ------------------------------ 页脚 ------------------------------ */
.end { padding: 0 0 40px; }

.end-line { height: 1px; background: var(--line); }

.end-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-top: 34px;
}

.end-left strong { font-size: 16px; letter-spacing: .08em; color: var(--ink); }

.end-left p {
    max-width: 420px;
    margin: 10px 0 0;
    font-size: 12.5px;
    line-height: 1.9;
    color: var(--muted);
}

.end-right { display: flex; gap: 22px; font-size: 12.5px; }
.end-right a:hover { color: var(--copper); }

.end-meta {
    display: flex;
    gap: 18px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: .06em;
    color: #9aa0a6;
}

/* ------------------------------ 移动端 ------------------------------ */
@media (max-width: 1080px) {
    body { padding-left: 0; padding-top: 58px; }

    .rail {
        right: 0;
        bottom: auto;
        width: auto;
        height: 58px;
        flex-direction: row;
        align-items: center;
        padding: 0 20px;
        background: #ffffff;
        border-right: 0;
        border-bottom: 1px solid transparent;
    }

    .rail.is-scrolled { border-bottom-color: var(--line); }

    .rail-mark { width: 16px; height: 2px; margin: 0 10px 0 0; display: inline-block; vertical-align: middle; }

    .rail-brand { display: flex; align-items: center; flex: 1; min-width: 0; }
    .rail-name { font-size: 16px; letter-spacing: .06em; white-space: nowrap; }
    .rail-en { display: none; }
    .rail-bottom { display: none; }

    .rail-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 38px;
        height: 38px;
        border: 1px solid var(--line);
        background: #fff;
        cursor: pointer;
        padding: 0;
        z-index: 140;
        position: relative;
    }

    .rail-btn span { display: block; width: 15px; height: 1.5px; background: var(--ink); transition: transform .25s; }
    .menu-open .rail-btn span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
    .menu-open .rail-btn span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

    .rail-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 74%;
        max-width: 300px;
        height: 100%;
        margin: 0;
        padding: 86px 26px 26px;
        background: var(--shell);
        border-right: 1px solid var(--line);
        box-shadow: 14px 0 30px rgba(30, 36, 43, .12);
        transform: translateX(-102%);
        visibility: hidden;
        transition: transform .28s ease, visibility .28s;
        z-index: 130;
        overflow-y: auto;
    }

    .menu-open .rail-nav { transform: translateX(0); visibility: visible; }
    .menu-open .rail { z-index: 150; }

    .rail-nav a { padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--line); }

    .rail-mask {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(30, 36, 43, .34);
        opacity: 0;
        pointer-events: none;
        transition: opacity .28s;
        z-index: 120;
    }
    .rail-mask.on { opacity: 1; pointer-events: auto; }

    .shell, .shell-narrow { padding-left: 20px; padding-right: 20px; }

    .spot-wrap { padding-top: 26px; }
    .spot-media { aspect-ratio: 4 / 3; }
    .spot-body { padding-top: 18px; }
    .spot-body h1 { font-size: 23px; }
    .spot-desc { font-size: 13.5px; }

    .feed { padding: 34px 0 60px; }
    .rack { grid-template-columns: 1fr; gap: 32px; }
    .tile h3 { font-size: 17px; }

    .stage-head { padding-top: 30px; }
    .stage-head h1 { font-size: 25px; }

    .read { padding-top: 26px; }
    .read-title { font-size: 24px; }
    .read-lead { font-size: 14px; }
    .read-body { font-size: 16px; line-height: 1.95; margin-top: 26px; }
    .read-body p { margin: 16px 0; }

    .read-nav { margin-top: 40px; gap: 14px; }
    .read-nav a, .read-nav .is-empty { flex-direction: column; gap: 4px; }

    .more { padding-top: 44px; }

    .prose { padding-top: 26px; padding-bottom: 60px; }
    .prose li { flex-direction: column; gap: 2px; }
    .prose li strong { flex: none; }

    .end-inner { flex-direction: column; gap: 20px; padding-top: 28px; }
    .end-meta { flex-wrap: wrap; gap: 8px 16px; }
}
