/* ============================================
   文章页通用：导航栏透明 + 推开固定导航栏
   ============================================ */
.header {
    background: transparent !important;
    box-shadow: none !important;
}

/* ========== 文章详情页：透明容器 + 白色卡片 ========== */
.article-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 90px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* 头部、正文、底部分别做成白色卡片 */
.article-header,
.article-body,
.article-footer {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-header {
    border-bottom: none;
    margin-bottom: 20px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 14px;
    color: #999;
}

.article-meta time,
.article-meta .article-author {
    margin-right: 10px;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.article-body h2 {
    font-size: 24px;
    color: #c0392b;             /* 红色系标题 */
    margin: 30px 0 15px;
}

.article-body h3 {
    font-size: 20px;
    color: #a93226;             /* 深红 */
    margin: 25px 0 12px;
}

.article-body blockquote {
    border-left: 4px solid #e74c3c;   /* 红色边框 */
    background: #fdedec;              /* 浅红背景 */
    padding: 15px 20px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.article-footer {
    margin-top: 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.article-back {
    display: inline-block;
    padding: 8px 24px;
    background: #e74c3c;        /* 红色按钮 */
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.article-back:hover {
    background: #c0392b;        /* 深红悬停 */
    text-decoration: none;
    color: #fff;
}


/* ========== 文章列表页：透明容器 + 白色卡片 ========== */
.article-list-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 90px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.list-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 2px solid #e74c3c;   /* 红色底部装饰 */
}

.article-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: none;
}

.article-card:last-of-type {
    margin-bottom: 0;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-title a {
    color: #c0392b;             /* 红色链接 */
    text-decoration: none;
    transition: color 0.3s;
}

.card-title a:hover {
    color: #a93226;
}

.card-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.card-summary {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.card-readmore {
    display: inline-block;
    padding: 6px 18px;
    background: #e74c3c;        /* 红色按钮 */
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.card-readmore:hover {
    background: #c0392b;
    color: #fff;
    text-decoration: none;
}

/* 分页 */
.pagination {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 15px;
}

.pagination a {
    display: inline-block;
    padding: 6px 16px;
    margin: 0 8px;
    background: #fff;
    color: #e74c3c;             /* 红色边框按钮 */
    border: 1px solid #e74c3c;
    border-radius: 4px;
    text-decoration: none;
}

.pagination a:hover {
    background: #e74c3c;
    color: #fff;
}

.pagination-info {
    color: #666;
    margin: 0 10px;
}


/* ============================================
   标签云页 (/tags/)
   ============================================ */
.tags-cloud-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 90px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    background: transparent;
}

.tags-cloud-wrapper .list-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 2px solid #e74c3c;
}

.tag-cloud {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tag-cloud .tag-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.15s, box-shadow 0.15s;
}

.tag-cloud .tag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231,76,60,0.15);  /* 红色阴影 */
}

.tag-cloud .tag-link {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    text-decoration: none;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s;
}

.tag-cloud .tag-link:hover {
    color: #e74c3c;
    text-decoration: none;
}

.tag-cloud .tag-count {
    background: #fdedec;        /* 浅红背景 */
    color: #e74c3c;
    padding: 1px 8px;
    margin-left: 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
}


/* ============================================
   列表页文章卡片内的标签
   ============================================ */
.card-tags {
    margin: 0 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.card-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #fdedec;        /* 浅红 */
    color: #e74c3c;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.card-tag:hover {
    background: #f5b7b1;        /* 稍深红 */
    color: #c0392b;
    border-color: #e74c3c;
    text-decoration: none;
}


/* ============================================
   详情页文章卡片内的标签
   ============================================ */
.article-tags {
    margin: 20px 0 0;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.article-tags-label {
    font-size: 13px;
    color: #999;
    margin-right: 4px;
    line-height: 1.6;
}

.article-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #fdedec;
    color: #e74c3c;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.article-tag:hover {
    background: #f5b7b1;
    color: #c0392b;
    border-color: #e74c3c;
    text-decoration: none;
}