/* jiudi_hr.css - 人力资源页面样式 */
/* 确保最大宽度1450px和1366px兼容性 */

/* 页面整体布局 */
.jiudi_hr_container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 内页banner样式 */
.jiudi_hr_banner {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.jiudi_hr_banner_content {
    z-index: 2;
    position: relative;
}

.jiudi_hr_banner_title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.jiudi_hr_banner_description {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* 面包屑导航 */
.jiudi_hr_breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
}

.jiudi_hr_breadcrumb a {
    color: #0056b3;
    text-decoration: none;
}

.jiudi_hr_breadcrumb a:hover {
    text-decoration: underline;
}

.jiudi_hr_breadcrumb_separator {
    margin: 0 10px;
    color: #999;
}

.jiudi_hr_breadcrumb_current {
    color: #333;
    font-weight: 500;
}

/* 人力资源宣传板块 */
.jiudi_hr_promotion {
    margin-bottom: 60px;
}

.jiudi_hr_section_title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.jiudi_hr_section_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #0056b3;
    border-radius: 2px;
}

.jiudi_hr_promotion_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.jiudi_hr_promotion_card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.jiudi_hr_promotion_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.jiudi_hr_promotion_image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.jiudi_hr_promotion_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.jiudi_hr_promotion_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 86, 179, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.jiudi_hr_promotion_card:hover .jiudi_hr_promotion_overlay {
    opacity: 1;
}

.jiudi_hr_promotion_card:hover .jiudi_hr_promotion_image img {
    transform: scale(1.1);
}

.jiudi_hr_promotion_overlay p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.jiudi_hr_promotion_title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    padding: 20px;
    margin: 0;
    line-height: 1.4;
}

/* 加入我们板块 */
.jiudi_hr_join {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 60px;
}

.jiudi_hr_join_desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* 招聘信息表格 */
.jiudi_hr_subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.jiudi_hr_table_container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.jiudi_hr_table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.jiudi_hr_table th {
    background: #0056b3;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.jiudi_hr_table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.jiudi_hr_table_row {
    transition: background-color 0.3s ease;
}

.jiudi_hr_table_row:hover {
    background-color: #f8f9fa;
}

.jiudi_hr_view_btn {
    padding: 8px 16px;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.jiudi_hr_view_btn:hover {
    background: #004494;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

/* 详情行样式 */
.jiudi_hr_detail_row {
    background: #f8f9fa;
    display: none;
}

.jiudi_hr_detail_row.expanded {
    display: table-row;
}

.jiudi_hr_detail_content {
    padding: 20px;
}

.jiudi_hr_detail_content h4 {
    font-size: 1.1rem;
    color: #333;
    margin: 15px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e9ecef;
}

.jiudi_hr_detail_content h4:first-child {
    margin-top: 0;
}

.jiudi_hr_detail_content p {
    margin: 0 0 15px;
    line-height: 1.6;
    color: #555;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .jiudi_hr_container {
        padding: 0 15px;
    }
    
    .jiudi_hr_promotion_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .jiudi_hr_banner_title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .jiudi_hr_promotion_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jiudi_hr_join {
        padding: 30px;
    }
    
    .jiudi_hr_banner_title {
        font-size: 2.2rem;
    }
    
    .jiudi_hr_section_title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .jiudi_hr_banner {
        height: 250px;
    }
    
    .jiudi_hr_banner_title {
        font-size: 2rem;
    }
    
    .jiudi_hr_banner_description {
        font-size: 1.1rem;
    }
    
    .jiudi_hr_join {
        padding: 20px;
    }
    
    .jiudi_hr_table th,
    .jiudi_hr_table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .jiudi_hr_promotion_grid {
        gap: 15px;
    }
    
    .jiudi_hr_promotion_image {
        height: 180px;
    }
    
    .jiudi_hr_banner {
        height: 200px;
    }
    
    .jiudi_hr_banner_title {
        font-size: 1.8rem;
    }
    
    .jiudi_hr_section_title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .jiudi_hr_table th,
    .jiudi_hr_table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .jiudi_hr_view_btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* 1366px专门优化 */
@media (min-width: 1366px) and (max-width: 1440px) {
    .jiudi_hr_container {
        max-width: 1300px;
        padding: 0 30px;
    }
}

/* 高分辨率屏幕优化 */
@media (min-width: 1920px) {
    .jiudi_hr_container {
        max-width: 1600px;
    }
    
    .jiudi_hr_promotion_grid {
        gap: 30px;
    }
    
    .jiudi_hr_promotion_image {
        height: 250px;
    }
}

/* 触摸设备优化 */
.jiudi_hr_promotion_card,
.jiudi_hr_view_btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.jiudi_hr_promotion_card {
    cursor: pointer;
}

/* 打印样式优化 */
@media print {
    .jiudi_hr_banner,
    .jiudi_hr_promotion {
        display: none !important;
    }
    
    .jiudi_hr_join {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .jiudi_hr_table {
        break-inside: avoid;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jiudi_hr_promotion_card {
    animation: fadeIn 0.5s ease forwards;
}

.jiudi_hr_promotion_card:nth-child(1) { animation-delay: 0.1s; }
.jiudi_hr_promotion_card:nth-child(2) { animation-delay: 0.2s; }
.jiudi_hr_promotion_card:nth-child(3) { animation-delay: 0.3s; }
.jiudi_hr_promotion_card:nth-child(4) { animation-delay: 0.4s; }

.jiudi_hr_detail_content {
    animation: fadeIn 0.3s ease;
}