/* Match the original cards: cover, tags, title and date. */
.articles .cms-card{height:auto;min-width:0;align-self:stretch}
.articles .cms-card .img{height:165px;flex-shrink:0}
.articles .cms-card .content{height:auto;min-height:165px;display:flex;flex-direction:column;gap:10px;padding:20px 25px;flex:1;min-width:0}
.articles .cms-card .content .tags{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.articles .cms-card .content h3{margin:0;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.articles .cms-card .content p{position:static;margin:0;line-height:1.7}
.articles .cms-card .content p:last-child{margin-top:auto;padding-top:4px;display:block}
.cms-pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:35px 0}
.cms-empty{padding:35px;text-align:center;width:100%}
.page-menu-group{padding:6px 12px;color:var(--color2,#888);font-size:12px;font-weight:600;border-top:1px solid var(--border_color,#dde5ef)}
.cms-with-sidebar{display:grid!important;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}
.cms-main-content{min-width:0;width:100%}
.cms-sidebar{display:block;position:relative;isolation:isolate;min-width:0}.cms-sidebar .post_aside_infor{box-sizing:border-box;z-index:0}.cms-sidebar .post_aside_card{box-sizing:border-box}
.cms-sidebar{align-self:stretch}.cms-sidebar-sticky{position:sticky;top:70px;transition:top .3s var(--transition)}.header.hide~.container .cms-sidebar-sticky{top:20px}
.cms-recent ul{list-style:none;padding:0;margin:0}.cms-recent li{padding:10px 0}.cms-recent li>a{display:flex;align-items:center;gap:10px;color:inherit;min-width:0}.cms-recent img{width:80px;height:60px;object-fit:cover;border-radius:5px;flex-shrink:0}.cms-recent-info{display:flex;flex-direction:column;gap:6px;min-width:0}.cms-recent-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.cms-recent time{font-size:12px}.cms-recent a:hover .cms-recent-title{color:var(--theme_color,#2563eb)}
.cms-category-switch{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:15px;padding:20px;background:var(--card_color);border:1px solid var(--border);border-radius:var(--borer_radius);margin-bottom:5px}.cms-category-switch a{padding:10px 20px;background:var(--color0,#f4f6fa);border-radius:25px}.cms-category-switch a.active{background:#2563eb;color:#fff}
.cms-tag-switch{display:flex;flex-wrap:wrap;gap:14px;padding:20px;background:var(--card_color);border:1px solid var(--border);border-radius:var(--borer_radius);margin-bottom:25px}.cms-tag-switch a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;background:var(--color0,#f4f6fa);font-size:14px}.cms-tag-switch a>span{padding:0 8px;border-radius:4px;background:#eaf0fa}.cms-tag-switch a.active{background:#2563eb;color:#fff}.cms-tag-switch a.active>span{background:#ffffff30}
.cms-card .img{display:block}.cms-card .content h3 a{color:inherit}.cms-card .content .tag:hover{text-decoration:underline}
.cms-article-toc #toc{list-style:none;padding-left:0}.cms-article-toc #toc a{overflow-wrap:anywhere}.cms-outdated{padding:12px;background:#fff6db;color:#795b19;border-radius:6px}
.post_content :is(h1,h2,h3,h4,h5,h6)[id]{scroll-margin-top:100px}
.cms-html-page{background:var(--card_color);border:1px solid var(--border);border-radius:var(--borer_radius);padding:25px;min-width:0;box-sizing:border-box}.cms-html-page>h1{font-size:24px;margin:0 0 20px}.cms-html-page .post_content{padding:0;overflow-wrap:anywhere}.cms-html-page .post_content img{max-width:100%;height:auto}.cms-html-page iframe{max-width:100%}
@media(max-width:1200px){.cms-article-toc{display:none}}
@media(max-width:1000px){.cms-with-sidebar .article-card{width:calc(50% - 18px)}}
@media(max-width:780px){.cms-with-sidebar .article-card{width:100%}.cms-category-switch{gap:8px;padding:12px}.cms-category-switch a{padding:8px 12px}}
@media(max-width:650px){.cms-with-sidebar{grid-template-columns:minmax(0,1fr)}.cms-sidebar{order:2}.cms-sidebar-sticky{position:static}}
