/* 新闻详情页布局 */
.news-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

/* 主要内容区域 */
.main-content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem;
}

.image-showcase {
    margin-bottom: 2rem;
}

.main-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 文章内容样式 */
.article-content {
    color: #333;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #222;
    margin: 2rem 0 1.5rem;
}

.article-content p {
    margin: 1.2rem 0;
    font-size: 1.1rem;
}

/* 视频区域样式 */
.video-section {
    margin: 2rem 0;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.video-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.video-section h1 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.video-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* 标签样式 */
.article-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    background: #f0a500;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #d89400;
    transform: translateY(-2px);
}

/* 侧边栏样式 */
.sidebar {
    position: sticky;
    top: 80px;
}

.author-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.author-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #f0a500;
}

/* 相关推荐样式 */
.related-posts {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
}

.related-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.related-info h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* 移动端响应式 */
@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .news-detail-content {
        padding: 2rem 1rem;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content p {
        font-size: 1rem;
    }
}

/* 音频区域样式 */
.audio-section {
    margin: 3rem 0;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    padding: 3rem;
    border-radius: 20px;
    color: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.audio-section::before {
    content: '♪';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 150px;
    opacity: 0.1;
    color: white;
    transform: rotate(-15deg);
}

.audio-section h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: #fff;
    text-align: center;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.audio-section h1 {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: normal;
    letter-spacing: 1px;
}

.audio-player {
    background: rgba(255,255,255,0.15);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.audio-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    border-radius: 15px;
    pointer-events: none;
}

.audio-player audio {
    width: 100%;
    height: 50px;
    outline: none;
}

/* 自定义音频播放器控件样式 */
.audio-player audio::-webkit-media-controls-panel {
    background: transparent;
}

.audio-player audio::-webkit-media-controls-play-button {
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

.audio-player audio::-webkit-media-controls-current-time-display,
.audio-player audio::-webkit-media-controls-time-remaining-display {
    color: white;
    font-size: 14px;
}

.audio-player audio::-webkit-media-controls-timeline {
    background-color: rgba(255,255,255,0.2);
    border-radius: 10px;
    height: 4px;
    padding: 0;
}

.audio-player audio::-webkit-media-controls-volume-slider {
    background-color: rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .audio-section {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .audio-section h3 {
        font-size: 1.6rem;
    }
    
    .audio-section h1 {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .audio-player {
        padding: 1.5rem;
    }
    
    .audio-player audio {
        height: 40px;
    }
}
