/**
 * Guide页面自定义美化样式
 * 用于优化导航菜单和帖子列表布局
 */

/* 导航切换菜单美化 */
.n5sq_jjqh {
    padding: 12px 15px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}

.n5sq_jjqh ul {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
}

.n5sq_jjqh li {
    display: inline-block !important;
    line-height: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    flex: 1 !important;
    text-align: center !important;
    position: relative !important;
}

.n5sq_jjqh li a {
    font-size: 15px !important;
    color: #666 !important;
    display: block !important;
    padding: 0 10px !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.n5sq_jjqh .a {
    border-bottom: none !important;
}

.n5sq_jjqh .a a {
    color: #000 !important;
    font-weight: 700 !important;
    background: none !important;
    box-shadow: none !important;
}

.n5sq_jjqh li:not(.a) a:hover {
    color: #000 !important;
    background: none !important;
}

/* 帖子列表容器美化 */
.n5sq_ztlb {
    margin-top: 0 !important;
    padding: 10px 0 !important;
    background: #f8f9fa !important;
    min-height: calc(100vh - 150px) !important;
}

.n5sq_ztlb .n5sq_htmk {
    margin-bottom: 12px !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    overflow: hidden !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.n5sq_ztlb .n5sq_htmk:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}

/* 帖子头部信息美化 */
.n5sq_ztlb .ztlb_nrtb {
    padding: 15px 12px !important;
    padding-bottom: 12px !important;
    color: #8c8c8c !important;
    background: linear-gradient(to bottom, #fafbfc 0%, #fff 100%) !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbys {
    height: auto !important;
    min-height: 40px !important;
    position: relative !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbys .n5_mkztjh {
    position: absolute !important;
    left: -10px !important;
    top: -15px !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbys .n5_mkztjh .n5_jhzt {
    padding: 15px !important;
    background: url(../images/jhzt.png) 0 0 no-repeat !important;
    background-position: 0 !important;
    background-size: 25px auto !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbys .n5_mktbtx {
    float: left !important;
    overflow: hidden !important;
    position: relative !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbys .n5_mktbtx img {
    border-radius: 50% !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #efece9 !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbmc {
    margin-top: 0 !important;
    margin-left: 46px !important;
    line-height: 20px !important;
    height: 22px !important;
    display: block !important;
    font-size: 14px !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbmc .n5_mktbhy {
    display: inline-block !important;
    overflow: hidden !important;
    max-width: 45% !important;
    line-height: 18px !important;
    padding: 1px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    vertical-align: middle !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbmc .n5_mktbhy a {
    color: #4a5568 !important;
    font-weight: 500 !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbmc i {
    margin-left: 2px !important;
    font-size: 16px !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbsj {
    position: relative !important;
    top: -1px !important;
    margin-left: 8px !important;
    font-size: 12px !important;
    color: #999 !important;
    background: none !important;
    padding: 0 !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbyd {
    float: left !important;
    position: absolute !important;
    right: 0 !important;
    top: 2px !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbyd .n5_mktbbk em {
    color: #000 !important;
    font-size: 14px !important;
}

.n5sq_ztlb .ztlb_nrtb .n5_mktbyd .n5_mktbbk a {
    color: #FFF !important;
    font-size: 13px !important;
    background: rgba(0,0,0,0.2) !important;
    padding: 4px 12px !important;
    border-radius: 2px !important;
    font-weight: 500 !important;
}

/* 帖子内容区域美化 */
.n5sq_ztlb .ztlb_nrys {
    display: block !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 12px 12px 12px !important;
    background: #fff !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrwz {
    max-height: none !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrwa {
    margin-bottom: 0 !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrwz .n5_htnrbt {
    line-height: 24px !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
    -webkit-line-clamp: 2 !important;
    font-weight: 600 !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrwz .n5_htnrbt a {
    font-size: 16px !important;
    color: #2d3748 !important;
    transition: color 0.2s ease !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrwz .n5_htnrbt a:hover {
    color: #000 !important;
}

.n5_tsztbs {
    display: inline-block !important;
    padding: 0 4px !important;
    border-radius: 3px !important;
    height: 16px !important;
    margin-right: 6px !important;
    line-height: 17px !important;
    border: 1px solid #fcad30 !important;
    font-size: 11px !important;
    color: #fcad30 !important;
    font-family: Helvetica !important;
    font-weight: 500 !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrwz .n5_htnrjj {
    padding-left: 1px !important;
    padding-top: 6px !important;
    line-height: 21px !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrwz .n5_htnrjj a {
    font-size: 14px !important;
    color: #718096 !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
    -webkit-line-clamp: 2 !important;
    line-height: 20px !important;
}

/* 图片区域美化 */
.n5sq_ztlb .ztlb_nrys .n5_htnrtp {
    padding: 8px 0 0 0 !important;
    position: relative !important;
    background: #fafbfc !important;
    border-radius: 8px !important;
    margin: 10px 0 !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrtp img {
    float: left !important;
    width: 32% !important;
    margin-right: 1.33% !important;
    border-radius: 6px !important;
    background: #f0f0f0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrtp .zttpsl {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 10px !important;
    border-bottom-left-radius: 3px !important;
    padding-left: 6px !important;
    height: 22px !important;
    font-size: 12px !important;
    text-align: right !important;
    color: #fff !important;
    background-color: rgba(102,126,234,0.9) !important;
    background-image: url('../images/zttpsl.png') !important;
    background-repeat: no-repeat !important;
    background-position-x: 2px !important;
    background-position-y: 5.5px !important;
    background-size: 12px 10px !important;
    box-shadow: 0 2px 6px rgba(102,126,234,0.3) !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrtp .zttpsl .zttpsz {
    display: block !important;
    margin: 1px 2px 0 0 !important;
    padding-left: 14px !important;
}

.n5sq_ztlb .ztlb_nrys .style1 img {
    width: 30% !important;
    margin: 0 8px 0 10px !important;
    float: right !important;
}

.n5sq_ztlb .ztlb_nrys .style1 .ztyzjj h1 {
    line-height: 22px !important;
    padding-bottom: 6px !important;
}

.n5sq_ztlb .ztlb_nrys .style1 .ztyzjj h1 a {
    font-size: 15px !important;
    color: #2d3748 !important;
    font-weight: 600 !important;
}

.n5sq_ztlb .ztlb_nrys .style1 .ztyzjj p a {
    font-size: 13px !important;
    color: #718096 !important;
}

.n5sq_ztlb .ztlb_nrys .style2 img {
    width: 48.5% !important;
}

/* 底部数据栏美化 */
.n5sq_ztlb .ztlb_nrys .n5_htnrxx {
    display: -webkit-box !important;
    padding-top: 10px !important;
    border-top: 1px solid #f0f2f5 !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrxx .n5_htnrsj {
    -webkit-box-flex: 1 !important;
    height: 40px !important;
    line-height: 40px !important;
    width: 0 !important;
    text-align: center !important;
    position: relative !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrxx .n5_htnrsj a {
    color: #718096 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrxx .n5_htnrsj a:hover {
    color: #FFF !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrxx .n5_htnrsj:before {
    display: inline-block !important;
    content: "" !important;
    position: relative !important;
    top: -2px !important;
    width: 18px !important;
    height: 18px !important;
    background-repeat: no-repeat !important;
    background-size: 18px 18px !important;
    vertical-align: middle !important;
    margin-right: 4px !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrxx .n5_hthfcs:after,
.n5sq_ztlb .ztlb_nrys .n5_htnrxx .n5_htdzcs:after {
    content: "" !important;
    height: 16px !important;
    border-left: 1px solid #e2e8f0 !important;
    position: absolute !important;
    top: 12px !important;
    right: -2px !important;
    visibility: visible !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrxx .n5_hthfcs:before {
    background-image: url(../images/n5_hthfcs.png) !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrxx .n5_htdzcs:before {
    background-image: url(../images/n5_htdzcs.png) !important;
}

.n5sq_ztlb .ztlb_nrys .n5_htnrxx .n5_htsccs:before {
    background-image: url(../images/n5_htsccs.png) !important;
}

/* ========================================
   视频和音乐模块左右边距和3列布局
   ======================================== */
.n5jj_yymk {
    padding: 15px 10px 0 10px !important;
    width: auto !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.n5jj_yymk ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
}

.n5jj_yymk ul li {
    width: calc(33.33% - 6px) !important;
    margin: 0 0 15px 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.n5jj_yymk ul li .yymk_mkbg {
    width: 100% !important;
    box-sizing: border-box !important;
}

.n5jj_yymk ul li .yymk_mkwz {
    width: 100% !important;
    box-sizing: border-box !important;
}


