/* styles.css - 英文香烟点评博客完整样式表 */

/* 基础样式和重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #c00;
    transition: color 0.3s;
}

a:hover {
    color: #900;
}

/* 布局样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo span {
    color: #e74c3c;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    font-weight: 500;
}

/* 主页横幅 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/banner.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background: #c0392b;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    margin: 30px 0;
}

.articles {
    flex: 3;
    margin-right: 30px;
}

.sidebar {
    flex: 1;
}

/* 文章样式 */
.article, .article-preview {
    background: white;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-preview {
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article h1, .article-preview h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article h1 {
    font-size: 1.8rem;
}

.article-preview h2 {
    font-size: 1.5rem;
}

.article h2 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
}

.article h3 {
    font-size: 1.3rem;
    margin: 15px 0 8px;
}

.article h4 {
    font-size: 1.1rem;
    margin: 10px 0 5px;
}

.article p, .article-preview p {
    margin-bottom: 15px;
}

.article-meta, .article-preview-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* 文章内容图片自适应 */
.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 3px;
}

.tags {
    margin: 20px 0 10px;
}

.tag {
    display: inline-block;
    background: #f1f1f1;
    padding: 5px 10px;
    border-radius: 3px;
    margin-right: 5px;
    font-size: 0.9rem;
}

.read-more {
    display: inline-block;
    color: #e74c3c;
    font-weight: 600;
    margin-top: 10px;
}

/* 侧边栏样式 */
.sidebar-widget {
    background: white;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e74c3c;
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dotted #eee;
}

.categories-list li:last-child {
    border-bottom: none;
}

/* 分页样式 - 已优化 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
    flex-wrap: wrap;
    gap: 5px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    min-width: 44px;
    text-align: center;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #f1f1f1;
    border-color: #bbb;
}

.pagination .current {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination .ellipsis {
    border: none;
    padding: 8px 5px;
    min-width: auto;
}

.pagination .nav-btn {
    font-weight: 600;
}

/* 页脚样式 */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

/* 响应式设计 - 平板和小屏设备 */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .articles {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 60px 20px;
        margin-bottom: 30px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .article, .article-preview {
        padding: 20px;
    }
    
    .article h1 {
        font-size: 1.6rem;
    }
    
    .article-preview h2 {
        font-size: 1.4rem;
    }
    
    /* 移动端分页优化 */
    .pagination {
        gap: 3px;
    }
    
    .pagination a, .pagination span {
        padding: 6px 10px;
        min-width: 36px;
        font-size: 0.9rem;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .article, .article-preview {
        padding: 15px;
    }
    
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 8px;
    }
    
    .hero {
        padding: 40px 15px;
        margin-bottom: 20px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .article h1 {
        font-size: 1.4rem;
    }
    
    .article-preview h2 {
        font-size: 1.3rem;
    }
    
    .article-meta, .article-preview-meta {
        font-size: 0.85rem;
    }
    
    /* 手机端分页优化 */
    .pagination {
        gap: 2px;
    }
    
    .pagination a, .pagination span {
        padding: 5px 8px;
        min-width: 32px;
        font-size: 0.85rem;
    }
    
    .pagination .ellipsis {
        padding: 5px 3px;
    }
    
    .pagination .nav-btn {
        display: none; /* 在小屏幕上隐藏导航按钮文字 */
    }
    
    .pagination .nav-btn::before {
        content: "«";
    }
    
    .pagination .nav-btn.next::before {
        content: "»";
    }
}

/* iPhone 特殊适配 */
@media (max-width: 375px) {
    .article h1 {
        font-size: 1.3rem;
    }
    
    .article-preview h2 {
        font-size: 1.2rem;
    }
    
    .pagination a, .pagination span {
        padding: 4px 6px;
        min-width: 28px;
        font-size: 0.8rem;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .article, .article-preview,
    .sidebar-widget {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }
    
    .tag {
        background-color: #3d3d3d;
        color: #e0e0e0;
    }
    
    .pagination a, .pagination span {
        background-color: #3d3d3d;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .pagination a:hover {
        background-color: #555;
    }
    
    .pagination .current {
        background-color: #e74c3c;
    }
}








/* 文章预览图片样式 */
.article-preview-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px 0;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* 桌面端图片尺寸优化 */
@media (min-width: 769px) {
    .article-preview-image {
        max-height: 300px;
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 平板端适配 */
@media (max-width: 768px) {
    .article-preview-image {
        max-height: 250px;
        width: 100%;
        object-fit: cover;
        margin: 12px 0;
    }
}

/* 手机端适配 */
@media (max-width: 480px) {
    .article-preview-image {
        max-height: 200px;
        margin: 10px 0;
        border-radius: 3px;
    }
}

/* 小屏手机特殊适配 */
@media (max-width: 375px) {
    .article-preview-image {
        max-height: 180px;
        margin: 8px 0;
    }
}

/* iPhone SE等超小屏适配 */
@media (max-width: 320px) {
    .article-preview-image {
        max-height: 160px;
    }
}

/* 图片悬停效果（桌面端） */
@media (min-width: 769px) {
    .article-preview-image:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
}

/* 确保文章预览布局正常 */
.article-preview {
    position: relative;
    overflow: hidden; /* 防止图片溢出 */
}

/* 如果有图片时的特殊布局调整 */
.article-preview:has(.article-preview-image) {
    padding-bottom: 10px; /* 增加底部间距 */
}











/* 相关文章区域样式 - 简洁版 */
.related-articles {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.related-articles h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.related-article {
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.related-article:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transform: translateX(3px);
}

.related-article:last-child {
    margin-bottom: 0;
}

.related-article h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.related-article h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.related-article h3 a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

.related-article p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .related-articles {
        padding: 15px;
        margin: 25px 0;
    }
    
    .related-articles h2 {
        font-size: 1.3rem;
    }
    
    .related-article {
        padding: 12px;
    }
    
    .related-article h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .related-articles {
        padding: 12px;
    }
    
    .related-article {
        padding: 10px;
    }
}
















/* 品牌目录页面样式 */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.brand-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.brand-logo {
    max-width: 150px;
    max-height: 80px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
    object-fit: contain;
}

.brand-card h3 {
    margin: 15px 0 10px;
    font-size: 1.3rem;
    color: #2c3e50;
}

.brand-card h3 a {
    color: #2c3e50;
    transition: color 0.3s;
}

.brand-card h3 a:hover {
    color: #e74c3c;
}

.brand-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 45px;
}

.brand-card .read-more {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.brand-card .read-more:hover {
    background: #c0392b;
    color: white;
}

/* 品牌详情页面样式 */
.articlesbrand {
    flex: 3;
    margin-right: 30px;
}

.articlebrand {
    background: white;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-image_brand {
    max-width: 200px;
    max-height: 100px;
    height: auto;
    margin: 20px auto;
    display: block;
    object-fit: contain;
}

.article-content-brand {
    line-height: 1.7;
    font-size: 1rem;
}

.article-content-brand h2 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 5px;
}

.article-content-brand h3 {
    font-size: 1.3rem;
    margin: 20px 0 12px;
    color: #34495e;
}

.article-content-brand p {
    margin-bottom: 15px;
}

.article-content-brand ul, .article-content-brand ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-content-brand li {
    margin-bottom: 8px;
}

/* 品牌目录页面标题样式增强 */
.articlesbrand > h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.articlesbrand > p {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 品牌特色标签 */
.brand-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 平板适配 */
@media (max-width: 1024px) {
    .brand-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .brand-card {
        padding: 18px;
    }
    
    .brand-logo {
        max-width: 130px;
        max-height: 70px;
    }
    
    .articlesbrand {
        margin-right: 20px;
    }
}

/* 平板小屏 */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .articlesbrand {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .brand-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 18px;
    }
    
    .brand-card {
        padding: 15px;
    }
    
    .brand-card h3 {
        font-size: 1.2rem;
    }
    
    .brand-card p {
        min-height: auto;
        font-size: 0.9rem;
    }
    
    .article-image_brand {
        max-width: 180px;
        max-height: 90px;
    }
    
    .articlebrand {
        padding: 20px;
    }
}

/* 手机端 */
@media (max-width: 480px) {
    .brand-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    .brand-card {
        padding: 15px;
        margin: 0;
    }
    
    .brand-logo {
        max-width: 120px;
        max-height: 60px;
        margin-bottom: 12px;
    }
    
    .brand-card h3 {
        font-size: 1.1rem;
        margin: 12px 0 8px;
    }
    
    .brand-card p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .article-image_brand {
        max-width: 150px;
        max-height: 80px;
        margin: 15px auto;
    }
    
    .articlebrand {
        padding: 15px;
    }
    
    .article-content-brand {
        font-size: 0.95rem;
    }
    
    .article-content-brand h2 {
        font-size: 1.3rem;
        margin: 20px 0 12px;
    }
    
    .article-content-brand h3 {
        font-size: 1.1rem;
        margin: 15px 0 10px;
    }
    
    .articlesbrand > h1 {
        font-size: 1.8rem;
    }
    
    .articlesbrand > p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

/* 小屏手机特殊适配 */
@media (max-width: 375px) {
    .brand-card {
        padding: 12px;
    }
    
    .brand-logo {
        max-width: 100px;
        max-height: 50px;
    }
    
    .article-image_brand {
        max-width: 130px;
        max-height: 70px;
    }
    
    .articlebrand {
        padding: 12px;
    }
}

/* iPhone SE等超小屏 */
@media (max-width: 320px) {
    .brand-card {
        padding: 10px;
    }
    
    .brand-card h3 {
        font-size: 1rem;
    }
    
    .brand-card .read-more {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
    
    .articlesbrand > h1 {
        font-size: 1.6rem;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .brand-card {
        background-color: #2d2d2d;
        border-color: #404040;
    }
    
    .brand-card h3,
    .brand-card h3 a {
        color: #e0e0e0;
    }
    
    .brand-card p {
        color: #b0b0b0;
    }
    
    .articlebrand {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }
    
    .article-content-brand h2 {
        color: #e0e0e0;
        border-bottom-color: #e74c3c;
    }
    
    .article-content-brand h3 {
        color: #d0d0d0;
    }
    
    .articlesbrand > h1 {
        color: #e0e0e0;
    }
    
    .articlesbrand > p {
        color: #b0b0b0;
    }
}

/* 加载动画 */
.brand-card {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 无障碍访问优化 */
.brand-card:focus-within {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

.brand-card h3 a:focus {
    outline: none;
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .brand-card {
        border: 2px solid #000;
    }
    
    .brand-card .read-more {
        border: 2px solid #000;
    }
}









/* articlebrand 下的图片通用样式 */
.articlebrand img {
    max-width: 550px;  /* PC端最大宽度550px */
    width: auto;       /* 保持原始宽高比 */
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 平板适配 */
@media (max-width: 1024px) {
    .articlebrand img {
        max-width: 550px;
        margin: 12px auto;
    }
}

/* 平板小屏和手机端 */
@media (max-width: 768px) {
    .articlebrand img {
        max-width: 90%;   /* 移动端最大90%宽度 */
        width: 90%;       /* 确保宽度为90% */
        margin: 10px auto;
        border-radius: 5px;
    }
}

/* 手机端优化 */
@media (max-width: 480px) {
    .articlebrand img {
        margin: 8px auto;
        border-radius: 3px;
    }
}

/* 小屏手机特殊适配 */
@media (max-width: 375px) {
    .articlebrand img {
        margin: 5px auto;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .articlebrand img {
        opacity: 0.95;
    }
    
    .articlebrand img:hover {
        opacity: 1;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .articlebrand img {
        border: 1px solid #000;
    }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    .articlebrand img {
        transition: none;
    }
}

/* 图片悬停效果（桌面端） */
@media (min-width: 769px) {
    .articlebrand img:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
}

/* 确保图片在移动端不会超出容器 */
.articlebrand {
    overflow: hidden;
}








/* 联系页面专用样式 */
.articles_contact {
    flex: 3;
    margin-right: 30px;
}

.article2_contact {
    background: white;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-content {
    line-height: 1.7;
    font-size: 1rem;
}

.about-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-content h2 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.about-content h3 {
    font-size: 1.3rem;
    margin: 20px 0 12px;
    color: #34495e;
}

.about-content p {
    margin-bottom: 15px;
    color: #555;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #e74c3c;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #c0392b;
}

/* 消息提示样式 */
.message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .articles_contact {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .article2_contact {
        padding: 20px;
    }
    
    .about-content h1 {
        font-size: 1.6rem;
    }
    
    .about-content h2 {
        font-size: 1.3rem;
    }
    
    .about-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .article2_contact {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 10px 25px;
        font-size: 1rem;
        width: 100%;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .article2_contact {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }
    
    .about-content h1,
    .about-content h2,
    .about-content h3 {
        color: #e0e0e0;
    }
    
    .about-content p {
        color: #b0b0b0;
    }
    
    .form-group label {
        color: #e0e0e0;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select,
    .form-group textarea {
        background-color: #3d3d3d;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .message.success {
        background: #1e3a2a;
        color: #a3d9b1;
        border-color: #2d4a3a;
    }
    
    .message.error {
        background: #3a1e1e;
        color: #d9a3a3;
        border-color: #4a2d2d;
    }
}








        /* 列表样式 */
        .article-content ul, 
        .article-content ol {
            margin: 0 0 25px 25px;
            padding-left: 20px;
        }
        
        .article-content li {
            margin-bottom: 12px;
            padding-left: 8px;
            font-size: 1rem;
            line-height: 1.6;
        }
        
        .article-content ul li {
            list-style-type: disc;
        }
        
        .article-content ol li {
            list-style-type: decimal;
        }
        
        .article-content li strong {
            color: #2c3e50;
            font-weight: 600;
        }
        
        /* 表格样式 */
        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
        }
        
        .article-content thead {
            background-color: #f1f5f9;
        }
        
        .article-content th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
            color: #2c3e50;
            border-bottom: 2px solid #e2e8f0;
        }
        
        .article-content td {
            padding: 12px 15px;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .article-content tr:last-child td {
            border-bottom: none;
        }
        
        .article-content tr:nth-child(even) {
            background-color: #f8fafc;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
           
            .article-content ul, 
            .article-content ol {
                margin-left: 15px;
                padding-left: 15px;
            }
            
            .article-content table {
                display: block;
                overflow-x: auto;
            }
        }
        
        @media (max-width: 480px) {
                        
            .article-content li {
                font-size: 0.95rem;
            }
            
            .article-content th,
            .article-content td {
                padding: 10px 12px;
                font-size: 0.9rem;
            }
        }



