/*!
 * ==========================================================================
 *  理想画室 · 官网源码 (Lixiang Art School Website)
 * --------------------------------------------------------------------------
 *  作者      : 夏末浅笑
 *  作者首页  : https://blog.ccswust.org/
 *  联系方式  : ccswust@vip.163.com
 *  版权所有  : © 夏末浅笑 · All Rights Reserved.
 * ==========================================================================
 */
/* =====================================
   news-detail.css — 新闻详情页样式
   ===================================== */

/* ---------- Banner ---------- */
.article-banner {
    position: relative;
    height: 320px;
    background: url('https://028.sevenit.cn/lxhs/skin/img/upload-1-2601141Q049E4.jpg') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.article-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 100%);
}
.article-banner__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}
.article-banner__title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 4px;
}
.article-banner__subtitle {
    font-size: 18px;
    opacity: 0.85;
    letter-spacing: 1px;
}

/* ---------- Breadcrumb ---------- */
.article-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--border-color, #e8e8e8);
}
.article-breadcrumb__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text-secondary, #666);
}
.article-breadcrumb__inner a {
    display: inline;
    color: var(--text-secondary, #666);
    transition: color 0.3s;
}
.article-breadcrumb__inner a:hover {
    color: var(--brand-accent, #C00000);
}
.article-breadcrumb__sep {
    margin: 0 10px;
    color: #ccc;
}
.article-breadcrumb__current {
    color: var(--brand-accent, #C00000);
}

/* ---------- Container ---------- */
.article-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ---------- Left Main ---------- */
.article-main {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Article Header */
.article-header {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color, #e8e8e8);
    margin-bottom: 30px;
}
.article-date {
    flex-shrink: 0;
    width: 106px;
    height: 100px;
    background: var(--brand-accent, #C00000);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.article-date em {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    font-style: normal;
    display: block;
}
.article-date span {
    font-size: 14px;
    margin-top: 6px;
    opacity: 0.85;
    display: block;
}
.article-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-meta h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary, #333);
    line-height: 1.4;
    margin-bottom: 10px;
}
.article-meta__info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light, #999);
}
.article-meta__info i {
    margin-right: 4px;
}

/* Article Body */
.article-body {
    line-height: 1.9;
    color: var(--text-primary, #333);
    font-size: 15px;
}
.article-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-accent, #C00000);
    margin: 30px 0 15px;
    padding-left: 14px;
    border-left: 4px solid var(--brand-accent, #C00000);
}
.article-body p {
    margin-bottom: 12px;
    text-align: justify;
    line-height: 1.9;
}
.article-body ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.article-body ul li {
    list-style: disc;
    margin-bottom: 8px;
    line-height: 1.8;
}

/* 文章内嵌图片/视频：居中 + 圆角 + 阴影 */
.article-body img {
    display: block !important;
    max-width: min(100%, 860px) !important;
    width: auto !important;
    height: auto !important;
    margin: 28px auto !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f5f5f5;
}
.article-body img:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
}
.article-body video,
.article-body iframe {
    display: block !important;
    max-width: min(100%, 860px) !important;
    margin: 28px auto !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
}
.article-body figure {
    margin: 28px auto !important;
    text-align: center;
    max-width: min(100%, 860px);
}
.article-body figure img {
    margin: 0 auto !important;
    display: block !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
}
.article-body figcaption {
    font-size: 13px;
    color: #888;
    text-align: center;
    font-style: italic;
    margin-top: 10px;
}

/* Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid var(--border-color, #e8e8e8);
    font-size: 14px;
    color: var(--text-secondary, #666);
}
.article-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: var(--text-secondary, #666);
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
}
.article-share__btn:hover {
    background: var(--brand-accent, #C00000);
    color: #fff;
}

/* WeChat QR Code Popup */
.article-share__wechat {
    position: relative;
}
.article-share__qrcode {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 12px;
    text-align: center;
    z-index: 100;
    min-width: 140px;
}
.article-share__qrcode::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border: 6px solid transparent;
    border-top-color: #fff;
}
.article-share__qrcode img {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}
.article-share__qrcode p {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary, #666);
    white-space: nowrap;
}
.article-share__wechat:hover .article-share__qrcode {
    display: block;
}

/* Copy Link Tooltip */
.article-share__tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 100;
}
.article-share__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -4px;
    border: 4px solid transparent;
    border-top-color: #333;
}
.article-share__tooltip.is-copied {
    background: var(--brand-accent, #C00000);
}
.article-share__tooltip.is-copied::after {
    border-top-color: var(--brand-accent, #C00000);
}
#copyLink {
    position: relative;
}
#copyLink:hover .article-share__tooltip {
    display: block;
}

/* Pager */
.article-pager {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border-color, #e8e8e8);
    margin-top: 10px;
}
.article-pager a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary, #666);
    font-size: 14px;
    transition: color 0.3s;
    max-width: 45%;
}
.article-pager a:hover {
    color: var(--brand-accent, #C00000);
}
.article-pager__prev i {
    font-size: 12px;
}
.article-pager__next i {
    font-size: 12px;
}

/* Related */
.article-related {
    margin-top: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color, #e8e8e8);
}
.article-related__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary, #333);
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid var(--brand-accent, #C00000);
}
.article-related__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.article-related__item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.3s;
}
.article-related__item:hover {
    background: #f5f5f5;
    transform: translateX(4px);
}
.article-related__date {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--brand-accent, #C00000);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.article-related__info {
    flex: 1;
}
.article-related__info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 6px;
    transition: color 0.3s;
}
.article-related__item:hover h4 {
    color: var(--brand-accent, #C00000);
}
.article-related__info p {
    font-size: 13px;
    color: var(--text-light, #999);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ---------- Right Sidebar ---------- */
.article-sidebar {
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.sidebar-widget__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary, #333);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-accent, #C00000);
    position: relative;
}

/* Search */
.sidebar-search__box {
    display: flex;
    border: 1px solid var(--border-color, #e8e8e8);
    border-radius: 6px;
    overflow: hidden;
}
.sidebar-search__box input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    background: transparent;
}
.sidebar-search__box button {
    width: 44px;
    border: none;
    background: var(--brand-accent, #C00000);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}
.sidebar-search__box button:hover {
    opacity: 0.85;
}

/* Category */
.sidebar-category ul li {
    border-bottom: 1px dashed #eee;
}
.sidebar-category ul li:last-child {
    border-bottom: none;
}
.sidebar-category ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    color: var(--text-primary, #333);
    font-size: 14px;
    transition: all 0.3s;
}
.sidebar-category ul li a:hover {
    color: var(--brand-accent, #C00000);
    padding-left: 6px;
}
.sidebar-category ul li a span {
    background: #f0f0f0;
    color: var(--text-light, #999);
    padding: 1px 10px;
    border-radius: 10px;
    font-size: 12px;
}
.sidebar-category ul li a:hover span {
    background: var(--brand-accent, #C00000);
    color: #fff;
}

/* Hot */
.sidebar-hot ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.sidebar-hot ul li:last-child {
    border-bottom: none;
}
.sidebar-hot ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary, #333);
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s;
}
.sidebar-hot ul li a:hover {
    color: var(--brand-accent, #C00000);
}
.sidebar-hot__num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #e8e8e8;
    color: var(--text-light, #999);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}
.sidebar-hot__num.hot {
    background: var(--brand-accent, #C00000);
    color: #fff;
}

/* CTA */
.sidebar-cta p {
    color: var(--text-secondary, #666);
    font-size: 14px;
    margin-bottom: 16px;
}
.sidebar-cta__btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--brand-accent, #C00000);
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    letter-spacing: 1px;
}
.sidebar-cta__btn i {
    margin-left: 4px;
    font-size: 13px;
}
.sidebar-cta__btn:hover {
    background: var(--brand-secondary, #8a0808);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192,0,0,0.3);
}


/* ============================================================
   文章标签区
   ============================================================ */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
}
.article-tags__label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    letter-spacing: 1px;
}
.article-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.article-tags__link {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f5f5;
    color: #555;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.article-tags__link:hover {
    background: var(--brand-accent, #C00000);
    color: #fff;
    border-color: var(--brand-accent, #C00000);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(192,0,0,0.18);
}

/* ============================================================
   版权声明区
   ============================================================ */
.article-copyright {
    margin: 32px 0 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #fafafa 0%, #f2f2f2 100%);
    border-left: 4px solid var(--brand-accent, #C00000);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.article-copyright__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.article-copyright__header i {
    color: var(--brand-accent, #C00000);
    font-size: 18px;
}
.article-copyright__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}
.article-copyright__url {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #888;
    word-break: break-all;
}
.article-copyright__url a {
    color: var(--brand-accent, #C00000);
    text-decoration: none;
}
.article-copyright__url a:hover {
    text-decoration: underline;
}


/* ============================================================
   标签聚合页 (tags.html) — 与整站风格统一
   ============================================================ */

/* 标签云区 —— 暖色渐变 + 点状装饰 */
.tags-cloud {
    position: relative;
    background:
        radial-gradient(circle at 10% 20%, rgba(192,0,0,0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(192,0,0,0.03) 0%, transparent 40%),
        linear-gradient(180deg, #faf7f2 0%, #f5efe6 100%);
    padding: 50px 0 40px;
    overflow: hidden;
}
.tags-cloud::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(192,0,0,0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.35;
    pointer-events: none;
}
.tags-cloud .auto {
    position: relative;
    z-index: 1;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.tags-cloud__header {
    text-align: center;
    margin-bottom: 32px;
}
.tags-cloud__header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2a1f1a;
    margin: 0 0 14px;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}
.tags-cloud__header h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C00000, transparent);
    border-radius: 2px;
}
.tags-cloud__header p {
    font-size: 14px;
    color: #8a7a6a;
    margin: 20px 0 0;
    letter-spacing: 1.5px;
}
.tags-cloud__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1080px;
    margin: 0 auto;
}
.tags-cloud__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbf7f1 100%);
    border: 1px solid #e8ddd0;
    border-left: 3px solid #C00000;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 6px rgba(139,94,60,0.06),
        inset 0 1px 0 rgba(255,255,255,0.8);
}
.tags-cloud__item:hover {
    background: linear-gradient(180deg, #C00000 0%, #a00000 100%);
    border-color: #a00000;
    border-left-color: #fff;
    transform: translateY(-3px);
    box-shadow:
        0 10px 24px rgba(192,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.2);
}
.tags-cloud__item:hover .name,
.tags-cloud__item:hover .count {
    color: #fff;
}
.tags-cloud__item.active {
    background: linear-gradient(180deg, #C00000 0%, #a00000 100%);
    border-color: #a00000;
    border-left-color: #fff;
    box-shadow: 0 6px 18px rgba(192,0,0,0.25);
}
.tags-cloud__item.active .name,
.tags-cloud__item.active .count {
    color: #fff;
}
.tags-cloud__item .name {
    font-size: 14px;
    font-weight: 600;
    color: #3a2a20;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.tags-cloud__item .count {
    font-size: 11px;
    color: #a89888;
    padding: 2px 8px;
    background: rgba(192,0,0,0.06);
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.tags-cloud__item:hover .count,
.tags-cloud__item.active .count {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

/* 文章列表区 —— 杂志风格 */
.tag-articles {
    padding: 70px 0 90px;
    background: #fff;
    position: relative;
}
.tag-articles .auto {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.tag-articles__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    padding: 18px 24px;
    background: linear-gradient(90deg, #faf7f2 0%, #fff 100%);
    border-left: 4px solid #C00000;
    border-radius: 0 8px 8px 0;
}
.tag-articles__header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2a1f1a;
    letter-spacing: 1px;
}
.tag-articles__header h3 em {
    color: #C00000;
    font-style: normal;
    font-weight: 700;
}
.tag-articles__total {
    font-size: 13px;
    color: #8a7a6a;
    padding: 4px 14px;
    background: #fff;
    border: 1px solid #e8ddd0;
    border-radius: 20px;
}
.tag-articles__total b {
    color: #C00000;
    font-weight: 700;
    margin: 0 2px;
}

.tag-articles__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.tag-article {
    position: relative;
    background: #fff;
    border: 1px solid #ece4d8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(139,94,60,0.05);
}
.tag-article::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #C00000, #e8a87c);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tag-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(139,94,60,0.12);
    border-color: #d4c4b0;
}
.tag-article:hover::before {
    opacity: 1;
}
.tag-article__link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.tag-article__body {
    padding: 28px 32px 24px;
}
.tag-article__body h4 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    color: #2a1f1a;
    line-height: 1.4;
    transition: color 0.25s ease;
    letter-spacing: 0.5px;
}
.tag-article:hover .tag-article__body h4 {
    color: #C00000;
}
.tag-article__body p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.75;
    color: #6a5a4a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tag-article__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    color: #8a7a6a;
    padding-top: 16px;
    border-top: 1px dashed #e8ddd0;
}
.tag-article__meta i {
    margin-right: 5px;
    color: #b8a898;
}
.tag-article__meta .tag {
    color: #C00000;
    font-weight: 500;
    padding: 3px 10px;
    background: rgba(192,0,0,0.06);
    border-radius: 20px;
}
.tag-article__meta .tag i {
    color: #C00000;
}
.tag-article__meta .more {
    margin-left: auto;
    color: #C00000;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.35s ease;
    letter-spacing: 0.5px;
}
.tag-article:hover .tag-article__meta .more {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .tags-cloud {
        padding: 36px 0 28px;
    }
    .tags-cloud__header h2 {
        font-size: 22px;
        letter-spacing: 2px;
    }
    .tags-cloud__header p {
        font-size: 12px;
    }
    .tags-cloud__list {
        gap: 8px;
    }
    .tags-cloud__item {
        padding: 6px 12px 6px 10px;
        gap: 6px;
    }
    .tags-cloud__item .name {
        font-size: 13px;
    }
    .tags-cloud__item .count {
        font-size: 10px;
        padding: 2px 6px;
    }
    .tag-articles {
        padding: 50px 0 60px;
    }
    .tag-articles__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 18px;
    }
    .tag-articles__header h3 {
        font-size: 17px;
    }
    .tag-article__body {
        padding: 22px 20px 20px;
    }
    .tag-article__body h4 {
        font-size: 17px;
    }
    .tag-article__meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    .tag-article__meta .more {
        margin-left: 0;
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   文章标签区 — 无标签时隐藏
   ============================================================ */
/* 现代浏览器：当 .article-tags__list 内无 .article-tags__link 子元素时，隐藏整个 .article-tags */
.article-tags:not(:has(.article-tags__link)) {
    display: none !important;
}
/* 兼容旧浏览器：后端模板在标签为空时给 .article-tags 加 class="article-tags is-empty" */
.article-tags.is-empty {
    display: none !important;
}
