:root {
    --ink: #102033;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.1);
    --panel: rgba(255, 255, 255, 0.92);
    --brand: #0f4c81;
    --brand-2: #0ea5a0;
    --gold: #f59e0b;
    --bg: #edf4f7;
    --shadow: 0 24px 70px rgba(15, 31, 51, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
    background:
        radial-gradient(circle at 8% 6%, rgba(14, 165, 160, 0.18), transparent 28%),
        radial-gradient(circle at 85% 0%, rgba(245, 158, 11, 0.16), transparent 24%),
        linear-gradient(135deg, #eef7f8 0%, #f7faf7 48%, #eef3fb 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(15, 76, 129, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 76, 129, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}

a {
    color: var(--brand);
}

.page-shell {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 20px;
}

.top_region {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(245, 250, 251, 0.86);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 40px rgba(15, 31, 51, 0.08);
}

.top_region .container-fluid {
    max-width: 1560px;
    min-height: 76px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand img {
    width: 42px;
    height: 42px;
    border: 2px solid rgba(15, 76, 129, 0.12);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(15, 76, 129, 0.16);
    object-fit: cover;
}

.top_title_left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.top_title_mid {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 10px !important;
    padding: 10px 14px;
    border-radius: 999px;
    color: #27435f !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.22s ease;
}

.top_title_mid:hover,
.top_title_mid.activated {
    color: #fff !important;
    background: linear-gradient(135deg, var(--brand), #0e7490) !important;
    box-shadow: 0 12px 26px rgba(15, 76, 129, 0.22);
}

.top_title_right {
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.top_area_font,
.dropdown-item {
    color: var(--ink) !important;
    font-weight: 800;
}

.top_area_font {
    padding: 9px 14px !important;
    border: 1px solid rgba(15, 76, 129, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
}

.top_area_font:hover {
    border-color: rgba(14, 165, 160, 0.4);
    text-decoration: none;
}

.top_title_vip img,
.top_title_vip_default img,
.content_vip_logo {
    width: 64px !important;
    height: auto !important;
    margin: 0 8px 0 0 !important;
}

.user-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 12px 26px rgba(15, 76, 129, 0.24);
}

.site-main {
    max-width: 1560px;
    margin: 0 auto;
    padding: 34px 18px 70px;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 20px 28px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 22px;
    background:
        linear-gradient(120deg, rgba(15, 76, 129, 0.95), rgba(13, 116, 130, 0.9)),
        url("../img/bakground/top_region_bak.png") center/cover;
    box-shadow: var(--shadow);
    color: #fff;
}

.hero-panel::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.48), transparent 66%);
}

.compact-resource-hero {
    min-height: 128px;
    gap: 24px;
    padding: 20px 28px;
    border-radius: 22px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(15, 76, 129, 0.95), rgba(13, 116, 130, 0.9)),
        url("../img/bakground/top_region_bak.png") center/cover;
    box-shadow: var(--shadow);
}

.compact-resource-hero::after {
    right: -120px;
    bottom: -120px;
    top: auto;
    width: 330px;
    height: 330px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.48), transparent 66%);
    border: 0;
    border-radius: 50%;
    transform: none;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.hero-title {
    max-width: 680px;
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.compact-resource-hero .hero-title {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.18;
}

.hero-copy {
    max-width: 650px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.7;
}

.compact-resource-hero .hero-copy {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.hero-search,
.hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none !important;
}

.hero-search {
    min-width: 178px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.compact-resource-hero .hero-search {
    min-width: 178px;
    min-height: 42px;
    padding: 0 16px;
    color: var(--ink);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
    font-size: inherit;
}

.hero-link {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.13);
}

.hero-link:hover {
    color: #fff;
}

.resource-layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.category-panel,
.resource-panel,
.article-card,
.download-card,
.vip-card {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: var(--panel);
    box-shadow: 0 18px 48px rgba(15, 31, 51, 0.09);
    backdrop-filter: blur(14px);
}

.category-panel,
.resource-panel {
    border-radius: 26px;
}

.category-panel {
    position: sticky;
    top: 96px;
    padding: 14px;
}

.panel-label {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.category-list {
    display: grid;
    gap: 7px;
}

.kind-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    min-height: 38px;
    padding: 9px 11px !important;
    border: 1px solid var(--line) !important;
    border-radius: 13px !important;
    color: #25415c !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.76) !important;
    transition: all 0.22s ease;
}

.kind-btn::after {
    content: "→";
    opacity: 0.45;
}

.kind-btn:hover,
.kind-btn.active {
    color: #fff !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
    transform: translateX(3px);
    box-shadow: 0 14px 32px rgba(15, 76, 129, 0.2);
}

.resource-panel {
    min-height: 460px;
    padding: 18px;
}

.resource-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.resource-panel-title {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.resource-panel-note {
    color: var(--muted);
    font-size: 13px;
}

#content-area {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.resource-card {
    display: flex;
    flex-direction: column;
    min-height: 242px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--ink);
    text-decoration: none !important;
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.75));
    transition: all 0.22s ease;
}

.resource-card:hover {
    color: var(--ink);
    transform: translateY(-3px);
    border-color: rgba(14, 165, 160, 0.28);
    box-shadow: 0 18px 38px rgba(15, 31, 51, 0.12);
}

.resource-card:hover .resource-thumb img {
    transform: scale(1.05);
}

.resource-thumb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 128px;
    max-height: 128px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(15, 76, 129, 0.12), rgba(14, 165, 160, 0.12)),
        #eef5f8;
}

.resource-thumb img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    transition: transform 0.32s ease;
}

.resource-thumb-empty {
    flex-direction: column;
    gap: 8px;
    color: #688199;
    font-size: 12px;
    font-weight: 900;
}

.resource-thumb-empty i {
    font-size: 28px;
    color: rgba(15, 76, 129, 0.56);
}

.resource-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px 4px 2px;
}

.resource-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 950;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    color: var(--muted);
    font-size: 11px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid rgba(15, 76, 129, 0.1);
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.05);
    font-weight: 800;
}

.vip-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.vip-badge-free {
    background: linear-gradient(135deg, #64748b, #94a3b8);
}

.vip-badge-mid {
    background: linear-gradient(135deg, #0ea5a0, #0f766e);
}

.vip-badge-high {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.empty-state,
.end-line {
    grid-column: 1 / -1;
    padding: 22px;
    border: 1px dashed rgba(15, 76, 129, 0.22);
    border-radius: 18px;
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.58);
}

.search-page {
    max-width: 1360px;
    margin: 0 auto;
}

.search-toolbar {
    max-width: 1040px;
    margin: 46px auto 22px;
}

.search-box {
    display: flex;
    align-items: center;
    height: 46px;
    overflow: hidden;
    border: 1px solid rgba(15, 76, 129, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(15, 31, 51, 0.08);
}

.search-box-icon {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #51677e;
    background: rgba(15, 76, 129, 0.05);
}

.search-box-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 14px;
    border: 0;
    outline: none;
    color: var(--ink);
    background: transparent;
    font-size: 15px;
}

.search-box-button {
    align-self: stretch;
    min-width: 82px;
    border: 0;
    color: #fff;
    background: #202936;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-box-button:hover {
    background: #0f4c81;
}

.search-filterbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.search-filter-label {
    color: #20334a;
    font-size: 14px;
    font-weight: 900;
}

.search-level-btn {
    min-width: 82px;
    height: 34px;
    border: 1px solid rgba(15, 76, 129, 0.28);
    border-radius: 11px;
    color: #42576e;
    background: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    transition: all 0.18s ease;
}

.search-level-btn:hover,
.search-level-btn.active {
    color: #fff;
    border-color: #5b6470;
    background: #5b6470;
    box-shadow: 0 10px 22px rgba(52, 64, 84, 0.18);
}

.search-result-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 10px 0 14px;
}

.search-result-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
}

.search-result-head > span {
    color: var(--muted);
    font-size: 13px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 14px;
}

.search-result-card {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    color: var(--ink);
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(15, 31, 51, 0.055);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-result-card:hover {
    color: var(--ink);
    border-color: rgba(14, 165, 160, 0.34);
    box-shadow: 0 16px 34px rgba(15, 31, 51, 0.1);
    transform: translateY(-2px);
}

.search-result-card:hover .search-result-cover img {
    transform: scale(1.04);
}

.search-result-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 118px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.1), rgba(14, 165, 160, 0.1));
}

.search-result-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.26s ease;
}

.search-result-cover-empty {
    color: rgba(15, 76, 129, 0.52);
    font-size: 30px;
}

.search-result-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px 2px 0;
}

.search-result-body h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    margin: 0;
    color: #102033;
    font-size: 14.5px;
    font-weight: 950;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-result-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.search-result-meta span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}

.search-level-badge {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    line-height: 1.2;
}

.search-level-badge-normal {
    background: #0ea5a0;
}

.search-level-badge-high {
    background: #f59e0b;
}

.detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.article-card {
    border-radius: 28px;
    padding: 30px;
}

.detail-shell .article-card .article-title {
    margin: 0 0 16px;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 950;
    letter-spacing: -0.015em;
    line-height: 1.28;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.detail-shell .article-meta .vip-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    text-align: center;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.detail-shell .article-meta .vip-badge-high {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.content-html {
    color: #1f2937;
    font-size: 16px;
    line-height: 1.9;
}

.content-html img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(15, 31, 51, 0.12);
}

.download-card {
    position: sticky;
    top: 96px;
    border-radius: 26px;
    padding: 22px;
}

.download-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 950;
}

.download-card p {
    color: var(--muted);
}

.download-action {
    width: 100%;
    margin-top: 10px;
    padding: 13px 16px;
    border: 0;
    border-radius: 16px;
    font-weight: 950;
}

.download-action.vip {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.download-action.points {
    color: #422006;
    background: linear-gradient(135deg, #fef3c7, #f59e0b);
}

.login-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(15, 76, 129, 0.06);
}

.vip-hero {
    position: relative;
    margin-bottom: 20px;
    padding: 30px 34px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #0f4c81 52%, #0ea5a0);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.vip-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.55), transparent 62%);
}

.vip-hero h1 {
    position: relative;
    margin: 0;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.vip-hero p {
    position: relative;
    max-width: 680px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.8;
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.vip-card {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    padding: 26px;
    border-radius: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(15, 31, 51, 0.16);
}

.vip-card.featured {
    border-color: rgba(245, 158, 11, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(255, 255, 255, 0.9));
}

.vip-card-plan {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.vip-card.featured .vip-card-plan {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.vip-price {
    margin: 22px 0 6px;
    color: var(--ink);
    font-size: 42px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.vip-price small {
    color: var(--muted);
    font-size: 15px;
    font-weight: 800;
}

.time_class {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(15, 76, 129, 0.06);
    font-size: 13px;
    font-weight: 800;
}

.vip-features {
    min-height: 128px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.vip-features li {
    display: flex;
    gap: 8px;
    padding: 7px 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

.vip-features li::before {
    content: "✓";
    flex: 0 0 auto;
    color: var(--brand-2);
    font-weight: 950;
}

.vip-btn {
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 16px;
    font-weight: 950;
}

.btn-primary.vip-btn,
.btn-success.vip-btn,
.btn-warning.vip-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.btn-warning.vip-btn {
    color: #422006;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.modal-content {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(15, 31, 51, 0.24);
}

.modal-header,
.modal-footer {
    border-color: rgba(15, 76, 129, 0.08);
}

.vip-service-box {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin: 16px 20px 4px;
    padding: 18px;
    border: 1px solid rgba(15, 76, 129, 0.1);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.07), rgba(14, 165, 160, 0.06));
}

.vip-service-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 31, 51, 0.1);
}

.vip-service-qr img {
    width: 208px;
    height: 208px;
    border-radius: 16px;
    object-fit: cover;
}

.vip-service-copy strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 950;
}

.vip-service-copy span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.7;
}

.form-control {
    border-radius: 14px;
}

@media (max-width: 992px) {
    .top_region .container-fluid,
    .top_title_right,
    .top_region .d-flex.flex-grow-1 {
        flex-wrap: wrap;
        justify-content: center !important;
    }

    .resource-layout,
    .detail-shell,
    .vip-grid {
        grid-template-columns: 1fr;
    }

    .vip-service-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #content-area {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .search-toolbar {
        margin-top: 24px;
    }

    .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .hero-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .compact-resource-hero {
        align-items: center;
        flex-direction: row;
    }

    .category-panel,
    .download-card {
        position: static;
    }

    .hero-panel,
    .vip-hero {
        padding: 28px;
    }
}

@media (min-width: 993px) and (max-width: 1280px) {
    #content-area {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .site-main {
        padding: 22px 14px 50px;
    }

    .top_title_mid {
        margin: 4px !important;
        padding: 8px 10px;
    }

    .hero-actions {
        display: grid;
    }

    .compact-resource-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .article-card,
    .download-card,
    .resource-panel,
    .category-panel,
    .vip-card {
        border-radius: 20px;
    }
}

.search-focused-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin-bottom: 16px;
    padding: 16px 22px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 22px;
    background:
        linear-gradient(120deg, rgba(15, 76, 129, 0.96), rgba(14, 116, 144, 0.9) 54%, rgba(102, 128, 87, 0.88)),
        url("../img/bakground/top_region_bak.png") center/cover;
    box-shadow: 0 18px 46px rgba(15, 76, 129, 0.18);
}

.search-focused-hero::after {
    display: none;
}

.resource-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 920px;
    height: 54px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(7, 31, 54, 0.2);
}

.resource-search-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    height: 44px;
    color: #0f4c81;
    font-size: 18px;
}

.resource-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 14px 0 0;
    border: 0;
    outline: none;
    color: #1f2937;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
}

.resource-search-input::placeholder {
    color: #717b8c;
    font-weight: 500;
}

.resource-search-button {
    display: inline-flex;
    flex: 0 0 108px;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #1488f5, #086bd8);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(8, 107, 216, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.resource-search-button:hover {
    background: linear-gradient(135deg, #2f9bff, #075ec0);
    box-shadow: 0 14px 28px rgba(8, 107, 216, 0.36);
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .search-focused-hero {
        padding: 14px 16px;
    }
}

@media (max-width: 576px) {
    .search-focused-hero {
        padding: 10px;
        border-radius: 18px;
    }

    .resource-search-form {
        height: 46px;
        padding: 4px;
    }

    .resource-search-icon {
        flex-basis: 34px;
        height: 38px;
        font-size: 15px;
    }

    .resource-search-input {
        padding-right: 8px;
        font-size: 12px;
    }

    .resource-search-button {
        flex-basis: 68px;
        height: 38px;
        font-size: 13px;
    }

    .search-box {
        height: 42px;
    }

    .search-box-icon {
        flex-basis: 40px;
    }

    .search-box-input {
        padding: 0 10px;
        font-size: 13px;
    }

    .search-box-button {
        min-width: 62px;
        font-size: 13px;
    }

    .search-result-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }
}
