:root {
    --main-theme: #4f46e5;
    --main-theme-hover: #4338ca;
    --primary-color: #4f46e5;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --blur-val: blur(12px);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-subtle: 1px solid #e2e8f0;
    --border-glass: 1px solid rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --neon-glow: linear-gradient(90deg, #4f46e5, #818cf8);
    --radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    padding-bottom: 70px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

#site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.seo-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 20px;
}

.brand-group {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-shrink: 0;
}

.site-logo a {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--primary-color);
}

#content {
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
    padding: 0 20px;
    flex: 1;
}

.seo-archive {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb span {
    margin: 0 6px;
}

.seo-main-layout {
    display: flex;
    gap: 24px;
}

.seo-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.seo-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 992px) {
    .seo-main-layout {
        flex-direction: column;
        gap: 16px;
    }
    .seo-sidebar {
        width: 100%;
    }
}

.glass-box {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: var(--blur-val);
    -webkit-backdrop-filter: var(--blur-val);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.glass-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--neon-glow);
    opacity: 0.9;
}

.article-header {
    margin-bottom: 20px;
    border-bottom: var(--border-subtle);
    padding-bottom: 16px;
}

.article-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 18px;
    }
}

.article-meta {
    font-size: 12.5px;
    color: var(--text-light);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-body {
    font-size: 14.5px;
    color: var(--text-main);
    line-height: 1.85;
}

.article-body p {
    margin-bottom: 16px;
    text-align: justify;
}

.article-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0 10px 0;
}

/* 左侧详情正文图片样式优化（响应式、圆角、阴影） */
.article-body .article-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 16px 0;
    box-shadow: var(--shadow-sm);
    border: var(--border-subtle);
    display: block;
}

/* 侧边栏通用标题 */
.sidebar-title {
    font-size: 15px;
    color: var(--text-main);
    margin: 0 0 14px 0;
    padding-left: 10px;
    border-left: 4px solid var(--main-theme);
    font-weight: 700;
}

/* 右侧相关招聘列表样式 (5-8条带日期) */
.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
}

.related-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-title {
    font-size: 13px;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    transition: color 0.2s;
}

.related-post-title:hover {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 11.5px;
    color: var(--text-light);
    flex-shrink: 0;
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links a {
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.6);
    padding: 4px 10px;
    border-radius: 4px;
    border: var(--border-subtle);
    transition: all 0.2s;
}

.friend-links a:hover {
    color: var(--main-theme);
    border-color: var(--main-theme);
}

/* 底部浮动加微信栏 */
.fixed-wx-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1999;
}

.wx-bar-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wx-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.wx-info span {
    color: var(--primary-color);
    font-size: 15px;
}

.wx-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    transition: background 0.2s, transform 0.2s;
}

.wx-btn:hover {
    background: var(--main-theme-hover);
    transform: translateY(-1px);
}

.seo-footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-seo-text {
    font-size: 12px;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
        gap: 8px;
    }
    .site-nav ul {
        gap: 8px 12px;
    }
    .fixed-wx-bar {
        padding: 10px 15px;
    }
}