/* 就业信息网新闻页面样式（使用就业信息网主题色：#474747和#890f0e） */

/* 顶部横幅（新闻页统一为 200/180/150） */
.emp-hero__img {
    height: 200px !important;
}
@media (max-width: 768px) {
    .emp-hero__img { height: 180px !important; }
}
@media (max-width: 480px) {
    .emp-hero__img { height: 150px !important; }
}

/* 新闻主内容区域 */
.emp-news-main {
    background: #fff;
    min-height: 70vh;
    padding: 40px 0;
}

.emp-news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

/* 左侧导航栏 */
.emp-news-sidebar {
    background: #fff;
    border: 1px solid #eaecef;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.emp-sidebar-title {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #890f0e;
}

.emp-sidebar-title .emp-logo {
    height: 40px;
    width: auto;
}

.emp-sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.emp-sidebar-nav li {
    margin-bottom: 8px;
}

.emp-nav-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.emp-nav-link:hover {
    background: #f8f9fa;
    color: #890f0e;
    border-left-color: #890f0e;
    transform: translateX(3px);
}

.emp-nav-link.active {
    background: #890f0e;
    color: #fff;
    border-left-color: #474747;
}

/* 右侧新闻内容 */
.emp-news-content {
    background: #fff;
    border: 1px solid #eaecef;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.emp-content-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eaecef;
}

.emp-content-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.emp-breadcrumb {
    color: #666;
    font-size: 14px;
}

.emp-breadcrumb a {
    color: #890f0e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.emp-breadcrumb a:hover {
    color: #474747;
}

/* 新闻列表样式 */
.emp-news-list {
    margin-bottom: 40px;
}

.emp-news-item {
    padding: 20px 0;
    border-bottom: 1px solid #eaecef;
    transition: all 0.3s ease;
}

.emp-news-item:last-child {
    border-bottom: none;
}

.emp-news-item:hover {
    background: #f8f9fa;
    margin: 0 -20px;
    padding: 20px;
    border-radius: 6px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(137, 15, 14, 0.1);
}

.emp-news-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.emp-news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.emp-news-title a:hover {
    color: #890f0e;
}

.emp-news-date {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-top: 8px;
}

/* 新闻详情样式 */
.emp-news-detail {
    line-height: 1.8;
}

.emp-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eaecef;
}

.emp-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #890f0e;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.emp-detail-meta {
    color: #666;
    font-size: 14px;
}

.emp-detail-date {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 4px;
    border-left: 3px solid #890f0e;
}

.emp-detail-content {
    margin-bottom: 40px;
    font-size: 16px;
    color: #333;
}

.emp-detail-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.emp-detail-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #890f0e;
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eaecef;
}

.emp-detail-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.emp-detail-content li {
    margin-bottom: 8px;
    color: #555;
}

.emp-detail-content strong {
    color: #890f0e;
    font-weight: 600;
}

/* 新闻导航 */
.emp-detail-navigation {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eaecef;
}

.emp-nav-item {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.emp-nav-item:hover {
    background: #890f0e;
    color: #fff;
    transform: translateX(5px);
}

.emp-nav-item:hover .emp-nav-label,
.emp-nav-item:hover a {
    color: #fff;
}

.emp-nav-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.emp-nav-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* 分页导航 */
.emp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eaecef;
}

.emp-page-btn {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #eaecef;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.emp-page-btn:hover {
    background: #890f0e;
    color: #fff;
    border-color: #890f0e;
    transform: translateY(-2px);
}

.emp-page-numbers {
    display: flex;
    gap: 5px;
}

.emp-page-number {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #eaecef;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 45px;
    text-align: center;
}

.emp-page-number:hover {
    background: #f8f9fa;
    color: #890f0e;
    border-color: #890f0e;
}

.emp-page-number.active {
    background: #890f0e;
    color: #fff;
    border-color: #890f0e;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .emp-news-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .emp-news-sidebar {
        position: static;
        order: 2;
    }
    
    .emp-news-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .emp-news-main {
        padding: 20px 0;
    }
    
    .emp-news-container {
        padding: 0 15px;
        gap: 20px;
    }
    
    .emp-news-content {
        padding: 20px;
    }
    
    .emp-detail-title {
        font-size: 24px;
    }
    
    .emp-content-header h1 {
        font-size: 20px;
    }
    
    .emp-news-title {
        font-size: 16px;
    }
    
    .emp-pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .emp-page-btn,
    .emp-page-number {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .emp-news-sidebar {
        padding: 15px;
    }
    
    .emp-news-content {
        padding: 15px;
    }
    
    .emp-detail-title {
        font-size: 20px;
    }
    
    .emp-content-header h1 {
        font-size: 18px;
    }
    
    .emp-news-title {
        font-size: 15px;
    }
    
    .emp-detail-content {
        font-size: 14px;
    }
    
    .emp-detail-content h4 {
        font-size: 18px;
    }
}

/* 动画效果 */
.emp-news-item,
.emp-nav-link,
.emp-page-btn,
.emp-page-number {
    transition: all 0.3s ease;
}

.emp-news-item:hover,
.emp-nav-link:hover,
.emp-page-btn:hover,
.emp-page-number:hover {
    transform: translateY(-2px);
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.emp-news-item {
    animation: fadeInUp 0.6s ease forwards;
}

.emp-news-item:nth-child(1) { animation-delay: 0.1s; }
.emp-news-item:nth-child(2) { animation-delay: 0.2s; }
.emp-news-item:nth-child(3) { animation-delay: 0.3s; }
.emp-news-item:nth-child(4) { animation-delay: 0.4s; }
.emp-news-item:nth-child(5) { animation-delay: 0.5s; }
