/* 公用推荐块样式：本站推荐 */
.txtguanggao{width:100%;overflow:hidden;display:block;box-shadow:0 1px 1px 0 rgba(0,0,0,.05);}
.txtguanggao a{width:9.8%;float:left;border-radius:3px;line-height:30px;height:30px;text-align:center;font-size:14px;color:#fff;display:inline-block;background-color:rgb(255,153,159);margin:1px;transition-duration:.3s;}
.txtguanggao a:nth-child(1){background-color:#FF3366;}
.txtguanggao a:nth-child(2){background-color:#66CC00;}
.txtguanggao a:nth-child(3){background-color:#33CCFF;}
.txtguanggao a:nth-child(4){background-color:#ffab00;}
.txtguanggao a:nth-child(5){background-color:#ff00f1;}
.txtguanggao a:nth-child(6){background-color:#fb3939;}
.txtguanggao a:nth-child(7){background-color:#ff0000;}
.txtguanggao a:nth-child(8){background-color:#2b36ff;}
.txtguanggao a:nth-child(9){background-color:#00a90a;}
.txtguanggao a:nth-child(10){background-color:#00b523;}
.txtguanggao a:nth-child(11){background-color:#ff0040;}
.txtguanggao a:nth-child(12){background-color:#ff7c00;}
.txtguanggao a:nth-child(13){background-color:#006c82;}
.txtguanggao a:nth-child(14){background-color:#77674b;}
.txtguanggao a:nth-child(15){background-color:#996699;}
.txtguanggao a:nth-child(16){background-color:#666666;}
.txtguanggao a:nth-child(17){background-color:#006699;}
.txtguanggao a:nth-child(18){background-color:#993333;}
.txtguanggao a:nth-child(19){background-color:#993333;}
.txtguanggao a:nth-child(20){background-color:#333300;}
.txtguanggao a:nth-child(21){background-color:#663366;}
.txtguanggao a:nth-child(22){background-color:#003300;}
.txtguanggao a:nth-child(23){background-color:#003366;}
.txtguanggao a:nth-child(24){background-color:#996699;}
.txtguanggao a:nth-child(25){background-color:#666666;}
.txtguanggao a:nth-child(26){background-color:#006699;}
.txtguanggao a:nth-child(27){background-color:#993333;}
.txtguanggao a:nth-child(28){background-color:#6593b7;}
.txtguanggao a:nth-child(29){background-color:#96593e;}
.txtguanggao a:nth-child(30){background-color:#3e9096;}
.txtguanggao a:hover{background:#DC3545;color:#FFF}
@media screen and (max-width:1000px){.txtguanggao a{width:19.4%;float:left;border-radius:3px;line-height:30px;height:30px;text-align:center;font-size:13px;color:#fff;display:inline-block;background-color:rgb(255,153,159);margin:1px;transition-duration:.3s;}}
/* 「本站推荐」下方没有链接数据时，整体隐藏（标题+链接） */
.recommend-block:not(:has(.txtguanggao a)){display:none;}

/* 公用推荐块样式：特色推荐 */
.txtguanggao2{width:100%;overflow:hidden;display:block;box-shadow:0 1px 1px 0 rgba(0,0,0,.05);}
.txtguanggao2 a{width:9.8%;float:left;border-radius:3px;line-height:30px;height:30px;text-align:center;font-size:14px;color:#fff;display:inline-block;background-color:#009A3A;margin:1px;transition-duration:.3s;}
.txtguanggao2 a:hover{background:#DC3545;color:#FFF}
@media screen and (max-width:1000px){.txtguanggao2 a{width:19.4%;float:left;border-radius:3px;line-height:30px;height:30px;text-align:center;font-size:13px;color:#fff;display:inline-block;background-color:#009A3A;margin:1px;transition-duration:.3s;}}

/* 公用推荐块样式：热门搜索 */
.grid-container2{width:100%;overflow:hidden;display:inline-block;box-shadow:0 1px 1px rgba(0,0,0,.05);}
.grid-container2 a{width:6%;float:left;border-radius:3px;line-height:30px;height:30px;text-align:center;font-size:12px;color:#fff;display:inline-block;background-color:#333;margin:1px;transition-duration:.3s;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.grid-container2 a:hover{background:#DC3545;color:#FFF}
@media screen and (max-width:1000px){.grid-container2 a{width:13.5%;font-size:10px;}}

/* 页脚友情链接 */
.footer-links{padding:10px 0 8px;line-height:2;font-size:13px;color:var(--theme-muted);border-bottom:1px solid var(--theme-line);margin-bottom:8px;}
.footer-links-title{color:var(--theme-text);margin-right:4px;}
.footer-links a{color:var(--theme-muted);margin:0 6px;text-decoration:none;}
.footer-links a:hover{color:var(--theme-main);}

/* 文章详情页 */
.art-meta{color:var(--theme-muted);font-size:13px;padding:0 0 14px;border-bottom:1px solid var(--theme-line);}
.art-meta span{margin-right:16px;}
.art-meta a{color:var(--theme-main);text-decoration:none;}
.art-content{padding:16px 0;line-height:1.9;font-size:15px;word-break:break-word;}
.art-content p{margin:0 0 14px;}
.art-content img{max-width:100%;height:auto;display:block;margin:12px auto;border-radius:6px;}
.art-content a{color:var(--theme-main);}
.art-tags{padding:14px 0 4px;font-size:13px;color:var(--theme-muted);}
.art-tags a{color:var(--theme-main);margin-right:8px;text-decoration:none;}

/* 修复：分类页标题(h3.appel-title 是 float:left)溢出头图容器，导致 .thumbnail-group 首行被挤掉一格 */
.appel-heading{overflow:hidden;}

/* 导航顶级标题：文字固定，恢复原链接的标签块样式 */
.youmu-app dt b{display:inline-block;padding:7px 9px;border-radius:6px;background-color:var(--theme-main);border:1px solid var(--theme-main);color:#032022;}
@media screen and (max-width:800px){.youmu-app dt b{padding:6px 5px;font-size:12px;}}

/* 站点 logo 背景色 */
.navbar-brand img{background-color:#13ae9c;}

/* 文章列表（参照 91maomx 的列表样式） */
.art-list{display:flex;flex-direction:column;gap:10px;margin:16px 0 20px;}
.art-list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:10px;transition:border-color .2s,transform .2s;}
.art-list-item:hover{border-color:var(--theme-main);transform:translateY(-1px);}
.art-list-title{flex:1;min-width:0;font-size:15px;font-weight:600;color:var(--theme-text);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.art-list-title:hover{color:var(--theme-main);}
.art-list-date{flex-shrink:0;font-size:13px;color:var(--theme-muted);white-space:nowrap;}
@media (max-width:480px){.art-list-item{padding:12px;}.art-list-title{font-size:14px;}.art-list-date{font-size:12px;}}
