/* bielawski.pro - nadpisania motywu Source: uklad 3 kolumn (wzor: Thred), kolory marki ze starej strony
   (czerwien #e91931, grafit #222). Ladowane po built/screen.css, bez builda. */
:root {
    --bp-ink: #222;
    --bp-muted: #6b6b6b;
    --bp-line: #e6e6e6;
    --bp-soft: #f6f6f6;
}

/* --- szkielet --- */
.bp-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 280px;
    gap: 0;
    max-width: 1320px;
    margin: 0 auto;
    padding-top: 0 !important;
}
.bp-left, .bp-right { position: relative; }
.bp-left { border-right: 1px solid var(--bp-line); }
.bp-right { border-left: 1px solid var(--bp-line); }
.bp-left-inner, .bp-right-inner { position: sticky; top: 0; padding: 28px 20px; max-height: 100vh; overflow-y: auto; }
.bp-center { padding: 32px 40px 64px; min-width: 0; }

/* --- lewa kolumna --- */
.bp-nav, .bp-tags { list-style: none; margin: 0; padding: 0; }
.bp-nav li a, .bp-tags li a {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 8px; border-radius: 6px; color: var(--bp-ink);
    font-size: 1.45rem; font-weight: 500; text-decoration: none;
}
.bp-nav li a:hover, .bp-tags li a:hover { background: var(--bp-soft); }
.bp-side-title {
    margin: 28px 8px 8px; font-size: 1.15rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--bp-muted);
}
.bp-right .bp-side-title { margin: 0 0 8px; }
.bp-dot { width: 9px; height: 9px; border-radius: 2px; background: var(--c); flex: none; display: inline-block; }
.bp-count { margin-left: auto; font-size: 1.2rem; color: var(--bp-muted); font-weight: 400; }

/* --- srodek: naglowek z zapisem --- */
.bp-hero { text-align: center; padding: 24px 0 28px; }
.bp-hero-title { font-size: clamp(2.4rem, 2.6vw, 3.2rem); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; margin: 0 auto 18px; max-width: 640px; color: var(--bp-ink); }
.bp-hero-tag { text-align: left; padding-bottom: 12px; border-bottom: 1px solid var(--bp-line); margin-bottom: 8px; }
.bp-hero-tag .bp-hero-title { display: flex; align-items: center; gap: 12px; margin: 0; max-width: none; }
.bp-hero-tag .bp-dot { width: 14px; height: 14px; }
.bp-hero-sub { color: var(--bp-muted); font-size: 1.6rem; margin: 10px 0 0; }
.bp-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bp-form input {
    width: 280px; max-width: 100%; height: 42px; padding: 0 14px; font-size: 1.5rem;
    border: 1px solid var(--bp-line); border-radius: 8px; background: #fff; color: var(--bp-ink);
}
.bp-form .gh-button { height: 42px; padding: 0 18px; border-radius: 8px; }
.bp-form-ok, .bp-form-err { display: none; width: 100%; margin: 6px 0 0; font-size: 1.4rem; }
.bp-form.success .bp-form-ok, .bp-form.error .bp-form-err { display: block; }
.bp-form.success input, .bp-form.success button { display: none; }

/* --- zakladki --- */
.bp-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--bp-line); overflow-x: auto; margin-bottom: 4px; }
.bp-tabs a { padding: 10px 0; font-size: 1.45rem; font-weight: 600; color: var(--bp-muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.bp-tabs a.is-active, .bp-tabs a:hover { color: var(--bp-ink); border-bottom-color: var(--ghost-accent-color); }

/* --- lista wpisow --- */
.bp-row { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--bp-line); }
.bp-row-thumb { flex: none; width: 152px; height: 80px; border-radius: 8px; overflow: hidden; display: block; background: var(--bp-soft); }
.bp-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bp-row-date {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -.02em;
    background: var(--c);
}
.bp-row-body { min-width: 0; }
.bp-row-title { margin: 0 0 4px; font-size: 1.75rem; line-height: 1.3; font-weight: 700; }
.bp-row-title a { color: var(--bp-ink); }
.bp-row-title a:hover { color: var(--ghost-accent-color); }
.bp-star { color: var(--ghost-accent-color); }
.bp-row-excerpt { margin: 0 0 8px; font-size: 1.45rem; line-height: 1.5; color: var(--bp-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1.25rem; color: var(--bp-muted); }
.bp-pill {
    padding: 2px 8px; border-radius: 5px; font-size: 1.2rem; font-weight: 600; color: var(--bp-ink);
    background: color-mix(in srgb, var(--c) 14%, transparent);
}
.bp-pill:hover { background: color-mix(in srgb, var(--c) 28%, transparent); }
.bp-center .pagination { display: flex; justify-content: space-between; padding: 24px 0; font-size: 1.4rem; }

/* --- prawa kolumna --- */
.bp-box { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--bp-line); }
.bp-box:last-child { border-bottom: 0; }
.bp-box-logo { max-width: 200px; width: 100%; height: auto; margin-bottom: 12px; }
.bp-box p { font-size: 1.4rem; line-height: 1.55; color: var(--bp-muted); margin: 0 0 14px; }
.bp-button { width: 100%; justify-content: center; text-align: center; line-height: 1.3; height: auto; padding: 10px 14px; border-radius: 8px; }
.bp-box-muted p { font-size: 1.3rem; }

/* --- wpis w srodkowej kolumnie --- */
.bp-shell-post .gh-article { padding-top: 32px; }
.bp-shell-post .gh-canvas { display: block; max-width: 720px; margin: 0 auto; }
.bp-shell-post .gh-canvas > * { grid-column: auto; }
.bp-shell-post .gh-article-title { font-size: clamp(3rem, 3.2vw, 4rem); }
.gh-content h2 { font-size: 2.3rem; margin-top: 1.6em; }
.gh-article-tag { color: var(--ghost-accent-color) !important; }

/* --- nawigacja gorna: logo marki --- */
.gh-navigation { border-bottom: 1px solid var(--bp-line); }
.gh-navigation-logo img { height: 28px; width: auto; max-height: none; }

/* --- mniejsze ekrany: najpierw znika prawa, potem lewa kolumna (lewa = menu burger Ghosta) --- */
@media (max-width: 1100px) {
    .bp-shell { grid-template-columns: 200px minmax(0, 1fr); }
    .bp-right { display: none; }
}
@media (max-width: 760px) {
    .bp-shell { grid-template-columns: minmax(0, 1fr); }
    .bp-left { display: none; }
    .bp-center { padding: 20px 16px 48px; }
    .bp-row-thumb { width: 122px; height: 64px; }
    .bp-row-date { font-size: 1.8rem; }
}

/* --- przelacznik jezyka --- */
.bp-lang { font-size: 1.35rem; font-weight: 700; padding: 6px 10px; border: 1px solid var(--bp-line); border-radius: 6px; color: var(--bp-ink); margin-right: 8px; }
.bp-lang:hover { border-color: var(--ghost-accent-color); color: var(--ghost-accent-color); }

/* --- zgoda przy zapisie --- */
.bp-consent { display: flex; gap: 8px; align-items: flex-start; width: 100%; max-width: 560px; margin: 10px auto 0; text-align: left; font-size: 1.25rem; line-height: 1.45; color: var(--bp-muted); }
.bp-consent input { margin-top: 3px; flex: none; }
.bp-consent a { text-decoration: underline; }
.bp-form.success .bp-consent { display: none; }

.bp-form-note { margin: -6px auto 14px; max-width: 520px; font-size: 1.4rem; color: var(--bp-muted); }
.bp-box-note { margin: 10px 0 0 !important; font-size: 1.25rem !important; }
.bp-form .bp-consent input { width: 16px; height: 16px; padding: 0; margin: 3px 0 0; border-radius: 3px; accent-color: var(--ghost-accent-color); }
.bp-consent span { flex: 1; }

/* --- teksty dwujezyczne w elementach wspolnych (stopka) --- */
html[lang="en"] .bp-pl, html:not([lang="en"]) .bp-en { display: none; }
.bp-footer-consent { margin: 14px auto 0; max-width: 560px; }
.bp-consent-missing span { color: var(--ghost-accent-color); }
.gh-content .bp-lead { font-size: 2rem; line-height: 1.5; margin: 0 0 1.4em; }

/* --- stopka --- */
.bp-footer { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; border-top: 1px solid var(--bp-line); text-align: left; }
.bp-footer-logo img { height: 28px; width: auto; }
.bp-footer p { margin: 14px 0 0; font-size: 1.4rem; line-height: 1.55; color: var(--bp-muted); max-width: 320px; }
.bp-footer h4 { margin: 0 0 12px; font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-muted); }
.bp-footer ul { list-style: none; margin: 0; padding: 0; }
.bp-footer li { margin: 0 0 8px; font-size: 1.45rem; }
.bp-footer li a { color: var(--bp-ink); }
.bp-footer li a:hover { color: var(--ghost-accent-color); }
.bp-footer-li { display: inline-flex; align-items: center; gap: 6px; }
.bp-footer-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 32px; border-top: 1px solid var(--bp-line); font-size: 1.3rem; color: var(--bp-muted); }
.bp-footer-bar a { color: var(--bp-muted); text-decoration: underline; }
@media (max-width: 760px) { .bp-footer { grid-template-columns: 1fr 1fr; } .bp-footer-about { grid-column: 1 / -1; } }

/* --- baner cookies --- */
.bp-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9000; max-width: 720px; margin: 0 auto; padding: 18px 20px; background: #fff; color: var(--bp-ink); border: 1px solid var(--bp-line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.15); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.bp-cookies[hidden] { display: none; }
.bp-cookies p { flex: 1 1 320px; margin: 0; font-size: 1.35rem; line-height: 1.5; }
.bp-cookies a { text-decoration: underline; }
.bp-cookies-btns { display: flex; gap: 8px; }
.bp-cookies-btn { border-radius: 8px; padding: 0 16px; height: 40px; }
.bp-cookies-btn[data-bp-choice="denied"] { background: var(--bp-soft); color: var(--bp-ink); }

/* --- zakladki: przyciski przelaczajace panele, bez paska przewijania --- */
.bp-tabs { overflow-y: hidden; scrollbar-width: none; }
.bp-tabs::-webkit-scrollbar { display: none; }
.bp-tabs button { padding: 10px 0; font: inherit; font-size: 1.45rem; font-weight: 600; color: var(--bp-muted); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.bp-tabs button.is-active, .bp-tabs button:hover { color: var(--bp-ink); border-bottom-color: var(--ghost-accent-color); }
.bp-panel[hidden] { display: none; }
.bp-panel-more { display: inline-block; margin: 18px 0 0; font-size: 1.45rem; font-weight: 600; color: var(--ghost-accent-color); }
.bp-hero { padding-bottom: 20px; }
.bp-hero-title { margin-bottom: 0; }

/* --- poprawki mobilne (przeglad 05.11) --- */
.gh-button-share { white-space: nowrap; }
.bp-mobile-nav { display: none; list-style: none; margin: 0; padding: 0; }
@media (max-width: 767px) {
    .bp-mobile-nav { display: block; width: 100%; }
    .bp-mobile-nav li a { display: block; padding: 8px 0; font-size: 2rem; font-weight: 600; }
    /* menu mobilne: jedna kolumna, „O mnie” pod działami, nie obok */
    #gh-navigation.is-open .gh-navigation-menu { flex-direction: column; align-items: flex-start; justify-content: center; }
    #gh-navigation.is-open .gh-navigation-menu .nav { align-items: flex-start; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--color-border, #e6e6e6); width: 100%; }
    #gh-navigation.is-open .gh-navigation-menu .nav a { font-size: 2rem; font-weight: 600; }
}
/* „5 min czytania” i data nie łamią się w pół */
.gh-article-meta-length, .gh-article-meta-date { white-space: nowrap; }
