/* 基础重置与Ant Design风格基础设置 */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

body {
    background: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 1.5715;
}

a {
    text-decoration: none;
    color: #1890ff;
    transition: color 0.3s;
}

a:hover {
    color: #40a9ff;
}

/* 布局组件 - 修复错位问题 */
.banner {
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.warp_main {
    width: 1100px;
    min-height: 450px;
    margin: 0 auto;
    padding: 0 16px;
    /* 使用flex布局替代float，解决错位问题 */
    display: flex;
    gap: 24px; /* 左侧与右侧的间距 */
}

.warp_left {
    width: 220px;
    /* 移除float，使用flex布局 */
    flex-shrink: 0; /* 防止左侧被压缩 */
}

.warp_right {
    flex-grow: 1; /* 右侧自动填充剩余空间 */
    width: calc(100% - 244px); /* 确保宽度计算正确 */
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

/* 左侧导航 */
.warp_left_box {
    width: 100%; /* 使用百分比确保与父容器一致 */
    margin-bottom: 24px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.warp_left_box h3 {
    background: #1890ff;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    margin: 0;
}

.warp_left_box ul {
    padding: 8px 0;
}

.warp_left_box ul li {
    margin-bottom: 0;
    width: 100%;
}

.warp_left_box ul li a {
    display: block;
    padding: 12px 24px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    transition: all 0.3s;
}

.warp_left_box ul li a:hover {
    background-color: #e6f7ff;
    color: #1890ff;
}

.warp_left_box .active {
    background-color: #e6f7ff;
}

.warp_left_box .active a {
    color: #1890ff;
    font-weight: 500;
}

/* 面包屑导航 */
.breadcrumb {
    height: auto;
    line-height: normal;
    background: transparent;
    padding: 0 0 16px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.breadcrumb a {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
}

.breadcrumb a:hover {
    color: #1890ff;
}

/* 文章列表 */
.article_item {
    margin: 0 0 16px 0;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.article_item:last-child {
    border-bottom: none;
}

.article_item h2 a {
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.5;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s;
}

.article_item h2 a:hover {
    color: #1890ff;
}

.article_item_message {
    color: rgba(0, 0, 0, 0.45);
    line-height: 1.5;
    padding: 8px 0;
    font-size: 14px;
}

/* 文章内容 */
.article_content {
    margin: 0;
}

.article_content h1 {
    font-size: 24px;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.35;
    font-weight: 500;
    text-align: center;
    margin-bottom: 16px;
}

.article_content .article_message {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    height: auto;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

/* 招聘列表 */
.recruitmentList {
    margin-bottom: 24px;
}

.recruitmentList p {
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 16px;
}

/* 页脚 - 修复错乱问题 */
.foot {
    margin-top: 48px;
    font-size: 14px;
    background: #001529;
    color: rgba(255, 255, 255, 0.65);
    /* 清除浮动影响 */
    clear: both;
    overflow: hidden;
}

.foot_top {
    background: #001529;
    padding: 24px 0;
    border-bottom: 1px solid #1f2d3d;
}

.foot_top ul {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    overflow: hidden; /* 解决li浮动导致的高度塌陷 */
}

.foot_top ul li {
    float: left;
    margin-right: 24px;
    line-height: 1.5;
}

.foot_top ul li a {
    color: rgba(255, 255, 255, 0.65);
}

.foot_top ul li a:hover {
    color: #fff;
}

.foot_bottom {
    background: #001529;
    padding: 16px 0;
}

.foot_bottom p {
    max-width: 1100px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
    padding: 0 16px;
    text-align: center; /* 居中显示底部文字 */
}

/* 表单元素 */
.message_input {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    width: 200px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.message_textarea {
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    width: 540px;
    height: 120px;
    padding: 8px 12px;
    resize: none;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.message_input:focus,
.message_textarea:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.message_input:hover,
.message_textarea:hover {
    border-color: #40a9ff;
}

.message_sum {
    padding: 6px 16px;
    height: auto;
    line-height: 1.5;
    position: relative;
    cursor: pointer;
    color: #fff;
    background: #1890ff;
    border: 1px solid #1890ff;
    border-radius: 2px;
    overflow: hidden;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    transition: all 0.3s;
}

.message_sum:hover {
    color: #fff;
    background: #40a9ff;
    border-color: #40a9ff;
    text-decoration: none;
}

/* 分页导航 */
.previous, .next {
    margin: 16px 0;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
}

.previous a, .next a {
    color: #1890ff;
}

.previous a:hover, .next a:hover {
    color: #40a9ff;
    text-decoration: underline;
}
