/*
  全站导览页（/site-guide）专用样式。
  只作用于本页 sg- 前缀类名，页头页脚与全站组件零改动。

  视觉语言沿用报价页：深墨蓝首屏 + 亮蓝强调 + 白底细线卡片。
*/

.sg-hero {
    --sg-navy: #0b1424;
    --sg-blue: #168bd0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(122deg, #0b1424 0%, #10243a 62%, #173b59 100%);
    color: #fff;
    padding: clamp(52px, 6vw, 76px) 0 clamp(88px, 9vw, 112px);
}
.sg-hero__grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(126, 205, 245, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126, 205, 245, .045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(110deg, transparent 20%, #000 100%);
}
.sg-hero__inner { position: relative; }
.sg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8bd7ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}
.sg-eyebrow::before { content: ""; width: 22px; height: 1px; background: #55b9ed; }
.sg-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(32px, 4.6vw, 48px);
    line-height: 1.18;
    letter-spacing: .02em;
}
.sg-hero__intro {
    max-width: 720px;
    margin: 0;
    color: #b8c9da;
    font-size: 15px;
    line-height: 1.8;
}
.sg-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 28px;
    color: #dce9f4;
    font-size: 12px;
}
.sg-hero__stats span { display: inline-flex; align-items: baseline; gap: 6px; }
.sg-hero__stats strong { font-size: 22px; line-height: 1; color: #8bd7ff; }

.sg-crumb {
    position: relative;
    z-index: 2;
    background: #f4f7fb;
    border-bottom: 1px solid #e7edf5;
    color: #718096;
    font-size: 12px;
}
.sg-crumb .container { padding-top: 14px; padding-bottom: 14px; }
.sg-crumb a { color: inherit; text-decoration: none; }
.sg-crumb a:hover { color: var(--sg-blue); }
.sg-crumb .sep { margin: 0 9px; opacity: .55; }
.sg-crumb .current { color: #172235; font-weight: 700; }

.sg-main { padding: 0 0 clamp(56px, 7vw, 88px); background: #f4f7fb; }

.sg-jump {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(16, 36, 58, .06);
}
.sg-jump a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #e2e9f2;
    border-radius: 999px;
    color: #34455e;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .18s, color .18s, background .18s;
}
.sg-jump a:hover { border-color: #9fd4f2; color: #0f6fa8; background: #f2f9ff; }

.sg-panel {
    margin-top: 20px;
    padding: clamp(20px, 3vw, 30px);
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
}
.sg-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f7;
}
.sg-panel__head h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }
.sg-panel__head p { margin: 0; color: #7b8a9e; font-size: 13px; }
.sg-search { display: block; width: min(320px, 100%); }
.sg-search input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #f8fafc;
    color: #172235;
    font-size: 14px;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}
.sg-search input:focus { border-color: #7cc4ee; box-shadow: 0 0 0 3px rgba(22, 139, 208, .12); background: #fff; }

.sg-group { padding-top: 34px; scroll-margin-top: 20px; }
.sg-group__head { display: flex; align-items: center; gap: 14px; }
.sg-group__num {
    flex: 0 0 auto;
    min-width: 38px;
    color: #9fb4c9;
    font: 700 22px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: -.04em;
}
.sg-group__head h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.sg-group__en {
    display: block;
    margin-top: 3px;
    color: #168bd0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}
.sg-group__count {
    margin-left: auto;
    padding: 4px 10px;
    border: 1px solid #e2e9f2;
    border-radius: 999px;
    color: #7b8a9e;
    font-size: 12px;
}
.sg-group__desc { margin: 12px 0 16px; color: #6c7c90; font-size: 13px; line-height: 1.7; }
.sg-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sg-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    background: #fdfefe;
    text-decoration: none;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.sg-item:hover {
    border-color: #9fd4f2;
    box-shadow: 0 6px 18px rgba(16, 36, 58, .07);
    transform: translateY(-1px);
}
.sg-item__main { flex: 1 1 auto; min-width: 0; }
.sg-item__main strong { display: block; color: #172235; font-size: 14px; line-height: 1.4; }
.sg-item__main small { display: block; margin-top: 4px; color: #7b8a9e; font-size: 12px; line-height: 1.5; }
.sg-item__path {
    flex: 0 0 auto;
    max-width: 150px;
    overflow: hidden;
    color: #9aabc0;
    font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sg-item__arrow { flex: 0 0 auto; color: #168bd0; font-size: 15px; }
.sg-empty { margin: 34px 0 6px; color: #7b8a9e; font-size: 14px; text-align: center; }

.sg-note {
    margin-top: 20px;
    padding: clamp(20px, 3vw, 30px);
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
}
.sg-note h2 { margin: 0 0 12px; font-size: 17px; }
.sg-note p { margin: 0 0 8px; color: #6c7c90; font-size: 13px; line-height: 1.8; }
.sg-note__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sg-note__cta a {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    color: #172235;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.sg-note__cta a:first-child { border-color: #0f6fa8; background: #0f6fa8; color: #fff; }
.sg-note__cta a:hover { border-color: #7cc4ee; }

@media (max-width: 768px) {
    .sg-jump { margin-top: -18px; padding: 10px; }
    .sg-jump a { padding: 7px 11px; font-size: 12px; }
    .sg-panel { padding: 18px 14px; }
    .sg-panel__head { align-items: stretch; }
    .sg-search { width: 100%; }
    .sg-group { padding-top: 26px; }
    .sg-group__count { margin-left: 0; }
    .sg-items { grid-template-columns: minmax(0, 1fr); }
    .sg-item { padding: 12px 14px; }
    .sg-item__path { max-width: 110px; }
}
