/* 新闻详情头部 */
.news-detail-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.news-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 300px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.news-detail-header .breadcrumb {
    justify-content: center;
}

.news-detail-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.news-detail-header .breadcrumb-item.active {
    color: white;
}

.news-detail-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* 新闻详情内容 */
.news-detail-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-detail-card {
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.news-detail-category {
    display: inline-block;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    margin-bottom: 25px;
}

.news-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #2c3e50;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 40px;
}

.news-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6c757d;
    font-size: 0.95rem;
}

.news-detail-meta-item i {
    color: #0d6efd;
    font-size: 1.1rem;
}

.news-detail-image {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-content {
    font-size: 1.1rem;
    line-height: 2;
    color: #4a5568;
}

.news-detail-content p {
    margin-bottom: 25px;
}

.news-detail-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #2c3e50;
}

.news-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 35px 0 18px;
    color: #2c3e50;
}

.news-detail-content ul {
    margin-bottom: 25px;
    padding-left: 25px;
}

.news-detail-content li {
    margin-bottom: 12px;
}

.news-detail-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.news-detail-content blockquote {
    border-left: 4px solid #0d6efd;
    padding: 20px 25px;
    margin: 30px 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 202, 240, 0.05) 100%);
    border-radius: 0 15px 15px 0;
    font-style: italic;
    color: #2c3e50;
}

/* 标签 */
.news-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.news-tags h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.news-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #495057;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.news-tag:hover {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
    transform: translateY(-2px);
}

/* 上下篇导航 */
.news-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.news-nav-item {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.news-nav-item:hover {
    border-color: #0d6efd;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
}

.news-nav-item-prev {
    text-align: left;
}

.news-nav-item-next {
    text-align: right;
}

.news-nav-item .nav-label {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.news-nav-item .nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    display: block;
}

.news-nav-item:hover .nav-title {
    color: #0d6efd;
}

/* 侧边栏 */
.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
}

.sidebar-news-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.sidebar-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-news-item:hover {
    padding-left: 10px;
}

.sidebar-news-date {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
    height: fit-content;
}

.sidebar-news-date .day {
    font-size: 1.3rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.sidebar-news-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.sidebar-news-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    display: block;
    line-height: 1.5;
    margin-bottom: 5px;
}

.sidebar-news-title:hover {
    color: #0d6efd;
}

.sidebar-news-category {
    font-size: 0.8rem;
    color: #6c757d;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.category-list a:hover {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
    transform: translateX(5px);
}

.category-list .count {
    background: rgba(13, 110, 253, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-list a:hover .count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}
