/* 面包屑导航 */
#breadcrumb{padding:16px 0;font-size:14px;color:#adb5bd;background:#fff;border-bottom:1px solid #e9ecef}
#breadcrumb a{color:#6c757d;transition:color var(--transition)}
#breadcrumb a:hover{color:rgb(var(--rgb-color-primary))}
#breadcrumb .current-index{display:inline-block;font-size:14px;font-weight:500;color:#212529}

/* 归档页头部 */
#archive-section{background:#f8f9fa;padding:40px 0;text-align:center;border-bottom:1px solid #e9ecef}
#archive-section h1{font-size:1.8rem;color:#212529;font-weight:700}
@media (max-width:768px){
    #archive-section{padding:30px 0}
    #archive-section h1{font-size:1.4rem}
}

/* 通用内容区域 */
#general-section{padding:30px 0;background:#f8f9fa}
#general-section .container{display:flex;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:24px}
#general-section .main{width:68%}
#general-section .sidebar{width:28%}

/* 文章列表 */
#general-section .main .article-list{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:16px}
#general-section .main .article-list .item{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;width:100%;background:#fff;border:1px solid #e9ecef;border-radius:10px;overflow:hidden;transition:all var(--transition)}
#general-section .main .article-list .item:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.06)}
#general-section .main .article-list .item-article{width:100%;padding:16px;background:#fff;border:1px solid #e9ecef;border-radius:10px;transition:all var(--transition)}
#general-section .main .article-list .item-article:hover{box-shadow:0 4px 16px rgba(0,0,0,.06)}
#general-section .main .article-list .item-article.reveal{opacity:0;transform:translateY(30px);transition:all .5s ease}
#general-section .main .article-list .item-article.reveal.actived{opacity:1;transform:translateY(0)}
#general-section .main .article-list picture{width:35%;height:180px;overflow:hidden}
#general-section .main .article-list picture img{width:100%;height:100%;object-fit:cover;transition:all ease .3s}
#general-section .main .article-list .item:hover picture img{transform:scale(1.03)}
#general-section .main .article-list .item-detail{width:65%;display:flex;justify-content:center;align-items:start;flex-direction:column;gap:8px;padding:20px}
#general-section .main .article-list .categorys{display:flex;align-items:center;justify-content:start;gap:6px}
#general-section .main .article-list .category{background:#f0f4ff;color:rgb(var(--rgb-color-primary));padding:3px 10px;font-size:12px;border-radius:4px;font-weight:500}
#general-section .main .article-list .title{font-size:16px;font-weight:600;transition:all ease .2s;color:#212529}
#general-section .main .article-list .item:hover .title{color:rgb(var(--rgb-color-primary))}
#general-section .main .article-list .content{font-size:14px;color:#6c757d;line-height:1.6}
#general-section .main .article-list .date{font-size:13px;color:#adb5bd}

/* 侧边栏 */
#general-section .sidebar .box{box-sizing:border-box;width:100%;background:#fff;border:1px solid #e9ecef;border-radius:10px;padding:16px;margin:0 0 16px auto}
#general-section .sidebar .box .title{font-size:15px;font-weight:600;margin-bottom:14px;color:#212529}
#general-section .sidebar .box .list-iwt .item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 12px}
#general-section .sidebar .box .list-iwt .item-cont{width:calc(100% - 70px)}
#general-section .sidebar .box .list-iwt .item-cont .item-title{display:block;font-size:13px;font-weight:500;margin:0 0 4px;transition:all ease .2s;color:#212529}
#general-section .sidebar .box .list-iwt .item:hover .item-title{color:rgb(var(--rgb-color-primary))}
#general-section .sidebar .box .list-iwt .item-cont .item-datetime{font-size:12px;color:#adb5bd}
#general-section .sidebar .box .list-iwt .item-img{width:65px;height:65px;overflow:hidden;border-radius:8px}
#general-section .sidebar .box .list-iwt .item-img img{width:100%;height:100%;object-fit:cover}
#general-section .sidebar .box .list-tags{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px}
#general-section .sidebar .box .list-tags a{color:#495057;background:#f8f9fa;padding:5px 12px;border-radius:6px;transition:all var(--transition);border:1px solid #e9ecef}
#general-section .sidebar .box .list-tags a:hover{background:rgb(var(--rgb-color-primary));color:#fff;border-color:rgb(var(--rgb-color-primary))}

/* 文章详情 */
#general-section article{width:100%}
#general-section article h1{font-size:24px!important;margin:0 0 12px;color:#212529;font-weight:700}
#general-section article h2.section-title{font-size:20px;margin:0 0 10px}
#general-section article .info{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;row-gap:8px;padding:10px 14px;background:#f8f9fa;font-size:13px;color:#6c757d;border-radius:8px}
#general-section article .info>div{display:inline-flex;justify-content:center;align-items:center;gap:4px}
#general-section article .info>div:not(:first-child){margin-left:10px;padding-left:10px;position:relative}
#general-section article .info>div:not(:first-child)::before{content:"";position:absolute;left:0;top:calc(50%);transform:translateY(-50%);height:12px;width:1px;background:#dee2e6}
#general-section article .info a{text-decoration:none;color:rgb(var(--rgb-color-primary));font-weight:500}
#general-section article .info a:hover{text-decoration:underline}
#general-section article .content{font-size:15px;color:#495057;line-height:1.8;padding-top:16px;margin-top:16px;border-top:solid 1px #e9ecef}
#general-section article .content a,
#general-section article .content a:hover{text-decoration:none;font-weight:600;color:rgb(var(--rgb-color-primary))}
#general-section article .content #ez-toc-container .ez-toc-title,
#general-section article .content #ez-toc-container a{font-weight:600;color:#495057}
#general-section article .content img{display:block;max-width:100%;margin:12px auto;border-radius:8px}
#general-section article .content iframe{width:100%;height:400px;margin:12px 0;display:block;border-radius:8px}
#general-section article .content ol.wp-block-list{margin:10px 0;padding-left:32px;list-style:decimal outside;color:#495057}
#general-section article .content ul.wp-block-list{margin:10px 0;padding-left:32px;list-style:disc outside;color:#495057}
#general-section article .content ol.wp-block-list li{font-size:15px;display:list-item;list-style:decimal;margin-bottom:6px}
#general-section article .content ul.wp-block-list li{font-size:15px;display:list-item;list-style:disc;margin-bottom:6px}
#general-section article .content h2,
#general-section article .content h3,
#general-section article .content h4,
#general-section article .content h5,
#general-section article .content h6{color:#212529;font-weight:700;margin:16px 0 10px}
#general-section article .content h2{font-size:22px}
#general-section article .content h3{font-size:18px}
#general-section article .content h4{font-size:16px}
#general-section article .content h5,
#general-section article .content h6{font-size:15px}
#general-section article .content p{font-size:15px;color:#495057;margin:10px 0}
#general-section article .content strong{font-weight:700;color:#212529}
#general-section article .content table{width:100%;border-collapse:collapse;margin:12px 0;font-size:14px;background:#fff;border:1px solid #e9ecef;border-radius:8px;overflow:hidden}
#general-section article .content table th{background:#f8f9fa;color:#495057;padding:10px 14px;text-align:left;font-weight:600;border-bottom:1px solid #e9ecef;border-right:1px solid #e9ecef}
#general-section article .content table td{padding:10px 14px;border-bottom:1px solid #e9ecef;border-right:1px solid #e9ecef;vertical-align:top}
#general-section article .content table tr:hover{background:#f8f9fa}
#general-section article .content .prevornext{display:flex;flex-direction:column;margin:20px 0;font-size:14px!important;color:#6c757d;gap:8px}
#general-section article .content .prevornext a{color:rgb(var(--rgb-color-primary));text-decoration:none;font-weight:500}
#general-section article .content .prevornext a:hover{text-decoration:underline}

@media (max-width:768px){
    #general-section{padding:20px 0}
    #general-section .main,
    #general-section .sidebar,
    #general-section .main .article-list picture,
    #general-section .main .article-list .item-detail{width:100%}
    #general-section article h1{font-size:20px!important}
    #general-section article .content iframe{height:220px}
    #general-section article .content h2{font-size:20px}
    #general-section article .content h3{font-size:17px}
    #general-section article .content h4{font-size:15px}
    #general-section article .content h5,
    #general-section article .content h6{font-size:14px}
    #general-section article .content ol.wp-block-list,
    #general-section article .content ul.wp-block-list{padding-left:22px}
    #general-section article .content table{overflow-x:auto;overflow-y:hidden;display:block}
    #general-section article .content table td,
    #general-section article .content table th{padding:8px 10px}
}
