.wznrys .wp-block-image{margin:0px 0px 30px 0px;}
.wznrys ul,
.wznrys ol{list-style:disc;}

/* 正文排版修正：纯文本正文也要有段落行距，长英文/长链接不撑破容器 */
.wznrys{line-height:2;word-wrap:break-word;overflow-wrap:break-word;}
.wznrys li p{padding-bottom:20px;margin:0;}
.wznrys img{border-radius:6px;max-width:100%;height:auto;}

/* 茶百科入库文章的属性表与配图 */
.wznrys table.tea-attrs{width:100%;border-collapse:collapse;margin:18px 0 26px;font-size:14px;line-height:1.9;}
.wznrys table.tea-attrs th,
.wznrys table.tea-attrs td{border:1px solid #e5e5e5;padding:8px 12px;text-align:left;vertical-align:top;}
.wznrys table.tea-attrs th{width:110px;background:#f7f7f5;font-weight:600;color:#333;white-space:nowrap;}
.wznrys img.tea-img-sm{display:inline-block;width:31%;margin:8px 1%;vertical-align:top;}
@media (max-width:640px){
    .wznrys table.tea-attrs th{width:84px;}
    .wznrys img.tea-img-sm{width:47%;}
}

/* 与旧站一致的备案图标尺寸 */
.index_box address i{font-size:13px;margin-right:3px;color:#333;}

/* 404 页面 */
.notfound{padding:6px 0 30px;text-align:center;}
.notfound-code{font-size:86px;line-height:1;font-weight:700;color:#e6e6e6;letter-spacing:6px;margin:6px 0 8px;}
.notfound-title{font-size:20px;font-weight:bold;margin-bottom:12px;}
.notfound-desc{font-size:13px;color:#888;line-height:2;margin:0 auto 26px;max-width:520px;}
.notfound-search{max-width:420px;margin:0 auto 22px;}
.notfound-links{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;font-size:13px;margin-bottom:34px;}
.notfound-links a{color:#383838;text-decoration:underline;}
.notfound-links a:hover{color:#0056b3;}
.notfound-recent{max-width:520px;margin:0 auto;text-align:left;border-top:1px solid #eee;padding-top:22px;}
.notfound-recent-title{font-size:13px;font-weight:bold;margin-bottom:14px;}

/* 分类页 */
.mod-archive-name a{color:#333;text-decoration:none;}
.mod-archive-name a:hover{color:#0056b3;}
.category-count{margin-left:8px;color:#999;}
.category-desc{font-size:13px;color:#888;line-height:2;margin:0 0 20px;}
.category-empty{font-size:13px;color:#aaa;}
.category-more{font-size:12px;margin:-10px 0 35px 0;padding-left:1rem;}
.category-more a{color:#0056b3;}
.single-category{color:#666;}
.single-category:hover{color:#0056b3;}

/* 文章标签 */
.single_tag{margin-top:10px;}
.single_tag .tag-item{display:inline-block;margin:0 14px 8px 0;font-size:12px;}
.single_tag .tag-item i{color:#919191;margin-right:4px;}

/* 评论补充 */
#comments .comment-content{white-space:pre-wrap;word-break:break-word;}
#comments .comment-form .comment-form-author,
#comments .comment-form .comment-form-email{width:31%;float:left;margin-right:2%;}
#comments .comment-form .comment-form-website{width:34%;float:left;}
#comments .comment-form .comment-form-comment{clear:both;}
#comments .comment-form .form-submit{clear:both;}
#comments .comment-respond{margin-top:10px;}
#comments .captcha-row{display:flex;align-items:center;margin-bottom:12px;}
#comments .captcha-row label{margin:0 10px 0 0;font-size:12px;color:#666;}
#comments .captcha-row input{width:80px;background:#f7f7f7;border:none;padding:8px 10px;font-size:12px;}
#comments .captcha-row .captcha-question{font-size:13px;color:#333;background:#f7f7f7;padding:8px 12px;border-radius:3px;}
#comments .comment-note{font-size:12px;color:#999;line-height:1.8;margin-bottom:12px;}
#comments .comment-success{font-size:12px;color:#2e7d32;background:#f1f8e9;padding:10px 15px;border-radius:3px;margin-bottom:15px;}
#comments .comment-error{font-size:12px;color:#c62828;background:#ffebee;padding:10px 15px;border-radius:3px;margin-bottom:15px;}
#comments .reply-to{font-size:12px;color:#999;margin-left:6px;}

/* 归档 / 列表 */
.mod-archive__item{margin-bottom:35px;}
.mod-archive__year{font-weight:bold;font-size:1rem;margin-bottom:18px;}
.mod-archive__list li{margin-bottom:14px;display:flex;align-items:baseline;}
.mod-archive__list li time{color:#666;white-space:nowrap;margin-right:10px;font-size:13px;}
.mod-archive__list li span{color:#bbb;margin-right:10px;}
.mod-archive__list li a{color:#383838;text-decoration:underline;}
.mod-archive-list li{display:flex;align-items:baseline;}

/* 标签云 */
.tag-cloud{display:flex;flex-wrap:wrap;margin-bottom:30px;}
.tag-cloud .tag-link{display:inline-block;border:1px solid #e4e4e4;border-radius:4px;padding:6px 12px;margin:0 10px 10px 0;font-size:12px;color:#333;}
.tag-cloud .tag-link i{color:#919191;margin-right:4px;}
.tag-cloud .tag-link:hover{border-color:#333;color:#0056b3;}

/* 搜索 */
.search-box{margin-bottom:35px;}
.search-box form{display:flex;}
.search-box input[type=search]{flex:1;border:1px solid #e4e4e4;border-radius:5px 0 0 5px;padding:10px 15px;font-size:14px;outline:none;background:#fff;color:#333;}
.search-box button{border:none;background:#333;color:#fff;padding:0 22px;border-radius:0 5px 5px 0;font-size:14px;cursor:pointer;}
.search-box button:hover{background:#0056b3;}
.search-result-tip{font-size:12px;color:#888;margin-bottom:20px;}

/* 空状态 */
.empty-tip{padding:40px 0;color:#999;font-size:13px;text-align:center;}

/* 友链 */
.mod-archive-links{display:block;}
.mod-archive-links a{color:#333;text-decoration:none;}
.mod-archive-links p{color:#b6b6b6;font-size:12px;line-height:1.8;margin:0;}

/* 分类封面、子分类入口、文章相关推荐 */
.category-cover{margin:0 0 22px;}
.category-cover img{width:100%;height:auto;border-radius:8px;display:block;}
.sub-categories{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;}
.sub-category{display:inline-flex;align-items:center;gap:8px;border:1px solid #e6e6e6;border-radius:999px;padding:6px 14px;font-size:13px;color:#333;text-decoration:none;transition:border-color .15s,color .15s;}
.sub-category:hover{border-color:#9a9a9a;color:#000;}
.sub-category-count{color:#a5a5a5;font-size:12px;}
.related-posts{margin:34px 0 6px;padding-top:22px;border-top:1px solid #eee;}
.related-posts h2{font-size:16px;font-weight:700;margin-bottom:14px;}
.related-posts ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;}
.related-posts li{padding:12px 14px;border:1px solid #ececec;border-radius:8px;background:#fafafa;transition:border-color .2s,box-shadow .2s,transform .2s;}
.related-posts li:hover{border-color:#d8d8d8;box-shadow:0 6px 18px rgba(0,0,0,.06);transform:translateY(-1px);}
.related-posts time{display:block;color:#aaa;font-size:12px;margin-bottom:4px;}
.related-posts a{display:block;color:#333;font-size:14px;line-height:1.6;}
.related-posts a:hover{color:#111;text-decoration:none;}
@media (max-width:640px){.related-posts ul{grid-template-columns:1fr;}}

/* 返回顶部 */
.back-to-top{position:fixed;right:26px;bottom:54px;z-index:900;width:44px;height:44px;border:0;border-radius:50%;background:linear-gradient(145deg,#3d3d3d,#111);color:#fff;font-size:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s,transform .25s,visibility .25s,box-shadow .25s;box-shadow:0 8px 22px rgba(0,0,0,.18);}
.back-to-top:hover{box-shadow:0 10px 26px rgba(0,0,0,.28);transform:translateY(-2px);}
.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0);}
@media (max-width:640px){.back-to-top{right:16px;bottom:70px;width:40px;height:40px;font-size:14px;}}
