/*
Theme Name: dds_cs-go-game.ru
Theme URI: https://cs-go-game.ru/
Author: Максим Ковалев
Description: Тема для образовательной платформы и школы киберспорта по CS:GO. Тёмная неоновая палитра, тактическая сетка, рубрикатор тем.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: csgoacad
*/

:root {
    --bg: #0B1220;
    --bg-alt: #111A2E;
    --bg-head: #0E1628;
    --bg-foot: #070D18;
    --bg-side: #0F182B;
    --line: #1E3A5F;
    --text: #E6EDF7;
    --accent: #2FD4C6;
    --accent-2: #5B8CFF;
    --muted: #7E8CA0;
    --font-head: "Oxanium", "Rajdhani", "Segoe UI", Arial, sans-serif;
    --font-body: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    background-color: var(--bg);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 320'%3E%3Cg fill='none' stroke='%232FD4C6' stroke-opacity='0.08' stroke-width='2'%3E%3Cpath d='M420 60H300v90H200v70H90v100'/%3E%3Cpath d='M420 140H340v120H250v60'/%3E%3Cpath d='M30 300C120 260 170 190 250 180S360 110 410 20' stroke-dasharray='8 10'/%3E%3Ccircle cx='250' cy='180' r='10'/%3E%3C/g%3E%3C/svg%3E"),
        repeating-linear-gradient(45deg, rgba(30, 58, 95, 0.15) 0 1px, transparent 1px 24px);
    background-repeat: no-repeat, repeat;
    background-position: right bottom, 0 0;
    background-size: 420px auto, auto;
    background-attachment: fixed, scroll;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 1.4em 0 0.6em; letter-spacing: 0.01em; color: var(--text); }
h1 { font-size: 2.3rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }
table { width: 100%; border-collapse: collapse; margin: 1.5em 0; border: 1px solid var(--line); }
th, td { border: 1px solid var(--line); padding: 0.6em 0.8em; text-align: left; }
th { background: var(--bg-alt); font-family: var(--font-head); }
blockquote { margin: 1.5em 0; padding: 1rem 1.4rem; border-left: 3px solid var(--accent); background: var(--bg-head); border-radius: 0 8px 8px 0; }
code, pre { font-family: Consolas, "Courier New", monospace; }
pre { overflow-x: auto; padding: 1rem 1.2rem; background: var(--bg-foot); border: 1px solid var(--line); border-radius: 8px; }
hr { border: 0; height: 1px; background: var(--line); margin: 2em auto; width: 60%; }

.shell { width: min(92%, 1180px); margin-inline: auto; }
.shell-front { width: min(85%, 1180px); }

.online-bar { height: 3px; background: linear-gradient(90deg, #2FD4C6, #5B8CFF); }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
    padding: 0.8em 1.5em; border-radius: 8px; border: 2px solid var(--accent);
    font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: 0.03em;
    text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(47, 212, 198, 0.35); text-decoration: none; }
.btn-fill { background: #2FD4C6; color: #0B1220; }
.btn-fill:hover { color: #0B1220; }
.btn-line { background: transparent; color: #2FD4C6; }
.btn-line:hover { color: #2FD4C6; }

/* ---------- Шапка ---------- */
.topline { background: var(--bg-head); border-bottom: 1px solid var(--line); }
.topline-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; }
.brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: var(--text); min-width: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { flex: 0 0 auto; display: block; }
.brand-logo, .brand-svg { display: block; width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; min-width: 0; max-width: 560px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.3; color: var(--text); }
.brand-desc { font-size: 0.8rem; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.primary-nav { flex: 0 0 auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.3rem; }
.nav-list a { display: block; padding: 0.55em 0.9em; border-radius: 8px; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.02em; }
.nav-list a:hover { color: var(--accent); background: rgba(47, 212, 198, 0.06); }
.nav-list .current-menu-item > a { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle { display: none; align-items: center; gap: 0.55rem; background: transparent; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 0.55em 0.9em; font: 600 0.95rem var(--font-head); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--accent); position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

/* ---------- Заголовки секций ---------- */
.sec-head { margin-bottom: 2.4rem; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.sec-tag { margin: 0 0 0.6rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.sec-title { margin: 0; padding-left: 12px; border-left: 3px solid var(--accent); font-size: 2.1rem; line-height: 1.15; }

/* H2/H3 в контенте — точка-прицел */
.entry-content h2, .entry-content h3, .talk-title {
    position: relative; padding-left: 1.1em;
}
.entry-content h2::before, .entry-content h3::before, .talk-title::before {
    content: ""; position: absolute; left: 0; bottom: 0.38em;
    width: 0.42em; height: 0.42em; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 8px rgba(47, 212, 198, 0.6);
}

/* ---------- Секции главной ---------- */
.fsec { padding: 80px 0; background-color: var(--bg); }
.fsec-alt { background-color: var(--bg-alt); }
.fsec-dots { background-image: radial-gradient(rgba(47, 212, 198, 0.1) 1.2px, transparent 1.4px); background-size: 20px 20px; }
.fsec-plain { background-image: none; }

.sec-divider { position: relative; height: 1px; background: transparent; }
.sec-divider::before {
    content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    width: min(50%, 520px); border-top: 2px dotted rgba(47, 212, 198, 0.3);
}
.sec-divider span {
    position: absolute; left: 50%; top: 0; width: 10px; height: 10px;
    transform: translate(-50%, -50%) rotate(45deg); background: var(--bg); border: 1px solid var(--accent); z-index: 1;
}

/* Hero */
.arena-hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; background: var(--bg-foot); }
.arena-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.arena-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 18, 32, 0.82) 0%, rgba(11, 18, 32, 0.6) 55%, rgba(11, 18, 32, 0.45) 100%); }
.arena-hero-path { position: absolute; right: 2%; bottom: 4%; width: min(34%, 360px); height: auto; opacity: 0.4; pointer-events: none; }
.arena-hero-inner { position: relative; z-index: 1; padding: 96px 0; }
.arena-hero-title { font-size: 3.2rem; line-height: 1.08; margin: 0 0 1.2rem; max-width: 15ch; }
.arena-hero-lead { font-size: 1.12rem; color: #C3CEDD; max-width: 56ch; margin-bottom: 2rem; }
.arena-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Пошаговый блок */
.ladder { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.ladder-step { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1.6rem; padding-bottom: 2.4rem; }
.ladder-step:last-child { padding-bottom: 0; }
.ladder-step::after {
    content: ""; position: absolute; left: 43px; top: 82px; bottom: 8px;
    border-left: 2px dashed rgba(47, 212, 198, 0.45);
}
.ladder-step:last-child::after { display: none; }
.ladder-num {
    font-family: var(--font-head); font-weight: 700; font-size: 4.2rem; line-height: 1; text-align: center;
    color: rgba(47, 212, 198, 0.12); -webkit-text-stroke: 1.5px #2FD4C6;
    display: block; padding-top: 0.1rem; min-width: 0;
}
.ladder-text { min-width: 0; padding-top: 0.6rem; }
.ladder-text h3 { margin: 0 0 0.45rem; font-size: 1.35rem; }
.ladder-text p { margin: 0; color: #C3CEDD; }

/* Цитата */
.callout-quote { margin: 0; padding: 3rem 3rem 2.6rem; background: var(--bg-head); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; }
.callout-quote blockquote { margin: 0; padding: 0; border: 0; background: none; }
.callout-quote blockquote p { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 2rem; line-height: 1.35; color: #C8D2E0; }
.callout-quote mark { background: none; color: var(--accent); }
.callout-quote figcaption { margin-top: 1.6rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.callout-quote figcaption::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 0.7rem; }

/* Рубрикатор */
.topic-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.topic-tile {
    display: flex; flex-direction: column; gap: 0.35rem; min-width: 0;
    padding: 1.6rem 1.5rem; background: var(--bg-side); border: 1px solid var(--line); border-radius: 10px;
    text-decoration: none; color: var(--text); transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.topic-tile svg { width: 44px; height: 44px; margin-bottom: 0.7rem; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s ease, filter 0.2s ease; }
.topic-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.topic-hint { color: var(--muted); font-size: 0.92rem; }
.topic-tile:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.topic-tile:hover svg { stroke: var(--accent); filter: drop-shadow(0 0 6px rgba(47, 212, 198, 0.55)); }

/* ---------- Карточки ---------- */
.cards { display: grid; gap: 1.6rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    background: var(--bg-side); border: 1px solid var(--line); border-radius: 10px;
    box-shadow: 0 8px 24px #00000055; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: #2FD4C6; box-shadow: 0 16px 36px #00000088; }
.card-thumb { position: relative; overflow: hidden; }
.card-thumb a { display: block; }
.card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s ease; }
.card-thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 40px 10px rgba(7, 13, 24, 0.75); }
.card:hover .card-thumb img { transform: scale(1.05); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.3rem 1.4rem 1.4rem; min-width: 0; }
.card-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.chip { display: inline-block; padding: 0.15em 0.6em; border: 1px solid currentColor; border-radius: 6px; background: transparent; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }
.chip:hover { text-decoration: none; background: rgba(255, 255, 255, 0.04); }
.chip-tone-0 { color: #2FD4C6; }
.chip-tone-1 { color: #5B8CFF; }
.chip-tone-2 { color: #9FB3C8; }
.chip-tone-3 { color: #7BE0B3; }
.card-title { margin: 0 0 0.4rem; font-size: 1.2rem; line-height: 1.3; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.7rem; }
.card-excerpt { color: #C3CEDD; font-size: 0.95rem; margin-bottom: 1rem; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more { margin-top: auto; align-self: flex-start; font-family: var(--font-head); font-weight: 600; }
.empty-note { color: var(--muted); }

/* ---------- Внутренние страницы ---------- */
.page-wrap { padding: 2rem 0 80px; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.8rem; }
.crumbs a { color: var(--accent-2); }
.crumbs-sep { color: var(--accent); margin: 0 0.35em; }
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 67fr) minmax(0, 27fr); column-gap: 6%; align-items: start; }
.layout-single { display: block; width: 85%; margin-left: auto; margin-right: auto; }
.content-area { min-width: 0; }
.page-head { margin-bottom: 2rem; }
.page-title { margin: 0; font-size: 2.4rem; }
.archive-desc { color: var(--muted); margin-top: 0.8rem; }

.entry-head { margin-bottom: 1.6rem; }
.entry-meta { color: var(--muted); font-size: 0.9rem; margin-top: 0.7rem; }
.entry-cover { margin: 0 0 2rem; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.entry-cover img { display: block; width: 100%; height: auto; }
.entry-content { font-size: 1.05rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content ul li::marker { color: var(--accent); }
.entry-content img { border-radius: 8px; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.entry-tags a { color: var(--muted); text-decoration: none; }
.entry-tags a:hover { color: var(--accent); }
.entry-nav { display: flex; justify-content: space-between; gap: 1rem; margin: 2.5rem 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.entry-nav div { min-width: 0; max-width: 48%; }
.entry-nav-next { text-align: right; margin-left: auto; }

/* Сайдбар */
.sidebar { min-width: 0; background: var(--bg-side); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem 1.4rem; color: var(--text); }
.sidebar .widget { margin-bottom: 2rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title { margin: 0 0 1rem; font-size: 1.1rem; color: var(--text); padding-left: 10px; border-left: 3px solid var(--accent); }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: #D6DFEC; text-decoration: none; }
.sidebar a:hover { color: var(--accent); }
.sidebar .post-date { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }
.sidebar p, .sidebar .textwidget { color: #C3CEDD; }

/* Пагинация */
.pager { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 2.6rem; }
.pager .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 0.8rem;
    border: 1px solid var(--line); border-radius: 8px; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.pager a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pager .page-numbers.current { background: #2FD4C6; border-color: #2FD4C6; color: #0B1220; }
.pager .page-numbers.dots { border: 0; min-width: auto; padding: 0 0.2rem; color: var(--muted); }

/* Поиск */
.seek { margin: 1.2rem 0; }
.seek-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.seek-row { display: flex; gap: 0.6rem; }
.seek-field { flex: 1; min-width: 0; padding: 0.75em 1em; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-foot); color: var(--text); font: inherit; }
.seek-field::placeholder { color: var(--muted); }

/* 404 */
.lost { text-align: left; }
.lost-code { font-family: var(--font-head); font-size: 7rem; font-weight: 700; line-height: 1; margin: 0 0 0.5rem; color: rgba(47, 212, 198, 0.1); -webkit-text-stroke: 2px #2FD4C6; }

/* Комментарии */
.talk { margin-top: 2.5rem; }
.talk-title { font-size: 1.5rem; }
.talk-list, .talk-list .children { list-style: none; margin: 0; padding: 0; }
.talk-list .children { padding-left: 2rem; }
.talk-body { background: var(--bg-side); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.talk-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.talk-head img { border-radius: 50%; display: block; }
.talk-author { display: block; font-weight: 700; }
.talk-date, .talk-wait, .talk-note, .talk-closed { font-size: 0.85rem; color: var(--muted); }
.comment-respond { margin-top: 2rem; background: var(--bg-side); border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem 1.6rem; }
.comment-reply-title { margin-top: 0; }
.comment-form label { display: block; margin-bottom: 0.3rem; color: var(--muted); font-size: 0.9rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%; padding: 0.7em 0.9em; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-foot); color: var(--text); font: inherit;
}
.comment-form-cookies-consent label { display: inline; }

/* ---------- Подвал ---------- */
.basement { background: var(--bg-foot); border-top: 1px solid var(--line); color: #C3CEDD; padding-top: 64px; }
.basement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.basement-col { min-width: 0; }
.basement .widget { margin-bottom: 1.5rem; color: #C3CEDD; }
.basement .widget-title { margin: 0 0 1rem; font-size: 1.1rem; color: #E6EDF7; }
.basement .widget-title::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 0.5rem; background: var(--accent); }
.basement p, .basement .textwidget { color: #C3CEDD; }
.basement ul { list-style: none; margin: 0; padding: 0; }
.basement li { padding: 0.3rem 0; }
.basement a { color: #9DB8FF; text-decoration: none; }
.basement a:hover { color: var(--accent); text-decoration: underline; }
.basement .post-date { color: var(--muted); font-size: 0.8rem; display: block; }
.basement-copy { border-top: 1px solid var(--line); margin-top: 2rem; padding: 1.3rem 0 1.5rem; }
.basement-copy p { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* ---------- Cookie ---------- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 999;
    width: min(92%, 760px); display: flex; align-items: center; gap: 1.2rem;
    padding: 1rem 1.3rem; background: var(--bg-head); border: 1px solid var(--line); border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55); color: var(--text);
}
.cookie-text { margin: 0; font-size: 0.9rem; flex: 1; min-width: 0; }
.cookie-accept { flex: 0 0 auto; }

/* ---------- WP ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 0.85rem; color: var(--muted); }
.sticky .card-title a::before { content: "★ "; color: var(--accent); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
    .topline-inner { flex-wrap: wrap; }
    .nav-toggle { display: inline-flex; }
    .primary-nav { flex: 1 0 100%; display: none; }
    .primary-nav.is-open { display: block; }
    .nav-list { flex-direction: column; padding-top: 0.5rem; border-top: 1px solid var(--line); }
    .brand-text { max-width: none; }
    .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
    .layout-single { width: 100%; }
    .topic-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .arena-hero-title { font-size: 2.6rem; }
    .callout-quote blockquote p { font-size: 1.6rem; }
    .basement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .shell-front { width: 92%; }
    .brand-text { max-width: 100%; }
    .brand-desc { display: none; }
    .fsec { padding: 56px 0; }
    .sec-title { font-size: 1.6rem; }
    .arena-hero { min-height: 480px; }
    .arena-hero-inner { padding: 64px 0; }
    .arena-hero-title { font-size: 2rem; }
    .arena-hero-path { width: 50%; opacity: 0.25; }
    .cards-3, .cards-2 { grid-template-columns: minmax(0, 1fr); }
    .ladder-step { grid-template-columns: 56px minmax(0, 1fr); gap: 1rem; }
    .ladder-num { font-size: 2.8rem; }
    .ladder-step::after { left: 27px; top: 58px; }
    .callout-quote { padding: 1.8rem 1.4rem; }
    .callout-quote blockquote p { font-size: 1.3rem; }
    .topic-map { grid-template-columns: minmax(0, 1fr); }
    .topic-tile { padding: 1.3rem 1.2rem; }
    .page-title { font-size: 1.8rem; }
    .sidebar { padding: 1.3rem 1.1rem; }
    .comment-respond { padding: 1.3rem 1.1rem; }
    .basement-grid { grid-template-columns: minmax(0, 1fr); }
    .cookie-banner { flex-direction: column; align-items: stretch; padding: 1rem 1.1rem; }
    .seek-row { flex-direction: column; }
    body { background-size: 240px auto, auto; }
}
