body {
    background-image: image-set(url('/images/background-1920.avif') type('image/avif'), url('/images/background-1920.webp') type('image/webp'), url('/images/background.jpg') type('image/jpeg'));
    /* Adjusted path for CSS file location */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.site-wrapper {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-banner-background {
    height: 50px;
    width: 100%;
}

.page-container {
    padding: 25px 95px;
}

/* 平板适配 */
@media (max-width: 992px) {
    .page-container {
        padding: 20px 50px;
    }
    
    .article-title {
        font-size: 24px;
    }
}

/* 手机适配 - 现代化移动端设计 */
@media (max-width: 768px) {
    .page-container {
        padding: 16px !important;
        margin: 8px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    /* 文章标题优化 */
    .article-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 16px;
        color: #1a202c;
        font-weight: 700;
        background: linear-gradient(135deg, #FF6B35, #E8425A);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    /* 文章元信息 */
    .article-meta {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 20px;
        padding: 12px;
        background: #f7fafc;
        border-radius: 12px;
        border-left: 4px solid #FF6B35;
        color: #4a5568;
    }
    
    .article-meta .meta-editor,
    .article-meta .meta-date {
        margin-right: 12px;
        margin-bottom: 6px;
        display: inline-block;
        font-weight: 500;
    }
    
    /* 新闻头部信息背景 */
    .news-title-info-background {
        background: linear-gradient(135deg, #FF6B35 0%, #E8425A 100%);
        border-radius: 16px;
        padding: 24px;
        margin-bottom: 20px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
    }

    .news-title-info-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="3" fill="%23ffffff" opacity="0.08"/><circle cx="40" cy="80" r="1.5" fill="%23ffffff" opacity="0.12"/></svg>');
        pointer-events: none;
    }

    .news-title-info-background .article-title {
        color: #ffffff !important;
        font-size: 22px;
        margin-bottom: 12px;
        font-weight: 800;
        background: none;
        -webkit-text-fill-color: #ffffff;
        position: relative;
        z-index: 1;
    }

    .news-title-info-background .article-meta {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-left: 4px solid rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        position: relative;
        z-index: 1;
    }
    
    /* 新闻详情内容 */
    .news-detail {
        background: #ffffff;
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        border: 1px solid #e2e8f0;
    }
    
    .news-detail img {
        border-radius: 12px;
        margin: 20px 0;
        padding: 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        transition: transform 0.3s ease;
    }
    
    .news-detail img:hover {
        transform: scale(1.02);
    }
    
    .news-detail p {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 16px;
        color: #2d3748;
        text-align: justify;
    }
    
    /* 新闻标题样式增强 */
    .news-detail h1,
    .news-detail h2,
    .news-detail h3 {
        font-size: 20px;
        margin: 24px 0 16px 0;
        color: #1a202c;
        font-weight: 700;
        position: relative;
        padding: 12px 0 12px 20px;
        background: linear-gradient(135deg, #f8fafc 0%, #e6fffa 100%);
        border-radius: 8px;
        border-left: 5px solid #FF6B35;
    }
    
    .news-detail h4,
    .news-detail h5,
    .news-detail h6 {
        font-size: 18px;
        margin: 20px 0 12px 0;
        color: #2d3748;
        font-weight: 600;
        padding-left: 12px;
        border-left: 3px solid #a0aec0;
    }

    /* 新闻列表优化 */
    .news-item {
        background: #ffffff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid #e2e8f0;
        transition: all 0.3s ease;
    }

    .news-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .news-item-image-container {
        border-radius: 8px;
        overflow: hidden;
    }

    .news-title {
        font-size: 16px;
        font-weight: 600;
        color: #1a202c;
        line-height: 1.5;
    }

    .news-date,
    .news-author {
        font-size: 12px;
        color: #718096;
        font-weight: 500;
    }
}

/* 小屏手机适配 */
@media (max-width: 576px) {
    .page-container {
        padding: 15px !important;
        margin: 5px;
    }
    
    .article-header {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .article-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .article-meta {
        font-size: 12px;
    }
    
    .article-meta .meta-editor,
    .article-meta .meta-date {
        margin-right: 8px;
        margin-bottom: 3px;
    }
    
    .news-detail p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .news-detail h1,
    .news-detail h2,
    .news-detail h3 {
        font-size: 17px;
        margin: 18px 0 8px 0;
    }
    
    .news-detail h4,
    .news-detail h5,
    .news-detail h6 {
        font-size: 15px;
        margin: 15px 0 6px 0;
    }
    
    .news-detail img {
        margin: 12px 0;
    }
}

/* .page-container styles are now handled by detail-page.css for consistency */

.article-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.article-title {
    font-size: 28px;
    font-weight: 600;
    color: #1c1c1c;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    font-size: 13px;
    color: #757575;
    margin-bottom: 15px;
}

.article-meta .meta-category,
.article-meta .meta-editor,
.article-meta .meta-date {
    margin-right: 12px;
}

.article-meta .meta-category a {
    color: #007bff;
    text-decoration: none;
}

.article-meta .meta-category a:hover {
    text-decoration: underline;
}

.article-lead {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 3px solid #007bff;
}

.article-main-image {
    margin-bottom: 25px;
}

.article-main-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 1.2em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 4px;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    font-weight: 600;
    line-height: 1.4;
}

.article-content h2 {
    font-size: 1.8em;
}

.article-content h3 {
    font-size: 1.5em;
}

/* Comment form actions are now handled by detail-page.css */

footer {
    background-color: #111;
    color: #888;
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    width: 100%;
    margin-top: auto;
}

footer p {
    margin: 0;
}
