/* ============================================================
   专栏页信息条适配 home-item-1.00.css (20261103)
   只在专栏页(geren/home.html)加载，不修改全站公用的
   redian.css / home-1.04.css。
   目标：信息条与全站其他页面(如 /ap/) 完全一致 ——
   home-1.04.css 对信息条做过页内改写(窄边距/大标题/卡片化)，
   这里逐项还原为全局 redian.css 的原始值。
   另保留：单图卡片图在右侧、音频标签红色、导航吸顶。
   ============================================================ */

/* --- 头部高度 / 统计下分隔条 --- */
.bg{min-height:3.7rem;}
.hr{height:.25rem;}

/* --- 导航(最新/排行/电台/简介)：单行不换行 + 滚到顶部吸住 ---
   注意：.home-head 内部还包着文章列表(tab-body)，不能对它整体吸顶，
   只吸 .home-head-t 这一行；滚动时由页面 JS 切 fixed（兼容旧 WebView） */
.home-head{position:relative;}
.home-head-t{position:relative;z-index:60;background:#fff;}
.home-head-t.nav-fixed{position:fixed;top:0;left:0;right:0;width:100%;z-index:999;box-shadow:0 .04rem .14rem rgba(0,0,0,.08);}
.nav-holder{display:none;}
.nav-holder.on{display:block;}
.home-head-t .tab-nav{display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-align-items:center;align-items:center;margin:0;padding:0 .3rem;}
.home-head-t .tab-nav>li{width:auto!important;-webkit-flex:0 0 auto;flex:0 0 auto;float:none!important;margin:0 .52rem 0 0;}
.home-head-t .tab-nav>li>a{display:block;padding-top:0!important;line-height:1.06rem;}
/* 占位 li(&nbsp;) 吸收剩余宽度，把搜索图标顶到最右 */
.home-head-t .tab-nav>li:nth-last-child(2){-webkit-flex:1 1 auto;flex:1 1 auto;width:auto!important;margin:0;}
.home-head-t .tab-nav>li:last-child{-webkit-flex:0 0 auto;flex:0 0 auto;width:auto!important;margin:0;}
.home-head-t .lii{width:28px;margin:0;}

/* --- 信息条还原全局 redian.css（home-1.04 的改写逐项还原）--- */
#list{padding:0;}
#hot_content #list>div{margin:0;background:none;box-shadow:none;border-radius:0;}
#hot_content #list .one-px-border{display:block;}
#hot_content section .yiyun_article{margin:0 .4rem;padding:.25rem 0;}
#hot_content section .yiyun_article h4{color:#222;font-weight:400;font-size:17px;line-height:22px;}
#hot_content section .content_top{width:9.2rem;margin:0 auto;margin-top:.2rem;overflow:hidden;}
#hot_content section .content_top li{width:2.96rem;height:2.1rem;margin-right:.1rem;margin-bottom:.1rem;}
#hot_content section .content_top li img{border-radius:0;height:2.1rem;}
#hot_content section .content_lei2 span{font-size:.32rem !important;}

/* --- 关注按钮：空心（与 私信/已关注 同款：白底+灰描边+深灰字），
   还原 home-1.04.css 第59行的绿色实心 --- */
.guanzhuButton.alest{background:#fff !important;border:1px solid #e0e0e0 !important;color:#444 !important;box-shadow:0 .02rem .08rem rgba(0,0,0,.06);}

/* --- 音频/视频等类型标签：红色（与全站信息条一致） --- */
#hot_content section .content_lei2 span.smallIcon{color:#da3838 !important;}

/* --- 单图卡片（content_left + content_right 结构）---
   还原全局 inline-block 并排布局（a 为 font-size:0，无空白符问题）。
   全局几何：左留白 .4rem，标题列 6.3rem，图列 2.85rem 右缘距屏 .45rem。 */
#hot_content section .content_left{float:none;display:inline-block;vertical-align:top;width:6.3rem;}
#hot_content section .content_right{float:none;display:inline-block;width:2.85rem;height:2rem;}
#hot_content section .content_lei2{clear:none;}

/* --- 单图卡片（content_top 单 li 结构）：图在右侧 ---
   全局对这类卡片无处理（图会落到标题下方），这里用 flex 放到右侧；
   两套选择器：:has 供新内核；.onepic-item 由页面 JS 打标（兼容旧 WebView） */
#hot_content section a.yiyun_article:has(.content_top li:only-child),
#hot_content section a.yiyun_article.onepic-item{
	display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;
	-webkit-align-items:flex-start;align-items:flex-start;
	-webkit-justify-content:space-between;justify-content:space-between;
}
#hot_content section a.yiyun_article:has(.content_top li:only-child) h4,
#hot_content section a.yiyun_article.onepic-item h4{
	-webkit-flex:1 1 auto;flex:1 1 auto;width:calc(100% - 3.1rem);box-sizing:border-box;
}
#hot_content section a.yiyun_article:has(.content_top li:only-child) .content_top,
#hot_content section a.yiyun_article.onepic-item .content_top{
	-webkit-flex:0 0 2.9rem;flex:0 0 2.9rem;width:2.9rem;margin:0 0 0 .2rem;
}
#hot_content section a.yiyun_article:has(.content_top li:only-child) .content_top ul,
#hot_content section a.yiyun_article.onepic-item .content_top ul{
	margin:0;padding:0;
}
#hot_content section a.yiyun_article:has(.content_top li:only-child) .content_top li,
#hot_content section a.yiyun_article.onepic-item .content_top li{
	width:2.9rem;height:2.06rem;margin:0;
}
#hot_content section a.yiyun_article:has(.content_top li:only-child) .content_lei2,
#hot_content section a.yiyun_article.onepic-item .content_lei2{
	-webkit-flex:0 0 100%;flex:0 0 100%;width:100%;
}
