/* ============================================================
   Resources Hero 资源页眉 —— 与 resources.html 源码样式一致
   ============================================================ */

.qing-rs-hero {
    --blue: #1b3df5;
    --navy: #0b1a3a;
    font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

.qing-rs-hero *,
.qing-rs-hero *::before,
.qing-rs-hero *::after { box-sizing: border-box; }

.qing-rs-hero .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
}

.qing-rs-hero .rs-hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}

.qing-rs-hero .rs-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.qing-rs-hero .rs-hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 55%;
    background: linear-gradient(to right, var(--navy), transparent);
    z-index: 1;
}

.qing-rs-hero .rs-hero-inner {
    position: relative;
    z-index: 2;
    padding: 70px 0 48px;
}
.qing-rs-hero .rs-hero h1,
.qing-rs-hero .rs-hero h2,
.qing-rs-hero .rs-hero h3 {
    font-size: 50px;
    font-weight: 600;
    margin: 0 0 18px;
    line-height: 1.12;
    color: #fff;
}
.qing-rs-hero .rs-hero .desc {
    color: #b9c6e2;
    font-size: 15px;
    max-width: 440px;
    margin: 0 0 40px;
}

.qing-rs-hero .rs-hero .rs-sub {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    margin: 0 0 14px;
    max-width: 440px;
}
.qing-rs-hero .rs-feats {
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
}
.qing-rs-hero .rs-feat {
    display: flex;
    align-items: center;
    gap: 12px;
}
.qing-rs-hero .rs-feat-ico {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #9fb4e6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qing-rs-hero .rs-feat-ico svg { width: 20px; height: 20px; }
.qing-rs-hero .rs-feat-ico i { font-size: 18px; }

/* 关闭图标背景框 */
.qing-rs-hero.rs-feat-plain .rs-feat-ico {
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
}
.qing-rs-hero .rs-feat strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}
.qing-rs-hero .rs-feat span {
    font-size: 12px;
    color: #9fb0d4;
}

/* ---------- 响应式（与源码断点一致） ---------- */
@media (max-width: 820px) {
    .qing-rs-hero .rs-hero-bg { width: 100%; opacity: .3; }
    .qing-rs-hero .rs-hero-bg::before {
        width: 100%;
        background: linear-gradient(to right, var(--navy) 30%, rgba(11, 26, 58, .55));
    }
    .qing-rs-hero .rs-hero h1,
    .qing-rs-hero .rs-hero h2,
    .qing-rs-hero .rs-hero h3 { font-size: 36px; }
    .qing-rs-hero .rs-feats { gap: 24px; }
}

@media (max-width: 560px) {
    .qing-rs-hero .container { padding: 0 15px; }
    .qing-rs-hero .rs-hero-inner { padding: 48px 0 38px; }
    .qing-rs-hero .rs-hero h1,
    .qing-rs-hero .rs-hero h2,
    .qing-rs-hero .rs-hero h3 { font-size: 30px; }
    .qing-rs-hero .rs-feat { flex: 0 0 44%; }
}
