/* ==========================================================================
   MRO – layout v2 (na podstawie new-design/Landing v2 responsive.dc.html)
   Breakpointy: sm 640, md 768, lg 1024, xl 1280
   ========================================================================== */

:root {
    --ink: #1f1d19;
    --sand: #f1eee7;
    --sand2: #e3dfd4;
    --brand: #e8760f;
    --brand-link: #d9701a;
    --brand-link-hover: #b85a10;
    --mute: #4a463e;
    --mute2: #6b665b;
    --line: #cfc9bb;
    --ghost: #8f8a7e;
    --font-sans: 'Barlow', Helvetica, Arial, sans-serif;
    --font-cond: 'Barlow Condensed', Impact, sans-serif;
    --gutter: 20px;
    --border: 3px solid var(--ink);
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1280px) { :root { --gutter: 56px; } }

html, body {
    height: auto;
}
body.mro {
    min-height: 100vh;
    background: var(--sand);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
body.mro > [data-barba="container"] { display: flex; flex-direction: column; min-height: 100vh; }
body.mro > [data-barba="container"] > main { flex: 1 0 auto; }
body.mro a { color: var(--brand-link); }
body.mro a:hover { color: var(--brand-link-hover); }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.text-brand { color: var(--brand); }
.text-mute { color: var(--mute); }
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ---------- Typografia ---------- */
.h2, .h3 {
    margin: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
.h2 { font-size: 40px; }
.h3 { font-size: 36px; }
@media (min-width: 768px) {
    .h2 { font-size: 56px; }
    .h3 { font-size: 44px; }
}
.lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--mute); max-width: 480px; }

/* ---------- Przyciski ---------- */
body.mro .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 0;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
body.mro .btn--dark { background: var(--ink); color: #fff; }
body.mro .btn--dark:hover { background: #000; color: #fff; }
body.mro .btn--sm { padding: 10px 16px; font-size: 16px; font-weight: 600; letter-spacing: .025em; }
body.mro .btn--lg { padding: 16px 24px; font-size: 20px; }
@media (min-width: 768px) { body.mro .btn--lg { font-size: 22px; } }
body.mro .btn--shadow { box-shadow: 6px 6px 0 var(--brand); }
body.mro .btn--shadow:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--brand); }

body.mro .link-cta {
    color: var(--ink);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .025em;
    border-bottom: 2px solid var(--ink);
}
body.mro .link-cta:hover { color: var(--brand-link-hover); border-color: var(--brand-link-hover); }
body.mro .link-cta--brand { align-self: flex-start; font-size: 20px; line-height: 1.2; border-bottom: 3px solid var(--brand); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 4px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 var(--gutter);
    background: var(--sand);
}
@media (min-width: 1024px) { .site-header { height: 105px; } }

.site-logo { display: block; flex-shrink: 0; }
.site-logo img { display: block; width: auto; height: 64px; }
@media (min-width: 1024px) { .site-logo img { height: 85px; } }

.site-header__mobile-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px;
    background: transparent; border: 2px solid var(--ink);
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu – mobile (rozwijane) */
.site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--sand);
    border-top: var(--border);
    border-bottom: var(--border);
}
.site-nav.is-open { display: block; }
.site-nav__menu { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
body.mro .site-nav__menu > li > a {
    display: block;
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
    text-transform: lowercase;
}
body.mro .site-nav__menu > li > a::before { content: none; }
body.mro .site-nav__menu > li.current-menu-item > a { color: var(--brand); }
.site-nav__menu .menu-item--login { display: none; }
.site-nav__menu .menu-item--cta { order: 99; padding: 20px var(--gutter); }
body.mro .site-nav__menu .menu-item--cta > a {
    padding: 12px 20px;
    border: 2px solid var(--ink);
    text-align: center;
    font-family: var(--font-cond);
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .025em;
}

/* Menu – desktop */
@media (min-width: 1024px) {
    .site-header__mobile-actions { display: none; }
    .site-nav, .site-nav.is-open {
        display: block;
        position: static;
        border: 0;
        background: transparent;
    }
    .site-nav__menu { flex-direction: row; align-items: center; gap: 24px; white-space: nowrap; }
    body.mro .site-nav__menu > li > a {
        position: relative;
        padding: 6px 0;
        border: 0;
        font-size: 15px;
    }
    body.mro .site-nav__menu > li:not(.menu-item--cta):not(.menu-item--login) > a::before {
        content: "";
        position: absolute; left: 0; right: 0; bottom: 0;
        height: 3px;
        background: var(--brand);
        transform: scaleX(0);
        transition: transform .2s ease;
        width: auto;
    }
    body.mro .site-nav__menu > li:not(.menu-item--cta):not(.menu-item--login) > a:hover::before,
    body.mro .site-nav__menu > li.current-menu-item:not(.menu-item--cta) > a::before { transform: scaleX(1); }
    body.mro .site-nav__menu > li.current-menu-item > a { color: var(--ink); }

    .site-nav__menu .menu-item--login { display: block; order: 98; }
    .site-nav__menu .menu-item--cta { padding: 0; }
    body.mro .site-nav__menu .menu-item--login > a,
    body.mro .site-nav__menu .menu-item--cta > a {
        padding: 12px 20px;
        font-family: var(--font-cond);
        font-weight: 600;
        font-size: 17px;
        text-transform: uppercase;
        letter-spacing: .025em;
    }
    body.mro .site-nav__menu .menu-item--login > a { background: var(--ink); color: #fff; }
    body.mro .site-nav__menu .menu-item--login > a:hover { background: #000; }
    body.mro .site-nav__menu .menu-item--cta > a { padding: 10px 20px; border: 2px solid var(--ink); }
    body.mro .site-nav__menu .menu-item--cta > a:hover,
    body.mro .site-nav__menu .menu-item--cta.current-menu-item > a { background: var(--ink); color: #fff; }
}
@media (min-width: 1280px) {
    .site-nav__menu { gap: 32px; }
    body.mro .site-nav__menu > li > a { font-size: 16px; }
}

/* Pasek tytułu podstron */
.page-title {
    padding: 28px var(--gutter);
    background: var(--brand);
    border-top: var(--border);
    border-bottom: var(--border);
}
.page-title__heading {
    margin: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    color: var(--ink);
    text-wrap: balance;
}
@media (min-width: 768px) {
    .page-title { padding: 40px var(--gutter); }
    .page-title__heading { font-size: 48px; }
}

/* ==========================================================================
   Podstrony (treść z Gutenberga)
   ========================================================================== */
.site-main { padding: 40px 0 64px; }
.site-content { width: 95%; margin: 0 auto; font-size: 17px; line-height: 1.55; color: var(--mute); }
@media (min-width: 1024px) { .site-content--narrow { width: 60%; } }
.site-content h1, .site-content h2, .site-content h3, .site-content h4 {
    color: var(--ink);
    font-family: var(--font-cond);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
}
body.mro .site-content a { color: var(--brand-link); font-weight: 500; }
body.mro .site-content a:hover { color: var(--brand-link-hover); }

body.mro .wp-block-button .wp-block-button__link.wp-element-button {
    background-color: var(--ink);
    color: #fff;
    border-radius: 0;
    font-family: var(--font-cond);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
body.mro .wp-block-button .wp-block-button__link.wp-element-button:hover { background-color: var(--brand); color: var(--ink); }
body.mro .wp-block-button .wp-block-button__link[data-text=NIE]:before,
body.mro .wp-block-button .wp-block-button__link[data-text=TAK]:before { filter: invert(1); }

/* ==========================================================================
   Landing
   ========================================================================== */
body.mro .landing a:not(.btn) { font-weight: inherit; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 56px;
    background: var(--brand);
    text-align: center;
}
@media (min-width: 768px) { .hero { gap: 28px; padding-top: 80px; padding-bottom: 80px; } }
@media (min-width: 1024px) { .hero { padding-top: 96px; padding-bottom: 96px; } }
.hero > * { position: relative; }
.hero .hero__ring {
    position: absolute;
    right: -64px; bottom: -96px;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, .1);
}
@media (min-width: 768px) { .hero .hero__ring { width: 520px; height: 520px; border-width: 90px; } }
.hero__badge {
    padding: 8px 12px;
    background: var(--sand);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
}
@media (min-width: 768px) { .hero__badge { font-size: 15px; } }
.hero__title {
    margin: 0;
    max-width: 980px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 44px;
    line-height: .95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-wrap: balance;
}
.hero__title span { color: #fff; }
@media (min-width: 640px) { .hero__title { font-size: 60px; } }
@media (min-width: 768px) { .hero__title { font-size: 80px; } }
@media (min-width: 1024px) { .hero__title { font-size: 96px; } }
.hero__lead {
    margin: 0;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 500;
    text-wrap: pretty;
}
@media (min-width: 768px) { .hero__lead { font-size: 20px; } }

.hero__picker {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 760px;
    margin-top: 8px;
    background: var(--sand);
    border: var(--border);
    box-shadow: 8px 8px 0 var(--ink);
    text-align: left;
}
@media (min-width: 768px) {
    .hero__picker { grid-template-columns: 1fr auto; margin-top: 16px; box-shadow: 12px 12px 0 var(--ink); }
}
.hero__picker-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    border-bottom: var(--border);
    cursor: pointer;
}
@media (min-width: 768px) { .hero__picker-field { border-bottom: 0; border-right: var(--border); } }
.hero__picker-field::after {
    content: "▾";
    position: absolute;
    right: 20px; bottom: 16px;
    color: var(--ghost);
    pointer-events: none;
}
.hero__picker-label {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mute2);
}
.hero__picker-select {
    width: 100%;
    padding: 0 24px 0 0;
    background: transparent;
    border: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.hero__picker-select:focus { outline: none; }
.hero__picker-field:focus-within { outline: 3px solid var(--brand); outline-offset: -6px; }
.hero__picker-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: var(--ink);
    color: #fff;
    border: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}
.hero__picker-submit:hover { background: #000; }

.hero__notes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    font-family: var(--font-cond);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hero__dot { display: none; }
body.mro .hero__notes a { color: var(--ink); border-bottom: 2px solid var(--ink); }
body.mro .hero__notes a:hover { color: #fff; border-color: #fff; }
@media (min-width: 768px) {
    .hero__notes { gap: 8px 28px; font-size: 14px; }
    .hero__dot { display: inline; }
}

/* Sekcja z nagłówkiem i linią */
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.section-head__line { flex: 1; height: 3px; background: var(--ink); }
.section-head__tag {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand);
}
@media (min-width: 768px) {
    .section-head { gap: 24px; margin-bottom: 48px; }
    .section-head__tag { font-size: 18px; }
}

/* Karty */
.card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    background: #fff;
    border: var(--border);
}
@media (min-width: 768px) { .card { padding: 28px; } }
.card__num {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 56px;
    line-height: 1;
    color: var(--brand);
}
@media (min-width: 768px) { .card__num { font-size: 72px; } }
.card__title {
    margin: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    text-transform: uppercase;
}
@media (min-width: 768px) { .card__title { font-size: 26px; } }
.card__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--mute); }
.card__foot {
    margin-top: auto;
    padding-top: 12px;
    border-top: 2px solid var(--ink);
    font-size: 14px;
    line-height: 1.4;
    color: var(--mute);
}
body.mro .card__foot a { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--brand); }

.card--row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
    padding: 20px;
}
.card--row .card__num { font-size: 40px; }
.card--row .card__title { font-size: 22px; margin-bottom: 8px; }
.card--row .card__text { font-size: 15px; }
@media (min-width: 768px) {
    .card--row { grid-template-columns: 64px 1fr; padding: 24px 28px; }
    .card--row .card__num { font-size: 44px; }
    .card--row .card__title { font-size: 24px; }
}

/* Jak to działa */
.steps { padding-top: 64px; padding-bottom: 56px; }
.steps__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) {
    .steps { padding-top: 96px; padding-bottom: 80px; }
    .steps__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* Ścieżki */
.paths { padding-top: 64px; padding-bottom: 64px; background: var(--ink); color: var(--sand); }
@media (min-width: 768px) { .paths { padding-top: 88px; padding-bottom: 88px; } }
.paths__head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.paths__head .h2 { max-width: 700px; }
.paths__head p { margin: 0; max-width: 380px; font-size: 16px; line-height: 1.5; color: var(--line); }
@media (min-width: 768px) { .paths__head { margin-bottom: 44px; } }
@media (min-width: 1024px) {
    .paths__head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
}
.paths__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .paths__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .paths__grid { gap: 24px; } }
@media (min-width: 1024px) {
    /* Szerokość plakatu liczona z wysokości ekranu, żeby cała sekcja mieściła się w widoku */
    .paths { --path-card-w: clamp(240px, calc((100svh - 400px) * 290 / 380), 380px); padding-top: 64px; padding-bottom: 64px; }
    .paths__head { max-width: max(calc(3 * var(--path-card-w) + 48px), 960px); margin-left: auto; margin-right: auto; margin-bottom: 36px; }
    .paths__grid { grid-template-columns: repeat(3, minmax(0, var(--path-card-w))); justify-content: center; }
    .path-card__label { padding: 16px 20px; }
    .path-card__title { font-size: 22px; }
}

body.mro .path-card {
    display: flex;
    flex-direction: column;
    color: var(--sand);
    border: 3px solid var(--sand);
    transition: border-color .15s ease;
}
body.mro .path-card:hover { color: var(--sand); border-color: var(--brand); }
.path-card img {
    display: block;
    width: 100%;
    aspect-ratio: 290 / 380;
    object-fit: cover;
    background: #5a554b;
}
.path-card__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-top: 3px solid var(--sand);
}
.path-card__title {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    text-transform: uppercase;
}
.path-card__arrow { color: var(--brand); font-size: 26px; transition: transform .15s ease; }
.path-card:hover .path-card__arrow { transform: translateX(4px); }
@media (min-width: 640px) and (max-width: 1023px) {
    .path-card:nth-child(3) { grid-column: span 2; }
    .path-card:nth-child(3) img { aspect-ratio: 2 / 1; object-position: center top; }
}

/* Społeczność */
.community {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 64px;
    padding-bottom: 64px;
}
.community__intro { display: flex; flex-direction: column; gap: 20px; }
.community__list { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) {
    .community { padding-top: 96px; padding-bottom: 96px; }
    .community__intro { gap: 24px; }
}
@media (min-width: 1024px) { .community { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Liczby */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
    padding-top: 48px;
    padding-bottom: 48px;
    background: var(--sand2);
    border-top: var(--border);
    border-bottom: var(--border);
}
@media (min-width: 768px) { .stats { padding-top: 72px; padding-bottom: 72px; } }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 0 16px; }
.stat:nth-child(odd) { padding-left: 0; border-right: 2px solid var(--ink); }
.stat:nth-child(even) { padding-right: 0; }
.stat__value { font-family: var(--font-cond); font-weight: 700; font-size: 56px; line-height: 1; }
.stat__label { font-size: 14px; line-height: 1.4; color: var(--mute); }
@media (min-width: 768px) {
    .stat__value { font-size: 80px; }
    .stat__label { font-size: 15px; }
}
@media (min-width: 1024px) {
    .stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
    .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 0 24px; border-right: 2px solid var(--ink); }
    .stat:first-child { padding-left: 0; }
    .stat:last-child { padding-right: 0; border-right: 0; }
}

/* O projekcie */
.about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
    padding-top: 64px;
    padding-bottom: 64px;
}
@media (min-width: 768px) { .about { padding-top: 88px; padding-bottom: 88px; } }
@media (min-width: 1024px) { .about { grid-template-columns: 1fr 1fr; gap: 72px; } }
.about__body { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.55; color: var(--mute); }
.about__body p { margin: 0; }
.about__orgs { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 16px; font-size: 14px; color: var(--mute2); }
.about__orgs strong { font-weight: 600; color: var(--ink); }

/* FAQ */
.faq {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    padding-bottom: 64px;
}
@media (min-width: 768px) { .faq { padding-bottom: 88px; } }
@media (min-width: 1024px) { .faq { grid-template-columns: 320px 1fr; gap: 64px; } }
.faq__list { border-top: var(--border); }
.faq__item { border-bottom: 2px solid var(--ink); }
.faq__q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__sign::before { content: "+"; color: var(--brand); font-size: 28px; line-height: 1; }
.faq__item[open] .faq__sign::before { content: "–"; }
.faq__a { margin: 0; padding: 0 40px 24px 0; font-size: 16px; line-height: 1.6; color: var(--mute); }
.faq__a p { margin: 0; }
.faq__a p + p { margin-top: 12px; }
body.mro .faq__link { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--brand); }
body.mro .faq__link:hover { color: var(--brand-link-hover); }
@media (min-width: 768px) {
    .faq__q { padding: 20px 0; font-size: 24px; }
    .faq__a { padding-right: 64px; }
}

/* Wsparcie + newsletter */
.support { display: grid; grid-template-columns: 1fr; border-top: var(--border); }
.support__col { display: flex; flex-direction: column; gap: 16px; padding: 40px var(--gutter); }
.support__col p { margin: 0; max-width: 440px; font-size: 16px; line-height: 1.5; }
.support__col .actions { margin-top: 8px; }
.support__col--brand { background: var(--brand); border-bottom: var(--border); }
.support__col--white { background: #fff; }
@media (min-width: 768px) {
    .support { grid-template-columns: 1fr 1fr; }
    .support__col { padding: 56px; }
    .support__col--brand { border-bottom: 0; border-right: var(--border); }
}

.newsletter { display: flex; flex-direction: column; margin-top: 8px; border: var(--border); }
.newsletter input {
    flex: 1;
    height: 52px;
    padding: 0 16px;
    border: 0;
    border-bottom: var(--border);
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--ink);
}
.newsletter input::placeholder { color: var(--ghost); }
.newsletter button {
    height: 52px;
    padding: 0 24px;
    background: var(--ink);
    color: #fff;
    border: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
@media (min-width: 640px) {
    .newsletter { flex-direction: row; }
    .newsletter input { border-bottom: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 36px var(--gutter) 28px;
    background: var(--ink);
    color: var(--sand);
}
.site-footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; font-size: 13px; }
.site-footer__logos img { display: block; width: auto; height: 44px; }
.site-footer__logos .site-footer__logo-fo { height: 50px; }
.site-footer__logos .site-footer__logo-ue { height: 64px; max-width: 100%; }
.site-footer__partners { display: block; width: 100%; max-width: 760px; height: auto; }
.site-footer__disclaimer { margin: 0; max-width: 900px; font-size: 13px; line-height: 1.5; color: var(--line); }
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 12px;
    color: var(--line);
}
body.mro .site-footer a { color: var(--sand); }
body.mro .site-footer a:hover { color: var(--brand); }
body.mro .site-footer a[target=_blank]::after { content: none; }

/* Nadpisanie "Dodatkowego CSS" z Customizera (li#menu-item-947 a { background: pomarańczowy }) */
#site-nav .menu-item--cta > a { background: transparent; color: var(--ink); }
#site-nav .menu-item--cta > a:hover,
#site-nav .menu-item--cta.current-menu-item > a { background: var(--ink); color: #fff; }

/* ==========================================================================
   Generator pism (wtyczka wp-gutenberg-pdf-form) – nadpisania w stylu v2
   Selektory z "body.mro #gwpdf-form-root" mają wyższą specyficzność niż style wtyczki.
   ========================================================================== */
body.mro .wp-block-gwpdf-pdf-form { margin: 0 auto; }
body.mro #gwpdf-form-root {
    font-family: var(--font-sans);
    color: var(--ink);
    line-height: 1.5;
}

/* Wspólne: etykiety pól */
body.mro #gwpdf-form-root .gwpdf-field > label,
body.mro #gwpdf-form-root .gwpdf-email-sender__field label,
body.mro #gwpdf-form-root .gwpdf-tree-location > label {
    margin-bottom: 10px !important;
    font-family: var(--font-cond);
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink) !important;
}
body.mro #gwpdf-form-root .gwpdf-tree-location > label { color: var(--mute2) !important; font-size: 13px !important; }

/* Wspólne: pola formularza */
body.mro #gwpdf-form-root input[type=text],
body.mro #gwpdf-form-root input[type=number],
body.mro #gwpdf-form-root input[type=email],
body.mro #gwpdf-form-root input[type=date],
body.mro #gwpdf-form-root select,
body.mro #gwpdf-form-root textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    background-color: #fff;
    border: 2px solid var(--ink);
    border-radius: 0;
    box-shadow: none;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--ink);
    transition: box-shadow .15s ease;
}
body.mro #gwpdf-form-root textarea { min-height: 110px; }
body.mro #gwpdf-form-root input::placeholder,
body.mro #gwpdf-form-root textarea::placeholder { color: var(--ghost); }
body.mro #gwpdf-form-root input:hover,
body.mro #gwpdf-form-root select:hover,
body.mro #gwpdf-form-root textarea:hover { border-color: var(--ink); }
body.mro #gwpdf-form-root input:focus,
body.mro #gwpdf-form-root select:focus,
body.mro #gwpdf-form-root textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 4px 4px 0 var(--brand);
}
/* Pole tylko do odczytu, np. e-mail urzędu z bazy w kroku 3 */
body.mro #gwpdf-form-root input[readonly] {
    background-color: var(--sand);
    border-color: var(--line);
    color: var(--mute);
    cursor: default;
}
body.mro #gwpdf-form-root input[readonly]:focus { box-shadow: none; }
/* Pole wyłączone, np. podpis przy wysyłce anonimowej */
body.mro #gwpdf-form-root input:disabled {
    background-color: var(--sand);
    border-color: var(--line);
    color: var(--mute);
    cursor: not-allowed;
}
body.mro #gwpdf-form-root select {
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath fill='%231f1d19' d='M0 0h14L7 9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 9px;
    cursor: pointer;
}

/* Podpowiedzi */
body.mro #gwpdf-form-root .gwpdf-helper {
    margin: 8px 0;
    padding: 10px 14px;
    background: var(--sand);
    border-left: 4px solid var(--brand);
    font-size: 14px;
    font-style: normal;
    line-height: 1.45;
    color: var(--mute);
}

/* Wybór rodzaju pisma */
body.mro #gwpdf-form-root .gwpdf-template-picker {
    margin-bottom: 32px;
    padding: 28px 24px;
    background: var(--brand);
    border: var(--border);
    box-shadow: 8px 8px 0 var(--ink);
}
body.mro #gwpdf-form-root .gwpdf-template-picker__label {
    margin-bottom: 14px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ink);
}
body.mro #gwpdf-form-root .gwpdf-template-picker__select {
    max-width: 760px;
    border-width: 3px;
    background-color: var(--sand);
    font-weight: 500;
    font-size: 17px;
}
@media (min-width: 768px) {
    body.mro #gwpdf-form-root .gwpdf-template-picker { padding: 36px 40px; box-shadow: 12px 12px 0 var(--ink); }
    body.mro #gwpdf-form-root .gwpdf-template-picker__label { font-size: 30px; }
}

/* Układ: formularz + podgląd */
body.mro #gwpdf-form-root .gwpdf-layout-wrapper { gap: 24px; }
body.mro #gwpdf-form-root .gwpdf-form-container {
    padding: 24px 16px;
    background: #fff;
    border: var(--border);
}
@media (min-width: 768px) { body.mro #gwpdf-form-root .gwpdf-form-container { padding: 40px; } }
body.mro #gwpdf-form-root .gwpdf-form-container h3 {
    margin: 0 0 32px;
    padding-bottom: 18px;
    border-bottom: var(--border);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.05;
    text-transform: uppercase;
    text-align: left;
    color: var(--ink);
    text-wrap: balance;
}
@media (min-width: 768px) { body.mro #gwpdf-form-root .gwpdf-form-container h3 { font-size: 36px; } }
body.mro #gwpdf-form-root .gwpdf-field { margin-bottom: 28px; }

/* Przełącznik "wpisz samodzielnie" */
body.mro #gwpdf-form-root .gwpdf-switch-slider {
    width: 56px;
    height: 30px;
    background-color: var(--sand2);
    border: 2px solid var(--ink);
}
body.mro #gwpdf-form-root .gwpdf-switch-slider::before {
    top: 3px; left: 3px;
    width: 20px; height: 20px;
    background-color: var(--ink);
}
body.mro #gwpdf-form-root .gwpdf-switch-input:checked + .gwpdf-switch-slider { background-color: var(--brand); }
body.mro #gwpdf-form-root .gwpdf-switch-input:checked + .gwpdf-switch-slider::before { transform: translateX(26px); }
body.mro #gwpdf-form-root .gwpdf-switch-input:focus-visible + .gwpdf-switch-slider { box-shadow: 3px 3px 0 var(--brand); }
body.mro #gwpdf-form-root .gwpdf-switch-text {
    font-family: var(--font-cond);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .08em;
    color: var(--mute);
}

/* Wyniki wyszukiwania urzędu */
body.mro #gwpdf-form-root .gwpdf-search-wrapper .gwpdf-results-list {
    margin-top: 6px;
    border: var(--border);
    box-shadow: 6px 6px 0 var(--ink);
}
body.mro #gwpdf-form-root .gwpdf-search-wrapper .gwpdf-results-list li {
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink);
}
body.mro #gwpdf-form-root .gwpdf-search-wrapper .gwpdf-results-list li:hover {
    padding-left: 16px;
    background-color: var(--brand);
    color: var(--ink);
}
body.mro #gwpdf-form-root .gwpdf-search-wrapper .gwpdf-spinner { color: var(--mute2); }

/* Lokalizacja + mapa */
body.mro #gwpdf-form-root .gwpdf-tree-location {
    padding: 16px 12px;
    background: var(--sand);
    border: 2px solid var(--ink);
}
@media (min-width: 768px) { body.mro #gwpdf-form-root .gwpdf-tree-location { padding: 24px; } }
body.mro #gwpdf-form-root .gwpdf-tree-location .gwpdf-map-container { border: 2px solid var(--ink); }
body.mro #gwpdf-form-root .gwpdf-tree-location .maplibregl-ctrl-group {
    border: 2px solid var(--ink) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Przyciski */
body.mro #gwpdf-form-root .gwpdf-gps-row__btn,
body.mro #gwpdf-form-root .gwpdf-actions button,
body.mro #gwpdf-form-root .gwpdf-email-sender__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 !important;
    border: 0;
    border-radius: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
body.mro #gwpdf-form-root .gwpdf-gps-row__btn {
    height: 52px;
    padding: 0 20px;
    font-size: 17px;
}
body.mro #gwpdf-form-root .gwpdf-gps-row__btn--locate { background: var(--ink); color: #fff; }
body.mro #gwpdf-form-root .gwpdf-gps-row__btn--locate:hover { background: #000; }
body.mro #gwpdf-form-root .gwpdf-gps-row__btn--clear { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
body.mro #gwpdf-form-root .gwpdf-gps-row__btn--clear:hover { background: var(--ink); color: #fff; }
body.mro #gwpdf-form-root .gwpdf-gps-row__btn:disabled { background: var(--ghost); color: #fff; box-shadow: none; }

body.mro #gwpdf-form-root .gwpdf-actions {
    gap: 16px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: var(--border);
}
body.mro #gwpdf-form-root .gwpdf-actions button,
body.mro #gwpdf-form-root .gwpdf-email-sender__btn {
    min-height: 56px;
    padding: 14px 28px !important;
    font-size: 22px !important;
    background: var(--ink);
    color: #fff;
    box-shadow: 6px 6px 0 var(--brand);
}
body.mro #gwpdf-form-root .gwpdf-actions button:hover,
body.mro #gwpdf-form-root .gwpdf-email-sender__btn:hover {
    background: #000;
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 var(--brand);
}
body.mro #gwpdf-form-root .gwpdf-actions button:disabled,
body.mro #gwpdf-form-root .gwpdf-email-sender__btn:disabled { opacity: .5; transform: none; }
body.mro #gwpdf-form-root .gwpdf-actions .gwpdf-preview-toggle-btn {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 2px var(--ink);
    font-size: 18px !important;
}
body.mro #gwpdf-form-root .gwpdf-actions .gwpdf-preview-toggle-btn:hover {
    background: var(--ink);
    color: #fff;
    transform: none;
    box-shadow: inset 0 0 0 2px var(--ink);
}

/* Zdjęcia */
body.mro #gwpdf-form-root .gwpdf-file-input { font-family: var(--font-sans); font-size: 15px; color: var(--mute); }
body.mro #gwpdf-form-root .gwpdf-file-input::file-selector-button {
    margin-right: 14px;
    padding: 10px 18px;
    background: var(--ink);
    color: #fff;
    border: 0;
    border-radius: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}
body.mro #gwpdf-form-root .gwpdf-file-input::file-selector-button:hover { background: var(--brand); color: var(--ink); }
body.mro #gwpdf-form-root .gwpdf-photo-item img { border: 2px solid var(--ink); }
body.mro #gwpdf-form-root .gwpdf-photo-remove {
    border-radius: 0;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
}
body.mro #gwpdf-form-root .gwpdf-photo-remove:hover { background: var(--brand); color: var(--ink); }

/* Wysyłka e-mailem */
body.mro #gwpdf-form-root .gwpdf-email-sender {
    margin-top: 40px;
    padding: 24px 16px;
    background: var(--sand2);
    border: var(--border);
}
@media (min-width: 768px) { body.mro #gwpdf-form-root .gwpdf-email-sender { padding: 32px; } }
body.mro #gwpdf-form-root .gwpdf-email-sender__title {
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: var(--border);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ink);
}
body.mro #gwpdf-form-root .gwpdf-email-sender__field .gwpdf-helper { background: #fff; border-left-color: var(--brand); color: var(--mute); }
body.mro #gwpdf-form-root .gwpdf-email-sender__status { border-left-width: 4px; font-weight: 500; }
body.mro #gwpdf-form-root .gwpdf-email-sender__status--info { background: #fff; border-left: 4px solid var(--brand); color: var(--ink); }
body.mro #gwpdf-form-root .gwpdf-email-sender .gwpdf-helper { background: #fff; }
body.mro #gwpdf-form-root .gwpdf-email-sender__notice { border-left-color: var(--ink); color: var(--ink); font-weight: 500; }
body.mro #gwpdf-form-root .gwpdf-email-sender__check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 0 6px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--ink);
    cursor: pointer;
}
body.mro #gwpdf-form-root .gwpdf-email-sender__check input[type=checkbox] {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    accent-color: var(--ink);
    cursor: pointer;
}
/* !important – wspólna reguła przycisków zeruje margin (margin: 0 !important). */
body.mro #gwpdf-form-root .gwpdf-email-sender__btn { margin-top: 32px !important; }

/* Podgląd dokumentu */
body.mro #gwpdf-form-root .gwpdf-preview-container {
    padding: 20px;
    background: #fff;
    border: var(--border);
}
body.mro #gwpdf-form-root .gwpdf-preview-container h4 {
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: var(--border);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
}
body.mro #gwpdf-form-root .gwpdf-preview-iframe,
body.mro #gwpdf-form-root .gwpdf-preview-container iframe { border: 2px solid var(--ink); background: var(--sand); }
body.mro #gwpdf-form-root .gwpdf-preview-loading { font-style: normal; color: var(--mute2); }

/* ==========================================================================
   Podstrona: wsparcie (page-wsparcie.php)
   ========================================================================== */
body.mro .btn--shadow-sand { box-shadow: 6px 6px 0 var(--sand); }
body.mro .btn--shadow-sand:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--sand); }

/* Hero */
.sp-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 64px;
    background: var(--brand);
    border-top: var(--border);
}
.sp-hero > * { position: relative; }
.sp-hero .hero__ring { position: absolute; }
.sp-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.sp-hero__title {
    margin: 0;
    max-width: 820px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 44px;
    line-height: .95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-wrap: balance;
}
.sp-hero__title span { color: #fff; }
.sp-hero__lead { margin: 0; max-width: 600px; font-size: 17px; line-height: 1.5; font-weight: 500; }
.sp-hero__note {
    font-family: var(--font-cond);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
@media (min-width: 640px) { .sp-hero__title { font-size: 60px; } }
@media (min-width: 768px) {
    .sp-hero { padding-top: 80px; padding-bottom: 88px; }
    .sp-hero__title { font-size: 76px; }
    .sp-hero__lead { font-size: 20px; }
}
@media (min-width: 1024px) {
    .sp-hero { grid-template-columns: 1fr auto; gap: 64px; padding-top: 96px; padding-bottom: 104px; }
    .sp-hero__title { font-size: 88px; }
}

body.mro .sp-qr {
    justify-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 16px;
    background: #fff;
    border: var(--border);
    box-shadow: 10px 10px 0 var(--ink);
    color: var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
body.mro .sp-qr:hover { color: var(--ink); transform: translate(3px, 3px); box-shadow: 7px 7px 0 var(--ink); }
.sp-qr img { display: block; width: 180px; height: 180px; }
.sp-qr__label {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
@media (min-width: 1024px) {
    body.mro .sp-qr { justify-self: end; transform: rotate(2deg); }
    body.mro .sp-qr:hover { transform: rotate(0) translate(3px, 3px); }
    .sp-qr img { width: 220px; height: 220px; }
}

/* Na co idą wpłaty */
.sp-uses { padding-top: 64px; padding-bottom: 64px; }
.sp-uses__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .sp-uses__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .sp-uses { padding-top: 96px; padding-bottom: 88px; } .sp-uses__grid { gap: 24px; } }
@media (min-width: 1280px) { .sp-uses__grid { grid-template-columns: repeat(4, 1fr); } }

/* Jak wpłacić */
.sp-how {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 56px;
    padding-bottom: 64px;
    background: var(--sand2);
    border-top: var(--border);
    border-bottom: var(--border);
}
@media (min-width: 768px) { .sp-how { padding-top: 80px; padding-bottom: 88px; } }
@media (min-width: 1024px) { .sp-how { grid-template-columns: 1.2fr 1fr; gap: 72px; } }
.sp-how__intro { display: flex; flex-direction: column; gap: 32px; }
.sp-steps { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border-top: var(--border); }
.sp-steps li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 2px solid var(--ink);
    font-size: 17px;
    line-height: 1.45;
    color: var(--mute);
}
.sp-steps strong { color: var(--ink); font-weight: 600; }
.sp-steps__num {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    color: var(--brand);
}
.sp-suppi {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 24px;
    background: #fff;
    border: var(--border);
    box-shadow: 8px 8px 0 var(--brand);
}
@media (min-width: 768px) { .sp-suppi { padding: 36px; } }
.sp-suppi p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--mute); }
.sp-suppi .sp-suppi__strong {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--ink);
}
.sp-suppi__logo { display: block; width: 110px; height: auto; margin-bottom: 4px; }
.sp-suppi .btn { margin-top: 8px; }

/* Inne sposoby */
.sp-other { padding-top: 64px; padding-bottom: 64px; background: var(--ink); color: var(--sand); }
@media (min-width: 768px) { .sp-other { padding-top: 88px; padding-bottom: 88px; } }
.sp-other__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .sp-other__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
body.mro .sp-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 180px;
    padding: 24px 24px 64px;
    background: transparent;
    border: 3px solid var(--sand);
    color: var(--sand);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
body.mro .sp-tile:hover { color: var(--sand); border-color: var(--brand); }
.sp-tile__title {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.05;
    text-transform: uppercase;
}
.sp-tile__text { font-size: 16px; line-height: 1.5; color: var(--line); }
.sp-tile__arrow {
    position: absolute;
    left: 24px; bottom: 18px;
    color: var(--brand);
    font-size: 30px;
    line-height: 1;
    transition: transform .15s ease;
}
.sp-tile:hover .sp-tile__arrow { transform: translateX(6px); }

/* CTA końcowe */
.sp-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-top: 56px;
    padding-bottom: 56px;
    background: var(--brand);
}
@media (min-width: 768px) {
    .sp-cta { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
}
body.mro .support-page a[target=_blank]::after,
body.mro .landing a[target=_blank]::after { content: none; display: none; }

/* ==========================================================================
   Podstrona: kontakt (page-kontakt.php)
   ========================================================================== */
body.mro .contact-page a[target=_blank]::after { content: none; display: none; }
.ct-icon { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; }

/* Hero */
.ct-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 64px;
    background: var(--brand);
    border-top: var(--border);
}
.ct-hero > * { position: relative; }
.ct-hero .hero__ring { position: absolute; }
.ct-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.ct-hero__title {
    margin: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 48px;
    line-height: .95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-wrap: balance;
}
.ct-hero__title span { color: #fff; }
.ct-hero__lead { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.5; font-weight: 500; }
@media (min-width: 640px) { .ct-hero__title { font-size: 64px; } }
@media (min-width: 768px) {
    .ct-hero { padding-top: 80px; padding-bottom: 88px; }
    .ct-hero__title { font-size: 80px; }
    .ct-hero__lead { font-size: 20px; }
}
@media (min-width: 1024px) {
    .ct-hero { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 96px; padding-bottom: 104px; }
    .ct-hero__title { font-size: 96px; }
}

.ct-mail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 28px 22px;
    background: var(--sand);
    border: var(--border);
    box-shadow: 8px 8px 0 var(--ink);
}
@media (min-width: 768px) { .ct-mail { padding: 36px; box-shadow: 12px 12px 0 var(--ink); } }
.ct-mail__label {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mute2);
}
body.mro .ct-mail__address {
    max-width: 100%;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.1;
    color: var(--ink);
    overflow-wrap: anywhere;
    border-bottom: 3px solid var(--brand);
}
body.mro .ct-mail__address:hover { color: var(--brand-link-hover); }
@media (min-width: 640px) { body.mro .ct-mail__address { font-size: 34px; } }
@media (min-width: 1280px) { body.mro .ct-mail__address { font-size: 40px; } }
.ct-mail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ct-copy {
    padding: 14px 20px;
    background: transparent;
    border: 2px solid var(--ink);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
}
.ct-copy:hover, .ct-copy.is-done { background: var(--ink); color: #fff; }
body.mro .ct-mail__fb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 2px solid var(--ink);
    align-self: stretch;
    font-weight: 600;
    color: var(--ink);
}
body.mro .ct-mail__fb:hover { color: var(--brand-link-hover); }

/* Zanim napiszesz */
.ct-help { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .ct-help { padding-top: 96px; padding-bottom: 88px; } }
.ct-help__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .ct-help__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
body.mro .ct-help__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: #fff;
    border: var(--border);
    color: var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
body.mro .ct-help__card:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--brand); }
@media (min-width: 768px) { body.mro .ct-help__card { padding: 28px; } }
.ct-help__q {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.05;
    text-transform: uppercase;
}
.ct-help__a { font-size: 16px; line-height: 1.5; color: var(--mute); }
.ct-help__link {
    margin-top: auto;
    padding-top: 12px;
    border-top: 2px solid var(--ink);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand);
}

/* Fundacje */
.ct-orgs { padding-top: 64px; padding-bottom: 64px; background: var(--ink); color: var(--sand); }
@media (min-width: 768px) { .ct-orgs { padding-top: 88px; padding-bottom: 88px; } }
.ct-orgs__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .ct-orgs__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ct-org { border: 3px solid var(--sand); }
.ct-org__head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border-bottom: 3px solid var(--sand);
}
.ct-org__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: var(--brand);
}
.ct-org__logo img { display: block; width: auto; height: 44px; }
.ct-org__name {
    margin: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.05;
    text-transform: uppercase;
}
@media (min-width: 768px) { .ct-org__name { font-size: 32px; } }
.ct-org__links { margin: 0; padding: 0; list-style: none; }
.ct-org__links li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(241, 238, 231, .2);
}
.ct-org__links li:last-child { border-bottom: 0; }
.ct-org__type {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ghost);
}
body.mro .ct-org__links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
    color: var(--sand);
    overflow-wrap: anywhere;
}
body.mro .ct-org__links a:hover { color: var(--brand); }

/* ==========================================================================
   Podstrona: o projekcie (page-o-projekcie.php)
   ========================================================================== */
body.mro .about-page a[target=_blank]::after { content: none; display: none; }

/* Hero – plakaty ścieżek ułożone w wachlarz */
.ab-posters { display: flex; justify-content: center; padding: 8px 0 12px; }
body.mro .ab-poster {
    display: block;
    width: 34%;
    max-width: 190px;
    border: var(--border);
    background: var(--sand);
    box-shadow: 8px 8px 0 var(--ink);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ab-poster img { display: block; width: 100%; height: auto; }
.ab-poster:nth-child(1) { transform: rotate(-6deg) translateY(10px); }
.ab-poster:nth-child(2) { position: relative; z-index: 1; margin: 0 -6%; }
.ab-poster:nth-child(3) { transform: rotate(5deg) translateY(14px); }
body.mro .ab-poster:hover { position: relative; z-index: 2; transform: rotate(0) translateY(-8px); box-shadow: 12px 12px 0 var(--ink); }
@media (min-width: 1024px) {
    .ab-posters { justify-content: flex-end; }
    body.mro .ab-poster { width: 180px; max-width: none; }
    .ab-poster:nth-child(2) { margin: 0 -36px; }
}
@media (min-width: 1280px) { body.mro .ab-poster { width: 210px; } }

/* Dla kogo */
.ab-focus {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 64px;
    padding-bottom: 64px;
    background: var(--ink);
    color: var(--sand);
}
@media (min-width: 768px) { .ab-focus { padding-top: 88px; padding-bottom: 88px; } }
@media (min-width: 1024px) {
    .ab-focus { grid-template-columns: 1.3fr 1fr; column-gap: 72px; align-items: end; }
    .ab-focus__tag { grid-column: 1 / -1; }
}
.ab-focus__tag {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand);
}
.ab-focus__quote {
    margin: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 44px;
    line-height: .95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-wrap: balance;
}
.ab-focus__quote span { color: var(--brand); }
@media (min-width: 768px) { .ab-focus__quote { font-size: 64px; } }
@media (min-width: 1280px) { .ab-focus__quote { font-size: 80px; } }
.ab-focus__body { display: flex; flex-direction: column; gap: 16px; padding-left: 20px; border-left: 3px solid var(--brand); }
.ab-focus__body p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--line); }

/* Nasza odpowiedź */
.ab-answer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 64px;
    padding-bottom: 64px;
}
@media (min-width: 768px) { .ab-answer { padding-top: 96px; padding-bottom: 88px; } }
@media (min-width: 1024px) { .ab-answer { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.ab-answer__intro { display: flex; flex-direction: column; gap: 24px; }
.ab-answer__intro p { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.55; color: var(--mute); }
@media (min-width: 1024px) { .ab-answer__intro { position: sticky; top: 32px; } }
.ab-tools { display: flex; flex-direction: column; border-top: var(--border); }
body.mro .ab-tool {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid var(--ink);
    color: var(--ink);
    transition: background-color .15s ease, padding .15s ease;
}
body.mro .ab-tool:hover { color: var(--ink); background: #fff; padding-left: 12px; padding-right: 12px; }
.ab-tool__num {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
    color: var(--brand);
}
.ab-tool__body { display: flex; flex-direction: column; gap: 6px; }
.ab-tool__title {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    text-transform: uppercase;
}
.ab-tool__text { font-size: 15px; line-height: 1.5; color: var(--mute); }
.ab-tool__arrow { color: var(--brand); font-size: 28px; transition: transform .15s ease; }
.ab-tool:hover .ab-tool__arrow { transform: translateX(4px); }
@media (min-width: 768px) {
    body.mro .ab-tool { grid-template-columns: 64px 1fr auto; padding: 24px 0; }
    .ab-tool__num { font-size: 48px; }
    .ab-tool__title { font-size: 28px; }
    .ab-tool__text { font-size: 16px; }
}

/* Kto za tym stoi */
.ab-orgs { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .ab-orgs { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1280px) { .ab-orgs { grid-template-columns: 1fr 1fr 1.2fr; } }
body.mro .ab-org {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border: 3px solid var(--sand);
    color: var(--sand);
    transition: border-color .15s ease;
}
body.mro .ab-org:hover { color: var(--sand); border-color: var(--brand); }
body.mro .ab-org--funder { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
@media (min-width: 768px) and (max-width: 1279px) { .ab-org--funder { grid-column: 1 / -1; } }
.ab-org__label {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ghost);
}
.ab-org__fo { display: block; width: 100%; max-width: 300px; height: auto; }
.ab-orgs__more { margin: 24px 0 0; font-size: 15px; color: var(--line); }
body.mro .ab-orgs__more a { color: var(--sand); font-weight: 600; border-bottom: 2px solid var(--brand); }
body.mro .ab-orgs__more a:hover { color: var(--brand); }

/* ==========================================================================
   Case study (archive-case-study.php, single-case-study.php)
   ========================================================================== */
.cs-hero { grid-template-columns: 1fr; }

/* Lista */
.cs-list { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .cs-list { padding-top: 88px; padding-bottom: 88px; } }
.cs-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cs-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
body.mro .cs-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: var(--border);
    color: var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
body.mro .cs-card:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--brand); }
.cs-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: var(--border);
    background: var(--sand2);
}
.cs-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.cs-card__date {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mute2);
}
.cs-card__title {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.05;
    text-transform: uppercase;
}
.cs-card__text { font-size: 16px; line-height: 1.5; color: var(--mute); }
.cs-card__more {
    margin-top: auto;
    padding-top: 12px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--brand-link);
}
.cs-card__more span { display: inline-block; transition: transform .15s ease; }
.cs-card:hover .cs-card__more span { transform: translateX(4px); }

.cs-empty { display: flex; flex-direction: column; gap: 16px; max-width: 640px; padding: 32px; background: #fff; border: var(--border); box-shadow: 8px 8px 0 var(--brand); }
.cs-empty .h3 { margin: 0; }
.cs-empty p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--mute); }

.cs-pagination { margin-top: 48px; }
.cs-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
body.mro .cs-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 10px 14px;
    border: var(--border);
    background: #fff;
    color: var(--ink);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}
body.mro .cs-pagination .page-numbers.current,
body.mro .cs-pagination a.page-numbers:hover { background: var(--ink); color: #fff; }
.cs-pagination .screen-reader-text { position: absolute !important; }

/* Pojedyncze case study */
body.mro .cs-back { color: var(--ink); }
body.mro .cs-back:hover { color: var(--brand-link-hover); }
@media (min-width: 1024px) { .cs-single__title { font-size: 72px; } }
.cs-single__media { padding-top: 40px; }
.cs-single__media img { display: block; width: 100%; max-height: 640px; object-fit: cover; border: var(--border); }
.cs-single__content { padding-top: 48px; padding-bottom: 72px; }

/* ==========================================================================
   Podstrona: do pobrania (page-dokumenty-do-pobrania.php)
   ========================================================================== */
.dl-icon { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; }
.downloads-page [id] { scroll-margin-top: 24px; }
.dl-hero { grid-template-columns: 1fr; }

/* Szybka nawigacja w hero */
.dl-jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
body.mro .dl-jump__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    background: var(--sand);
    border: var(--border);
    box-shadow: 4px 4px 0 var(--ink);
    color: var(--ink);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .03em;
    transition: transform .15s ease, box-shadow .15s ease;
}
body.mro .dl-jump__link:hover { color: var(--ink); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.dl-jump__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    background: var(--ink);
    color: var(--brand);
    font-size: 20px;
}

/* Wzory pism */
.dl-letters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 64px;
    padding-bottom: 64px;
}
@media (min-width: 768px) { .dl-letters { padding-top: 96px; padding-bottom: 88px; } }
@media (min-width: 1024px) { .dl-letters { grid-template-columns: 1fr 1.3fr; gap: 72px; } }
.dl-letters__intro { display: flex; flex-direction: column; gap: 20px; }
.dl-letters__intro > p { margin: 0; max-width: 460px; font-size: 17px; line-height: 1.55; color: var(--mute); }
.dl-tip {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    padding: 22px 24px;
    background: #fff;
    border: var(--border);
    box-shadow: 8px 8px 0 var(--brand);
}
.dl-tip p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--mute); }
.dl-tip__label {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
}
.dl-files { margin: 0; padding: 0; list-style: none; border-top: var(--border); }
body.mro .dl-file {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 2px solid var(--ink);
    color: var(--ink);
    transition: background-color .15s ease, padding .15s ease;
}
body.mro .dl-file:hover { color: var(--ink); background: #fff; padding-left: 12px; padding-right: 12px; }
.dl-file__type {
    padding: 6px 8px;
    background: #2b579a;
    color: #fff;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .08em;
}
.dl-file__body { display: flex; flex-direction: column; gap: 4px; }
.dl-file__title {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
    text-transform: uppercase;
}
.dl-file__meta { font-size: 14px; color: var(--mute2); }
.dl-file .dl-icon { width: 24px; height: 24px; color: var(--brand); transition: transform .15s ease; }
.dl-file:hover .dl-icon { transform: translateY(3px); }
@media (min-width: 768px) { .dl-file__title { font-size: 26px; } }

/* Plakaty */
.dl-posters { padding-top: 64px; padding-bottom: 64px; background: var(--ink); color: var(--sand); }
@media (min-width: 768px) { .dl-posters { padding-top: 88px; padding-bottom: 88px; } }
.dl-posters__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 560px) { .dl-posters__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .dl-posters__grid { gap: 24px; } }
@media (min-width: 1280px) { .dl-posters__grid { grid-template-columns: repeat(4, 1fr); } }
.dl-poster { display: flex; flex-direction: column; border: 3px solid var(--sand); }
.dl-poster img { display: block; width: 100%; height: auto; aspect-ratio: 300 / 422; object-fit: cover; background: #5a554b; border-bottom: 3px solid var(--sand); }
.dl-poster__body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 18px 20px 20px; }
.dl-poster__title {
    margin: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
    text-transform: uppercase;
}
.dl-poster__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
body.mro .dl-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    padding: 10px 12px;
    background: var(--brand);
    color: var(--ink);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    transition: background-color .15s ease;
}
body.mro .dl-btn:hover { background: var(--sand); color: var(--ink); }
.dl-btn__size { flex-basis: 100%; font-family: var(--font-sans); font-weight: 500; font-size: 12px; }

/* Wlepy */
.dl-stickers { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .dl-stickers { padding-top: 96px; padding-bottom: 88px; } }
.dl-stickers__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .dl-stickers__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1280px) { .dl-stickers__grid { grid-template-columns: repeat(5, 1fr); } }
body.mro .dl-sticker {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: var(--border);
    color: var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
body.mro .dl-sticker:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--brand); }
.dl-sticker__img { display: block; aspect-ratio: 1; }
.dl-sticker__img img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.dl-sticker:hover .dl-sticker__img img { transform: rotate(-4deg) scale(1.03); }
.dl-sticker__title {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
    text-transform: uppercase;
}
.dl-sticker__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 2px solid var(--ink);
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-link);
}
.dl-sticker__meta .dl-icon { width: 16px; height: 16px; }
@media (min-width: 768px) { .dl-sticker__title { font-size: 20px; } }
.dl-note { margin: 28px 0 0; font-size: 14px; color: var(--mute2); }

/* ==========================================================================
   Baza wiedzy (page-baza-wiedzy.php, single-baza-wiedzy.php)
   ========================================================================== */
.kb-hero { grid-template-columns: 1fr; }

/* Wyszukiwarka w hero */
.kb-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 640px;
    margin-top: 8px;
    padding: 0 18px;
    background: var(--sand);
    border: var(--border);
    box-shadow: 8px 8px 0 var(--ink);
}
.kb-search:focus-within { outline: 3px solid #fff; outline-offset: 3px; }
.kb-search__icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--mute2); }
.kb-search__input {
    flex: 1;
    min-width: 0;
    padding: 16px 0;
    background: transparent;
    border: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
}
.kb-search__input:focus { outline: none; }
.kb-search__input::placeholder { color: var(--ghost); }

/* Lista */
.kb-list { padding-top: 48px; padding-bottom: 64px; }
@media (min-width: 768px) { .kb-list { padding-top: 64px; padding-bottom: 88px; } }
.kb-list__head { margin-bottom: 20px; }
.kb-list__count {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mute2);
}
.kb-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .kb-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .kb-grid { grid-template-columns: repeat(3, 1fr); } }

body.mro .kb-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    background: #fff;
    border: var(--border);
    color: var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
body.mro .kb-card[hidden] { display: none; }
body.mro .kb-card:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--brand); }
.kb-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mute2);
}
.kb-card__meta span + span::before { content: "·"; margin-right: 16px; color: var(--brand); }
.kb-card__title {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.05;
    text-transform: uppercase;
    text-wrap: balance;
}
.kb-card__text { font-size: 16px; line-height: 1.5; color: var(--mute); }
.kb-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 2px solid var(--ink);
}
.kb-card__author { font-size: 14px; font-weight: 600; color: var(--mute); }
.kb-card__more {
    flex-shrink: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--brand-link);
}
.kb-card__more span { display: inline-block; transition: transform .15s ease; }
.kb-card:hover .kb-card__more span { transform: translateX(4px); }

/* Najnowszy artykuł – wyróżniony (znika z wyróżnienia podczas wyszukiwania) */
body.mro .kb-grid:not(.is-filtered) .kb-card--featured { background: var(--ink); border-color: var(--ink); color: var(--sand); }
body.mro .kb-grid:not(.is-filtered) .kb-card--featured:hover { color: var(--sand); }
.kb-grid:not(.is-filtered) .kb-card--featured .kb-card__meta,
.kb-grid:not(.is-filtered) .kb-card--featured .kb-card__text,
.kb-grid:not(.is-filtered) .kb-card--featured .kb-card__author { color: var(--line); }
.kb-grid:not(.is-filtered) .kb-card--featured .kb-card__foot { border-color: var(--sand); }
.kb-grid:not(.is-filtered) .kb-card--featured .kb-card__more { color: var(--brand); }
@media (min-width: 640px) {
    .kb-grid:not(.is-filtered) .kb-card--featured { grid-column: 1 / -1; padding: 32px; }
    .kb-grid:not(.is-filtered) .kb-card--featured .kb-card__title { font-size: 40px; max-width: 900px; }
    .kb-grid:not(.is-filtered) .kb-card--featured .kb-card__text { max-width: 760px; font-size: 18px; }
}
@media (min-width: 1024px) {
    .kb-grid:not(.is-filtered) .kb-card--featured .kb-card__title { font-size: 52px; }
}

.kb-empty { margin: 24px 0 0; font-size: 17px; color: var(--mute); }

/* Pojedynczy artykuł */
@media (min-width: 1024px) { .kb-single__title { font-size: 64px; } }
.kb-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.kb-single__meta span + span::before { content: "·"; margin-right: 16px; color: #fff; }
.kb-single__content { padding-top: 48px; padding-bottom: 72px; }
.kb-related { padding-top: 64px; padding-bottom: 72px; background: var(--sand2); border-top: var(--border); }

/* ==========================================================================
   Podstrona: logowanie (page-logowanie.php)
   ========================================================================== */
.lg-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 64px;
    background: var(--brand);
    border-top: var(--border);
}
@media (min-width: 768px) { .lg-wrap { padding-top: 80px; padding-bottom: 88px; } }
@media (min-width: 1024px) { .lg-wrap { grid-template-columns: 1.1fr 1fr; gap: 72px; padding-top: 96px; padding-bottom: 104px; } }
.lg-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.lg-title {
    margin: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 48px;
    line-height: .95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-wrap: balance;
}
.lg-title span { color: #fff; }
@media (min-width: 640px) { .lg-title { font-size: 64px; } }
@media (min-width: 1024px) { .lg-title { font-size: 80px; } }
.lg-lead { margin: 0; max-width: 540px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.lg-benefits { display: flex; flex-direction: column; width: 100%; max-width: 540px; margin: 8px 0 0; padding: 0; list-style: none; border-top: var(--border); }
.lg-benefits li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 2px solid var(--ink);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
}
.lg-benefits__num { font-family: var(--font-cond); font-weight: 700; font-size: 26px; line-height: 1; color: #fff; }

.lg-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 22px;
    background: var(--sand);
    border: var(--border);
    box-shadow: 8px 8px 0 var(--ink);
}
@media (min-width: 768px) { .lg-card { padding: 40px; box-shadow: 12px 12px 0 var(--ink); } }
.lg-card__title {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: var(--border);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    text-transform: uppercase;
}
.lg-card__text { margin: 0; font-size: 17px; color: var(--mute); }
.lg-card__error {
    margin: 0;
    padding: 12px 14px;
    background: #fff;
    border: 2px solid var(--ink);
    border-left: 6px solid #c62828;
    font-weight: 500;
}
.lg-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
body.mro .lg-card__logout {
    align-self: flex-start;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--mute2);
    border-bottom: 1px solid currentColor;
}

/* Formularz wp_login_form() */
.lg-card #loginform { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.lg-card #loginform p { margin: 0; }
.lg-card .login-username label,
.lg-card .login-password label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.lg-card #loginform .input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    color: var(--ink);
}
.lg-card #loginform .input:focus { outline: none; box-shadow: 4px 4px 0 var(--brand); }
.lg-card .login-remember label { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.lg-card .login-remember input { width: 20px; height: 20px; accent-color: var(--ink); }
.lg-card #wp-submit {
    width: 100%;
    min-height: 56px;
    background: var(--ink);
    color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: 6px 6px 0 var(--brand);
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.lg-card #wp-submit:hover { background: #000; transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--brand); }
.lg-card__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 2px solid var(--ink);
    font-size: 15px;
}
body.mro .lg-card__links a { color: var(--ink); }
body.mro .lg-card__links a:hover { color: var(--brand-link-hover); }
body.mro .lg-card__links strong { font-weight: 600; border-bottom: 2px solid var(--brand); }
