@charset "utf-8";
/* ============================================================
 * 首页「关注纬联弘的最新动态」区块（.sya_p4，仅中英首页使用）
 * 编辑部委版式：左对齐题头（英文眉题+主标题+细线，按钮右沉）、
 * 非对称双卡（最新一条更宽）、等高图带、日期索引柱分隔排版。
 * 独立 hn_ 命名空间，不依赖 main.css/media.css 的旧卡片规则；
 * 本文件在 media.css 之后加载，同特异性下可覆盖旧断点宽度。
 * ============================================================ */

/* ---- 区块色带：淡蓝灰收束带，衔接白色能力区与深色页脚 ---- */
.sya_p4 {
    background: #F5F8FD;
}

/* ---- 题头：左题右钮，底部分隔线 ---- */
.sya_p4 .hn_head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    padding-bottom: 36px;
    margin-bottom: 48px;
    border-bottom: 1px solid #E1E9F5;
}
.sya_p4 .hn_eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'PoppinsRegular', 'Microsoft Yahei', sans-serif;
    font-size: 13px;
    letter-spacing: 0.22em;
    color: #0066F5;
    margin: 0;
}
.sya_p4 .hn_eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    flex: none;
    background: linear-gradient(90deg, #0066F5 0%, #C8DFFF 100%);
}
.sya_p4 .hn_tit {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.3;
    color: #0B1B30;
    font-weight: bold;
    margin: 14px 0 14px;
}
.sya_p4 .hn_sub {
    font-size: 16px;
    line-height: 1.8;
    color: #57627A;
    max-width: 640px;
    margin: 0;
}

/* ---- 「了解全部」胶囊：描边蓝，悬停填充 ---- */
.sya_p4 .hn_all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 12px 26px;
    border: 1px solid rgba(0, 102, 245, 0.45);
    border-radius: 999px;
    color: #0066F5;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.sya_p4 .hn_all svg {
    transition: transform 0.3s ease;
}
.sya_p4 .hn_all:hover,
.sya_p4 .hn_all:focus-visible {
    color: #fff;
    background: #0066F5;
    border-color: #0066F5;
}
.sya_p4 .hn_all:hover svg {
    transform: translateX(3px);
}

/* ---- 卡片网格：最新一条更宽（1.35 : 1） ---- */
.sya_p4 .hn_grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    margin: 0; /* 覆盖 main.css 的 flex + 负边距 */
}

/* ---- 卡片：白底、细描边、软阴影；悬停上浮 ---- */
.sya_p4 .hn_card {
    display: flex;
    min-width: 0;
}
.sya_p4 .hn_card_link {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #E7EEF8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 27, 48, 0.06);
    transition: box-shadow 0.36s ease, transform 0.36s ease, border-color 0.36s ease;
}
.sya_p4 .hn_card:hover .hn_card_link,
.sya_p4 .hn_card:focus-within .hn_card_link {
    box-shadow: 0 18px 40px rgba(11, 27, 48, 0.12);
    transform: translateY(-4px);
    border-color: rgba(0, 102, 245, 0.28);
}

/* ---- 图区：双卡等高图带（非等宽），图上类别标签 ---- */
.sya_p4 .hn_media {
    position: relative;
    height: clamp(220px, 23vw, 300px);
    overflow: hidden;
    background: #E9EFF8;
}
.sya_p4 .hn_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.sya_p4 .hn_card:hover .hn_media img {
    transform: scale(1.03);
}
.sya_p4 .hn_tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #0066F5;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

/* ---- 文字区：日期索引柱 | 标题 | 箭头 ---- */
.sya_p4 .hn_body {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 26px 28px 28px;
}
.sya_p4 .hn_date {
    display: flex;
    flex-direction: column;
    flex: none;
    width: 78px;
    padding-right: 20px;
    margin-right: 24px;
    border-right: 1px solid #E1E9F5;
}
.sya_p4 .hn_date_day {
    font-family: 'PoppinsRegular', 'Microsoft Yahei', sans-serif;
    font-size: 32px;
    line-height: 1;
    color: #0B1B30;
}
.sya_p4 .hn_date_ym {
    font-family: 'PoppinsRegular', 'Microsoft Yahei', sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #8A94A6;
    margin-top: 7px;
}
.sya_p4 .hn_card_tit {
    flex: 1;
    min-width: 0;
    min-height: 66px; /* 双行行高，保证两卡箭头基线对齐 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.65;
    color: #1A2433;
    margin: 0;
    transition: color 0.3s ease;
}
.sya_p4 .hn_card:hover .hn_card_tit,
.sya_p4 .hn_card:focus-within .hn_card_tit {
    color: #0066F5;
}

/* ---- 圆形箭头：悬停填充主题蓝 ---- */
.sya_p4 .hn_arrow {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin-left: 24px;
    border: 1px solid #D8E2F0;
    border-radius: 50%;
    color: #0066F5;
    background: transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.sya_p4 .hn_card:hover .hn_arrow,
.sya_p4 .hn_card:focus-within .hn_arrow {
    background: #0066F5;
    border-color: #0066F5;
    color: #fff;
    transform: translateX(3px);
}

/* ---- 键盘可达 ---- */
.sya_p4 .hn_card_link:focus-visible,
.sya_p4 .hn_all:focus-visible {
    outline: 2px solid #0066F5;
    outline-offset: 3px;
}
.sya_p4 .hn_card_link:focus-visible {
    border-radius: 16px;
}

/* ---- 平板：回归等宽双栏 ---- */
@media screen and (max-width: 1024px) {
    .sya_p4 .hn_grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .sya_p4 .hn_media {
        height: clamp(180px, 26vw, 260px);
    }
    .sya_p4 .hn_body {
        padding: 20px 20px 22px;
    }
    .sya_p4 .hn_date {
        width: 68px;
        padding-right: 14px;
        margin-right: 16px;
    }
    .sya_p4 .hn_arrow {
        width: 40px;
        height: 40px;
        margin-left: 16px;
    }
}

/* ---- 移动端：题头纵排、卡片单列；覆盖 media.css 旧断点的窄宽度 ---- */
@media screen and (max-width: 820px) {
    .sya_p4 .sya_p4_btm {
        width: 100%;
    }
    .sya_p4 .hn_head {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-bottom: 26px;
        margin-bottom: 32px;
    }
    .sya_p4 .hn_sub {
        font-size: 14px;
    }
    .sya_p4 .hn_all {
        padding: 11px 22px;
        font-size: 14px;
    }
    .sya_p4 .hn_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sya_p4 .hn_media {
        height: 200px;
    }
    .sya_p4 .hn_body {
        padding: 18px 18px 20px;
    }
    .sya_p4 .hn_card_tit {
        min-height: 0;
        font-size: 16px;
    }
    .sya_p4 .hn_date {
        width: 60px;
        padding-right: 12px;
        margin-right: 14px;
    }
    .sya_p4 .hn_date_day {
        font-size: 26px;
    }
    .sya_p4 .hn_arrow {
        width: 38px;
        height: 38px;
        margin-left: 12px;
    }
}

/* ---- 动画弱化偏好：仅保留颜色过渡 ---- */
@media (prefers-reduced-motion: reduce) {
    .sya_p4 .hn_card_link,
    .sya_p4 .hn_media img,
    .sya_p4 .hn_arrow,
    .sya_p4 .hn_all,
    .sya_p4 .hn_all svg,
    .sya_p4 .hn_card_tit {
        transition: none;
    }
    .sya_p4 .hn_card:hover .hn_card_link,
    .sya_p4 .hn_card:hover .hn_media img,
    .sya_p4 .hn_card:hover .hn_arrow,
    .sya_p4 .hn_all:hover svg {
        transform: none;
    }
}
