/* ==========================================================
   网站地图页样式 · 九鼎酵母
   依赖：common.css（站点配色变量 / 页头页脚样式）
   作用域：所有选择器以 .sm- 或 .sitemap-page 前缀限定
   ========================================================== */
/* ================= 网站地图页 ================= */
.sitemap-page {
    background: var(--color-cream-soft, #fdf8ef);
}

/* ---------- 首屏 ---------- */
.sm-hero {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: linear-gradient(112deg, #062b5a 0%, #0a1d45 52%, #04122e 100%);
}
.sm-hero__ring,
.sm-hero__ring--inner {
    position: absolute;
    border: 1px solid rgba(207, 176, 115, 0.22);
    border-radius: 50%;
    pointer-events: none;
}
.sm-hero__ring {
    right: 96px;
    top: -170px;
    width: 460px;
    height: 460px;
}
.sm-hero__ring--inner {
    right: 176px;
    top: -90px;
    width: 300px;
    height: 300px;
    border-color: rgba(207, 176, 115, 0.11);
}
.sm-hero__ghost {
    position: absolute;
    right: 56px;
    bottom: 26px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 84px;
    line-height: 1;
    letter-spacing: 0.16em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
}
.sm-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(207, 176, 115, 0) 0%,
        rgba(207, 176, 115, 0.55) 50%,
        rgba(207, 176, 115, 0) 100%);
}
.sm-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sm-hero__en {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--color-gold, #cfb073);
}
.sm-hero__title {
    margin: 0;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.06em;
    color: #fff;
}
.sm-hero__line {
    display: block;
    width: 64px;
    height: 2px;
    margin: 24px 0 0;
    background: var(--color-gold, #cfb073);
}
.sm-hero__sub {
    margin: 22px 0 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.80);
}

/* ---------- 主体 ---------- */
.sm-main {
    padding: 88px 0 110px;
}
.sm-main__canvas {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- 快速索引 ---------- */
.sm-quick {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 52px;
}
.sm-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 10px;
    border: 1px solid var(--color-border, #e8dfd0);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    color: var(--color-primary, #0a1d45);
    text-decoration: none;
    transition: all var(--transition, 0.25s ease);
}
.sm-chip b {
    font-family: Georgia, serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--color-gold-deep, #bb945b);
}
.sm-chip:hover {
    border-color: var(--color-gold, #cfb073);
    background: var(--color-primary, #0a1d45);
    color: #fff;
    box-shadow: 0 8px 18px rgba(10, 29, 69, 0.16);
}
.sm-chip:hover b {
    color: var(--color-gold, #cfb073);
}

/* ---------- 卡片网格 ---------- */
.sm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}
.sm-card {
    position: relative;
    padding: 32px 36px 28px;
    background: #fff;
    border: 1px solid #eee5d6;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(10, 29, 69, 0.045);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    scroll-margin-top: 130px;
}
.sm-card:hover {
    transform: translateY(-4px);
    border-color: #ddcfb3;
    box-shadow: 0 18px 38px rgba(10, 29, 69, 0.10);
}
.sm-card__head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1eade;
}
.sm-card__num {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--color-gold-deep, #bb945b);
}
.sm-card__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary, #0a1d45);
}
.sm-card__desc {
    margin-left: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b9b5ad;
    white-space: nowrap;
}

/* ---------- 链接条目 ---------- */
.sm-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    text-decoration: none;
}
.sm-link__name {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text, #33383e);
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.sm-link:hover .sm-link__name {
    color: var(--color-gold-deep, #bb945b);
    border-bottom-color: var(--color-gold, #cfb073);
}
.sm-link__url {
    flex: none;
    font-family: Consolas, "SF Mono", Menlo, monospace;
    font-size: 11.5px;
    color: #b8b3aa;
    transition: color 0.2s ease;
}
.sm-link:hover .sm-link__url {
    color: var(--color-gold-deep, #bb945b);
}
.sm-link--sub .sm-link__name {
    font-size: 14px;
}
.sm-link--sub .sm-link__url {
    font-size: 11px;
}

/* ---------- 层级缩进 ---------- */
.sm-sub {
    margin: 0 0 4px 2px;
    padding-left: 18px;
    border-left: 2px solid #f2ece0;
}
.sm-sub--deep {
    margin: 2px 0 4px;
    padding-left: 16px;
    border-left: 1px dashed #f1eade;
}

/* ---------- 说明与徽标 ---------- */
.sm-note {
    margin: 14px 0 0;
    font-size: 12.5px;
    line-height: 1.9;
    color: #9d9a94;
}
.sm-note em {
    font-style: normal;
    color: var(--color-gold-deep, #bb945b);
}
.sm-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 7px;
    border: 1px solid #ecdcc6;
    border-radius: 3px;
    background: var(--color-cream, #f8efe5);
    font-size: 11px;
    font-weight: 400;
    color: var(--color-gold-deep, #bb945b);
    vertical-align: middle;
}

/* ---------- 数据条 ---------- */
.sm-stat {
    display: flex;
    align-items: center;
    margin-top: 60px;
    padding: 36px 20px;
    background: #fff;
    border: 1px solid #eee5d6;
    border-radius: 14px;
}
.sm-stat__item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #f0e8da;
}
.sm-stat__item:last-child {
    border-right: 0;
}
.sm-stat__num {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1;
    color: var(--color-primary, #0a1d45);
}
.sm-stat__num--sm {
    font-size: 20px;
    letter-spacing: 0.04em;
}
.sm-stat__label {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: #94918b;
}

@media (max-width: 1180px) {
    .sm-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .sm-hero__title {
        font-size: 40px;
    }
}
