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

:root {
    --primary-color: #ff2d55;
    --primary-hover: #e02449;
    --text-main: #333333;
    --text-muted: #888888;
    --bg-body: #f4f6f9;
    --bg-card: #ffffff;
    --border-color: #eaeaea;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* 响应式网格与布局核心 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-12 { width: 100%; padding: 0 10px; }
.col-8 { width: 100%; padding: 0 10px; }
.col-4 { width: 100%; padding: 0 10px; }

@media (min-width: 768px) {
    .col-8 { width: 66.6666%; }
    .col-4 { width: 33.3334%; }
}

/* 顶部导航栏样式 */
.header {
    background-color: var(--bg-card);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.navbar-brand img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links li a {
    font-size: 15px;
    color: #555;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links li.active a, .nav-links li a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 45, 85, 0.05);
}

.navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f2f5;
    color: #555;
    font-size: 14px;
}

/* 主体内容布局 */
.main-content {
    padding-top: 90px;
    padding-bottom: 40px;
}

/* 卡片面板通用结构 */
.panel {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.panel-heading {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafbfc;
}

.panel-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.panel-body {
    padding: 20px;
}

/* 面包屑导航样式 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
    padding: 0 5px;
}
.breadcrumb a:hover {
    color: var(--primary-color);
}

/* 列表页招聘条目：PC端两列，移动端单列 */
.article-list {
    display: flex;
    flex-wrap: wrap;
}
.article-item-wrapper {
    width: 100%; /* 移动端一行一个 */
}
@media (min-width: 768px) {
    .article-item-wrapper {
width: 50%; /* PC端一行两个 */
    }
}

.article-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    height: 100%;
    transition: background 0.2s;
}
.article-item:hover {
    background-color: #fafafa;
}
.article-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}
.article-title a:hover {
    color: var(--primary-color);
}
.article-tag {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.tag {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}
.tag-danger { background-color: #ffe6eb; color: var(--primary-color); }
.tag-primary { background-color: #e6f0ff; color: #0066cc; }

/* 分页组件样式 */
.pagination-container {
    padding: 20px;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-color);
}
.pagination {
    display: flex;
    gap: 6px;
    align-items: center;
}
.pagination li a, .pagination li span {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: #555;
    background: #fff;
}
.pagination li.active span {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.pagination li a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 侧边栏排行样式 */
.media-number {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
}
.media-number:last-child {
    border-bottom: none;
}
.media-left {
    margin-right: 12px;
}
.num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #eee;
    color: #555;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}
.media-number:nth-child(1) .num { background: var(--primary-color); color: #fff; }
.media-number:nth-child(2) .num { background: #ff9500; color: #fff; }
.media-number:nth-child(3) .num { background: #ffcc00; color: #fff; }

.media-body a {
    font-size: 13px;
    color: #444;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.media-body a:hover {
    color: var(--primary-color);
}

/* 底部页脚 */
footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 40px 0;
    font-size: 13px;
    margin-top: 40px;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 768px) {
    .footer-inner {
flex-direction: row;
justify-content: space-between;
align-items: center;
    }
}
.footer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer-logo-icon {
    font-size: 28px;
    color: #fff;
}
.footer-text div {
    color: #ccc;
    margin-bottom: 4px;
}
.footer-text a {
    color: #888;
    font-size: 12px;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: #aaa;
}
.footer-links a:hover {
    color: #fff;
}