article {
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    color: #666;
    margin: 10px 0 20px;
    font-size: 0.9em;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

figcaption {
    text-align: center;
    color: #666;
    margin-top: 8px;
    font-size: 0.9em;
}

.article-content h2 {
    color: #1d2976;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.article-content li {
    margin-bottom: 10px;
}

article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

blockquote {
    border-left: 4px solid #00a0e9;
    padding: 15px 20px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
}

cite {
    display: block;
    margin-top: 10px;
    text-align: right;
    font-size: 0.9em;
    color: #666;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.related-content {
    margin-top: 50px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.related-content h3 {
    margin-bottom: 15px;
    color: #1d2976;
}

.related-content ul {
    list-style: none;
    padding-left: 0;
}

.related-content li {
    margin-bottom: 10px;
}

.related-content a {
    color: #00a0e9;
    text-decoration: none;
}

.related-content a:hover {
    text-decoration: underline;
}

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px; /* 增大按钮尺寸 */
    height: 50px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b); /* 渐变背景色 */
    color: white; /* 文字颜色改为白色 */
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* 更强的阴影效果 */
    opacity: 1;
    font-size: 16px; /* 增大字体 */
    font-weight: bold;
}

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

.back-to-top:hover {
    transform: scale(1.1); /* 悬停时放大效果 */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* 更强的阴影效果 */
    background: linear-gradient(135deg, #feb47b, #ff7e5f); /* 反向渐变 */
}

h1 {
    font-size: 2.5rem;
    font-weight: 900; /* 更粗的字体 */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
    /* text-transform: uppercase; 大写字母 */
    letter-spacing: 1px;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-light); /* 使用更亮的蓝色 */
    margin-bottom: 1.2rem;
    font-style: normal; /* 移除斜体 */
    background-color: rgba(58, 86, 200, 0.1); /* 浅色背景 */
    padding: 8px 15px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 4px 4px 0;
}

/* Adding responsive styles */
@media (max-width: 768px) {
    .featured-image img {
        width: 100%;
        height: auto;
    }

    .content-image img {
        width: 100%;
        height: auto;
    }

    h1 {
        font-size: 1.8rem; /* 减小字号 */
        margin-bottom: 1rem; /* 减小间距 */
        border-bottom-width: 2px; /* 减细边框 */
        padding-bottom: 8px; /* 调整内边距 */
    }

    h2 {
        font-size: 1.4rem; /* 减小字号 */
        margin-bottom: 1rem; /* 减小间距 */
        padding: 6px 10px; /* 调整内边距 */
        border-left-width: 3px; /* 减细边框 */
    }

    .article-content {
        font-size: 0.9em;
    }

    .article-content p {
        line-height: 1.6;
    }

    .article-meta {
        font-size: 0.8em;
    }
}