.news-list {
    padding: 20px;
}

.step-nav {
    margin-top: 70px;
    margin-left: 20px;
    max-width: 1200px;
    padding: 15px 0;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #7f8c8d;
}

.step-nav a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.step-nav a:hover {
    color: #f39c12;
}

.step-nav .separator {
    margin: 0 10px;
    color: #bdc3c7;
}

.step-nav .current {
    color: #2c3e50;
    font-weight: 500;
}

.news-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.news-list-container .featured-news {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.news-list-container .featured-news .news-item {
    flex: 1;
    min-width: 300px;
}

.news-list-container .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .news-list-container .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
}

.news-list-header {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.news-list-header h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.news-list-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffae00);
    border-radius: 2px;
}

.news-list-header p {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

.news-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    padding: 0;
    text-align: left;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #eee;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    border-color: #ffd700;
}

.news-item-image {
    width: 100%;
    height: 300px;
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.news-item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(241, 196, 15, 0.1));
}

.news-item-content {
    padding: 25px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-item-date {
    align-self: flex-start;
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-item-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.4;
    flex-grow: 1;
}

.news-item-summary {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: justify;
}

.news-item-link {
    color: #f39c12;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid #f39c12;
    padding: 10px 20px;
    border-radius: 30px;
    align-self: flex-start;
    transition: all 0.3s ease;
    font-size: 15px;
}

.news-item-link:hover {
    background-color: #f39c12;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 12px;
}

.pagination a {
    display: inline-block;
    padding: 10px 18px;
    background-color: #fff;
    color: #7f8c8d;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination a.active {
    background: linear-gradient(90deg, #ffd700, #ffae00);
    color: #2c3e50;
    border-color: #ffd700;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.pagination a:hover:not(.active) {
    background-color: #f8f9fa;
    color: #f39c12;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.app {
    margin-top: 70px;
}

.app iframe {
    width: 100%;
    height: 1035px;
}

/* 新闻详情页面样式 */
.news-detail {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
    text-align: justify;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

@media (max-width: 768px) {
    .news-detail {
        padding: 20px 15px;
        margin: 20px auto;
    }
    
    .news-detail-title {
        font-size: 24px;
    }
    
    .news-detail h2, .news-detail strong {
        font-size: 18px;
    }
    
    .news-detail p {
        font-size: 15px;
    }
    
    .news-list-container .featured-news {
        flex-direction: column;
    }
    
    .news-list-container .featured-news .news-item {
        min-width: 100%;
    }
}

.news-detail-title {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.3;
}

.news-detail-meta {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.news-detail-date, .news-detail-author {
    margin: 0 10px;
}

.news-detail p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
    word-wrap: break-word;
    word-break: break-word;
}

.news-detail img {
    max-width: 100%;
    height: auto;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
    transition: transform 0.3s ease;
}

.news-detail img:hover {
    transform: scale(1.02);
}

.news-image-wrapper {
    text-align: center;
    margin: 25px 0;
}

.news-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-image-wrapper img:hover {
    transform: scale(1.02);
}

.news-detail strong {
    font-size: 20px;
    color: #2c3e50;
    margin: 30px 0 20px;
    display: block;
    font-weight: 600;
    padding-left: 10px;
    border-left: 4px solid #f39c12;
}

.news-detail h2 {
    font-size: 22px;
    color: #2c3e50;
    margin: 25px 0 15px;
    font-weight: 600;
    padding-left: 10px;
    border-left: 4px solid #f39c12;
}

.news-detail ul, .news-detail ol {
    margin: 20px 0;
    padding-left: 30px;
}

@media (max-width: 768px) {
    .news-detail ul, .news-detail ol {
        padding-left: 20px;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-prev, .nav-next {
        text-align: center;
    }
    
    .nav-text {
        font-size: 12px;
    }
}

.news-detail li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-detail blockquote {
    border-left: 4px solid #f39c12;
    padding: 10px 20px;
    margin: 20px 0;
    background-color: #f8f9fa;
    font-style: italic;
    color: #555;
}

/* 阅读进度条 */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffae00);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* 文章导航 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 40px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.article-navigation a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.article-navigation a:hover {
    color: #f39c12;
}

.nav-prev {
    text-align: left;
    /* flex: 1; */
}

.nav-next {
    text-align: right;
    /* flex: 1; */
}

.nav-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-arrow {
    font-size: 16px;
    margin: 0 5px;
}

@media (max-width: 768px) {
    .nav-text {
        font-size: 12px;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-prev, .nav-next {
        text-align: center;
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1);
    background-color: var(--hover-color);
}