@charset "utf-8";
/* FBW 新闻 — 对齐 AI 设计稿 page4（1440 画布）
 * 色块：389×250 r=10；行高 pitch=350 → 上下各 50；文图间距 ≈98
 */

/* 页标题：设计稿字号 48；标题底→首条色块顶 ≈154 */
body.fbw-news-list .fbw-page-title {
    margin: 18px 0 154px;
}

body.fbw-news-list .fbw-page-title h1 {
    font-size: 48px !important;
    line-height: 1 !important;
}

body.fbw-news-list .fbw-news-rows ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 标题下顶部分割线（设计稿 y≈298，stroke 2 / #e8e8e8） */
body.fbw-news-list .fbw-news-rows ul {
    border-top: 2px solid #e8e8e8;
}

body.fbw-news-list .fbw-news-rows li {
    border-bottom: 2px solid #e8e8e8;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
}

body.fbw-news-list .fbw-news-rows li > a {
    display: flex;
    gap: 98px; /* 文图间距：设计稿 ≈98.4 */
    padding: 50px 0; /* 分隔线至色块上下各 50 */
    align-items: stretch;
    box-sizing: border-box;
}

body.fbw-news-list .fbw-news-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 250px; /* 与缩略图等高，日期贴底 */
}

body.fbw-news-list .fbw-news-text h5 {
    margin: 0 0 52px !important; /* 标题区→摘要：设计稿约 52 */
    padding: 0 !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #232323 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

body.fbw-news-list .fbw-news-rows li:first-child .fbw-news-text h5 {
    color: #c9a227 !important;
}

body.fbw-news-list .fbw-news-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.77; /* 设计稿行距 ≈24.8/14 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

body.fbw-news-list .fbw-news-text time {
    margin-top: auto;
    padding-top: 24px;
    font-size: 14px;
    color: #999;
    line-height: 1.4;
}

body.fbw-news-list .fbw-news-thumb {
    width: 389px; /* 设计稿色块宽 */
    height: 250px; /* 设计稿色块高 */
    flex: none;
    align-self: flex-start;
    background: #eeeeee; /* 设计稿色块 fill */
    border-radius: 10px; /* 路径圆角精确 10 */
    overflow: hidden;
}

body.fbw-news-detail .fbw-article {
    max-width: 920px;
    margin: 28px auto 48px;
}

body.fbw-news-detail .fbw-article h1 {
    margin: 0 0 16px !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #232323 !important;
    line-height: 1.4 !important;
}

body.fbw-news-detail .fbw-article time {
    display: block;
    color: #999;
    font-size: 13px;
    margin-bottom: 28px;
}

body.fbw-news-detail .fbw-article-body {
    font-size: 15px;
    line-height: 1.85;
    color: #444;
}

body.fbw-news-detail .fbw-article-body img {
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    background: #ececec;
    border-radius: 10px;
}

/* 相关新闻：设计稿 page6 — 三列 389×250 / gutter16 / 标题20 */
body.fbw-news-detail .fbw-related-news {
    margin: 48px 0 72px;
}

body.fbw-news-detail .fbw-related-news-hd {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 0 17px;
}

body.fbw-news-detail .fbw-related-news-hd h3 {
    margin: 0 !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #232323 !important;
    line-height: 1 !important;
}

body.fbw-news-detail .fbw-related-news-hd a {
    color: #878787 !important;
    font-size: 16px !important;
    line-height: 1;
    text-decoration: none !important;
}

body.fbw-news-detail .fbw-related-news-hd a:hover {
    color: #c9a227 !important;
}

body.fbw-news-detail .fbw-related-news-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px; /* 设计稿 gutter ≈16 */
}

body.fbw-news-detail .fbw-related-news-grid li {
    margin: 0;
    padding: 0;
    float: none !important;
    width: auto !important;
    border: 0;
    min-width: 0;
}

body.fbw-news-detail .fbw-related-news-grid li > a {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

body.fbw-news-detail .fbw-related-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 389 / 250;
    background: #eeeeee !important;
    border-radius: 10px;
}

/* 设计稿色块为纯色，不显示通用色块 X */
body.fbw-news-detail .fbw-related-thumb:not(.has-img)::after {
    display: none;
}

body.fbw-news-detail .fbw-related-news-grid h5 {
    margin: 19px 0 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #232323 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 1200px) {
    body.fbw-news-list .fbw-page-title { margin-bottom: 80px; }
    body.fbw-news-list .fbw-page-title h1 { font-size: 36px !important; }
    body.fbw-news-list .fbw-news-rows li > a { gap: 40px; }
    body.fbw-news-list .fbw-news-thumb { width: 300px; height: 193px; }
    body.fbw-news-list .fbw-news-text { min-height: 193px; }
    body.fbw-news-list .fbw-news-text h5 { font-size: 22px !important; margin-bottom: 28px !important; }
    body.fbw-news-detail .fbw-related-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    body.fbw-news-list .fbw-page-title { margin: 12px 0 40px; }
    body.fbw-news-list .fbw-page-title h1 { font-size: 28px !important; }
    body.fbw-news-list .fbw-news-rows li > a {
        flex-direction: column;
        gap: 20px;
        padding: 28px 0;
    }
    body.fbw-news-list .fbw-news-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 389 / 250;
    }
    body.fbw-news-list .fbw-news-text { min-height: 0; }
    body.fbw-news-list .fbw-news-text h5 {
        font-size: 18px !important;
        margin-bottom: 16px !important;
    }
    body.fbw-news-detail .fbw-article h1 { font-size: 22px !important; }
    body.fbw-news-detail .fbw-related-news-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    body.fbw-news-detail .fbw-related-news-hd h3 {
        font-size: 22px !important;
    }
    body.fbw-news-detail .fbw-related-news-grid h5 {
        font-size: 16px !important;
    }
}
