/*
Theme Name: BetNavigator — Analizy Bukmacherskie
Author: BetNavigator Redakcja
Description: Niezależny portal analityczny dla polskich fanów zakładów sportowych — strategie, recenzje, poradniki.
Version: 1.0.0
*/

:root {
    --ink: #1c1c1c;
    --ink-soft: #2b2b2b;
    --yellow: #ffdd00;
    --yellow-soft: #fff07a;
    --white: #ffffff;
    --paper: #fafafa;
    --gray: #f0f0f0;
    --gray-2: #e0e0e0;
    --muted: #555555;

    --sidebar-width: 300px;
    --content-width: 820px;
    --transition: all 0.25s ease;
    --section-pad: clamp(4rem, 10vw, 8rem);
    --content-pad: clamp(1.5rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    background: var(--paper);
    color: var(--ink);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-weight: 900;
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -0.01em;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: break-word;
}

h1 { font-size: clamp(1.8rem, 6.5vw, 4.8rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 3rem); margin-bottom: 2rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0.8rem; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   N-B: Fixed Sidebar (Rule 3.5 containment)
   ========================================= */
.site-header.site-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: var(--sidebar-width);
    background: var(--ink);
    color: var(--white);
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 4px solid var(--yellow);
}
.sidebar-inner {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.logo {
    display: inline-flex !important;
    align-items: baseline;
    gap: 2px;
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--white) !important;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
    min-height: 1em;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1;
}
.logo span { color: var(--yellow); }

.sidebar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    background: var(--yellow);
    color: var(--ink);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 3rem;
}
.sidebar-badge .bdg-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ink);
    animation: bnPulse 1.5s infinite;
}
@keyframes bnPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255, 221, 0, 0.3);
}

.main-nav ul {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}
.main-nav li {
    display: block;
    margin-bottom: 0.25rem;
}
.main-nav a {
    display: block;
    padding: 0.7rem 0.9rem;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--white);
    white-space: normal;
    overflow-wrap: break-word;
    border-left: 3px solid transparent;
    transition: var(--transition);
}
.main-nav a:hover {
    background: rgba(255, 221, 0, 0.12);
    border-left-color: var(--yellow);
    color: var(--yellow);
    padding-left: 1.1rem;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 3rem;
    border-top: 2px solid rgba(255,255,255,0.1);
}
.sf-lbl {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.sf-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    overflow-wrap: break-word;
    max-width: 100%;
}

.nav-toggle { display: none; }

/* =========================================
   Main content offset
   ========================================= */
.site-main {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    background: var(--paper);
}

/* =========================================
   H-B: Split 50/50 hero + SVG compass
   ========================================= */
.hero-bn {
    padding: clamp(3rem, 6vw, 5rem) var(--content-pad);
    background: var(--paper);
    border-bottom: 4px solid var(--ink);
    position: relative;
    overflow: hidden;
}

.hero-bn__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-bn__kicker {
    display: inline-block;
    padding: 0.45rem 1rem;
    background: var(--ink);
    color: var(--yellow);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-bn__title {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: clamp(1.8rem, 7vw, 5.2rem);
    line-height: 1.02;
    color: var(--ink);
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.hero-bn__title .highlight {
    background: var(--yellow);
    padding: 0 0.3em;
    box-shadow: 6px 6px 0 var(--ink);
    display: inline-block;
}
.hero-bn__title .line-under {
    border-bottom: 6px solid var(--yellow);
    padding-bottom: 0.1em;
}

.hero-bn__lede {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.hero-bn__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-bn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.2rem;
    background: var(--ink);
    color: var(--white);
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--yellow);
    transition: var(--transition);
}
.btn-bn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--yellow);
    background: var(--yellow);
    color: var(--ink);
}
.btn-bn--ghost {
    background: var(--white);
    color: var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
}
.btn-bn--ghost:hover { background: var(--yellow); }

.hero-bn__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 3px solid var(--ink);
}
.stat {
    min-width: 0;
}
.stat .v {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.stat .l {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--muted);
    text-transform: uppercase;
}

/* Compass visual */
.hero-bn__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.compass-wrap {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1;
    filter: drop-shadow(10px 10px 0 var(--ink));
}
.compass-svg {
    width: 100%;
    height: 100%;
}
.compass-needle {
    transform-origin: 200px 200px;
    transform-box: fill-box;
    animation: needleSway 5s ease-in-out infinite;
}
@keyframes needleSway {
    0%, 100% { transform: rotate(-10deg); }
    50%      { transform: rotate(10deg); }
}

.compass-chip {
    position: absolute;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 3px solid var(--ink);
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 var(--ink);
}
.chip-1 { top: 8%;  left: -8%;  background: var(--yellow); animation: chipFloat 4s ease-in-out infinite; }
.chip-2 { top: 50%; right: -10%; animation: chipFloat 4.5s ease-in-out infinite 0.6s; }
.chip-3 { bottom: 8%; left: 5%;  background: var(--yellow); animation: chipFloat 5s ease-in-out infinite 1.2s; }
@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* =========================================
   D-B: Section divider lines (between sections)
   ========================================= */
.manifesto-bn,
.posts-bn {
    border-top: 4px solid var(--ink);
}

/* =========================================
   F-D: Single manifesto block
   ========================================= */
.manifesto-bn {
    padding: var(--section-pad) var(--content-pad);
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.manifesto-bn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--yellow) 0 30px, var(--ink) 30px 60px);
}
.manifesto-bn__inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.m-kicker {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--yellow);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.m-text {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: clamp(1.3rem, 2.8vw, 2.2rem);
    line-height: 1.3;
    color: var(--white);
    text-transform: none;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.m-text strong {
    background: var(--yellow);
    color: var(--ink);
    padding: 0 0.25em;
    font-weight: 900;
    text-transform: uppercase;
}
.m-signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 700;
}
.m-line {
    width: 60px;
    height: 3px;
    background: var(--yellow);
}

/* =========================================
   C-A: Vertical classic post cards
   V-B: Neobrutalism
   ========================================= */
.posts-bn {
    padding: var(--section-pad) var(--content-pad);
    background: var(--paper);
}
.posts-bn__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--ink);
}
.sec-kicker {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: var(--ink);
    color: var(--yellow);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.btn-text {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 4px;
    border-bottom: 3px solid var(--yellow);
}
.btn-text:hover { color: var(--muted); }

.posts-bn__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.post-card-bn {
    background: var(--white);
    border: 3px solid var(--ink);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    box-shadow: 6px 6px 0 var(--ink);
    min-width: 0;
}
.post-card-bn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--yellow);
}
.pc-thumb {
    display: block;
    height: clamp(180px, 22vw, 240px);
    overflow: hidden;
    border-bottom: 3px solid var(--ink);
}
.pc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pc-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.pc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.8rem;
}
.pc-cat { color: var(--ink); }
.pc-cat a { color: inherit; }
.pc-cat a:hover { color: var(--muted); }

.post-card-bn h3 {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: var(--ink);
    text-transform: none;
}
.post-card-bn h3 a:hover { color: var(--muted); }

.post-card-bn p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.pc-read {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 4px;
    border-bottom: 3px solid var(--yellow);
    align-self: flex-start;
    margin-top: auto;
}
.pc-read:hover { color: var(--muted); }

.posts-bn__allbtn { text-align: center; margin-top: 5rem; }

/* =========================================
   Pagination — Neobrutalism
   ========================================= */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.6rem; margin: 5rem 0; flex-wrap: wrap; }
.pagination .page-numbers {
    display: flex; align-items: center; justify-content: center;
    min-width: 48px; height: 48px; padding: 0 10px;
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    transition: 0.3s;
}
.pagination .page-numbers.current {
    background: var(--yellow); color: var(--ink); border-color: var(--ink);
}
.pagination .page-numbers.dots { border: none; background: transparent; box-shadow: none; cursor: default; }
.pagination .page-numbers:hover:not(.current):not(.dots) {
    background: var(--yellow);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--ink);
}

/* =========================================
   FT-A: Minimalistic footer
   ========================================= */
.site-footer {
    background: var(--ink);
    color: var(--white);
    padding: 3rem var(--content-pad) 2rem;
    border-top: 6px solid var(--yellow);
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(2rem, 5vw, 4rem);
    flex-wrap: wrap;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo {
    display: inline-flex !important;
    align-items: baseline;
    gap: 2px;
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.4rem);
    color: var(--white);
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    min-width: 0;
}
.footer-logo span { color: var(--yellow); }

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-nav a:hover { color: var(--yellow); }

.footer-contact {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 100%;
    overflow-wrap: break-word;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    gap: 1rem;
}

/* =========================================
   Single / Page / Category
   ========================================= */
.single-hero {
    padding: clamp(3rem, 6vw, 5rem) var(--content-pad);
    background: var(--white);
    border-bottom: 4px solid var(--ink);
}
.single-hero .kicker {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: var(--ink);
    color: var(--yellow);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.single-hero h1 {
    max-width: 900px;
    margin-bottom: 0;
}

.post-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--section-pad) var(--content-pad);
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--ink-soft);
}
.post-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-top: 4rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--yellow);
    text-transform: uppercase;
}
.post-content h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    margin-top: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.post-content h4 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}
.post-content p { margin-bottom: 1.5rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-content li { margin-bottom: 0.8rem; }
.post-content ul li::marker { color: var(--yellow); }
.post-content a {
    color: var(--ink);
    border-bottom: 3px solid var(--yellow);
    font-weight: 600;
}
.post-content a:hover { background: var(--yellow); }
.post-content blockquote {
    margin: 2.5rem 0;
    padding: 1.8rem 2rem;
    background: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--yellow);
    font-size: 1.1rem;
    color: var(--ink);
    font-weight: 500;
}
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border: 3px solid var(--ink);
    font-size: 0.9rem;
}
.post-content th, .post-content td {
    padding: 0.9rem 1rem;
    border: 1px solid var(--ink);
    text-align: left;
}
.post-content th {
    background: var(--ink);
    color: var(--yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.post-footer {
    max-width: var(--content-width);
    margin: 0 auto 5rem;
    padding: 1.5rem 2rem;
    background: var(--white);
    border: 3px solid var(--ink);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-left: auto;
    margin-right: auto;
}
.post-footer .val { color: var(--ink); }

.archive-hero {
    padding: clamp(3rem, 6vw, 5rem) var(--content-pad);
    background: var(--white);
    border-bottom: 4px solid var(--ink);
}

/* 404 */
.err-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 6vw, 5rem) var(--content-pad);
    text-align: center;
    background: var(--yellow);
    position: relative;
    overflow: hidden;
}
.err-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(45deg, transparent 45%, rgba(28, 28, 28, 0.08) 45%, rgba(28, 28, 28, 0.08) 55%, transparent 55%);
    background-size: 20px 20px;
    pointer-events: none;
}
.err-404 {
    position: relative;
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: clamp(6rem, 18vw, 14rem);
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.05em;
    z-index: 1;
    margin-bottom: 1rem;
    text-shadow: 8px 8px 0 var(--white);
}
.err-section h1 { position: relative; z-index: 1; }
.err-section p {
    max-width: 600px;
    margin: 1rem auto 2.5rem;
    color: var(--ink);
    font-weight: 500;
    position: relative;
    z-index: 1;
}
.err-section .btn-bn { position: relative; z-index: 1; background: var(--ink); color: var(--yellow); box-shadow: 6px 6px 0 var(--white); }

/* =========================================
   Responsive — Rule 3 Sidebar Reset
   ========================================= */
@media (max-width: 1200px) {
    .hero-bn__grid { grid-template-columns: 1fr; }
    .hero-bn__visual { order: -1; }
    .compass-wrap { max-width: 360px; }
    .posts-bn__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    /* Sidebar collapses — contained offset removed */
    :root { --sidebar-width: 0px; }

    .site-header.site-sidebar {
        position: fixed;
        top: 0; left: 0; right: 0;
        bottom: auto;
        width: 100%;
        height: 70px;
        border-right: none;
        border-bottom: 4px solid var(--yellow);
        overflow: visible;
    }
    .sidebar-inner {
        padding: 0 1.5rem;
        height: 70px;
        min-height: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    .sidebar-badge, .sidebar-footer, .nav-label { display: none; }
    .logo { margin-bottom: 0; font-size: 1.4rem; flex-shrink: 0; }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: var(--yellow);
        border: 2px solid var(--ink);
        cursor: pointer;
        padding: 10px;
        z-index: 10001;
    }
    .nav-toggle span {
        width: 20px; height: 2px;
        background: var(--ink);
        transition: 0.3s;
    }
    body.menu-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.menu-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .main-nav {
        display: none;
        position: fixed;
        inset: 70px 0 0 0;
        background: var(--ink);
        padding: 2rem 1.5rem;
        z-index: 10000;
        overflow-y: auto;
    }
    body.menu-open .main-nav { display: block; }
    body.menu-open .main-nav ul { display: block; }

    .site-main {
        margin-left: 0 !important;
        width: 100% !important;
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    .posts-bn__grid { grid-template-columns: 1fr; }
    .hero-bn__stats { flex-direction: column; gap: 1rem; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-nav ul { flex-direction: column; gap: 0.8rem; }
}

@media (max-width: 480px) {
    .compass-chip { font-size: 0.7rem; padding: 0.35rem 0.7rem; }
    .chip-1 { left: 0; }
    .chip-2 { right: 0; }
    .hero-bn__title .highlight { box-shadow: 3px 3px 0 var(--ink); }
    .hero-bn__actions { flex-direction: column; align-items: stretch; }
    .btn-bn { justify-content: center; }
}
