/* ═══════════════════════════════════════════
   MBMC — Modern Minimalist Design
   ═══════════════════════════════════════════ */

@import url('https://fonts.loli.net/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --sans: 'Inter', 'Plus Jakarta Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #3b82f6;
    --accent: #06b6d4;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --max-w: 1280px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* ── 导航栏 ─────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo img { height: 42px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.5em;
}

.nav-links li a {
    display: block;
    padding: 0.6em 1.2em;
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
    position: relative;
    transition: all 0.25s var(--ease);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
    background: var(--bg-alt);
}

.nav-openlibra {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.55em 1.3em !important;
    font-weight: 600 !important;
    font-size: 0.85em !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 2px 10px rgba(99,102,241,0.28) !important;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease) !important;
}

.nav-openlibra:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: #fff !important;
    filter: brightness(1.1) !important;
    box-shadow: 0 4px 18px rgba(99,102,241,0.42) !important;
    transform: translateY(-1px) !important;
}

/* 语言切换 */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25em;
    margin-left: 1.5em;
    padding-left: 1.5em;
    border-left: 1px solid var(--border);
}

.lang-switch a, .lang-switch span {
    font-size: 0.85em;
    padding: 0.4em 0.8em;
    border-radius: var(--radius-sm);
    letter-spacing: -0.01em;
    font-weight: 500;
    transition: all 0.2s var(--ease);
}

.lang-switch .lang-active {
    background: var(--primary);
    color: #fff;
}

.lang-switch .lang-sep { color: var(--border); font-size: 0.75em; }

.nav-lang-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4em 2em 0.4em 0.9em;
    font-size: 0.85em;
    font-weight: 500;
    font-family: var(--sans);
    color: var(--text-secondary);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.55em center;
    background-size: 10px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    outline: none;
}

.nav-lang-select:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-lang-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4em;
    cursor: pointer;
    color: var(--text);
    padding: 0.4em;
    border-radius: var(--radius-sm);
    transition: background 0.2s var(--ease);
}

.mobile-toggle:hover { background: var(--bg-alt); }

@media (max-width: 1200px) and (min-width: 1000px) {
    .nav-inner { padding: 0 1.5em; }
    .nav-links { gap: 0.1em; }
    .nav-links li a {
        padding: 0.5em 0.65em;
        font-size: 0.82em;
    }
    .nav-logo img { height: 36px; }
    .lang-switch { margin-left: 0.6em; padding-left: 0.6em; }
    .lang-switch a, .lang-switch span { padding: 0.35em 0.5em; font-size: 0.78em; }
    .nav-openlibra { padding: 0.5em 0.65em !important; }
}

@media (max-width: 999px) {
    .mobile-toggle { display: block; }
    .nav-inner { padding: 0 1.5em; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: var(--bg);
        flex-direction: column;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-xl);
        padding: 1em 0;
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links li a { padding: 0.9em 1.5em; font-size: 0.95em; border-radius: 0; }
    .nav-links li a:hover { background: var(--bg-alt); }
    .lang-switch { margin: 1em 1.5em; padding: 1em 0 0; border-left: none; border-top: 1px solid var(--border-light); }
}

/* ── Hero — 现代风格大标题 ───────────────── */
.hero-editorial {
    background: #0f172a;
    color: #fff;
    padding: 7em 2em 6em;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* 深色遮罩层：确保所有照片背景上文字可读 */
.hero-editorial::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,15,30,0.4) 0%, rgba(10,15,30,0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

/* 所有 hero 子元素必须在遮罩层之上 */
.hero-editorial > * {
    position: relative;
    z-index: 2;
}

@keyframes hero-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero-editorial .hero-label {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5em;
    animation: fade-in-up 0.8s ease-out;
    background: rgba(255,255,255,0.15);
    padding: 0.5em 1.2em;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero-editorial h1 {
    font-family: var(--sans);
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1em;
    position: relative;
    animation: fade-in-up 0.8s ease-out 0.15s both;
    letter-spacing: -0.02em;
}

.hero-editorial p {
    font-size: 1.2em;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fade-in-up 0.8s ease-out 0.3s both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 599px) {
    .hero-editorial { padding: 5em 1.5em 4em; }
    .hero-editorial h1 { font-size: 2.2em; }
    .hero-editorial p { font-size: 1.05em; }
}

/* ── 文章列表 — 杂志排版 ────────────────── */
.articles-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3.5em 2em;
}

.articles-section .section-rule {
    border: none;
    border-top: 3px solid var(--blue-800);
    margin-bottom: 2.5em;
    width: 60px;
}

.article-card {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 2.5em;
    padding: 2.2em 0;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s var(--ease);
}

.article-card:last-child { border-bottom: none; }
.article-card:hover { background: var(--blue-50); margin: 0 -1em; padding-left: 1em; padding-right: 1em; border-radius: var(--radius); }

.article-card .card-body { display: flex; flex-direction: column; justify-content: center; }

.article-card .card-eyebrow {
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: 0.8em;
}

.article-card h3 {
    font-family: var(--serif);
    font-size: 1.35em;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.5em;
}

.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--blue-700); }

.article-card .card-date {
    font-size: 0.8em;
    color: var(--text-muted);
    margin-bottom: 0.7em;
    font-weight: 400;
}

.article-card .card-desc {
    font-size: 0.92em;
    color: var(--text-secondary);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-thumb {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/11;
}

.article-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.article-card:hover .card-thumb img { transform: scale(1.04); }

@media (max-width: 699px) {
    .article-card { grid-template-columns: 1fr; gap: 1em; }
    .article-card .card-thumb { aspect-ratio: 16/9; order: -1; }
    .articles-section { padding: 2em 1.2em; }
}

/* ── 分页 ────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 3em 0 1em;
}

.pagination a, .pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.5em;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.2s var(--ease);
}

.pagination a { color: var(--text-secondary); }
.pagination a:hover { background: var(--bg-alt); color: var(--primary); }
.pagination .current { background: var(--gradient-primary); color: #fff; }
.pagination .dots { color: var(--text-muted); padding: 0 0.3em; }

/* ── 文章详情 — 长文阅读体验 ────────────── */
.article-detail {
    max-width: 720px;
    margin: 0 auto;
    padding: 4em 2em;
}

.article-detail .detail-header {
    margin-bottom: 3em;
}

.article-detail .detail-eyebrow {
    display: inline-block;
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: 1.2em;
}

.article-detail h1 {
    font-family: var(--serif);
    font-size: 2.4em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.6em;
    color: var(--blue-900);
}

.article-detail .detail-meta {
    display: flex;
    gap: 1.5em;
    color: var(--text-muted);
    font-size: 0.88em;
    padding-bottom: 2em;
    border-bottom: 1px solid var(--border);
}

.article-body {
    font-size: 1.08em;
    line-height: 1.95;
    color: #333;
}

.article-body p { margin-bottom: 1.4em; }

.article-body img {
    border-radius: var(--radius);
    margin: 2em 0;
    box-shadow: var(--shadow-sm);
}

.article-body h2 {
    font-family: var(--serif);
    font-size: 1.5em;
    margin: 2em 0 0.8em;
    color: var(--blue-900);
}

.article-body h3 {
    font-family: var(--serif);
    font-size: 1.2em;
    margin: 1.8em 0 0.6em;
    color: var(--blue-800);
}

.article-body blockquote {
    border-left: 3px solid var(--green-700);
    padding: 0.8em 1.5em;
    margin: 1.5em 0;
    background: var(--bg-warm);
    font-style: italic;
    color: var(--text-secondary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    margin-top: 3.5em;
    padding: 0.6em 1.4em;
    font-size: 0.88em;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s var(--ease);
}

.back-link:hover {
    background: var(--blue-50);
    border-color: var(--blue-500);
    color: var(--blue-700);
}

@media (max-width: 599px) {
    .article-detail { padding: 2.5em 1.2em; }
    .article-detail h1 { font-size: 1.7em; }
}

/* ── 团队页 — 杂志人物展示 ──────────────── */
.staff-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3.5em 2em;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2em;
}

.staff-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease);
}

.staff-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.staff-card .card-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    background: var(--bg-warm);
    display: block;
}

.staff-card .card-info {
    padding: 1.2em 1.4em;
}

.staff-card .card-info h3 {
    font-family: var(--serif);
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: 0.25em;
}

.staff-card .card-info p {
    font-size: 0.82em;
    color: var(--text-muted);
    font-weight: 400;
}

/* ── 员工详情 ────────────────────────────── */
.staff-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 4em 2em;
    display: flex;
    gap: 3.5em;
    flex-wrap: wrap;
}

.staff-detail .detail-photo { flex: 0 0 280px; }

.staff-detail .detail-photo img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.staff-detail .detail-info { flex: 1; min-width: 280px; }

.staff-detail .detail-info h1 {
    font-family: var(--serif);
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 0.15em;
    color: var(--blue-900);
}

.staff-detail .detail-info .position {
    font-size: 1.05em;
    color: var(--blue-600);
    font-weight: 500;
    margin-bottom: 1.8em;
    padding-bottom: 1.2em;
    border-bottom: 1px solid var(--border);
}

.staff-detail .detail-info .bio {
    line-height: 1.9;
    color: var(--text-secondary);
    font-size: 0.98em;
}

@media (max-width: 699px) {
    .staff-detail { flex-direction: column; gap: 2em; padding: 2.5em 1.2em; }
    .staff-detail .detail-photo { flex: none; max-width: 240px; }
}

/* ── 通用页面 ────────────────────────────── */
.page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 4em 2em 5em;
}

.page-content h1 {
    font-family: var(--serif);
    font-size: 2.2em;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 0.6em;
    padding-bottom: 0.6em;
    border-bottom: 3px solid var(--blue-800);
    display: inline-block;
}

.page-content .content-body {
    line-height: 1.9;
    color: var(--text-secondary);
    font-size: 1.05em;
}

.page-content .content-body p { margin-bottom: 1.3em; }

/* 让纯文本 body 也有好的排版 */
.page-content .content-body h2 {
    font-family: var(--serif);
    font-size: 1.6em;
    font-weight: 700;
    color: var(--text);
    margin: 2em 0 0.8em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid var(--border-light);
}

.page-content .content-body h3 {
    font-family: var(--serif);
    font-size: 1.25em;
    font-weight: 600;
    color: var(--text);
    margin: 1.8em 0 0.6em;
}

.page-content .content-body ul,
.page-content .content-body ol {
    padding-left: 1.5em;
    margin-bottom: 1.3em;
}

.page-content .content-body li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.page-content .content-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5em 0;
    box-shadow: var(--shadow-sm);
}

.page-content .content-body blockquote {
    border-left: 3px solid var(--green-700);
    padding: 1em 1.5em;
    margin: 1.5em 0;
    background: var(--bg-warm);
    color: var(--text-secondary);
    font-style: italic;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.page-content .content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.page-content .content-body th,
.page-content .content-body td {
    padding: 0.7em 1em;
    border: 1px solid var(--border);
    text-align: left;
}

.page-content .content-body th {
    background: var(--bg-warm);
    font-weight: 600;
}

.page-content .content-body a {
    color: var(--blue-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-content .content-body a:hover {
    color: var(--green-800);
}

.page-empty {
    text-align: center;
    padding: 5em 1em;
    color: var(--text-muted);
}

.page-empty p {
    font-family: var(--serif);
    font-size: 1.15em;
    font-style: italic;
}

@media (max-width: 599px) {
    .page-content { padding: 2.5em 1.2em; }
    .page-content h1 { font-size: 1.6em; }
}

/* ── 页脚 ────────────────────────────── */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    padding: 4em 2em;
    margin-top: 0;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

.footer-inner p { font-size: 0.85em; margin: 0; }

.footer-inner a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85em;
    transition: color 0.2s var(--ease);
}

.footer-inner a:hover { color: #fff; }

@media (max-width: 599px) {
    .footer-inner { flex-direction: column; text-align: center; }
    .site-footer { padding: 2em 1.2em; }
}

/* ── Hero 背景图变体 ─────────────────────── */
.hero-editorial {
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-editorial .hero-overlay {
    position: relative;
    z-index: 2;
}

/* 带背景图时加深色遮罩确保文字可读 */
.hero-editorial.hero-with-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.hero-editorial.hero-with-image > * {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════
   各页面 Hero 背景 — 统一城市夜景风格
   所有页面使用城市/建筑实景照片 + 深色遮罩
   ═══════════════════════════════════════════ */

/* 首页：本地城市大图 */
.hero-home {
    background-image: url('/static/img/mschina-hero-large_2020.jpeg');
    background-size: cover;
    background-position: center;
}

/* 观点 — 香港夜景（Unsplash） */
.hero-ideas {
    background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* 员工 — 香港维多利亚港（Unsplash） */
.hero-staff {
    background-image: url('https://images.unsplash.com/photo-1559526324-4b87b5e36e44?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* 业务 — 金融大厦（Unsplash） */
.hero-business {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* 关于我们 — 城市天际线（Unsplash） */
.hero-about {
    background-image: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* 媒体联络 — 本地城市夜景图 */
.hero-newsroom {
    background-image: url('/static/pub/content/dam/mschina/about-us/city-purple-2.jpg');
    background-size: cover;
    background-position: center;
}

/* 校园招聘 — 现代办公楼（Unsplash） */
.hero-careers {
    background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* 联系我们 — 城市建筑（Unsplash） */
.hero-contact {
    background-image: url('https://images.unsplash.com/photo-1444653614773-995cb1ef9efa?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* 回馈社会 — 城市夜景（Unsplash） */
.hero-givingback {
    background-image: url('https://images.unsplash.com/photo-1470770903676-69b98201ea1c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* 面试准备 — 现代办公（Unsplash） */
.hero-preparation {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* 常见问题 — 同首页城市图 */
.hero-question {
    background-image: url('/static/img/mschina-hero-large_2020.jpeg');
    background-size: cover;
    background-position: center;
}

/* 隐私政策 — 城市夜景 */
.hero-policy {
    background-image: url('/static/pub/content/dam/mschina/about-us/city-purple-2.jpg');
    background-size: cover;
    background-position: center;
}

/* 业绩披露 — 金融大厦 */
.hero-earnings {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* ── 导航下拉菜单 ────────────────────────── */
.nav-links li { position: relative; }

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 0.4em 0;
    z-index: 200;
    list-style: none;
}

.nav-links li:hover > .nav-dropdown { display: block; }

.nav-dropdown li a {
    padding: 0.6em 1.2em;
    font-size: 0.85em;
    font-weight: 400;
    white-space: nowrap;
    color: var(--text-secondary);
}

.nav-dropdown li a:hover {
    background: var(--bg-warm);
    color: var(--blue-700);
}

.nav-dropdown li a::after { display: none; }

@media (max-width: 999px) {
    .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1em;
        background: transparent;
    }
    .nav-links li:hover > .nav-dropdown { display: block; }
    .nav-dropdown li a { padding: 0.5em 1.5em; }
}

/* ═══════════════════════════════════════════
   各页面专属样式
   ═══════════════════════════════════════════ */

/* ── 员工页 hero：引言式排版 ─────────────── */
.hero-staff {
    text-align: center;
    padding: 4em 2em 4em;
}

.hero-staff h1 {
    font-family: var(--serif);
    font-size: 2em;
    font-weight: 400;
    line-height: 1.5;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 999px) {
    .hero-staff h1 { font-size: 1.5em; max-width: 100%; }
    .hero-staff { text-align: center; }
    .hero-staff h1 { text-align: center; margin: 0 auto; }
}

@media (max-width: 599px) {
    .hero-staff h1 { font-size: 1.2em; }
}

/* ── 关于我们页 ──────────────────────────── */
.page-about .content-body h2 {
    color: var(--teal-800);
    border-bottom-color: var(--teal-800);
}

.page-about .stat-row {
    display: flex;
    justify-content: center;
    gap: 4em;
    flex-wrap: wrap;
    margin: 3em 0;
    padding: 2.5em 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.page-about .stat-item { text-align: center; flex: 0 0 auto; }
.page-about .stat-num { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-about .stat-label { font-size: 0.88em; color: var(--text-muted); margin-top: 0.4em; }

.page-about .ceo-quote {
    border-left-color: #06b6d4;
}

.page-about .ceo-quote .attribution {
    text-align: right;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1em;
}

/* ── 业务页 ──────────────────────────────── */
.page-business .content-body h2 { display: none; }

.page-business .biz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2em;
    margin: 2em 0;
}

.page-business .biz-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2.5em 2em;
    text-align: center;
    transition: all 0.3s var(--ease);
}

.page-business .biz-card:hover {
    border-color: var(--ms-blue-800);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.page-business .biz-card img { width: 72px; height: 72px; margin-bottom: 1.2em; opacity: 0.8; }
.page-business .biz-card h3 { font-family: var(--serif); font-size: 1.15em; margin-bottom: 0.8em; color: var(--ms-blue-800); }
.page-business .biz-card p { font-size: 0.9em; color: var(--text-secondary); line-height: 1.65; }

/* ── 联系/媒体页 ─────────────────────────── */
.page-contact .contact-grid,
.page-newsroom .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2em;
    margin: 2em 0;
}

.page-contact .contact-card,
.page-newsroom .contact-card {
    text-align: center;
    padding: 2.5em 1.5em;
    background: var(--bg-warm);
    border-radius: var(--radius);
    border-bottom: 3px solid transparent;
    transition: all 0.3s var(--ease);
}

.page-contact .contact-card:hover,
.page-newsroom .contact-card:hover { border-bottom-color: var(--teal-800); }

.page-contact .contact-card img,
.page-newsroom .contact-card img { width: 56px; height: 56px; margin-bottom: 1em; opacity: 0.7; }

.page-contact .contact-card h3,
.page-newsroom .contact-card h3 { font-family: var(--serif); margin-bottom: 0.6em; }

/* ── 招聘页 ──────────────────────────────── */
.page-careers .careers-intro {
    font-size: 1.1em;
    max-width: 680px;
    margin: 0 auto 2.5em;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.8;
}

.page-careers .careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2em;
    margin: 2em 0;
}

.page-careers .careers-card {
    text-align: center;
    padding: 2.5em 1.5em;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}

.page-careers .careers-card:hover {
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.page-careers .careers-card img { width: 72px; height: 72px; margin-bottom: 1em; opacity: 0.7; }
.page-careers .careers-card h3 { font-family: var(--serif); color: var(--primary-dark); margin-bottom: 0.5em; }
.page-careers .careers-card a { color: var(--primary-dark); font-weight: 500; }

/* ── 回馈社会页 ──────────────────────────── */
.page-givingback .stat-hero {
    display: flex;
    justify-content: center;
    gap: 5em;
    flex-wrap: wrap;
    padding: 3em 0;
    margin-bottom: 2em;
    border-bottom: 1px solid var(--border-light);
}

.page-givingback .stat-hero .stat-item { text-align: center; }
.page-givingback .stat-hero .stat-icon { width: 48px; height: 48px; margin-bottom: 0.5em; }
.page-givingback .stat-hero .stat-num { font-size: 2.5em; font-weight: 700; color: var(--teal-800); }
.page-givingback .stat-hero .stat-label { font-size: 0.85em; color: var(--text-muted); max-width: 200px; }

.page-givingback .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5em;
}

.page-givingback .project-card {
    padding: 1.8em;
    background: var(--bg-warm);
    border-radius: var(--radius);
    border-left: 3px solid var(--teal-800);
}

.page-givingback .project-card h3 { font-size: 1em; font-weight: 600; margin-bottom: 0.4em; }
.page-givingback .project-card p { font-size: 0.9em; color: var(--text-secondary); line-height: 1.6; }
.page-givingback .project-card .date { font-size: 0.8em; color: var(--text-muted); margin-top: 0.5em; }

/* ── 面试准备页 ──────────────────────────── */
.page-preparation .prep-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-preparation .prep-content blockquote {
    font-size: 1.15em;
    font-family: var(--serif);
    border-left-color: var(--primary-dark);
    padding: 1.2em 2em;
}

.page-preparation .skill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    margin: 2.5em 0;
}

.page-preparation .skill-card {
    text-align: center;
    padding: 2em 1em;
    background: var(--bg-warm);
    border-radius: var(--radius);
}

.page-preparation .skill-card img { width: 56px; height: 56px; margin-bottom: 0.8em; opacity: 0.7; }
.page-preparation .skill-card h3 { font-size: 0.95em; color: var(--primary-dark); margin-bottom: 0.3em; }

@media (max-width: 599px) {
    .page-preparation .skill-grid { grid-template-columns: 1fr; }
    .page-about .stat-row { gap: 2em; }
}

/* ═══════════════════════════════════════════
   首页内容区块
   ═══════════════════════════════════════════ */

/* ── 通用首页区块 ────────────────────────── */
.home-section-title {
    font-family: var(--serif);
    font-size: 2.2em;
    font-weight: 300;
    text-align: center;
    margin-bottom: 0.5em;
    color: var(--text);
}

.home-section-title strong {
    font-weight: 700;
}

.home-section-desc {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5em;
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.75;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0;
    font-size: 0.88em;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--primary);
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: gap 0.22s var(--ease), opacity 0.22s var(--ease);
    text-decoration: none;
    cursor: pointer;
}

.btn-more::after {
    content: '\2192';
    font-size: 1em;
    line-height: 1;
    transition: transform 0.22s var(--ease);
    display: inline-block;
}

.btn-more:hover {
    opacity: 0.75;
    color: var(--primary);
}

.btn-more:hover::after { transform: translateX(5px); }

/* ── 深耕统计区块 ────────────────────────── */
.home-stats {
    background: var(--bg);
    padding: 5em 2em;
}

.home-stats-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4em;
    flex-wrap: wrap;
    margin: 2.5em 0 3em;
}

.stats-row .stat-item {
    text-align: center;
    flex: 0 0 auto;
    min-width: 180px;
}

.stats-row .stat-icon {
    margin-bottom: 0.8em;
}

.stats-row .stat-icon img {
    width: 56px;
    height: 56px;
    opacity: 0.7;
}

.stats-row .stat-num {
    font-size: 3em;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1.1;
}

.stats-row .stat-num span {
    font-size: 0.4em;
    font-weight: 400;
    color: var(--text-secondary);
}

.stats-row .stat-label {
    font-size: 0.85em;
    color: var(--text-muted);
    margin-top: 0.5em;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* ── 最新观点区块 ────────────────────────── */
.home-articles {
    background: var(--bg-warm);
    padding: 4em 2em;
}

.home-articles-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.home-articles-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2em;
    flex-wrap: wrap;
    gap: 0.75em;
}

.home-more-link {
    font-size: 0.875em;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.home-more-link:hover { opacity: 0.75; }

.home-articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
}

.home-article-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease);
    border: 1px solid var(--border-light);
}

.home-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.home-article-card .home-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.home-article-card .home-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.home-article-card:hover .home-card-img img {
    transform: scale(1.05);
}

.home-article-card .home-card-body {
    padding: 1.5em;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-article-card .card-eyebrow {
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-800);
    margin-bottom: 0.6em;
}

.home-article-card h3 {
    font-family: var(--serif);
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5em;
    color: var(--text);
}

.home-article-card .card-date {
    font-size: 0.78em;
    color: var(--text-muted);
    margin-bottom: 0.5em;
}

.home-article-card p {
    font-size: 0.88em;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 第一张卡片大图 */
.home-article-card.featured {
    grid-column: 1 / -1;
    flex-direction: row;
}

.home-article-card.featured .home-card-img {
    flex: 0 0 50%;
    aspect-ratio: auto;
}

.home-article-card.featured .home-card-body {
    padding: 2em;
    justify-content: center;
}

.home-article-card.featured h3 {
    font-size: 1.4em;
}

@media (max-width: 699px) {
    .home-articles-grid {
        grid-template-columns: 1fr;
    }
    .home-article-card.featured {
        flex-direction: column;
    }
    .home-article-card.featured .home-card-img {
        flex: none;
        aspect-ratio: 16/9;
    }
}

/* ── 加入我们 CTA ────────────────────────── */
.home-cta {
    padding: 4em 2em;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.home-cta-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3em;
}

.home-cta-text h3 {
    font-family: var(--serif);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 0.6em;
    color: var(--text);
}

.home-cta-text p {
    font-size: 0.92em;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

@media (max-width: 699px) {
    .home-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ── 员工展示区块 ────────────────────────── */
.home-staff {
    padding: 5em 2em;
    background: var(--bg);
}

.home-staff-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
}

.home-staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin: 2.5em 0 3em;
}

.home-staff-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.home-staff-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.staff-card-photo {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: var(--bg-warm);
}

.staff-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: var(--border);
}

.staff-card-info {
    padding: 1.4em;
    text-align: left;
}

.staff-card-info .staff-card-org {
    display: block;
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3em;
}

.staff-card-info .staff-card-pos {
    display: block;
    font-size: 0.82em;
    color: var(--text-secondary);
    margin-bottom: 0.5em;
}

.staff-card-info h3 {
    font-family: var(--serif);
    font-size: 1.15em;
    font-weight: 600;
    margin-bottom: 0.8em;
    color: var(--text);
}

.staff-card-info .staff-card-link {
    font-size: 0.82em;
    color: var(--blue-600);
    font-weight: 500;
}

.home-staff-card:hover .staff-card-link {
    color: var(--blue-500);
}

@media (max-width: 699px) {
    .home-staff-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .stats-row { gap: 2em; }
}

/* ── 微信公众号文章内容兼容 ──────────────── */
.article-body * {
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100%;
}

.article-body img {
    height: auto !important;
    display: block;
    margin: 1em auto;
}

.article-body section {
    max-width: 100%;
    overflow: hidden;
}

/* ═══════════════════════════════════════════
   全宽页面布局（首页风格）
   ═══════════════════════════════════════════ */

.page-fullwidth {
    width: 100%;
}

.page-fullwidth .content-body {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text);
}

/* 全宽分段区块 */
.section-block {
    padding: 5em 2em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-block .section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-block.bg-white { background: var(--bg); }
.section-block.bg-warm { background: var(--bg-alt); }
.section-block.bg-dark { background: var(--bg-dark); color: #fff; }
.section-block.bg-teal { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); color: #fff; }
.section-block.bg-purple { background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%); color: #fff; }

.section-title {
    font-family: var(--sans);
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5em;
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0.8em auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3em;
    color: var(--text-secondary);
    font-size: 1.05em;
    line-height: 1.7;
}

.section-block.bg-dark .section-desc,
.section-block.bg-teal .section-desc,
.section-block.bg-purple .section-desc { color: rgba(255,255,255,0.75); }

/* 统计数字行 — 全宽版 */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 4em;
    flex-wrap: wrap;
    padding: 1em 0;
}

.stats-row .stat-item {
    text-align: center;
    flex: 0 0 auto;
    animation: fade-in-up 0.6s ease-out both;
}

.stats-row .stat-item:nth-child(1) { animation-delay: 0.1s; }
.stats-row .stat-item:nth-child(2) { animation-delay: 0.2s; }
.stats-row .stat-item:nth-child(3) { animation-delay: 0.3s; }

.stats-row .stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.6em;
    display: block;
    opacity: 0.7;
    transition: transform 0.3s var(--ease);
}

.stats-row .stat-item:hover .stat-icon {
    transform: scale(1.1);
    opacity: 1;
}

.stats-row .stat-num {
    font-size: 3.2em;
    font-weight: 700;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-row .stat-unit {
    font-size: 0.4em;
    font-weight: 400;
    -webkit-text-fill-color: initial;
}

.stats-row .stat-label {
    font-size: 0.85em;
    margin-top: 0.3em;
    opacity: 0.8;
}

.section-block.bg-white .stats-row .stat-num { 
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-block.bg-dark .stats-row .stat-num,
.section-block.bg-teal .stats-row .stat-num { 
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 左右分栏 */
.split-row {
    display: flex;
    gap: 3em;
    align-items: center;
    flex-wrap: wrap;
}

.split-row .split-text { flex: 1; min-width: 300px; }
.split-row .split-text h3 { font-family: var(--serif); font-size: 1.4em; margin-bottom: 0.6em; }
.split-row .split-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1em; }
.split-row .split-action { flex: 0 0 auto; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 0.88em;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--primary);
    background: transparent;
    box-shadow: none;
    transition: opacity 0.22s var(--ease);
    text-decoration: none;
    cursor: pointer;
}

.btn-outline::after {
    content: '\2192';
    font-size: 1em;
    line-height: 1;
    transition: transform 0.22s var(--ease);
    display: inline-block;
}

.btn-outline:hover {
    opacity: 0.75;
    color: var(--primary);
}

.btn-outline:hover::after { transform: translateX(5px); }

.section-block.bg-white .btn-outline { color: var(--primary); }
.section-block.bg-dark .btn-outline,
.section-block.bg-teal .btn-outline,
.section-block.bg-purple .btn-outline { color: rgba(255,255,255,0.85); }
.section-block.bg-dark .btn-outline:hover,
.section-block.bg-teal .btn-outline:hover,
.section-block.bg-purple .btn-outline:hover { opacity: 0.65; color: #fff; }

/* 三列卡片 — 全宽版 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
}

.cards-grid .card-item {
    text-align: center;
    padding: 2.5em 2em;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
    box-shadow: var(--shadow-sm);
}

.cards-grid .card-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.cards-grid .card-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 1em;
    opacity: 0.7;
    transition: all 0.3s var(--ease);
}

.cards-grid .card-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.cards-grid .card-item h3 {
    font-family: var(--serif);
    font-size: 1.1em;
    margin-bottom: 0.5em;
    transition: color 0.2s var(--ease);
}

.cards-grid .card-item p {
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cards-grid .card-item a {
    display: inline-block;
    margin-top: 0.8em;
    font-weight: 500;
    font-size: 0.9em;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease);
}

.cards-grid .card-item:hover a {
    border-bottom-color: currentColor;
}

/* 引言卡片 */
.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
}

.quote-card {
    padding: 2em;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    border-left: 3px solid rgba(255,255,255,0.3);
}

.quote-card h3 { font-size: 1em; font-weight: 600; margin-bottom: 0.6em; }
.quote-card p { font-size: 0.92em; line-height: 1.7; opacity: 0.85; font-style: italic; }

@media (max-width: 699px) {
    .section-block { padding: 3em 1.2em; }
    .stats-row { gap: 2em; }
    .stats-row .stat-num { font-size: 2.2em; }
    .split-row { flex-direction: column; text-align: center; }
    .section-title { font-size: 1.4em; }
}

/* ═══════════════════════════════════════════
   补充语义化 class 样式
   ═══════════════════════════════════════════ */

/* 窄内容容器 */
.content-narrow {
    max-width: 700px;
    margin: 0 auto;
}

/* 区块引言文字 */
.section-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2em;
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 引用作者署名 */
.quote-author {
    text-align: right;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1.5em;
    font-size: 0.95em;
}

/* 联系邮箱链接 */
.contact-email {
    color: var(--primary);
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s var(--ease);
}

.contact-email:hover {
    border-bottom-color: var(--primary);
}

/* 卡片日期 */
.card-date {
    font-size: 0.8em;
    color: var(--text-muted);
    margin-top: 0.5em;
}

/* ═══════════════════════════════════════════
   各页面专属样式微调
   ═══════════════════════════════════════════ */

/* ── 员工页 staff ───────────────────────── */
.page-staff .section-block.bg-white .section-title::after {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.page-staff .section-block.bg-warm {
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(59,130,246,0.05) 100%);
}

.page-staff .quote-card {
    background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(59,130,246,0.03) 100%);
    border-left-color: #3b82f6;
}

.page-staff .quote-card:hover {
    background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(59,130,246,0.05) 100%);
}

/* ── 业务页 business ──────────────────────── */
.page-business .section-block.bg-white .section-title::after {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

.page-business .cards-grid .card-item {
    background: linear-gradient(135deg, var(--bg) 0%, rgba(59,130,246,0.02) 100%);
}

.page-business .cards-grid .card-item:hover {
    background: linear-gradient(135deg, var(--bg) 0%, rgba(59,130,246,0.06) 100%);
}

/* ── 关于我们 about ───────────────────────── */
.page-about .section-block.bg-white .section-title::after {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.page-about .quote-author {
    color: #06b6d4;
}

.page-about .section-block.bg-warm {
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(6,182,212,0.05) 100%);
}

/* ── 联系我们 contact ─────────────────────── */
.page-contact .section-block.bg-white .section-title::after {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.page-contact .cards-grid .card-item {
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(6,182,212,0.03) 100%);
}

.page-contact .cards-grid .card-item:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(6,182,212,0.08) 0%, rgba(6,182,212,0.03) 100%);
}

/* ── 校园招聘 careers ──────────────────────── */
.page-careers .section-block.bg-white .section-title::after {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.page-careers .section-intro {
    background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(59,130,246,0.02) 100%);
    padding: 1.5em 2em;
    border-radius: var(--radius-md);
    border-left: 3px solid #3b82f6;
}

.page-careers .cards-grid .card-item::before {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
}

/* ── 回馈社会 givingback ──────────────────── */
.page-givingback .section-block.bg-white .section-title::after {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.page-givingback .section-block.bg-warm {
    background: linear-gradient(135deg, rgba(6,182,212,0.08) 0%, rgba(6,182,212,0.03) 100%);
}

.page-givingback .card-item::before {
    background: linear-gradient(180deg, #06b6d4, #0891b2);
}

/* ── 媒体联络 newsroom ────────────────────── */
.page-newsroom .section-block.bg-white .section-title::after {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.page-newsroom .cards-grid .card-item {
    background: linear-gradient(135deg, var(--bg) 0%, rgba(6,182,212,0.02) 100%);
}

.page-newsroom .cards-grid .card-item:hover {
    box-shadow: 0 8px 24px rgba(6,182,212,0.15);
}

/* ── 面试准备 preparation ──────────────────── */
.page-preparation .section-block.bg-white .section-title::after {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.page-preparation .section-intro blockquote {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(59,130,246,0.02) 100%);
}

.page-preparation .cards-grid .card-item {
    background: linear-gradient(135deg, var(--bg) 0%, rgba(59,130,246,0.03) 100%);
}

/* ── 常见问题 question ──────────────────────── */
.page-question .section-block.bg-white .section-title::after {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.page-question .section-intro {
    background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(59,130,246,0.02) 100%);
}

.page-question .cards-grid .card-item:hover {
    border-color: #3b82f6;
}

/* ══════════════════════════════════════════
   员工详情页 (Staff Detail Page) — sdp-*
   ══════════════════════════════════════════ */

/* Hero */
.sdp-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
}

.sdp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,15,30,0.25) 0%,
        rgba(10,15,30,0.55) 50%,
        rgba(10,15,30,0.82) 100%
    );
    z-index: 1;
}

.sdp-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 2.5em 2em 3.5em;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.sdp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.875em;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    width: fit-content;
}
.sdp-back-link:hover { color: #fff; }

.sdp-hero-label {
    display: inline-block;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    padding: 0.4em 1.1em;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.18);
    margin-bottom: 0.6em;
}

.sdp-hero-name {
    font-family: var(--sans);
    font-size: clamp(2.4em, 5vw, 4em);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
}

.sdp-hero-title {
    font-size: 1.15em;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin: 0.4em 0 0;
}

.sdp-hero-company {
    font-size: 0.95em;
    color: rgba(255,255,255,0.6);
    margin: 0.2em 0 0;
}

/* ── 档案主体区 ── */
.sdp-body {
    background: var(--bg-alt);
}

.sdp-profile-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3em 2em 4em;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5em;
    align-items: start;
}

/* 左侧名片卡 */
.sdp-profile-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(15,23,42,0.10), 0 2px 8px rgba(15,23,42,0.06);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.sdp-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
}

.sdp-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s var(--ease);
}
.sdp-profile-card:hover .sdp-photo { transform: scale(1.03); }

.sdp-photo-ring {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 -60px 60px rgba(10,15,30,0.35);
}

.sdp-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    font-size: 5em;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
}

.sdp-identity {
    padding: 1.6em 1.75em 1.8em;
    border-top: none;
}

.sdp-name {
    font-family: var(--sans);
    font-size: 1.5em;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 0.5em;
    letter-spacing: -0.02em;
}

.sdp-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    font-size: 0.78em;
    font-weight: 600;
    padding: 0.35em 1em;
    border-radius: 50px;
    letter-spacing: 0.02em;
    margin-bottom: 0.75em;
}

.sdp-org {
    font-size: 0.875em;
    color: var(--text-muted);
    margin: 0.4em 0 0;
    font-weight: 500;
}

/* 右侧简介卡 */
.sdp-bio-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(15,23,42,0.10), 0 2px 8px rgba(15,23,42,0.06);
    overflow: hidden;
}

.sdp-bio-header {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 1.5em 2em 1em;
    border-bottom: none;
    background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(99,102,241,0.03) 100%);
}

.sdp-bio-icon {
    font-size: 1.8em;
    color: var(--primary);
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.7;
}

.sdp-bio-heading {
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.sdp-bio-body {
    padding: 2em 2.25em 2.5em;
}

.sdp-bio-body p {
    font-size: 1.02em;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.25em;
}
.sdp-bio-body p:last-child { margin-bottom: 0; }

/* ── 其他成员区 ── */
.sdp-others-section {
    background: var(--bg-alt);
    padding: 4em 0;
}

.sdp-others-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2em;
}

.sdp-others-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2em;
}

.sdp-others-title {
    font-family: var(--sans);
    font-size: 1.6em;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin: 0;
}

.sdp-all-link {
    font-size: 0.875em;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}
.sdp-all-link:hover { text-decoration: underline; }

.sdp-others-grid {
    display: flex;
    flex-direction: row;
    gap: 1.25em;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1em;
    cursor: grab;
    user-select: none;
    scrollbar-width: none;
}
.sdp-others-grid::-webkit-scrollbar { display: none; }
.sdp-others-grid.is-dragging { cursor: grabbing; }

.sdp-other-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 230px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(15,23,42,0.07);
    scroll-snap-align: start;
}
.sdp-other-card:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow: 0 16px 40px rgba(15,23,42,0.13);
}

.sdp-other-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
}
.sdp-other-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s var(--ease);
}
.sdp-other-card:hover .sdp-other-photo img { transform: scale(1.06); }

.sdp-other-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    font-size: 2.5em;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
}

.sdp-other-body {
    padding: 1.1em 1.25em 1.3em;
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    flex: 1;
}

.sdp-other-org {
    font-size: 0.72em;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sdp-other-pos {
    font-size: 0.8em;
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.1em;
}

.sdp-other-name {
    font-size: 1em;
    font-weight: 700;
    color: var(--text);
    margin: 0.3em 0 0.25em;
    letter-spacing: -0.01em;
}

.sdp-other-cta {
    font-size: 0.78em;
    color: var(--primary);
    font-weight: 600;
    margin-top: auto;
    padding-top: 0.6em;
    opacity: 0;
    transition: opacity 0.2s;
}
.sdp-other-card:hover .sdp-other-cta { opacity: 1; }

/* ── 响应式 ── */
@media (max-width: 900px) {
    .sdp-profile-wrap {
        grid-template-columns: 1fr;
        padding: 2em 1.25em 3em;
    }
    .sdp-profile-card { position: static; max-width: 380px; }
    .sdp-hero-name { font-size: 2.2em; }
}

@media (max-width: 600px) {
    .sdp-hero { min-height: 320px; }
    .sdp-hero-name { font-size: 1.8em; }
    .sdp-others-grid { gap: 1em; }
    .sdp-other-card { flex: 0 0 180px; }
    .sdp-bio-body { padding: 1.5em; }
    .sdp-others-header { flex-direction: column; align-items: flex-start; gap: 0.5em; }
}

/* ── 隐私政策 policy ───────────────────────── */
.page-policy .section-block.bg-white .section-title::after {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.page-policy .section-intro {
    background: var(--bg-alt);
    padding: 2em;
    border-radius: var(--radius-md);
    border-left: 4px solid #06b6d4;
}

.page-policy .section-intro p {
    margin-bottom: 1em;
}

.page-policy .section-intro p:last-child {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════
   员工详情页样式
   ══════════════════════════════════════════ */

.staff-detail-layout {
    display: flex;
    gap: 4em;
    align-items: flex-start;
    padding: 3em 0;
}

.staff-detail-photo {
    flex: 0 0 260px;
}

.staff-detail-photo img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
    object-fit: cover;
}

.staff-photo-placeholder {
    width: 260px;
    height: 320px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    color: rgba(255,255,255,0.8);
    font-weight: 700;
}

.staff-photo-placeholder.small {
    width: 72px;
    height: 72px;
    font-size: 1.8em;
    border-radius: 50%;
}

.staff-detail-info {
    flex: 1;
    min-width: 0;
}

.staff-name {
    font-family: var(--sans);
    font-size: 2.4em;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25em;
    line-height: 1.2;
}

.staff-position {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.3em;
}

.staff-company {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid var(--border-light);
}

.staff-bio-label {
    font-size: 0.85em;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75em;
}

.staff-bio p {
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.1em;
    font-size: 0.97em;
}

/* 其他员工卡片网格 */
.staff-others-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5em;
    margin-top: 1.5em;
}

.staff-other-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5em 1em;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s var(--ease);
}

.staff-other-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.staff-other-photo img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75em;
    border: 2px solid var(--border-light);
}

.staff-other-info {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    align-items: center;
}

.staff-other-company {
    font-size: 0.75em;
    color: var(--text-muted);
}

.staff-other-title {
    font-size: 0.8em;
    color: var(--text-secondary);
}

.staff-other-name {
    font-size: 1em;
    font-weight: 600;
    color: var(--text);
    margin: 0.25em 0;
}

.staff-other-link {
    font-size: 0.78em;
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.3em;
}

@media (max-width: 799px) {
    .staff-detail-layout {
        flex-direction: column;
        gap: 2em;
        padding: 2em 0;
    }
    .staff-detail-photo { flex: none; width: 160px; }
    .staff-photo-placeholder { width: 160px; height: 200px; font-size: 3em; }
    .staff-name { font-size: 1.8em; }
}

/* ── 员工列表页：团队成员卡片网格 ─────────── */
.staff-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5em;
    margin-top: 1.5em;
}

.staff-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2em 1.25em 1.5em;
    border-radius: var(--radius-md);
    background: var(--bg);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s var(--ease);
}

.staff-member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.staff-member-photo {
    margin-bottom: 1em;
}

.staff-member-photo img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-light);
    transition: border-color 0.25s var(--ease);
}

.staff-member-card:hover .staff-member-photo img {
    border-color: var(--primary-light);
}

.staff-member-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.staff-member-info {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    align-items: center;
    width: 100%;
}

.staff-member-info strong {
    font-size: 1.05em;
    font-weight: 700;
    color: var(--text);
}

.staff-member-info span {
    font-size: 0.82em;
    color: var(--primary);
    font-weight: 500;
}

.staff-member-info small {
    font-size: 0.78em;
    color: var(--text-muted);
}

.staff-member-info em {
    font-style: normal;
    font-size: 0.8em;
    color: var(--primary);
    margin-top: 0.5em;
    opacity: 0;
    transition: opacity 0.2s var(--ease);
}

.staff-member-card:hover .staff-member-info em {
    opacity: 1;
}

@media (max-width: 599px) {
    .staff-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }
}
