:root {
    --ink: #171a18;
    --ink-soft: #313834;
    --muted: #69736d;
    --line: #d8ded9;
    --line-strong: #aeb8b1;
    --canvas: #f3f6f4;
    --paper: #ffffff;
    --red: #c63d32;
    --red-dark: #9f2d25;
    --red-soft: #f8e9e7;
    --teal: #087b72;
    --teal-soft: #e3f2ef;
    --blue: #376da5;
    --blue-soft: #e8f0f8;
    --gold: #a97816;
    --gold-soft: #f8f0dc;
    --shadow: 0 12px 32px rgba(28, 40, 33, 0.09);
    --max: 1200px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.72;
    letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; letter-spacing: 0; }
button { color: inherit; }
.icon { display: inline-block; flex: 0 0 auto; vertical-align: -0.18em; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 9px 14px; color: white; background: var(--ink); }
.skip-link:focus { top: 12px; }
.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--ink);
    background: rgba(255, 255, 255, 0.98);
}
.header-inner {
    width: min(var(--max), calc(100% - 48px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--red);
    border-radius: 2px;
    box-shadow: 4px 4px 0 var(--ink);
}
.brand strong { display: block; font-family: "Songti SC", "SimSun", serif; font-size: 20px; line-height: 1.15; }
.brand small { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; }
.main-nav { display: flex; align-self: stretch; align-items: center; gap: 2px; }
.main-nav a { position: relative; padding: 23px 12px 20px; color: var(--ink-soft); font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 4px; background: transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a.active::after { background: var(--red); }
.header-search {
    width: 238px;
    height: 40px;
    margin-left: auto;
    display: flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    background: var(--canvas);
    border-radius: 2px;
}
.header-search:focus-within { border-color: var(--ink); background: white; box-shadow: 3px 3px 0 var(--red-soft); }
.header-search input { width: 100%; min-width: 0; padding: 7px 4px 7px 12px; border: 0; outline: 0; background: transparent; }
.header-search button { width: 40px; height: 38px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--ink); background: white; border-radius: 2px; place-items: center; }
.menu-close { display: none; }
.menu-button[aria-expanded="true"] .menu-open { display: none; }
.menu-button[aria-expanded="true"] .menu-close { display: inline; }

.button {
    min-height: 44px;
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-weight: 800;
    cursor: pointer;
}
.button.primary { color: white; background: var(--red); border-color: var(--red); }
.button.primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button.secondary { border-color: var(--ink); background: white; }
.button.secondary:hover { color: white; background: var(--ink); }
.button.light { color: var(--ink); border-color: var(--ink); background: white; }
.button.wide { width: 100%; }
.button.disabled { color: #858d88; border-color: var(--line); background: #edf0ee; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 800; border-bottom: 1px solid currentColor; }

.finder-band {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--ink);
    background-color: #edf3f0;
    box-shadow: inset 0 -8px 0 rgba(8, 123, 114, 0.08);
}
.finder-band::after {
    content: attr(data-resource-count);
    position: absolute;
    right: max(24px, calc((100vw - var(--max)) / 2));
    bottom: -55px;
    color: rgba(23, 26, 24, 0.06);
    font-family: Georgia, serif;
    font-size: 220px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}
.finder-inner {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 48px));
    min-height: 350px;
    margin: 0 auto;
    padding: 58px 0 50px;
    text-align: left;
}
.eyebrow, .section-label { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: 0; }
.eyebrow { display: inline-block; padding: 2px 8px; color: white; background: var(--red); }
.finder-inner h1 {
    margin: 16px 0 7px;
    font-family: "Songti SC", "SimSun", serif;
    font-size: 50px;
    line-height: 1.12;
    font-weight: 900;
}
.finder-inner > p { max-width: 690px; margin: 0 0 25px; color: var(--ink-soft); font-size: 16px; }
.finder-search {
    width: min(780px, 100%);
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px 7px 18px;
    border: 2px solid var(--ink);
    background: white;
    border-radius: 2px;
    box-shadow: 7px 7px 0 rgba(198, 61, 50, 0.18);
    text-align: left;
}
.finder-search:focus-within { box-shadow: 7px 7px 0 var(--red); }
.finder-search > .icon { color: var(--red); }
.finder-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
.finder-search .button { flex: 0 0 auto; min-height: 44px; }
.finder-search.compact { max-width: 570px; margin: 24px auto 18px; }
.quick-links { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 7px 17px; color: var(--muted); font-size: 13px; }
.quick-links span { color: var(--ink); font-weight: 800; }
.quick-links a { border-bottom: 1px solid var(--line-strong); }
.quick-links a:hover { color: var(--red); border-color: var(--red); }

.section-heading { margin-bottom: 25px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 {
    margin: 3px 0 0;
    font-family: "Songti SC", "SimSun", serif;
    font-size: 29px;
    line-height: 1.35;
}
.section-heading p { margin: 7px 0 0; color: var(--muted); }
.stage-directory, .section:not(.detail-layout):not(.listing-head):not(.listing-results):not(.search-layout):not(.standalone-state) { padding-top: 55px; padding-bottom: 55px; }
.stage-directory { padding-bottom: 22px; }
.stage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stage-link {
    position: relative;
    min-height: 150px;
    padding: 22px 22px 18px;
    border-right: 1px solid var(--line-strong);
    background: white;
    transition: color .18s, background .18s;
}
.stage-link:last-child { border-right: 0; }
.stage-link::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 5px; background: var(--teal); }
.stage-link:hover { color: white; background: var(--ink); }
.stage-link > span { display: block; font-family: "Songti SC", "SimSun", serif; font-size: 24px; font-weight: 900; }
.stage-link strong { display: block; margin: 4px 0 1px; font-size: 14px; }
.stage-link small { color: var(--muted); }
.stage-link:hover small { color: #cbd2ce; }
.stage-link > .icon { position: absolute; right: 18px; bottom: 17px; }
.accent-coral::before { background: var(--red); }
.accent-blue::before { background: var(--blue); }
.accent-gold::before { background: var(--gold); }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.resource-grid.four-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.resource-grid.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resource-card {
    min-width: 0;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: white;
    box-shadow: 4px 4px 0 var(--canvas);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.resource-card:hover { transform: translate(-2px, -2px); border-color: var(--ink); box-shadow: 7px 7px 0 var(--red-soft); }
.card-preview { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--canvas); }
.card-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.resource-card:hover .card-preview img { transform: scale(1.025); }
.card-kicker { height: 45px; padding: 0 17px; display: flex; align-items: center; gap: 8px; color: var(--teal); border-bottom: 1px solid var(--line); background: var(--teal-soft); font-size: 12px; font-weight: 800; }
.type-yuwen { color: var(--red); background: var(--red-soft); }
.type-yingyu { color: var(--blue); background: var(--blue-soft); }
.type-wuli { color: var(--gold); background: var(--gold-soft); }
.card-body { flex: 1; padding: 18px 18px 14px; }
.card-meta { min-height: 23px; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 12px; }
.card-meta span + span::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.card-body h3 { margin: 7px 0 8px; font-family: "Songti SC", "SimSun", serif; font-size: 18px; line-height: 1.55; }
.card-body h3 a:hover { color: var(--red); }
.card-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.68; }
.card-footer { min-height: 47px; padding: 10px 17px; display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.card-footer a { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--red); font-weight: 800; }

.poetry-band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: #eef3f7; color: var(--ink); }
.poetry-inner { padding-top: 54px; padding-bottom: 58px; }
.light-heading .section-label { color: var(--blue); }
.light-heading p { color: var(--muted); }
.poetry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.poetry-item { overflow: hidden; border: 1px solid var(--ink); border-radius: 2px; background: white; box-shadow: 5px 5px 0 rgba(55, 109, 165, 0.14); }
.poetry-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--ink); }
.poetry-item > span { padding: 13px 15px; display: block; }
.poetry-item strong, .poetry-item small { display: block; }
.poetry-item strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: "Songti SC", "SimSun", serif; font-size: 16px; }
.poetry-item small { color: var(--muted); }

.index-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.index-columns > div { border-top: 3px solid var(--ink); }
.index-columns h3 { margin: 0; padding: 13px 2px; border-bottom: 1px solid var(--line-strong); font-family: "Songti SC", "SimSun", serif; font-size: 19px; }
.index-columns a { padding: 11px 3px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.index-columns a:hover { padding-left: 9px; color: var(--red); background: var(--red-soft); }
.index-columns small { color: var(--muted); }

.breadcrumb-wrap { border-bottom: 1px solid var(--line); background: var(--canvas); }
.breadcrumbs { width: min(var(--max), calc(100% - 48px)); height: 43px; margin: 0 auto; display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs > span:last-child { overflow: hidden; text-overflow: ellipsis; }

.listing-head { padding-top: 45px; padding-bottom: 30px; }
.listing-title { max-width: 790px; }
.listing-title h1, .detail-header h1, .search-page-head h1, .standalone-state h1 { font-family: "Songti SC", "SimSun", serif; }
.listing-title h1 { margin: 5px 0 9px; font-size: 34px; line-height: 1.32; }
.listing-title p { margin: 0 0 11px; color: var(--muted); }
.listing-title > strong { color: var(--red); }
.filter-block { margin-top: 27px; padding: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); background: var(--canvas); }
.filter-block > span { margin-right: 5px; font-weight: 900; }
.filter-block a { padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 2px; background: white; }
.filter-block a:hover, .filter-block a.selected { color: white; border-color: var(--red); background: var(--red); }
.filter-block small { margin-left: 6px; opacity: .75; }
.listing-results { padding-bottom: 66px; }
.pagination { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.pagination a { min-height: 40px; padding: 7px 13px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--ink); border-radius: 2px; }
.pagination a:hover { color: white; background: var(--ink); }
.pagination span { color: var(--muted); }

.detail-layout { padding-top: 44px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 48px; }
.detail-header h1 { margin: 11px 0 12px; font-size: 36px; line-height: 1.38; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-tags a { padding: 3px 9px; color: var(--red); border: 1px solid #e2b4af; background: var(--red-soft); border-radius: 2px; font-size: 12px; font-weight: 800; }
.detail-lead { color: var(--muted); font-size: 16px; }
.detail-facts { margin-top: 20px; padding: 13px 0; display: flex; flex-wrap: wrap; gap: 20px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); color: var(--ink-soft); font-size: 13px; }
.detail-facts span { display: inline-flex; align-items: center; gap: 6px; }
.detail-facts .icon { color: var(--red); }
.detail-preview { margin: 30px 0; overflow: hidden; border: 1px solid var(--ink); border-radius: 2px; background: var(--canvas); box-shadow: 7px 7px 0 var(--blue-soft); }
.detail-preview img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.detail-preview figcaption { padding: 9px 14px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.detail-section { padding: 29px 0; border-top: 1px solid var(--line-strong); }
.detail-preview + .detail-section { border-top: 0; }
.detail-section h2 { margin: 0 0 15px; font-family: "Songti SC", "SimSun", serif; font-size: 24px; }
.detail-section p { color: var(--muted); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 2px solid var(--ink); }
.spec-list > div { min-height: 49px; padding: 11px 4px; display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 700; }
.file-list { margin: 16px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.file-list li { min-height: 45px; padding: 9px 4px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.file-list li .icon { color: var(--red); }
.file-list li span { min-width: 0; overflow-wrap: anywhere; }
.show-files { margin-top: 14px; padding: 7px 0; display: inline-flex; align-items: center; gap: 5px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--red); font-weight: 800; cursor: pointer; }
.notice-section { padding: 23px; border: 1px solid #dfc98f; border-left: 5px solid var(--gold); background: #fcf8ec; border-radius: 2px; }
.notice-section p { margin-bottom: 0; color: #635a43; }
.download-panel { position: sticky; top: 98px; padding: 24px; border: 1px solid var(--ink); border-top: 6px solid var(--red); border-radius: 2px; background: white; box-shadow: 8px 8px 0 var(--red-soft); }
.download-icon { width: 47px; height: 47px; margin-bottom: 14px; display: grid; place-items: center; color: var(--red); background: var(--red-soft); border-radius: 2px; }
.panel-label { color: var(--red); font-size: 12px; font-weight: 900; }
.download-panel h2 { margin: 3px 0 4px; font-family: "Songti SC", "SimSun", serif; font-size: 26px; }
.download-panel p { margin: 0 0 19px; color: var(--muted); }
.download-panel small { margin-top: 14px; display: block; color: var(--muted); }
.related-section { padding-bottom: 66px; }

.search-page-head { padding: 39px 0; border-bottom: 1px solid var(--ink); background: #edf3f0; }
.search-page-head h1 { margin: 0 0 18px; font-size: 32px; }
.search-page-form { max-width: 790px; min-height: 54px; padding-left: 15px; display: flex; align-items: center; gap: 9px; border: 2px solid var(--ink); background: white; border-radius: 2px; box-shadow: 5px 5px 0 var(--red-soft); }
.search-page-form > .icon { color: var(--red); }
.search-page-form input { min-width: 0; flex: 1; border: 0; outline: 0; }
.search-page-form .button { align-self: stretch; border-radius: 0; }
.search-layout { padding-top: 38px; padding-bottom: 66px; display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 38px; }
.search-filters { border-right: 1px solid var(--line-strong); padding-right: 24px; }
.search-filters h2 { margin: 0 0 20px; font-family: "Songti SC", "SimSun", serif; font-size: 21px; }
.filter-group { margin-bottom: 23px; }
.filter-group h3 { margin: 0 0 7px; color: var(--muted); font-size: 12px; }
.filter-group a { padding: 5px 8px; display: flex; justify-content: space-between; border-left: 3px solid transparent; }
.filter-group a:hover, .filter-group a.active { color: var(--red); border-left-color: var(--red); background: var(--red-soft); }
.filter-group small { color: var(--muted); }
.clear-filters { color: var(--red); font-size: 13px; font-weight: 800; border-bottom: 1px solid currentColor; }
.results-bar { min-height: 40px; margin-bottom: 17px; display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); }
.results-bar span { color: var(--muted); }
.empty-state, .standalone-state { padding: 76px 20px; text-align: center; }
.empty-state > .icon { color: var(--red); }
.empty-state h2 { margin: 12px 0 3px; font-family: "Songti SC", "SimSun", serif; }
.empty-state p { color: var(--muted); }
.standalone-state { max-width: 760px; }
.standalone-state > span { color: var(--red); font-family: Georgia, serif; font-size: 64px; font-weight: 900; line-height: 1; }
.standalone-state h1 { margin: 9px 0; font-size: 32px; }
.standalone-state > p { color: var(--muted); }

.site-footer { color: #e7ece9; border-top: 5px solid var(--red); background: #1c211e; }
.footer-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 42px 0; display: flex; justify-content: space-between; gap: 44px; }
.footer-brand { color: white; font-family: "Songti SC", "SimSun", serif; font-size: 21px; font-weight: 900; }
.footer-inner p { max-width: 590px; margin: 7px 0 0; color: #aeb9b2; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 8px 19px; }
.footer-links a:hover { color: #ff8b82; }
.footer-bottom { padding: 14px 20px; border-top: 1px solid #39413c; color: #8f9a94; text-align: center; font-size: 12px; }

@media (max-width: 1000px) {
    .header-inner { gap: 18px; }
    .header-search { display: none; }
    .main-nav { margin-left: auto; }
    .stage-grid, .poetry-grid { grid-template-columns: repeat(2, 1fr); }
    .stage-link:nth-child(2) { border-right: 0; }
    .stage-link:nth-child(-n+2) { border-bottom: 1px solid var(--line-strong); }
    .resource-grid.four-columns { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
}

@media (max-width: 740px) {
    body { font-size: 14px; }
    .section, .header-inner, .finder-inner, .breadcrumbs, .footer-inner { width: min(100% - 28px, var(--max)); }
    .header-inner { min-height: 62px; }
    .brand small { display: none; }
    .brand-mark { width: 38px; height: 38px; box-shadow: 3px 3px 0 var(--ink); }
    .menu-button { display: grid; margin-left: auto; }
    .main-nav { position: absolute; top: 62px; left: 0; right: 0; display: none; align-self: auto; padding: 8px 14px 15px; border-bottom: 2px solid var(--ink); background: white; box-shadow: 0 12px 20px rgba(20, 35, 27, .09); }
    .main-nav.open { display: block; }
    .main-nav a { display: block; padding: 11px 8px; border-bottom: 1px solid var(--line); }
    .main-nav a::after { display: none; }
    .finder-band::after { right: -25px; bottom: -18px; font-size: 116px; }
    .finder-inner { min-height: 0; padding: 40px 0 38px; }
    .finder-inner h1 { margin-top: 13px; font-size: 39px; }
    .finder-inner > p { font-size: 15px; }
    .finder-search, .search-page-form { min-height: 54px; flex-wrap: wrap; padding: 8px 8px 8px 13px; box-shadow: 4px 4px 0 var(--red-soft); }
    .finder-search input, .search-page-form input { width: calc(100% - 38px); flex: auto; }
    .finder-search .button, .search-page-form .button { width: 100%; min-height: 41px; border-radius: 1px; }
    .quick-links { justify-content: flex-start; }
    .stage-directory, .section:not(.detail-layout):not(.listing-head):not(.listing-results):not(.search-layout):not(.standalone-state) { padding-top: 40px; padding-bottom: 40px; }
    .section-heading { align-items: flex-start; }
    .section-heading h2 { font-size: 25px; }
    .resource-grid, .resource-grid.two-columns, .resource-grid.four-columns, .poetry-grid, .index-columns { grid-template-columns: 1fr; }
    .poetry-grid { gap: 19px; }
    .listing-head { padding-top: 31px; }
    .listing-title h1, .detail-header h1 { font-size: 29px; }
    .filter-block { align-items: stretch; }
    .filter-block > span { width: 100%; }
    .detail-layout { padding-top: 29px; display: flex; flex-direction: column; gap: 25px; }
    .detail-main, .download-panel { width: 100%; }
    .download-panel { position: static; order: -1; box-shadow: 5px 5px 0 var(--red-soft); }
    .spec-list { grid-template-columns: 1fr; }
    .spec-list > div { grid-template-columns: 96px 1fr; }
    .search-page-head { padding: 28px 0; }
    .search-page-head h1 { font-size: 26px; }
    .search-layout { padding-top: 27px; grid-template-columns: 1fr; gap: 25px; }
    .search-filters { padding: 0 0 19px; border-right: 0; border-bottom: 1px solid var(--line-strong); }
    .filter-group { display: inline-block; width: 32%; margin: 0; padding-right: 8px; vertical-align: top; }
    .footer-inner { flex-direction: column; padding: 34px 0; }
}

@media (max-width: 450px) {
    .section-heading { display: block; }
    .section-heading > a { margin-top: 14px; }
    .stage-grid { grid-template-columns: 1fr 1fr; }
    .stage-link { min-height: 145px; padding: 18px 16px; }
    .stage-link > span { font-size: 21px; }
    .filter-group { width: 100%; margin-bottom: 18px; }
    .pagination { gap: 8px; }
    .pagination a { padding: 7px 9px; }
    .detail-facts { gap: 8px 15px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
