/*
Theme Name: Command General
Theme URI: https://commandgeneral.ru/
Author: Command General
Description: Игровой каталог карт для Command & Conquer: Generals и Zero Hour.
Version: 1.1.0
Text Domain: commandgeneral
*/
:root {
  color-scheme: dark;
  --bg: #101411;
  --panel: #191e1a;
  --panel-light: #202620;
  --ink: #f1f1e9;
  --muted: #a1a99f;
  --line: #333b31;
  --accent: #edbd68;
  --accent-dark: #d7a148;
  --radius: 5px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: #ffdb99; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, input, select { border-radius: var(--radius); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--bg); }
.wrap { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 12px; padding: 12px; background: var(--accent); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 5; background: #101511; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: .035em; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand b { color: var(--accent); font-weight: 800; }
.brand small { display: block; margin-top: 6px; font-size: 9px; font-weight: 500; color: var(--muted); letter-spacing: .23em; }
.main-nav { display: flex; align-items: stretch; align-self: stretch; gap: 29px; }
.main-nav a { display: flex; align-items: center; position: relative; color: #bdc3ba; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--accent); }
.main-nav a[aria-current]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--accent); }
.header-action { display: inline-flex; align-items: center; gap: 12px; padding: 11px 17px; border: 1px solid #53503b; border-radius: var(--radius); color: var(--accent); text-decoration: none; font-size: 12px; font-weight: 700; white-space: nowrap; }
.header-action:hover { background: #28291c; border-color: var(--accent); }
.search-icon { width: 14px; height: 14px; display: inline-block; border: 1.6px solid currentColor; border-radius: 50%; position: relative; flex-shrink: 0; margin-right: 3px; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.6px; right: -5px; bottom: -2px; background: currentColor; transform: rotate(45deg); }
.nav-toggle { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #171d16; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: url("assets/battlefield-hero.webp"); background-size: cover; background-position: center 45%; opacity: .8; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #111711 0%, rgba(17,23,17,.97) 21%, rgba(17,23,17,.85) 39%, rgba(17,23,17,.2) 70%, rgba(17,23,17,.1)), linear-gradient(0deg, #101411 0%, transparent 28%, rgba(16,20,17,.15) 100%); }
.hero-inner { min-height: 500px; position: relative; display: flex; align-items: center; padding-block: 58px 50px; }
.hero-copy { max-width: 710px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 10px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; line-height: 1.5; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 12px #edbd6844; }
.hero h1 { font-size: clamp(44px, 5.2vw, 76px); font-weight: 850; line-height: 1.03; letter-spacing: -.045em; text-transform: uppercase; margin: 25px 0 23px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 16px; color: #bcc3b8; line-height: 1.8; margin: 0; max-width: 530px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; padding: 12px 23px; border: 1px solid var(--accent); border-radius: 3px; background: var(--accent); color: #171a12; text-decoration: none; font-weight: 750; font-size: 13px; line-height: 1.5; transition: background .2s, border-color .2s; }
.button:hover { background: #fbd08a; border-color: #fbd08a; color: #171a12; }
.button span[aria-hidden] { font-size: 18px; font-weight: 400; line-height: 1; }
.button-ghost { background: #141a1480; color: #e1e4d9; border-color: #555b49; }
.button-ghost:hover { background: #303524; color: var(--accent); border-color: var(--accent); }
.hero-tags { display: flex; align-items: center; gap: 13px; margin-top: 30px; color: #a2ac9b; font-family: Consolas, monospace; font-size: 10px; letter-spacing: .13em; }
.hero-tags i { width: 3px; height: 3px; background: #69735f; }
.hero-caption { position: absolute; right: 0; bottom: 42px; display: flex; align-items: center; gap: 15px; font-family: Consolas, monospace; font-size: 9px; letter-spacing: .12em; color: #ced1bd; }
.hero-caption b { display: block; font-family: "Segoe UI", Arial, sans-serif; letter-spacing: .02em; font-size: 12px; margin-top: 5px; font-weight: 500; }
.crosshair { display: block; position: relative; width: 33px; height: 33px; border: 1px solid #a6b18688; border-radius: 50%; }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: #c5caa1; }
.crosshair::before { height: 1px; width: 43px; left: -6px; top: 15px; }
.crosshair::after { width: 1px; height: 43px; top: -6px; left: 15px; }
.intel-bar { background: #191f18; border-block: 1px solid #343d2e; }
.intel-inner { display: flex; align-items: center; gap: 34px; min-height: 66px; font-size: 11px; color: var(--muted); }
.intel-label { display: flex; align-items: center; gap: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; padding-right: 30px; border-right: 1px solid #3b4433; }
.intel-inner b { color: #e7e9db; font-size: 17px; padding-right: 5px; font-weight: 600; }
.intel-end { margin-left: auto; color: #89947f; font-size: 10px; }
.section { padding-block: 50px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.section-head .eyebrow { margin-bottom: 9px; }
.section-head h2 { margin: 0; font-size: clamp(27px, 3vw, 35px); font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.section-head p { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.section-index { color: #84907e; font-family: Consolas, monospace; font-size: 10px; letter-spacing: .12em; white-space: nowrap; padding-bottom: 5px; }
.heading-dot { color: var(--accent); }
.players-section { padding-bottom: 35px; }
.cluster-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.cluster-chip { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 11px; padding: 17px 18px; background: linear-gradient(120deg, #22291e, #1a2019); border: 1px solid #374030; border-radius: 4px; color: var(--ink); text-decoration: none; transition: background .2s, border-color .2s; }
.cluster-chip::after { content: ""; width: 16px; height: 2px; position: absolute; top: -1px; left: 18px; background: #6c7457; transition: width .2s; }
.cluster-chip:hover { border-color: var(--accent); background: #2b3020; color: var(--ink); }
.cluster-chip:hover::after { width: calc(100% - 36px); background: var(--accent); }
.cluster-number { grid-row: span 2; font-family: "Arial", sans-serif; font-size: 36px; line-height: 1; font-weight: 750; letter-spacing: -.06em; color: #d5d8bf; }
.cluster-chip strong { align-self: end; font-size: 12px; font-weight: 600; }
.cluster-count { align-self: start; color: #98a18e; font-size: 10px; white-space: nowrap; }
.catalog-section { padding-top: 27px; }
.catalog-filters { display: grid; grid-template-columns: minmax(220px, 1.8fr) repeat(3, minmax(100px, 1fr)) auto; align-items: end; gap: 13px; background: #1b211b; border: 1px solid var(--line); border-radius: 5px; padding: 19px; margin-bottom: 28px; }
.catalog-filters label { display: flex; flex-direction: column; gap: 7px; font-size: 10px; font-weight: 600; color: #afb7a8; }
.catalog-filters input, .catalog-filters select { display: block; width: 100%; min-width: 0; height: 44px; padding: 9px 12px; border: 1px solid #3e4738; border-radius: 3px; background: #121811; color: #e4e8dc; font-size: 12px; }
.catalog-filters input::placeholder { color: #919b87; opacity: 1; }
.catalog-filters input:focus, .catalog-filters select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.search-field { display: block; position: relative; color: #8c987f; }
.search-field .search-icon { position: absolute; left: 14px; top: 14px; width: 12px; height: 12px; }
.search-field input { padding-left: 37px; scroll-margin-top: 30px; }
.catalog-filters .button { min-height: 44px; padding-inline: 20px; font-size: 12px; }
.filter-reset { grid-column: 1/-1; justify-self: end; font-size: 12px; }
.filter-result-count { font-size: 13px; color: var(--muted); margin-bottom: 25px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: #7e8056; box-shadow: 0 10px 24px #0003; }
.card-image { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #202b20; border-bottom: 1px solid var(--line); }
.card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0d150d88, transparent 45%); pointer-events: none; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-image img { transform: scale(1.035); }
.card-badge { position: absolute; z-index: 1; bottom: 13px; left: 15px; padding: 4px 9px; background: #11180ee8; border: 1px solid #777c54; border-radius: 2px; color: #ecebd2; font-size: 10px; font-weight: 650; }
.image-corner { position: absolute; z-index: 1; right: 13px; bottom: 15px; width: 12px; height: 12px; border-right: 1px solid #f0ecc39e; border-bottom: 1px solid #f0ecc39e; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card-meta { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 5px 12px; color: #b5bc9d; font-family: Consolas, monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.card-meta time { color: #929e8b; }
.card h2, .card h3 { margin: 12px 0 11px; font-size: 20px; line-height: 1.35; font-weight: 650; letter-spacing: -.02em; }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card h2 a:hover { color: var(--accent); }
.card p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0 0 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); font-size: 10px; }
.card-foot>a:first-child { text-decoration: none; color: #abb59c; }
.card-foot>a:first-child:hover { color: var(--accent); }
.read-more { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-size: 11px; font-weight: 650; text-decoration: none; }
.read-more span { font-size: 18px; line-height: 1; }
.card-placeholder { display: flex; height: 100%; align-items: center; justify-content: center; gap: 22px; background: repeating-linear-gradient(0deg, transparent, transparent 31px, #40583c44 32px), repeating-linear-gradient(90deg, #1d2d1b, #1d2d1b 31px, #40583c44 32px); color: #a1b887; font-size: 11px; text-transform: uppercase; letter-spacing: .15em; }
.pagination { margin-top: 38px; }
.pagination .nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; min-width: 40px; padding: 8px 13px; background: #1b211a; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; text-decoration: none; color: #bcc5b0; }
.pagination .current { background: var(--accent); color: #191d12; border-color: var(--accent); font-weight: 700; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.field-guide { padding-block: 10px 65px; }
.guide-panel { display: flex; align-items: center; gap: 25px; padding: 30px; border: 1px solid #4b5037; border-left: 3px solid var(--accent); border-radius: 4px; background: linear-gradient(110deg, #22281d, #171e16); }
.guide-symbol { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #6a7050; border-radius: 50%; color: var(--accent); font-size: 25px; font-family: Georgia, serif; font-style: italic; flex-shrink: 0; }
.guide-panel h2 { font-size: 24px; letter-spacing: -.02em; margin: 5px 0; }
.guide-panel p { color: var(--muted); font-size: 12px; margin: 0; }
.guide-panel .button { margin-left: auto; white-space: nowrap; }
.site-footer { background: #0c110e; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; gap: 35px; padding-block: 35px; }
.footer-top .brand { font-size: 15px; }
.footer-top .brand img { width: 40px; height: 40px; }
.footer-top>p { color: #929e88; font-size: 12px; }
.footer-links { display: flex; gap: 25px; margin-left: auto; }
.footer-links a { color: #c3cab9; font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #2a3227; display: flex; gap: 32px; padding-block: 20px; align-items: center; font-size: 10px; color: #8e9985; }
.footer-bottom p { margin: 0; }
.footer-bottom a { margin-left: auto; text-decoration: none; color: #acb69e; }
.page-main { padding-block: 40px 70px; min-height: 65vh; }
.breadcrumbs { margin-bottom: 24px; color: #a1ab96; font-size: 11px; overflow-wrap: anywhere; }
.breadcrumbs a { color: #c5ceb9; }
.archive-head { padding: 32px 36px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 4px; background: linear-gradient(100deg, #252d20, #171e17); margin-bottom: 32px; }
.archive-head h1 { font-size: clamp(29px, 4vw, 48px); line-height: 1.15; letter-spacing: -.035em; margin: 12px 0; overflow-wrap: anywhere; }
.archive-head p { max-width: 780px; color: #b6bfae; font-size: 14px; margin: 10px 0 0; }
.archive-head .button { margin-top: 25px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 45px; }
.entry { min-width: 0; }
.entry-header { padding: 5px 0 25px; }
.entry-header h1 { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.15; letter-spacing: -.035em; margin: 15px 0 22px; overflow-wrap: anywhere; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 11px; color: #a3af99; }
.entry-feature { width: fit-content; max-width: 100%; margin: 0 0 30px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #232c1d; }
.entry-feature img { display: block; width: auto; max-width: 100%; height: auto; max-height: 540px; object-fit: contain; }
.entry-content { font-size: 17px; line-height: 1.85; color: #c4cbbb; overflow-wrap: anywhere; }
.entry-content h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.025em; color: var(--ink); margin: 35px 0 15px; }
.entry-content h3 { color: var(--ink); font-size: 22px; margin: 28px 0 12px; }
.entry-content p { margin: 0 0 22px; }
.entry-content ul, .entry-content ol { margin: 0 0 22px; padding-left: 24px; }
.entry-content li { padding-block: 4px; }
.entry-content img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; margin-block: 22px; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content figure, .entry-content .wp-caption { max-width: 100%; margin-inline: 0; }
.entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.entry-content td, .entry-content th { padding: 10px; border: 1px solid var(--line); }
.entry-content blockquote { margin: 24px 0; border-left: 3px solid var(--accent); padding: 15px 22px; background: var(--panel); }
.download-box { background: #232c1d; padding: 24px; border: 1px solid #4d5c3b; border-left: 3px solid var(--accent); border-radius: 4px; margin: 26px 0; }
.download-box h2 { font-size: 21px; margin: 0 0 9px; }
.download-box p { font-size: 12px; color: #b2bda4; margin: 0 0 18px; }
.download-list { display: flex; flex-wrap: wrap; gap: 10px; }
.download-item { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: min(100%, 240px); max-width: 100%; padding: 12px 17px; background: var(--accent); color: #202616; text-decoration: none; border: 1px solid var(--accent); border-radius: 3px; overflow-wrap: anywhere; }
.download-item:hover { background: #ffda94; color: #202616; }
.download-name { font-size: 12px; font-weight: 700; }
.download-detail { font-size: 10px; color: #4d512e; padding-left: 18px; }
.sidebar-card { padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; margin-bottom: 18px; }
.sidebar-card h2 { font-size: 15px; margin: 0 0 17px; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { border-top: 1px solid var(--line); padding: 11px 0; font-size: 12px; }
.sidebar-card li a { color: #c0cbb2; text-decoration: none; }
.sidebar-card li a:hover { color: var(--accent); }
.sidebar-count { color: #93a183; font-size: 11px; }
.sidebar-note { color: var(--muted); font-size: 12px; margin: 0; line-height: 1.8; }
.entry-gallery { margin-top: 35px; }
.entry-gallery h2 { font-size: 24px; }
.entry-gallery>div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.entry-gallery figure { margin: 0; padding: 7px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; }
.entry-gallery img { width: 100%; border-radius: 2px; }
.entry-gallery img[hidden] { display: none; }
.gallery-unavailable { min-height: 160px; display: grid; place-items: center; padding: 20px; background: #1f291c; color: var(--muted); font-size: 12px; text-align: center; }
.entry-gallery figcaption { font-size: 11px; color: var(--muted); padding: 8px 4px 3px; }
.related-maps { margin-top: 45px; padding-top: 30px; border-top: 1px solid var(--line); }
.related-maps .section-head h2 { font-size: 27px; }
.related-maps .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.related-maps .card h2 { font-size: 18px; }
.no-results { padding: 35px; border: 1px dashed #5a674b; border-radius: 4px; background: var(--panel); color: #bac6ad; }
.no-results h3 { color: var(--ink); font-size: 22px; margin-top: 0; }
.no-results p { font-size: 14px; }
@media (min-width: 1700px) {
  .hero::before { background-size: 1700px auto; background-repeat: no-repeat; background-position: right 44%; }
}
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { gap: 22px; }
  .brand { font-size: 15px; }
  .brand img { width: 42px; height: 42px; }
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 12px; }
  .header-action { padding: 10px 12px; }
  .hero h1 { font-size: 62px; }
  .hero-caption { display: none; }
  .intel-inner { gap: 22px; }
  .intel-label { padding-right: 22px; }
  .intel-end { display: none; }
  .cluster-chip { padding: 15px 10px; column-gap: 6px; }
  .cluster-number { font-size: 30px; }
  .cluster-chip strong { font-size: 11px; }
  .cluster-count { font-size: 9px; }
  .cards { gap: 18px; }
  .catalog-filters { grid-template-columns: minmax(190px, 1.5fr) repeat(3, minmax(90px, 1fr)) auto; gap: 10px; padding: 15px; }
  .catalog-filters .button { padding-inline: 13px; }
  .guide-panel { gap: 20px; }
  .guide-panel h2 { font-size: 21px; }
  .guide-symbol { display: none; }
  .footer-top { gap: 22px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 28px; }
}
@media (max-width: 900px) {
  .header-action { display: none; }
  .main-nav { gap: 24px; }
  .hero::before { background-position: 64% center; }
  .hero::after { background: linear-gradient(90deg, #111711f5, #111711aa 62%, #11171144), linear-gradient(0deg, #101411, transparent 50%); }
  .hero-inner { min-height: 475px; }
  .hero h1 { font-size: 60px; }
  .cluster-chip { display: flex; flex-direction: column; padding: 14px 5px; gap: 3px; }
  .cluster-chip strong, .cluster-count { align-self: center; }
  .cluster-number { font-size: 32px; margin-bottom: 5px; }
  .cluster-chip::after { left: 10px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head>p { max-width: 260px; text-align: right; font-size: 12px; }
  .catalog-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .filter-search { grid-column: 1/-1; }
  .catalog-filters .button { padding-inline: 8px; font-size: 11px; }
  .guide-panel { flex-wrap: wrap; }
  .guide-panel .button { margin-left: 0; }
  .footer-top { flex-wrap: wrap; }
  .footer-top>p { margin-left: auto; }
  .footer-links { width: 100%; margin-left: 0; padding-top: 4px; }
  .content-layout { grid-template-columns: minmax(0, 1fr); }
  .content-layout>aside { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 74px; gap: 16px; flex-wrap: wrap; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 39px; height: 39px; }
  .brand small { font-size: 8px; margin-top: 5px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 40px; padding: 10px; border: 1px solid var(--line); background: var(--panel); }
  .nav-toggle>span:not(.screen-reader-text) { width: 20px; height: 1px; background: var(--accent); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"]>span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"]>span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-bottom: 12px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 44px; padding: 10px 4px; border-top: 1px solid var(--line); font-size: 13px; }
  .main-nav a[aria-current]::after { display: none; }
  .hero-inner { min-height: 480px; padding-block: 42px 36px; }
  .hero::before { background-size: auto 100%; background-position: 61% center; opacity: .55; }
  .hero::after { background: linear-gradient(90deg, #111711e8, #11171188), linear-gradient(0deg, #101411 0%, transparent 50%); }
  .hero .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(34px, 8.7vw, 56px); line-height: 1.1; margin: 24px 0 20px; letter-spacing: -.045em; }
  .hero p { font-size: 14px; max-width: 365px; line-height: 1.85; }
  .desktop-break { display: none; }
  .hero-actions { gap: 10px; margin-top: 25px; }
  .hero-actions .button { padding-inline: 16px; font-size: 12px; gap: 15px; }
  .hero-tags { font-size: 9px; gap: 10px; margin-top: 26px; }
  .intel-inner { min-height: 98px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px 8px; padding-block: 13px 17px; }
  .intel-label { grid-column: 1/-1; border: 0; padding: 0; font-size: 9px; letter-spacing: .1em; }
  .intel-inner>span:not(.intel-label) { font-size: 9px; }
  .intel-inner b { font-size: 18px; padding-right: 3px; }
  .intel-end { display: none; }
  .section { padding-block: 34px; }
  .section-head { flex-direction: column; align-items: start; gap: 8px; margin-bottom: 21px; }
  .section-head h2 { font-size: 27px; }
  .section-head .eyebrow { font-size: 9px; }
  .section-head p { font-size: 12px; line-height: 1.7; margin-top: 9px; }
  .section-head>p { text-align: left; margin: 0; max-width: none; }
  .cluster-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .cluster-chip { padding: 14px 4px 12px; min-height: 105px; }
  .cluster-number { font-size: 32px; }
  .cluster-count { font-size: 9px; }
  .players-section { padding-bottom: 22px; }
  .catalog-section { padding-top: 20px; }
  .section-index { display: none; }
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 13px 11px; margin-bottom: 22px; }
  .catalog-filters .button { height: 44px; font-size: 12px; }
  .catalog-filters label:nth-child(3), .catalog-filters .button { grid-column: 1/-1; }
  .catalog-filters label { font-size: 10px; }
  .catalog-filters input, .catalog-filters select { font-size: 16px; }
  .catalog-filters input::placeholder { font-size: 13px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .card-body { padding: 19px; }
  .card h2 { font-size: 21px; }
  .card p { font-size: 13px; }
  .card-meta { font-size: 9px; }
  .card-foot { font-size: 10px; }
  .card-badge { font-size: 11px; }
  .field-guide { padding-block: 6px 40px; }
  .guide-panel { padding: 22px; gap: 20px; }
  .guide-panel h2 { font-size: 23px; line-height: 1.25; margin-block: 11px; }
  .guide-panel p { line-height: 1.8; }
  .guide-panel .button { font-size: 12px; padding-inline: 15px; width: 100%; }
  .footer-top { padding-block: 28px; gap: 12px; }
  .footer-top>p { margin: 0 0 5px; width: 100%; }
  .footer-links { gap: 24px; }
  .footer-bottom { align-items: start; flex-wrap: wrap; gap: 10px; padding-block: 20px; }
  .footer-bottom p:nth-child(2) { width: 100%; order: 3; font-size: 9px; }
  .page-main { padding-top: 25px; }
  .breadcrumbs { font-size: 10px; line-height: 1.8; }
  .archive-head { padding: 24px; }
  .archive-head h1 { font-size: 31px; }
  .entry-header h1 { font-size: 32px; line-height: 1.2; }
  .entry-content { font-size: 16px; }
  .entry-content h2 { font-size: 25px; }
  .download-box { padding: 20px; }
  .download-item { width: 100%; }
  .entry-gallery>div, .related-maps .cards, .content-layout>aside { grid-template-columns: minmax(0, 1fr); }
  .no-results { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
