/* 资讯详情页（旧站 /article/article_xxx.html 版式）
   左主栏 890 + 右栏 290，间距 20，容器 1200 居中 */

body.article-page { background: #f5f5f5; }

.ad-wrap {
    width: 1200px;
    max-width: calc(100% - 24px);
    margin: 0 auto;
    padding: 10px 0 40px;
}

.ad-sitemap {
    font-size: 12px;
    color: #999;
    padding: 12px 0 10px;
}

.ad-sitemap a { color: #999; }
.ad-sitemap a:hover { color: #f78115; }
.ad-sitemap em { color: #ccc; font-style: normal; margin: 0 4px; }
.ad-sitemap span { color: #666; }

.ad-box {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ad-card,
.ad-col-l,
.ad-col-r { box-sizing: border-box; }

.ad-col-l { flex: 1 1 auto; min-width: 0; }
.ad-col-r { flex: 0 0 290px; width: 290px; }

.ad-card {
    background: #fff;
    padding: 18px 20px;
    margin-bottom: 16px;
}

/* ---------- 标题与元信息 ---------- */
.ad-main { padding: 30px 40px 24px; }

.ad-tit {
    font-size: 26px;
    line-height: 1.5;
    color: #222;
    font-weight: 700;
    text-align: center;
    margin: 0 0 14px;
}

.ad-info {
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 24px;
    margin-bottom: 18px;
}

.ad-info > span { margin: 0 9px; white-space: nowrap; }
.ad-info em { font-style: normal; color: #666; }
.ad-info font { color: #666; }

.ad-tag {
    display: inline-block;
    background: #ff8a00;
    color: #fff !important;
    font-size: 12px;
    line-height: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 2px;
    vertical-align: 1px;
}

/* ---------- 正文 ---------- */
.ad-txt {
    font-size: 16px;
    line-height: 2;
    color: #333;
    max-height: 1000px;
    overflow: hidden;
    word-break: break-word;
}

.ad-txt p { margin: 0 0 14px; }
.ad-txt img { max-width: 100% !important; height: auto !important; display: block; margin: 10px auto; }
.ad-txt section { max-width: 100%; }
.ad-txt table { max-width: 100%; }

.ad-fold { text-align: center; padding: 8px 0 0; }

#adMore {
    display: inline-block;
    min-width: 190px;
    height: 34px;
    line-height: 32px;
    padding: 0 22px;
    border: 1px solid #2eb872;
    border-radius: 17px;
    background: #fff;
    color: #2eb872;
    font-size: 14px;
    cursor: pointer;
    outline: 0;
}

#adMore:hover { background: #f2fbf7; }

/* ---------- 赞 ---------- */
.ad-zan {
    text-align: center;
    padding: 26px 0 18px;
    font-size: 12px;
    color: #999;
}

.ad-zan .btn {
    display: block;
    width: 58px;
    height: 58px;
    line-height: 58px;
    margin: 0 auto 8px;
    background: #f5432a;
    color: #fff;
    font-size: 16px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
}

.ad-zan .btn.on { background: #d9381f; }
.ad-zan span#adZanNum { color: #666; }

/* ---------- 二手房广告位 ---------- */
.ad-house {
    position: relative;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    margin-top: 6px;
}

.ad-house-tag {
    position: absolute;
    left: 0;
    top: 16px;
    background: #ff6f3a;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    padding: 0 8px;
}

.ad-house ul { display: flex; gap: 14px; margin-top: 10px; }

.ad-house li { flex: 1; }

.ad-house a {
    display: block;
    border: 1px solid #f0f0f0;
    background: #fafafa;
    text-decoration: none;
}

.ad-house .pic { height: 78px; background: #f3f3f3; text-align: center; }
.ad-house .pic img { height: 78px; width: auto; opacity: .55; }
.ad-house .nm { font-size: 13px; color: #333; padding: 6px 8px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ad-house .bot { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 8px 8px; }
.ad-house .bot .a { color: #999; }
.ad-house .bot .b { color: #f5432a; }

/* ---------- 版权声明 ---------- */
.ad-claim {
    color: #f00;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    padding: 10px 0 16px;
}

/* ---------- 上一条 / 下一条 ---------- */
.ad-prev { border-top: 1px solid #f0f0f0; }

.ad-prev li {
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    font-size: 14px;
    line-height: 44px;
    padding: 0 14px;
}

.ad-prev li.last { border-bottom: 0; }
.ad-prev .con { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ad-prev em { font-style: normal; color: #999; }
.ad-prev a { color: #333; }
.ad-prev a:hover { color: #f78115; }

/* ---------- 评论 ---------- */
.ad-cmt { padding: 0 0 30px; }

.ad-cmt-hd {
    padding: 16px 18px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #333;
}

.ad-cmt-hd h3 { margin: 0; font-size: 15px; font-weight: 700; color: #333; }
.ad-cmt-hd i { display: inline-block; width: 3px; height: 15px; background: #2eb872; margin-right: 8px; vertical-align: -3px; }

.ad-write { padding: 18px; }

.ad-cmt-txt {
    min-height: 96px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    outline: 0;
}

.ad-cmt-ctl {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #999;
    padding-top: 10px;
}

.ad-emot { color: #999; cursor: default; }

.ad-tip { margin-left: auto; }
.ad-tip #adCmtCnt { color: #bbb; }

.ad-sub {
    margin-left: 12px;
    min-width: 78px;
    height: 32px;
    line-height: 32px;
    border: 0;
    border-radius: 3px;
    background: #2eb872;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.ad-sub:disabled { background: #ccc; cursor: default; }

.ad-empty {
    text-align: center;
    font-size: 18px;
    color: #999;
    padding: 90px 0 100px;
}

/* ---------- 右栏 ---------- */
.ad-col-r .ad-card { padding: 14px 16px; }

.ad-r-hd {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.ad-r-hd h3 { margin: 0; font-size: 16px; font-weight: 700; color: #333; }
.ad-r-hd .ad-act { margin-left: auto; font-size: 12px; color: #2eb872; }
.ad-r-hd .ad-tabs { margin-left: auto; display: flex; gap: 10px; }
.ad-r-hd .ad-tabs a { font-size: 12px; color: #999; padding: 0 2px; border-bottom: 1px solid transparent; }
.ad-r-hd .ad-tabs a.on { color: #2eb872; border-bottom-color: #2eb872; }

/* 板块导航：两列，首项占满 */
.ad-nav-list { display: flex; flex-wrap: wrap; }

.ad-nav-list li {
    width: 50%;
    box-sizing: border-box;
}

.ad-nav-list li.full { width: 100%; }

.ad-nav-list a {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
    line-height: 32px;
    text-decoration: none;
}

.ad-nav-list a:hover { color: #f78115; }

.ad-nav-list em {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: no-repeat 50% 50%;
    background-size: 18px 18px;
    flex: 0 0 auto;
}

/* 排行列表 */
.ad-rank li {
    font-size: 13px;
    line-height: 22px;
    padding: 5px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ad-rank a { display: block; color: #555; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ad-rank a:hover { color: #f78115; }

.ad-rank em {
    display: inline-block;
    width: 16px;
    margin-right: 6px;
    font-style: normal;
    color: #bbb;
}

.ad-rank em.orange { color: #ff6f3a; }
.ad-rank li.none { color: #bbb; }

.ad-none-li { font-size: 13px; color: #bbb; padding: 6px 0 12px; }

.ad-more {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #999;
    background: #fafafa;
    line-height: 32px;
    margin-top: 6px;
}

.ad-more:hover { color: #f78115; }

/* 新帖 */
.ad-posts li { padding: 8px 0; border-bottom: 1px dashed #f0f0f0; }
.ad-posts li:last-child { border-bottom: 0; }

.ad-posts a { display: flex; gap: 10px; text-decoration: none; }

.ad-posts .face {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #e8f7f0;
    color: #2eb872;
    font-size: 14px;
    line-height: 34px;
    text-align: center;
}

.ad-posts .bd { min-width: 0; }

.ad-posts .top { display: flex; align-items: center; gap: 6px; }

.ad-posts .top em {
    font-style: normal;
    font-size: 12px;
    color: #f78115;
    max-width: 90px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ad-posts .board {
    font-size: 12px;
    color: #b9860b;
    background: #fff7e0;
    padding: 1px 6px;
}

.ad-posts .tt {
    font-size: 13px;
    color: #333;
    line-height: 22px;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-posts .tm { font-size: 12px; color: #bbb; margin-top: 3px; }
