/* 首页“技术洞察与最新资讯”双栏卡片网格系统 */
.ff-news-section {
    background: #f8fafc;
    border-top: 1px solid var(--ff-line);
    border-bottom: 1px solid var(--ff-line);
    padding: 72px 0 80px;
    scroll-margin-top: 90px;
}
.ff-news-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
}
.ff-news-heading-copy h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    color: var(--ff-navy);
    margin: 8px 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.ff-news-heading-copy span {
    color: var(--ff-muted);
    font-size: 15px;
}
.ff-news-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ff-blue);
    padding: 10px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    transition: all .2s ease;
}
.ff-news-more-btn:hover {
    color: #fff;
    background: var(--ff-blue);
    border-color: var(--ff-blue);
    transform: translateY(-1px);
}
.ff-news-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
}
/* 左侧头条大卡片 */
.ff-news-featured {
    background: #fff;
    border: 1px solid var(--ff-line);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(11, 33, 72, 0.04);
    transition: transform .25s ease, box-shadow .25s ease;
    text-decoration: none;
    color: inherit;
}
.ff-news-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(11, 33, 72, 0.1);
}
.ff-news-featured-img {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--ff-navy);
}
.ff-news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.ff-news-featured:hover .ff-news-featured-img img {
    transform: scale(1.04);
}
.ff-news-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--ff-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    z-index: 2;
}
.ff-news-featured-body {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ff-news-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--ff-muted);
    margin-bottom: 12px;
}
.ff-news-meta span.date {
    color: #8da2ba;
}
.ff-news-meta span.cat {
    color: var(--ff-blue);
    font-weight: 700;
}
.ff-news-featured-body h3 {
    font-size: 20px;
    line-height: 1.45;
    color: var(--ff-navy);
    margin: 0 0 14px;
    font-weight: 800;
}
.ff-news-featured:hover h3 {
    color: var(--ff-blue);
}
.ff-news-featured-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #4b586e;
    margin: 0 0 20px;
    flex-grow: 1;
}
.ff-news-readmore {
    font-size: 13px;
    font-weight: 800;
    color: var(--ff-red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 右侧列表卡片 */
.ff-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ff-news-item {
    background: #fff;
    border: 1px solid var(--ff-line);
    border-radius: 6px;
    padding: 16px;
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(11, 33, 72, 0.03);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    text-decoration: none;
    color: inherit;
}
.ff-news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 33, 72, 0.08);
    border-color: #cbd5e1;
}
.ff-news-item-thumb {
    width: 140px;
    height: 94px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--ff-navy);
    flex-shrink: 0;
}
.ff-news-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
    display: block;
}
.ff-news-item:hover .ff-news-item-thumb img {
    transform: scale(1.05);
}
.ff-news-item-content {
    min-width: 0;
}
.ff-news-item-meta {
    font-size: 11px;
    color: #8da2ba;
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
}
.ff-news-item-meta b {
    color: var(--ff-blue);
    font-weight: 700;
}
.ff-news-item h4 {
    font-size: 15px;
    line-height: 1.45;
    color: var(--ff-ink);
    margin: 0 0 6px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ff-news-item:hover h4 {
    color: var(--ff-blue);
}
.ff-news-item p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--ff-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式断点 */
@media (max-width: 980px) {
    .ff-news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .ff-news-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}
@media (max-width: 640px) {
    .ff-news-section {
        padding: 48px 0 56px;
        scroll-margin-top: 70px;
    }
    .ff-news-heading {
        margin-bottom: 24px;
    }
    .ff-news-heading-copy h2 {
        font-size: 24px;
    }
    .ff-news-heading-copy span {
        font-size: 13px;
        line-height: 1.6;
        display: block;
    }
    .ff-news-more-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .ff-news-featured-img {
        height: 200px;
    }
    .ff-news-featured-body {
        padding: 18px 16px;
    }
    .ff-news-featured-body h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }
    .ff-news-featured-body p {
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 14px;
    }
    .ff-news-item {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }
    .ff-news-item-thumb {
        width: 105px;
        height: 74px;
    }
    .ff-news-item h4 {
        font-size: 14px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .ff-news-item p {
        display: none; /* 移动端精简摘录保持卡片紧凑无溢出 */
    }
    .ff-news-list {
        padding-bottom: 20px;
    }
}
