/* Homepage newsroom — balanced cards on a calm blue-gray canvas. */
.index .wx-news-room {
    position: relative;
    isolation: isolate;
    width: min(1320px, calc(100% - 48px));
    padding: 108px 0 112px;
}

.index .wx-news-room::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    height: auto;
    border: 0;
    border-radius: 0;
    background: #f3f7fd;
    box-shadow: none;
    transform: translateX(-50%);
}

.index .wx-news-room .wx-news-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
    grid-template-rows: auto auto;
    gap: 10px 64px;
    align-items: end;
    padding: 0 0 44px;
    text-align: left;
}

.index .wx-news-room .wx-news-head > span {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #2878f5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .22em;
}

.index .wx-news-room .wx-news-head > span::before {
    content: "";
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background: #ff9f2f;
}

.index .wx-news-room .wx-news-head h2 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    color: #16243d;
    font-size: clamp(36px, 3.25vw, 48px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.04em;
}

.index .wx-news-room .wx-news-head p {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 500px;
    margin: 0 0 5px;
    padding-left: 28px;
    border-left: 1px solid #d7e3f3;
    color: #74829a;
    font-size: 16px;
    line-height: 1.9;
}

.index .wx-news-room .function {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.index .wx-news-room .function > li,
.index .wx-news-room .function > li:first-child {
    position: relative;
    display: flex;
    grid-row: auto;
    width: auto;
    min-width: 0;
    min-height: 500px;
    flex-direction: column;
    margin: 0;
    padding: 38px 36px 34px;
    overflow: hidden;
    border: 1px solid #e0e9f5;
    border-radius: 20px;
    color: #26364f;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 46px rgba(35, 78, 143, .07);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.index .wx-news-room .function > li:hover {
    border-color: #c5d9f6;
    box-shadow: 0 24px 56px rgba(35, 86, 166, .11);
    transform: translateY(-5px);
}

.index .wx-news-room .function > li:first-child::before {
    content: none;
    display: none;
}

.index .wx-news-room .function > li::after {
    position: absolute;
    top: 40px;
    right: 36px;
    bottom: auto;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #c9d8ec;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .12em;
    pointer-events: none;
}

.index .wx-news-room .function > li:nth-child(1)::after { content: "01"; }
.index .wx-news-room .function > li:nth-child(2)::after { content: "02"; }
.index .wx-news-room .function > li:nth-child(3)::after { content: "03"; }

.index .wx-news-room .function li .name,
.index .wx-news-room .function > li:first-child .name {
    position: relative;
    z-index: 1;
    color: #17243c;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
}

.index .wx-news-room .function li .line,
.index .wx-news-room .function > li:first-child .line {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 3px;
    margin: 15px 0 24px;
    border-radius: 3px;
    background: linear-gradient(90deg, #2878f5, #85b9ff);
}

.index .wx-news-room .function li .item,
.index .wx-news-room .function > li:first-child .item {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid #e7edf6;
    color: #526179;
    font-size: 14px;
    line-height: 1.55;
    transition: border-color .2s ease, transform .2s ease;
}

.index .wx-news-room .function li .item:hover {
    border-color: #cadaf0;
    color: inherit;
    transform: translateX(4px);
}

.index .wx-news-room .function li .item span,
.index .wx-news-room .function > li:first-child .item span {
    flex: 0 0 auto;
    margin-right: 9px;
    padding: 4px 8px;
    border-radius: 6px;
    color: #2878f5;
    font-size: 12px;
    line-height: 1.25;
    background: #edf5ff;
}

.index .wx-news-room .function li .item a,
.index .wx-news-room .function > li:first-child .item a {
    min-width: 0;
    overflow: hidden;
    color: #526179;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.index .wx-news-room .function li .item:hover a { color: #1f65cf; }

.index .wx-news-room .function li > a:last-child {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 26px;
}

.index .wx-news-room .function li .more,
.index .wx-news-room .function > li:first-child .more {
    display: inline-flex;
    width: auto;
    min-width: 124px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid #bdd3f3;
    border-radius: 8px;
    color: #2878f5;
    font-size: 14px;
    line-height: 40px;
    background: #fff;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.index .wx-news-room .function li .more::after { content: "→"; font-size: 16px; }

.index .wx-news-room .function li .more:hover,
.index .wx-news-room .function > li:first-child .more:hover {
    border-color: #2878f5;
    color: #fff;
    background: #2878f5;
    transform: translateY(-2px);
}

.index .wx-news-room .function li .more .lines { display: none; }

@media (max-width: 1100px) {
    .index .wx-news-room .function { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .index .wx-news-room .function > li:last-child { grid-column: 1 / -1; min-height: 430px; }
}

@media (max-width: 820px) {
    .index .wx-news-room {
        width: calc(100% - 36px);
        padding: 84px 0 90px;
    }

    .index .wx-news-room .wx-news-head {
        grid-template-columns: 1fr;
        gap: 13px;
        padding-bottom: 34px;
    }

    .index .wx-news-room .wx-news-head > span,
    .index .wx-news-room .wx-news-head h2,
    .index .wx-news-room .wx-news-head p {
        grid-column: 1;
        grid-row: auto;
    }

    .index .wx-news-room .wx-news-head p {
        max-width: 680px;
        padding: 0;
        border-left: 0;
    }

    .index .wx-news-room .function { grid-template-columns: 1fr; }
    .index .wx-news-room .function > li:last-child { grid-column: auto; }
    .index .wx-news-room .function > li,
    .index .wx-news-room .function > li:first-child { min-height: 0; }
}

@media (max-width: 560px) {
    .index .wx-news-room { width: calc(100% - 28px); padding: 66px 0 72px; }
    .index .wx-news-room .wx-news-head h2 { font-size: 31px; }
    .index .wx-news-room .wx-news-head p { font-size: 15px; }
    .index .wx-news-room .function > li,
    .index .wx-news-room .function > li:first-child { padding: 30px 22px 26px; border-radius: 16px; }
    .index .wx-news-room .function > li::after { top: 32px; right: 22px; }
    .index .wx-news-room .function li .item a,
    .index .wx-news-room .function > li:first-child .item a { font-size: 14px; }
}
