/* ld-fcw.cn 前台统一为首页视觉（2026-11-09）
   宽度 1280、字体 PingFang SC、主色 #FF4B4B，覆盖 spa-center 子主题 */

:root {
    --primary-color: #FF4B4B;
    --primary-color-rgb: 255, 75, 75;
    --primary-font: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    --secondary-font: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

body,
button,
input,
select,
textarea {
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    color: #222;
}

body {
    background: #f5f6f8;
}

a {
    color: #222;
}

a:hover {
    color: #FF4B4B;
}

/* ---- 版面宽度与首页一致（首页 .con 为 1280px） ---- */
.container {
    max-width: 1280px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* ---- 顶部信息条 ---- */
.header-five .header-t {
    background: #111;
    border-bottom: none;
    padding: 8px 0;
}

.header-five .header-t .contact-block,
.header-five .header-t .contact-block a,
.header-five .header-t .contact-block .content,
.header-five .header-t .contact-block .title {
    color: #cfcfcf;
    font-size: 13px;
}

.header-five .header-t svg .clkb,
.header-five .header-t svg .phb,
.header-five .header-t svg .emb {
    fill: #FF4B4B;
}

/* ---- 主头部 ---- */
.header-five .header-main {
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    padding: 18px 0;
}

.header-five .header-main .site-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-five .header-main .site-title {
    display: none;
}

.header-five .header-main .custom-logo,
.header-five .header-main .custom-logo-link img {
    width: 150px;
    height: auto;
}

/* ---- 导航条：深色底、白字、红色悬停 ---- */
.header-five .nav-wrap {
    background: #111;
}

.header-five .nav-wrap .main-navigation,
.header-five .nav-wrap .nav-menu {
    background: transparent;
}

.header-five .nav-wrap .nav-menu > li > a {
    color: #fff;
    font-size: 15px;
    padding: 14px 18px;
    font-weight: 500;
}

.header-five .nav-wrap .nav-menu > li > a:hover,
.header-five .nav-wrap .nav-menu > li.current-menu-item > a,
.header-five .nav-wrap .nav-menu > li.current_page_item > a {
    color: #FF4B4B;
    background: transparent;
}

.header-five .nav-wrap .header-search svg .sea {
    fill: #fff;
}

/* ---- 页面标题区：浅底深字，保证对比度 ---- */
header.page-header {
    background: #f5f6f8 !important;
    background-image: none !important;
    padding-top: 40px;
    padding-bottom: 32px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ececec;
}

header.page-header::after {
    background: none !important;
}

.page-header .page-title {
    color: #111 !important;
    font-size: 30px;
    font-weight: 700;
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    margin-bottom: 12px;
}

.breadcrumb-wrapper,
.breadcrumb-wrapper a,
.breadcrumb-wrapper .current span,
.breadcrumb-wrapper .separator {
    color: #666 !important;
    font-size: 13px;
}

.breadcrumb-wrapper a:hover {
    color: #FF4B4B !important;
}

/* ---- 文章卡片：左图右文，等高齐平 ---- */
.list-layout .site-main article,
.site-main article {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    transition: box-shadow .25s ease, transform .25s ease;
}

.site-main article:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.site-main article .content-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.site-main article .content-wrap,
.site-main article .entry-header,
.site-main article .entry-content,
.site-main article .entry-footer {
    padding-left: 24px;
    padding-right: 24px;
}

.site-main article .entry-header {
    padding-top: 20px;
}

.site-main article .entry-content {
    padding-bottom: 8px;
    color: #555;
    font-size: 15px;
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 3.8em;
}

.site-main article .entry-footer {
    padding-bottom: 20px;
    margin-top: auto;
}

/* ---- 缩略图：列表卡片左侧等高，其他位置保持 16:9 ---- */
.post-thumbnail {
    border-radius: 0;
    background: #f2f2f2;
}

.post-thumbnail a {
    display: block;
}

.post-thumbnail img,
.post-thumbnail .svg-holder,
.post-thumbnail .fallback-svg {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* 列表卡片：图片占左栏 38%，高度随右侧内容拉伸 */
.site-main article .post-thumbnail {
    flex: 0 0 38%;
    max-width: 38%;
    margin: 0;
}

.site-main article .post-thumbnail a {
    display: block;
    height: 100%;
}

.site-main article .post-thumbnail img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.post-thumbnail .svg-holder {
    display: none;
}

.post-thumbnail .category {
    top: 12px;
    left: 12px;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

.post-thumbnail .category a {
    background: #FF4B4B;
    color: #fff;
    border-radius: 4px;
    padding: 4px 10px;
}

/* ---- 标题与元信息 ---- */
.entry-title {
    font-size: 17px;
    line-height: 1.55;
    font-weight: 700;
    margin-bottom: 8px;
}

.entry-title a {
    color: #161616;
}

.entry-title a:hover {
    color: #FF4B4B;
}

.entry-meta,
.entry-meta a,
.entry-meta span {
    color: #999;
    font-size: 13px;
}

/* ---- 阅读更多按钮 ---- */
a.btn-readmore,
a.btn-cta {
    display: inline-block;
    background: #FF4B4B;
    color: #fff !important;
    border-radius: 6px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    text-decoration: none;
    transition: background .2s ease;
}

a.btn-readmore:hover,
a.btn-cta:hover {
    background: #e63e3e;
    color: #fff !important;
}

/* ---- 侧栏 ---- */
.widget-area .widget,
#secondary .widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.widget .widget-title {
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    padding-left: 12px;
    position: relative;
}

.widget .widget-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 18px;
    background: #FF4B4B;
    border-radius: 2px;
}

.widget .widget-title::after {
    display: none;
}

.widget-area .widget ul li a {
    color: #444;
    font-size: 14px;
    line-height: 2;
}

.widget-area .widget ul li a:hover {
    color: #FF4B4B;
}

/* ---- 分页 ---- */
.pagination .page-numbers,
.navigation.pagination a {
    border-radius: 6px;
    border: 1px solid #e6e6e6;
    color: #333;
    min-width: 36px;
    text-align: center;
}

.pagination .page-numbers.current,
.navigation.pagination a:hover {
    background: #FF4B4B;
    border-color: #FF4B4B;
    color: #fff;
}

/* ---- 页脚：与首页同款深色 ---- */
.site-footer {
    background: #111;
    color: #cfcfcf;
    margin-top: 40px;
    padding-top: 40px;
}

.site-footer a {
    color: #cfcfcf;
}

.site-footer a:hover {
    color: #FF4B4B;
}

.site-footer .widget .widget-title,
.site-footer .widget-title {
    color: #fff;
}

.site-footer .widget .widget-title::before {
    background: #FF4B4B;
}

.site-footer .footer-b {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 18px 0;
    margin-top: 10px;
}

.site-footer .copyright,
.site-footer .copyright a {
    color: #9a9a9a;
    font-size: 13px;
}

/* ---- 移动端 ---- */
@media (max-width: 767px) {
    .header-five .nav-wrap .nav-menu > li > a {
        padding: 12px 14px;
        font-size: 14px;
    }

    .page-header .page-title {
        font-size: 24px;
    }

    .site-main article .content-wrap,
    .site-main article .entry-header,
    .site-main article .entry-content,
    .site-main article .entry-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}
