/* Norwit Blog UX — header, linia meta, pasek postępu, spis treści z boku. */

.ybc_blog_sidebar .ybc_block_featured { display: none !important; }
body:has(.ybc-blog-wrapper-detail) .ybc_block_author.page_html_box { display: none !important; }
body:has(.ybc-blog-wrapper-detail) .ybc_blog_sidebar .ybc_block_tag { display: none !important; }

.ybc_blog_sidebar .nbm-tags { clear: both; margin: 0 0 30px; }
.nbm-tags-list { display: flex; flex-wrap: wrap; gap: 9px; }
.nbm-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid #e4e2dd;
    border-radius: 999px;
    background: #f6f5f3;
    color: #5b5b57 !important;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
.nbm-tag::before { content: "#"; margin-right: 4px; color: #b6b4ad; transition: color .15s; }
.nbm-tag:hover,
.nbm-tag:focus {
    background: #fff7e2;
    border-color: #ffd97a;
    color: #1d1d1a !important;
}
.nbm-tag:hover::before,
.nbm-tag:focus::before { color: #d99a00; }
.nbm-tags-more {
    cursor: pointer;
    border-style: dashed;
    background: transparent;
    color: #8a8880 !important;
}
.nbm-tags-more::before { content: none; }
.nbm-tag.nbm-hidden { display: none; }

/* Paginacja kategorii/listy bloga — wg makiety (Wstecz / 1 2 … / Dalej + Strona X z Y) */
#ybc_blog_page .blog-paggination { margin: 26px 0 6px; display: block; text-align: center; }
#ybc_blog_page .blog-paggination .results { display: none !important; }
#ybc_blog_page .blog-paggination .links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
#ybc_blog_page .blog-paggination .links a,
#ybc_blog_page .blog-paggination .links b,
#ybc_blog_page .blog-paggination .links .nbm-pag-edge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 44px;
    height: 44px;
    padding: 0 13px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(20, 23, 28, .06);
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1a;
    white-space: nowrap;
    text-decoration: none !important;
    transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
#ybc_blog_page .blog-paggination .links a:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(20, 23, 28, .1); }
#ybc_blog_page .blog-paggination .links b {
    background: linear-gradient(180deg, #ffd24d 0%, #ffc009 100%);
    border-color: #ffc009;
    color: #1d1d1a;
    box-shadow: 0 6px 18px rgba(255, 192, 9, .35);
}
#ybc_blog_page .blog-paggination .links a:hover { border-color: #c9c6bf; }
#ybc_blog_page .blog-paggination .links .nbm-pag-edge { gap: 5px; min-width: auto !important; width: auto !important; padding: 0 14px !important; color: #1d1d1a; }
/* tekst etykiet Wstecz/Dalej — YBC chowa .links a span (font-size:0 / text-indent); wymuszamy widocznosc */
#ybc_blog_page .blog-paggination .links .nbm-pag-edge span {
    font-size: 15px !important;
    text-indent: 0 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    text-transform: none !important;
    white-space: nowrap;
}
#ybc_blog_page .blog-paggination .links .nbm-pag-disabled {
    color: #b6b4ad !important;
    cursor: default;
    background: #fafafa;
    box-shadow: none !important;
}
#ybc_blog_page .blog-paggination .links .nbm-pag-gap {
    box-shadow: none !important;
}
#ybc_blog_page .blog-paggination .links svg { fill: currentColor; flex: none; }
#ybc_blog_page .blog-paggination .links .nbm-pag-gap {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 22px;
    height: 44px;
    padding: 0 2px;
    color: #b6b4ad;
    font-weight: 700;
    border: 0;
    background: none;
}
#ybc_blog_page .nbm-pag-info {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #8a8880;
}
#ybc_blog_page .nbm-pag-info b { color: #1d1d1a; font-weight: 700; }

/* Hero bloga (slider YBC) — zaokraglone rogi + wylaczona nawigacja (sama grafika) */
#ybc_blog_page .ybc-blog-slider,
#ybc_blog_page .ybc-blog-slider .nivoSlider,
#ybc_blog_page .ybc-blog-slider .ybc_slider_image,
#ybc_blog_page .ybc-blog-slider img {
    border-radius: 8px !important;
    overflow: hidden !important;
}
#ybc_blog_page .bybc-blog-slider .nivo-directionNav,
#ybc_blog_page .bybc-blog-slider .nivo-controlNav,
#ybc_blog_page .ybc-blog-slider .nivo-directionNav,
#ybc_blog_page .ybc-blog-slider .nivo-controlNav { display: none !important; }
/* Hero na mobile — pelna szerokosc ekranu, bez zaokraglen */
@media (max-width: 767px) {
    #ybc_blog_page .bybc-blog-slider {
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
        overflow: hidden;
    }
    #ybc_blog_page .bybc-blog-slider .block_content,
    #ybc_blog_page .ybc-blog-slider,
    #ybc_blog_page .ybc-blog-slider .nivoSlider,
    #ybc_blog_page .ybc-blog-slider .ybc_slider_image,
    #ybc_blog_page .ybc-blog-slider img {
        width: 100% !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
    }
    #ybc_blog_page .ybc-blog-slider img { height: auto !important; }
}

/* === Strona „Wszystkie kategorie" — karty kategorii (wg makiety) === */
#ybc_blog_page .list_category_item .post-wrapper,
#ybc_blog_page .list_category_item .ybc-blog-wrapper-content,
#ybc_blog_page .list_category_item .ybc-blog-wrapper-content-main {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
#ybc_blog_page .list_category_item .ybc_item_img {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #eceef0;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    flex: none;
}
#ybc_blog_page .list_category_item .ybc_item_img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; border-radius: 0 !important; }
#ybc_blog_page .list_category_item .ybc_item_img::before {
    content: "Kategoria";
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: #7a7a7a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
#ybc_blog_page .list_category_item .ybc-blog-wrapper-content-main { padding: 18px !important; gap: 10px; }
#ybc_blog_page .list_category_item .ybc_title_block {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    color: #1d1d1a;
    text-decoration: none;
}
#ybc_blog_page .list_category_item .ybc_title_block .nbm-cat-num {
    display: inline !important;
    color: #ffc009;
    font-weight: 800;
    margin-left: 4px;
    width: auto !important;
    background: none !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}
#ybc_blog_page .list_category_item .blog_description { font-size: 14px; line-height: 1.6; color: #5b5b57; margin: 0; }
#ybc_blog_page .list_category_item .blog_description p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#ybc_blog_page .list_category_item .view_detail_link.blog_view_all {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    width: 100%;
    height: 46px;
    padding: 0 16px;
    background: linear-gradient(180deg, #ffd24d 0%, #ffc009 100%) !important;
    color: #1d1d1a !important;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: filter .15s, transform .15s, box-shadow .15s;
}
#ybc_blog_page .list_category_item .view_detail_link.blog_view_all:hover {
    filter: brightness(0.97);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 192, 9, .35);
}
#ybc_blog_page .list_category_item .view_detail_link.blog_view_all::after {
    content: "";
    width: 18px;
    height: 18px;
    flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%231d1d1a'%3E%3Cpath d='m560-240-56-58 142-142H160v-80h486L504-662l56-58 240 240-240 240Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* === Strona kategorii — naglowek + sortowanie (wg makiety, nasze kolory) === */
#ybc_blog_page .blog-category .nbm-cat-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #ffc009;
}
#ybc_blog_page .blog-category .nbm-cat-eyebrow-line {
    flex: none;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: #ffc009;
}
#ybc_blog_page .ybc-blog-wrapper-blog-list h1.page-heading,
#ybc_blog_page .ybc-blog-wrapper-blog-list h2.page-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    color: #1d1d1a;
    text-transform: none !important;
}
#ybc_blog_page .ybc-blog-wrapper-blog-list { padding-top: 0 !important; }
#ybc_blog_page .blog-category { margin-top: 0 !important; padding-top: 0 !important; }
#ybc_blog_page .ybc-blog-wrapper-blog-list .nbm-cat-count {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff6e2;
    color: #ffc009;
    font-size: 14px;
    font-weight: 800;
}
#ybc_blog_page .ybc-blog-wrapper-blog-list .blog-category-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #41454d;
    margin: 0;
}
#ybc_blog_page .ybc-blog-wrapper-blog-list .blog-category-desc p { margin: 0; }
#ybc_blog_page .ybc-blog-wrapper-blog-list .blog-category-desc strong,
#ybc_blog_page .ybc-blog-wrapper-blog-list .blog-category-desc b { font-weight: 700; color: #1d1d1a; }
#ybc_blog_page .ybc-blog-wrapper-blog-list .blog-category-desc a {
    color: #ffc009;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
#ybc_blog_page .ybc-blog-wrapper-blog-list .blog-category-desc a:hover { color: #d99e00; }

/* Karty listy kategorii — meta (data + czas czytania) — wszedzie */
#ybc_blog_page .ybc-blog-list .nbm-cardmeta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #7a7a7a;
}
#ybc_blog_page .ybc-blog-list .nbm-cardmeta-ic { width: 15px; height: 15px; fill: currentColor; flex: none; }
#ybc_blog_page .ybc-blog-list .ybc-blog-latest-toolbar.nbm-meta-ready { display: flex; gap: 16px; align-items: center; }

/* Karty listy kategorii — wyglad wg makiety (desktop + mobile) */
#ybc_blog_page .ybc-blog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
#ybc_blog_page .ybc-blog-list > li {
    list-style: none;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(20, 23, 28, .06);
}
#ybc_blog_page .ybc-blog-list .ybc_item_img { display: block; margin: 0; overflow: hidden; border-radius: 8px 8px 0 0; }
#ybc_blog_page .ybc-blog-list .ybc_item_img img { width: 100% !important; height: auto; display: block; margin: 0; border-radius: 8px 8px 0 0; }
#ybc_blog_page .ybc-blog-list .ybc-blog-wrapper-content,
#ybc_blog_page .ybc-blog-list .ybc-blog-wrapper-content-main { padding: 0; }
#ybc_blog_page .ybc-blog-list .ybc-blog-wrapper-content-main { padding: 18px !important; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
#ybc_blog_page .ybc-blog-list .ybc-blog-wrapper-content-main a.ybc_title_block {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-height: 3.05em;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #1d1d1a;
    text-decoration: none;
    text-transform: none;
}
#ybc_blog_page .ybc-blog-list .ybc-blog-latest-toolbar.nbm-meta-ready {
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid #ececec;
}
#ybc_blog_page .ybc-blog-list .blog_description { font-size: 14px; line-height: 1.6; color: #5b5b57; margin: 0; }
#ybc_blog_page .ybc-blog-list .blog_description p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#ybc_blog_page .ybc-blog-list .read_more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: #ffc009 !important;
    font-weight: 700;
    font-style: normal;
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
#ybc_blog_page .ybc-blog-list .read_more::after {
    content: "";
    width: 16px;
    height: 16px;
    flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%23ffc009'%3E%3Cpath d='m560-240-56-58 142-142H160v-80h486L504-662l56-58 240 240-240 240Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 767px) {
    #ybc_blog_page .ybc-blog-list { grid-template-columns: 1fr; gap: 16px; }
    /* boki jak na artykule (16px) — usuwamy 30px paddingu wrappera listy, tylko mobile */
    #ybc_blog_page .ybc-blog-wrapper-blog-list { padding-left: 0 !important; padding-right: 0 !important; }
}
#ybc_blog_page .ybc-blog-wrapper-blog-list .nbm-cat-divider {
    height: 1px;
    background: #ececec;
    margin: 22px 0 4px;
}
#ybc_blog_page .nbm-cats-desc + .nbm-cat-divider { margin: 22px 0 26px; }

#ybc_blog_page .post-selection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
#ybc_blog_page .post-selection > div { float: none !important; width: auto !important; max-width: 100%; min-width: 0; padding: 0 !important; margin: 0 !important; }
#ybc_blog_page .post-selection [class*="col-"] { padding: 0 !important; margin: 0 !important; float: none !important; }
#ybc_blog_page .post-selection .products-sort-order { flex: 0 1 auto; min-width: 0; }
#ybc_blog_page .nbm-sortcount { font-size: 14px; color: #8a8880; }
#ybc_blog_page .nbm-sortcount b { color: #1d1d1a; font-weight: 800; }
#ybc_blog_page .post-selection .col-md-8 { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto !important; }
#ybc_blog_page .post-selection .sort-by { width: auto !important; padding: 0 !important; font-size: 14px; color: #5b5b57; white-space: nowrap; }
#ybc_blog_page .post-selection .products-sort-order { width: auto !important; padding: 0 !important; }
#ybc_blog_page .post-selection select[name="ybc_sort_by_posts"] {
    height: 46px;
    padding: 0 42px 0 16px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%231d1d1a'%3E%3Cpath d='M480-345 240-585l51-51 189 189 189-189 51 51-240 240Z'/%3E%3C/svg%3E") no-repeat right 14px center;
    background-size: 16px;
    box-shadow: 0 6px 18px rgba(20, 23, 28, .06);
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1a;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Blok „Tagi bloga" (sidebar) — wyglad jak tagi artykulu (klasa nbm-tag dodawana w JS) */
#ybc_blog_page .ybc_block_tag .blog_tag { display: flex; flex-wrap: wrap; gap: 9px; }
#ybc_blog_page .ybc_block_tag .ybc-blog-tag-a { margin: 0; float: none; font-size: 14px; }
#ybc_blog_page .ybc_block_tag .nbm-tags-more { font-size: 14px; }

.nbm-readbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

.nbm-readbar-fill {
    height: 100%;
    width: 0;
    background: #ffc009;
    transition: width .1s linear;
}

.ybc_blog_img_wrapper {
    margin-top: -30px;
}

.ybc_blog_img_wrapper img {
    border-radius: 8px;
}

@media (max-width: 767px) {
    .ybc_blog_img_wrapper {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
    }
    .ybc_blog_img_wrapper img {
        border-radius: 0;
        width: 100%;
        display: block;
    }

    /* Mniejszy odstep tresci od krawedzi ekranu (tylko strona bloga) */
    #ybc_blog_page .container .container { padding-left: 0; padding-right: 0; }
    #ybc_blog_page #wrapper > .container { padding-left: 14px; padding-right: 14px; }
    #ybc_blog_page .ybc-blog-wrapper-detail { padding-left: 0; padding-right: 0; }
    #ybc_blog_page #content-wrapper.right-column,
    #ybc_blog_page #content-wrapper.left-column { padding-left: 14px; padding-right: 14px; }
}

.nbm-post-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin: 20px 0 14px;
    color: #1d1d1a;
}

.nbm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    color: #7a7a7a;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Mobilny pasek meta (avatar + imie/rola + pigulki) — pokazywany tylko < 768px */
.nbm-meta-m { display: none; }

.nbm-mmeta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #7a7a7a;
    font-size: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7e9ed;
}
.nbm-mmeta-av {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a3f48, #1d2026);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .3px;
}
.nbm-mmeta-av-photo { background: none; overflow: hidden; }
.nbm-mmeta-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.nbm-mmeta-who { font-size: 13px; line-height: 1.3; }
.nbm-mmeta-who b { display: block; color: #1d1d1a; font-weight: 700; }
.nbm-mmeta-who span { color: #7a7a7a; font-size: 11.5px; }
.nbm-mmeta-chips { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.nbm-mchip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #6b7280;
    background: #fafafa;
    padding: 5px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.nbm-mchip-ic { width: 14px; height: 14px; flex: 0 0 14px; fill: #9aa0a8; }

/* Przelaczanie paska meta: desktop domyslnie, mobilny < 768px (po definicjach + wieksza specyficznosc) */
@media (max-width: 767px) {
    #ybc_blog_page .nbm-meta-d { display: none; }
    #ybc_blog_page .nbm-meta-m { display: block; }
}

.nbm-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nbm-ic {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: #7a7a7a;
}

.nbm-summary {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff9e6;
    border: 1px solid #ffc009;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 0 22px;
}

.nbm-summary-ic {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    fill: #d99e00;
    margin-top: 1px;
}

.nbm-summary-text {
    line-height: 1.6;
    color: #3a3a3a;
}

.nbm-summary-text strong {
    color: #1d1d1a;
}

.nbm-toc {
    display: none;
}

.nbm-toc-inner {
    padding: 0;
}

.nbm-toc-title,
.ybc_blog_sidebar .ybc_block_search .title_blog,
.ybc_blog_sidebar .ybc_block_categories .title_blog,
.ybc_blog_sidebar .ybc_block_tag .title_blog,
.ybc_blog_sidebar .nbm-lp-head,
.ybc-blog-related-posts .nbm-lp-head {
    font-size: 16px !important;
    font-weight: 700;
    color: #1d1d1a;
    text-transform: none !important;
    line-height: 1.3;
    white-space: nowrap;
    margin: 0 0 14px !important;
    padding: 0 0 10px !important;
    position: relative;
}

.nbm-toc-title::after,
.ybc_blog_sidebar .ybc_block_search .title_blog::after,
.ybc_blog_sidebar .ybc_block_categories .title_blog::after,
.ybc_blog_sidebar .ybc_block_tag .title_blog::after,
.ybc_blog_sidebar .nbm-lp-head::after,
.ybc-blog-related-posts .nbm-lp-head::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    border-bottom: 2px solid #ffc009;
}

.ybc_blog_sidebar .ybc_block_categories .title_blog {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.nbm-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: nbm-toc;
}

.nbm-toc-item {
    padding: 5px 0 5px 14px;
    border-left: 2px solid #ececec;
}

.nbm-toc-item.nbm-h2 {
    counter-increment: nbm-toc;
}

.nbm-toc-item.nbm-h3 {
    padding-left: 26px;
}

.nbm-toc-item a {
    display: block;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color .15s;
}

.nbm-toc-item.nbm-h2 > a::before {
    content: counter(nbm-toc, decimal-leading-zero);
    margin-right: 10px;
    color: #b0b0b0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.nbm-toc-item a:hover {
    color: #1d1d1a;
}

.nbm-toc-item.active {
    border-left-color: #ffc009;
}

.nbm-toc-item.active a {
    color: #1d1d1a;
    font-weight: 600;
}

.nbm-toc-item.active.nbm-h2 > a::before {
    color: #ffc009;
}

.nbm-body .ets_begin_heading_table,
.nbm-body .ets_end_heading_table {
    display: none;
}

.nbm-body .blog_description > :first-child {
    margin-top: 0;
}

@media (min-width: 992px) {
    .nbm-layout {
        display: grid;
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 48px;
        width: 100%;
        align-items: start;
    }

    .nbm-toc {
        display: block;
        position: sticky;
        top: 80px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .nbm-body img,
    .nbm-body table {
        max-width: 100%;
    }
}

.ybc_blog_sidebar .ybc_block_categories {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 18px 16px !important;
    box-shadow: none !important;
}

.ybc_blog_sidebar .ybc_block_search,
.ybc_blog_sidebar .ybc_block_tag {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    padding: 0 !important;
    box-shadow: none !important;
}

.ybc_blog_sidebar .ybc_block_search .content_block,
.ybc_blog_sidebar .ybc_block_categories .content_block,
.ybc_blog_sidebar .ybc_block_tag .content_block {
    border-top: none !important;
}

.ybc_blog_sidebar .ybc_block_search .icon_search {
    display: none !important;
}

.ybc_blog_sidebar .ybc_block_search input.form-control {
    width: 100%;
    height: 40px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 8px !important;
    background: #f5f5f3 url("../img/search.svg") 12px center / 16px no-repeat !important;
    padding: 0 12px 0 38px !important;
    font-size: 14px !important;
    color: #333 !important;
}

.ybc_blog_sidebar .ybc_block_search input.form-control:focus {
    outline: none;
    border-color: #ffc009 !important;
    background-color: #fff !important;
}

.ybc_blog_sidebar .nbm-author {
    clear: both;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.nbm-author-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.nbm-author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 56px;
}

.nbm-author-name {
    font-weight: 700;
    color: #1d1d1a;
    font-size: 15px;
    line-height: 1.3;
}

.nbm-author-role {
    color: #7a7a7a;
    font-size: 13px;
    line-height: 1.3;
}

.nbm-author-bio {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.nbm-cat-total {
    font-size: 13px;
    font-weight: 400;
    color: #9a9a9a;
    white-space: nowrap;
}

.nbm-cat-filter {
    margin-bottom: 12px;
}

.nbm-cat-filter input {
    width: 100%;
    height: 40px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #f5f5f3 url("../img/search.svg") 12px center / 16px no-repeat;
    padding: 0 12px 0 38px;
    font-size: 14px;
    color: #333;
}

.nbm-cat-filter input:focus {
    outline: none;
    border-color: #ffc009;
    background-color: #fff;
}

.ybc_blog_sidebar .ybc_block_categories ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.ybc_blog_sidebar .ybc_block_categories li {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 8px;
}

.ybc_blog_sidebar .ybc_block_categories li:hover {
    background: #f7f7f5;
}

.ybc_blog_sidebar .ybc_block_categories li a {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 14px;
    color: #333 !important;
}

.ybc_blog_sidebar .ybc_block_categories li a::before {
    display: none !important;
}

.nbm-cat-num {
    flex: 0 0 auto;
    background: #efefe9;
    color: #777;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 13px;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

.ybc_blog_sidebar .ybc_block_categories li.active {
    background: #fff7e6;
    border-radius: 8px;
}

.ybc_blog_sidebar .ybc_block_categories li.active a {
    color: #1d1d1a !important;
    font-weight: 700;
}

.ybc_blog_sidebar .ybc_block_categories li.active .nbm-cat-num {
    background: #ffc009;
    color: #1d1d1a;
}

.ybc_blog_sidebar .ybc_block_categories li.nbm-cat-hidden,
.ybc_blog_sidebar .ybc_block_categories li.nbm-cat-nomatch {
    display: none !important;
}

.nbm-cat-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 14px;
    cursor: pointer;
}

.nbm-cat-toggle:hover {
    color: #1d1d1a;
}

.nbm-cat-toggle svg {
    fill: currentColor;
    transition: transform .2s;
}

.nbm-cat-toggle.nbm-cat-open svg {
    transform: rotate(180deg);
}

.ybc_blog_sidebar .ybc_block_categories .blog_view_all_button {
    margin-top: 14px;
    padding: 0;
    text-align: center;
}

.ybc_blog_sidebar .ybc_block_categories .blog_view_all_button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd24d 0%, #ffc009 100%);
    color: #1d1d1a !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: filter .15s, transform .15s, box-shadow .15s;
}

.ybc_blog_sidebar .ybc_block_categories .blog_view_all_button a:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 192, 9, .35);
}

.ybc_blog_sidebar .nbm-lp {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    padding: 0 !important;
    box-shadow: none !important;
}

.nbm-lp-all {
    position: absolute;
    top: 2px;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #ffc009 !important;
    text-decoration: none;
    white-space: nowrap;
}

.nbm-lp-all svg {
    fill: currentColor;
    transition: transform .15s;
}

.nbm-lp-all:hover svg {
    transform: translateX(3px);
}

.ybc_blog_sidebar .nbm-lp .block_content {
    margin: 0 !important;
    border-top: none !important;
}

.ybc_blog_sidebar .nbm-lp .ybc_blog_content_block_item {
    padding: 0 !important;
    margin: 0 !important;
}

.nbm-lp-card {
    display: block;
    margin: 0 2px 3px 0;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
    color: inherit;
    text-decoration: none !important;
    transition: box-shadow .15s, transform .15s;
}

.nbm-lp-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .07);
    transform: translateY(-2px);
}

.nbm-lp-thumb {
    position: relative;
    display: block;
    background: #f1f1ef;
    overflow: hidden;
    line-height: 0;
}

.nbm-lp-img {
    width: 100%;
    height: auto;
    display: block;
}

.nbm-lp-noimg {
    display: block;
    aspect-ratio: 16 / 10;
    background: #eceae6 url("../img/norwit-logo.webp") center / 110px no-repeat;
}

.nbm-lp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffc009;
    color: #1d1d1a;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
}

.nbm-lp-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 14px 14px 0;
    color: #7a7a7a;
    font-size: 13px;
}

.nbm-lp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nbm-lp-meta-item svg {
    fill: #7a7a7a;
    flex: 0 0 auto;
}

.nbm-lp-title {
    display: block;
    padding: 8px 14px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #1d1d1a;
}

.nbm-lp-excerpt {
    display: block;
    padding: 8px 14px 0;
    font-size: 13px;
    line-height: 1.55;
    color: #6b6b6b;
}

.nbm-lp-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 12px 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ffc009;
}

.nbm-lp-more svg {
    fill: currentColor;
    transition: transform .15s;
}

.nbm-lp-card:hover .nbm-lp-more svg {
    transform: translateX(3px);
}

#ybc_blog_page .ybc-blog-related-posts { border-top: 0 !important; }
.ybc-blog-related-posts .slick-track { display: flex !important; }
#ybc_blog_page .ybc-blog-related-posts .slick-slide { height: auto !important; }
#ybc_blog_page .ybc-blog-related-posts .slick-slide > div,
.ybc-blog-related-posts .ybc_blog_content_block_item { height: 100%; }
.ybc-blog-related-posts .ybc_blog_content_block_item { padding: 0 8px !important; }
.ybc-blog-related-posts .nbm-lp-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}
.ybc-blog-related-posts .nbm-lp-excerpt { flex: 1 1 auto; }
.ybc-blog-related-posts .nbm-lp-thumb { aspect-ratio: 13 / 9; }
.ybc-blog-related-posts .nbm-lp-img {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

#ybc_blog_page .ybc-blog-related-posts .slick-prev,
#ybc_blog_page .ybc-blog-related-posts .slick-next {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: 1px solid #e3e1dc !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px !important;
    left: auto !important;
    transition: border-color .15s, transform .15s;
    z-index: 2;
}
#ybc_blog_page .ybc-blog-related-posts .slick-prev::before,
#ybc_blog_page .ybc-blog-related-posts .slick-next::before { content: none !important; }
#ybc_blog_page .ybc-blog-related-posts .slick-prev {
    right: 54px !important;
    background-image: url("../img/arrow-prev.svg") !important;
}
#ybc_blog_page .ybc-blog-related-posts .slick-next {
    right: 0 !important;
    background-image: url("../img/arrow-next.svg") !important;
}
#ybc_blog_page .ybc-blog-related-posts .slick-prev:hover,
#ybc_blog_page .ybc-blog-related-posts .slick-next:hover { border-color: #c9c6bf !important; transform: scale(1.05); }

#ybc_blog_page .ybc_blog_sidebar .ybc_block_slider .slick-prev,
#ybc_blog_page .ybc_blog_sidebar .ybc_block_slider .slick-next {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    border: 0 !important;
    background-color: rgba(255, 255, 255, .92) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25) !important;
    top: 24px !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: background-color .15s;
    z-index: 3;
}
#ybc_blog_page .ybc_blog_sidebar .ybc_block_slider .slick-prev::before,
#ybc_blog_page .ybc_blog_sidebar .ybc_block_slider .slick-next::before { content: none !important; }
#ybc_blog_page .ybc_blog_sidebar .ybc_block_slider .slick-prev {
    right: 50px !important;
    background-image: url("../img/arrow-prev.svg") !important;
}
#ybc_blog_page .ybc_blog_sidebar .ybc_block_slider .slick-next {
    right: 12px !important;
    background-image: url("../img/arrow-next.svg") !important;
}
#ybc_blog_page .ybc_blog_sidebar .ybc_block_slider .slick-prev:hover,
#ybc_blog_page .ybc_blog_sidebar .ybc_block_slider .slick-next:hover { background-color: #fff !important; }

#ybc_blog_page .ybc_blog_sidebar .nbm-lp .nbm-lp-thumb { aspect-ratio: 13 / 9 !important; height: auto !important; }
#ybc_blog_page .ybc_blog_sidebar .nbm-lp .nbm-lp-img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
}
#ybc_blog_page .ybc_blog_sidebar .nbm-lp .nbm-lp-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.35;
    height: 51px;
    box-sizing: content-box;
}
#ybc_blog_page .ybc_blog_sidebar .nbm-lp .nbm-lp-excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.55;
    height: 68px;
    box-sizing: content-box;
}

/* Etap 1 — czytelność treści posta */
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description p {
    line-height: 1.8 !important;
    margin-bottom: 1.25rem !important;
}

/* Etap 2 — hierarchia nagłówków treści posta */
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description h2 {
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #1d1d1a !important;
    margin: 2.5rem 0 0.75rem !important;
    padding-bottom: 12px !important;
    position: relative;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    border-bottom: 3px solid #ffc009;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #1d1d1a !important;
    margin: 2.5rem 0 0.75rem !important;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description h2 + h3 {
    margin-top: 0.75rem !important;
}

/* Etap 3 — linki w treści posta */
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description a:not(:has(img)) {
    color: #ffc009 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px;
    transition: color .15s;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description a:not(:has(img)):hover {
    color: #d99e00 !important;
    text-decoration-color: #d99e00 !important;
}

/* Etap 3 — pogrubienia w treści posta */
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description strong,
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description b {
    font-weight: 700 !important;
    color: #1d1d1a !important;
}

/* Etap 5 — listy w treści posta */
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description ul {
    list-style: none !important;
    margin: 0 0 1.25rem !important;
    padding-left: 2px !important;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description ul > li {
    position: relative;
    padding-left: 26px;
    line-height: 1.7;
    margin-bottom: 8px;
    list-style: none !important;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description ul > li::marker,
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description ol > li::marker { content: "" !important; }
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description ul > li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffc009;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description ol {
    list-style: none !important;
    counter-reset: nbm-ol;
    margin: 0 0 1.25rem !important;
    padding-left: 0 !important;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description ol > li {
    counter-increment: nbm-ol;
    position: relative;
    padding-left: 44px;
    line-height: 1.7;
    margin-bottom: 12px;
    min-height: 28px;
    list-style: none !important;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description ol > li::before {
    content: counter(nbm-ol);
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff6dd;
    border: 1px solid #ffdf99;
    color: #cc9500;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Etap 7 — tabele w treści posta */
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-table-wrap {
    overflow-x: auto;
    margin: 0 0 1.25rem;
    -webkit-overflow-scrolling: touch;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    border: 0.5px solid #e2e2e0 !important;
    border-radius: 8px;
    overflow: hidden;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description th,
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description td {
    padding: 9px 12px !important;
    border: 0 !important;
    border-right: 0.5px solid #e2e2e0 !important;
    border-bottom: 0.5px solid #e2e2e0 !important;
    text-align: left;
    vertical-align: top;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description th:last-child,
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description td:last-child {
    border-right: 0 !important;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description tr:last-child > td {
    border-bottom: 0 !important;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description th {
    background: #f3f3f1 !important;
    font-weight: 500 !important;
    color: #1d1d1a !important;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description tr:nth-child(even) > td {
    background: #fafafa;
}
.nbm-tick { color: #2e9e5b; display: inline-flex; }
.nbm-cross { color: #c0392b; display: inline-flex; }
.nbm-tick svg, .nbm-cross svg { fill: currentColor; vertical-align: middle; }

/* Karuzela produktów w treści (shortcode) */
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc { margin: 1.75rem 0; clear: both; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-track { display: grid; gap: 16px; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-2 .nbm-pc-track { grid-template-columns: 1fr 1fr; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-track { grid-template-columns: repeat(3, 1fr); }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel { position: relative; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-track::-webkit-scrollbar { display: none; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-card {
    flex: 0 0 calc((100% - 32px) / 3);
    scroll-snap-align: start;
}

.nbm-pc-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none !important;
    transition: box-shadow .15s, transform .15s;
}
.nbm-pc-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.nbm-pc-thumb { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.nbm-pc-img { width: 100%; height: 100%; object-fit: contain; display: block; box-sizing: border-box; padding: 12px; }
.nbm-pc-noimg { display: block; width: 100%; height: 100%; background: #f1f1ef url("../img/norwit-logo.webp") center / 90px no-repeat; }
.nbm-pc-badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.nbm-pc-in { background: #e7f6ec; color: #1c7a3f; }
.nbm-pc-out { background: #f0f0f0; color: #777; }
.nbm-pc-body { display: flex; flex-direction: column; flex: 1 1 auto; padding-bottom: 4px; }
.nbm-pc-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    padding: 12px 14px 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: #1d1d1a; min-height: 2.7em;
}
.nbm-pc-price { margin-top: auto; padding: 8px 14px 0; font-size: 17px; font-weight: 700; color: #1d1d1a; white-space: nowrap; }
.nbm-pc-price-ask { color: #8a8a8a !important; font-weight: 400 !important; font-size: 17px !important; }
.nbm-pc-more { display: inline-flex; align-items: center; gap: 5px; height: 42px; margin: 0; font-size: 13px; font-weight: 600; color: #ffc009 !important; }
.nbm-pc-more svg { fill: currentColor; transition: transform .15s; }
.nbm-pc-card:hover .nbm-pc-more svg { transform: translateX(3px); }

#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-pc a { text-decoration: none !important; }
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-pc a.nbm-pc-name { color: #1d1d1a !important; }
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-pc a.nbm-pc-btn { color: #1d1d1a !important; }
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-pc a.nbm-pc-go { color: #5b5b57 !important; }

.nbm-pc-actions { display: flex; gap: 8px; margin: 12px 14px 14px; }
.nbm-pc-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffd24d 0%, #ffc009 100%) !important;
    color: #1d1d1a !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: filter .15s, transform .15s, box-shadow .15s;
}
.nbm-pc-btn:hover { filter: brightness(0.96); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 192, 9, .35); }
.nbm-pc-go {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #e3e1dc;
    border-radius: 8px;
    background: #fff url("../img/arrow-next.svg") center / 18px no-repeat;
    transition: border-color .15s;
}
.nbm-pc-go:hover { border-color: #c9c6bf; }

/* 1 produkt = pełna szerokość, układ poziomy */
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-card { flex-direction: row; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-thumb { flex: 0 0 240px; aspect-ratio: 1 / 1; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-body { padding: 18px; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-name { padding: 0; font-size: 18px; min-height: 0; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-price { margin-top: auto; padding: 0 0 10px; font-size: 19px; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-actions { margin: 0; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-more { margin: 0; }

/* >3 = przewijanie — strzałki w prawym górnym rogu, nad blokami */
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 14px;
}
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-prev,
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-next {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #e3e1dc;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    cursor: pointer;
    transition: border-color .15s, opacity .15s;
}
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-prev { background-image: url("../img/arrow-prev.svg"); }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-next { background-image: url("../img/arrow-next.svg"); }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-prev:hover,
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-next:hover { border-color: #c9c6bf; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-prev:disabled,
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-next:disabled { opacity: .35; cursor: default; }

#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d9d7d2;
    cursor: pointer;
    transition: width .2s, background .2s;
}
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-dot.is-active {
    width: 22px;
    background: #ffc009;
}

@media (max-width: 900px) {
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-card { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 600px) {
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-card { flex: 0 0 82%; }
}


/* ===== Mobilny redesign karuzeli — wariant 1 (1 produkt): pozioma karta ===== */
@media (max-width: 767px) {
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-card {
        flex-direction: row;
        align-items: stretch;
        gap: 14px;
        padding: 14px;
        overflow: visible;
        border-radius: 14px;
        box-shadow: 0 6px 22px rgba(20, 23, 28, .08);
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-thumb {
        flex: 0 0 118px;
        width: 118px;
        height: 118px;
        aspect-ratio: 1 / 1;
        border-radius: 11px;
        overflow: hidden;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-body { padding: 0; min-width: 0; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-name {
        padding: 0;
        font-size: 13.5px;
        line-height: 1.35;
        font-weight: 700;
        min-height: 36px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-thumb .nbm-pc-badge { top: 0; left: 0; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-price {
        padding: 0;
        margin: auto 0 6px;
        font-size: 17px;
        font-weight: 800;
        letter-spacing: -.3px;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-actions { margin: 0; gap: 9px; align-items: center; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-btn {
        flex: 1 1 auto;
        height: 36px;
        padding: 0 12px;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-1 .nbm-pc-go {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        border-width: 1.5px;
    }
}

/* ===== Mobilny redesign karuzeli — wariant 2 (2 produkty): grid 2-up ===== */
@media (max-width: 767px) {
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-2 .nbm-pc-track {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-2 .nbm-pc-card {
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 6px 22px rgba(20, 23, 28, .08);
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-2 .nbm-pc-body { padding: 11px; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-2 .nbm-pc-name {
        padding: 0;
        font-size: 12.5px;
        line-height: 1.35;
        min-height: 34px;
        margin-bottom: 7px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-2 .nbm-pc-price {
        padding: 0;
        margin: 0 0 10px;
        font-size: 15px;
        font-weight: 800;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-2 .nbm-pc-actions { margin: 0; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-2 .nbm-pc-btn {
        flex: 1 1 auto;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-2 .nbm-pc-go { display: none; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-2 .nbm-pc-thumb .nbm-pc-badge { top: 8px; left: 8px; }
}

/* ===== Mobilny redesign karuzeli — warianty 3 i 4+ : wspolny scroller (swipe + peek) ===== */
.nbm-pc-hint { display: none; }
@media (max-width: 767px) {
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-track,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-track {
        display: flex;
        grid-template-columns: none;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0;
        width: calc(100% + 16px);
        max-width: none;
        padding: 16px 16px 28px 0;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-track::-webkit-scrollbar,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-track::-webkit-scrollbar { display: none; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-card,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-card {
        flex: 0 0 62%;
        scroll-snap-align: start;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 6px 22px rgba(20, 23, 28, .08);
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-body,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-body { padding: 12px; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-name,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-name {
        padding: 0;
        font-size: 12.5px;
        line-height: 1.35;
        min-height: 34px;
        margin-bottom: 7px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-price,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-price {
        padding: 0;
        margin: 0 0 10px;
        font-size: 15px;
        font-weight: 800;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-actions,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-actions { margin: 0; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-btn,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-btn {
        flex: 1 1 auto;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-go,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-go { display: none; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-3 .nbm-pc-thumb .nbm-pc-badge,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-carousel .nbm-pc-thumb .nbm-pc-badge { top: 8px; left: 8px; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-nav,
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-dots { display: none !important; }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-hint {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: -16px;
        font-size: 11px;
        font-weight: 600;
        color: #727a85;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .nbm-pc-hint svg { fill: currentColor; flex: none; }
}

/* Desktop: maly przycisk „Przeczytaj" w pasku meta */
.nbm-read {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: #7a7a7a;
    cursor: pointer;
    transition: color .15s;
}
.nbm-read:hover { color: #1d1d1a; }
.nbm-read.is-reading { color: #d99e00; }
.nbm-read.is-reading .nbm-ic { fill: #d99e00; }

/* Mobile: CTA „Przeczytaj na głos" (kafel) */
.nbm-listen {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 12px 0;
    padding: 9px 14px;
    border: 1.5px solid #ffc009;
    background: #fff9e6;
    border-radius: 8px;
    text-align: left;
    transition: background .15s;
}
.nbm-listen:hover { background: #fff3cc; }
.nbm-listen-pp {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #ffc009;
    display: grid;
    place-items: center;
}
.nbm-listen-pp .nbm-ic { width: 26px; height: 26px; transform: translateX(4px); }
#ybc_blog_page .nbm-listen-pp .nbm-ic,
#ybc_blog_page .nbm-listen-pp .nbm-ic path { fill: #000 !important; }
.nbm-listen-txt { display: flex; flex-direction: column; gap: 1px; }
.nbm-listen-txt .nbm-read-label { color: #1d1d1a; font-size: 14.5px; font-weight: 700; line-height: 1.2; }
.nbm-listen-sub { color: #ffc009; font-size: 12px; font-weight: 600; line-height: 1.2; }
.nbm-listen.is-reading .nbm-listen-pp .nbm-ic { width: 14px !important; height: 14px !important; transform: translateX(3px) !important; }

/* FAQ — „Najczęstsze pytania" (rozwinięte Q/A) */
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-faq { margin: 28px 0 8px; clear: both; }
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-faq-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #1d1d1a;
    margin: 0 0 18px;
    padding-bottom: 10px;
    position: relative;
}
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-faq-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    border-bottom: 3px solid #ffc009;
}
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-faq-item {
    background: #fafafa;
    border: 1px solid #ececec;
    border-left: 3px solid #ffc009;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 0 12px;
}
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-faq-q {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1d1d1a;
    margin: 0 0 6px;
}
#ybc_blog_page .ybc-blog-wrapper-detail .nbm-faq-a {
    font-size: 15px;
    line-height: 1.7;
    color: #34383f;
}

/* Callouty (ramki w tresci): [uwaga] [wskazowka] [info] [wazne] — plaski styl jak "W skrocie" */
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 1.75rem 0;
    padding: 14px 16px;
    border: 1px solid #ffc009;
    border-radius: 8px;
    background: #fff9e6;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-ic {
    flex: 0 0 24px;
    line-height: 0;
    color: #d99e00;
    margin-top: 1px;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-ic svg {
    width: 24px;
    height: 24px;
    display: block;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-body {
    flex: 1 1 auto;
    min-width: 0;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-body > :first-child { margin-top: 0 !important; }
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-body > :last-child { margin-bottom: 0 !important; }
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-body p {
    color: #3a3a3a;
}

#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-wskazowka {
    background: #eef9f1;
    border-color: #2e9e5b;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-wskazowka .nbm-callout-ic { color: #2e9e5b; }

#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-info {
    background: #eef4fb;
    border-color: #2b7cd3;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-info .nbm-callout-ic { color: #2b7cd3; }

#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-wazne {
    background: #fdeeee;
    border-color: #d64545;
}
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description .nbm-callout-wazne .nbm-callout-ic { color: #d64545; }

/* Mobilny „Spis treści" — rozwijane menu (tylko < 768px, między CTA a treścią) */
.nbm-mtoc { display: none; }
@media (max-width: 767px) {
    /* sekcja meta (toolbar) styka się z treścią równym odstępem = margines TOC */
    #ybc_blog_page .ybc-blog-latest-toolbar,
    #ybc_blog_page .blog-extra { margin-bottom: 0; }

    #ybc_blog_page .nbm-mtoc {
        display: block;
        border: 1px solid #e7e9ed;
        border-radius: 8px;
        overflow: hidden;
        margin: 16px 0;
        background: #fff;
    }
    #ybc_blog_page .nbm-mtoc-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 14px 15px;
        background: #f7f8fa;
        border: 0;
        border-bottom: 1px solid #e7e9ed;
        font: inherit;
        font-size: 15px;
        font-weight: 700;
        color: #1d1d1a;
        cursor: pointer;
        text-align: left;
    }
    #ybc_blog_page .nbm-mtoc-btn svg { width: 22px; height: 22px; flex: 0 0 22px; color: #1d1d1a; transition: transform .25s; }
    #ybc_blog_page .nbm-mtoc.open .nbm-mtoc-btn svg { transform: rotate(180deg); }
    #ybc_blog_page .nbm-mtoc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
    #ybc_blog_page .nbm-mtoc.open .nbm-mtoc-body { max-height: 1400px; }
    #ybc_blog_page .nbm-mtoc ol { list-style: none; margin: 0; padding: 6px 0 12px; counter-reset: nbmt; }
    #ybc_blog_page .nbm-mtoc ol > li { counter-increment: nbmt; }
    #ybc_blog_page .nbm-mtoc ol > li > a {
        display: flex;
        gap: 11px;
        align-items: baseline;
        padding: 9px 15px;
        text-decoration: none;
        color: #1d1d1a;
        font-weight: 700;
        font-size: 13.5px;
        line-height: 1.35;
    }
    #ybc_blog_page .nbm-mtoc ol > li > a::before {
        content: counter(nbmt, decimal-leading-zero);
        color: #ffc009;
        font-weight: 800;
        font-size: 12px;
        flex: 0 0 auto;
    }
    #ybc_blog_page .nbm-mtoc ol ul { list-style: none; margin: 0; padding: 0 0 4px; }
    #ybc_blog_page .nbm-mtoc ol ul a {
        display: block;
        padding: 6px 15px 6px 40px;
        text-decoration: none;
        color: #7a7a7a;
        font-size: 12.5px;
        line-height: 1.4;
    }
}

/* === DÓŁ BLOGA — redesign wg makiety (TYLKO MOBILE) === */
.nbm-author-st { display: none; }

@media (max-width: 767px) {
    /* Nagłówek sekcji „O autorze" + separator (szary pas pełnej szerokości) */
    #ybc_blog_page .nbm-author-st {
        display: block;
        margin: 0 calc(50% - 50vw) 13px;
        border-top: 8px solid #fafafa;
        padding: 20px 16px 0;
        font-size: 17px;
        font-weight: 800;
        color: #1d1d1a;
        line-height: 1.3;
    }
    #ybc_blog_page .nbm-author-st::after { content: none; }

    /* Karta autora — szare pudełko jak w makiecie */
    #ybc_blog_page .ybc_blog_sidebar .nbm-author,
    #ybc_blog_page .nbm-author {
        background: #fafafa;
        border: 1px solid #ececec;
        border-radius: 8px;
        padding: 16px;
        margin: 0;
        clear: both;
    }
    #ybc_blog_page .nbm-author-head { gap: 13px; align-items: center; margin-bottom: 8px; }
    #ybc_blog_page .nbm-author-photo { width: 54px; height: 54px; flex: 0 0 54px; }
    #ybc_blog_page .nbm-author-name { font-size: 15px; font-weight: 800; }
    #ybc_blog_page .nbm-author-role { color: #ffc009; font-size: 11.5px; font-weight: 700; }
    #ybc_blog_page .nbm-author-bio { font-size: 12.5px; color: #7a7a7a; line-height: 1.55; padding-left: 67px; }

    /* Sekcja „Szukaj w blogu" — separator + nagłówek .st (bez złotej kreski) */
    #ybc_blog_page .ybc_block_search {
        margin: 0 calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        border: 0 !important;
        border-top: 8px solid #fafafa !important;
        padding: 20px 16px !important;
        background: transparent !important;
    }
    #ybc_blog_page .ybc_block_search .content_block { padding: 0 !important; }
    #ybc_blog_page .ybc_block_search .title_blog {
        font-size: 17px !important;
        font-weight: 800;
        color: #1d1d1a;
        margin: 0 0 13px !important;
        padding: 0 !important;
        white-space: normal;
    }
    #ybc_blog_page .ybc_block_search .title_blog::after { content: none !important; }

    /* Pole wyszukiwania — szara „pigułka" z ikoną (bez wewnętrznej ramki inputu) */
    #ybc_blog_page .ybc_block_search form {
        display: flex !important;
        align-items: center;
        gap: 8px;
        background: #fafafa;
        border: 1px solid #ececec;
        border-radius: 8px;
        padding: 11px 13px;
    }
    #ybc_blog_page .ybc_block_search form .form-control {
        order: 2;
        border: 0 !important;
        background: none !important;
        box-shadow: none !important;
        outline: none;
        font-size: 14px !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        color: #23262d !important;
    }
    #ybc_blog_page .ybc_block_search form .button { display: none !important; }
    #ybc_blog_page .ybc_block_search form .icon_search {
        order: 1;
        position: static !important;
        display: inline-flex !important;
        align-items: center;
        margin: 0 !important;
    }
    #ybc_blog_page .ybc_block_search form .icon_search svg { width: 19px; height: 19px; fill: #7a7a7a; }
    #ybc_blog_page .ybc_block_search form .icon_search i { display: inline-flex; }
}

/* Mobile/tablet: nie chowaj sidebara w zwijanej „Nawigacja po blogu" — pokaż bloki wprost */
@media (max-width: 991px) {
    #ybc_blog_page .ybc-navigation-blog { display: none !important; }
    #ybc_blog_page .ybc-navigation-blog-content {
        display: flow-root !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* === Kategorie blogów — redesign wg makiety (TYLKO MOBILE) === */
@media (max-width: 767px) {
    #ybc_blog_page .ybc_block_categories {
        margin: 0 calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        border: 0 !important;
        border-top: 8px solid #fafafa !important;
        padding: 20px 16px !important;
        background: transparent !important;
    }
    #ybc_blog_page .ybc_block_categories .title_blog {
        font-size: 17px !important;
        font-weight: 800;
        color: #1d1d1a;
        padding: 0 !important;
        margin: 0 0 13px !important;
    }
    #ybc_blog_page .ybc_block_categories .title_blog::after { content: none !important; }
    #ybc_blog_page .nbm-cat-total { color: #ffc009 !important; font-weight: 800; font-size: 12px; }

    /* makieta nie ma filtra ani osobnego toggla — zostaje żółty „Zobacz wszystkie" */
    #ybc_blog_page .nbm-cat-filter,
    #ybc_blog_page .nbm-cat-toggle { display: none !important; }

    #ybc_blog_page .ybc_block_categories .content_block { padding: 0 !important; }
    #ybc_blog_page .ybc_blog_sidebar .ybc_block_categories li,
    #ybc_blog_page .ybc_block_categories li { padding: 12px 13px !important; }
    #ybc_blog_page .ybc_block_categories li a { font-size: 14px; font-weight: 600; }

    #ybc_blog_page .nbm-cat-num {
        background: #fff;
        border: 1px solid #e7e9ed;
        color: #7a7a7a;
        min-width: 24px;
        height: 22px;
        border-radius: 11px;
        padding: 0 6px;
        font-size: 11px;
        font-weight: 800;
        display: grid;
        place-items: center;
        line-height: 1;
    }
    #ybc_blog_page .ybc_block_categories li.active .nbm-cat-num {
        background: #ffc009;
        border-color: #ffc009;
        color: #1a1a1a;
    }
}

/* === Najnowsze posty — redesign wg makiety (TYLKO MOBILE) === */
@media (max-width: 767px) {
    #ybc_blog_page .nbm-lp {
        margin: 0 calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        border: 0 !important;
        border-top: 8px solid #fafafa !important;
        padding: 20px 16px !important;
        background: transparent !important;
        float: none !important;
        overflow-x: clip !important;
        overflow-y: visible !important;
    }
    #ybc_blog_page .nbm-lp .nbm-lp-head {
        font-size: 17px !important;
        font-weight: 800 !important;
        padding: 0 !important;
        margin: 0 0 13px !important;
        white-space: normal;
    }
    #ybc_blog_page .nbm-lp .nbm-lp-head::after { content: none !important; }

    /* poziomy scroller kart — slick wyłączony JS-em (unslick), natywny scroll z „peek" */
    #ybc_blog_page .nbm-lp .slick-arrow,
    #ybc_blog_page .nbm-lp .slick-prev,
    #ybc_blog_page .nbm-lp .slick-next,
    #ybc_blog_page .nbm-lp .slick-dots { display: none !important; }
    #ybc_blog_page .nbm-lp .block_content { margin: 0 !important; padding: 0 !important; }
    #ybc_blog_page .nbm-lp .ybc_blog_content_block {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 14px !important;
        margin: 0 !important;
        width: calc(100% + 16px) !important;
        max-width: none !important;
        padding: 0 16px 4px 0 !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    #ybc_blog_page .nbm-lp .ybc_blog_content_block_item {
        flex: 0 0 78% !important;
        scroll-snap-align: start;
        padding: 0 !important;
        margin: 0 !important;
    }
    #ybc_blog_page .nbm-lp .nbm-lp-badge { display: none !important; }
    #ybc_blog_page .ybc_blog_sidebar .nbm-lp .nbm-lp-excerpt,
    #ybc_blog_page .nbm-lp .nbm-lp-excerpt { display: none !important; }
}

/* === Powiązane posty — redesign wg makiety (TYLKO MOBILE), jak Najnowsze === */
@media (max-width: 767px) {
    #ybc_blog_page .ybc-blog-related-posts {
        margin: 0 calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        border: 0 !important;
        border-top: 8px solid #fafafa !important;
        padding: 20px 16px !important;
        background: transparent !important;
        overflow-x: clip !important;
        overflow-y: visible !important;
    }
    #ybc_blog_page .ybc-blog-related-posts .nbm-lp-head {
        font-size: 17px !important;
        font-weight: 800 !important;
        padding: 0 !important;
        margin: 0 0 13px !important;
        white-space: normal;
    }
    #ybc_blog_page .ybc-blog-related-posts .nbm-lp-head::after { content: none !important; }

    #ybc_blog_page .ybc-blog-related-posts-wrapper { margin: 0 !important; padding: 0 !important; }
    #ybc_blog_page .ybc-blog-related-posts .slick-arrow,
    #ybc_blog_page .ybc-blog-related-posts .slick-prev,
    #ybc_blog_page .ybc-blog-related-posts .slick-next,
    #ybc_blog_page .ybc-blog-related-posts .slick-dots { display: none !important; }

    #ybc_blog_page .ybc-blog-related-posts-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 14px !important;
        margin: 0 !important;
        width: calc(100% + 16px) !important;
        max-width: none !important;
        padding: 0 16px 4px 0 !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    #ybc_blog_page .ybc-blog-related-posts-list-li {
        flex: 0 0 78% !important;
        width: 78% !important;
        max-width: 78% !important;
        scroll-snap-align: start;
        padding: 0 !important;
        margin: 0 !important;
    }
    #ybc_blog_page .ybc-blog-related-posts .nbm-lp-badge { display: none !important; }
    #ybc_blog_page .ybc-blog-related-posts .nbm-lp-excerpt { display: none !important; }
    #ybc_blog_page .ybc-blog-related-posts .nbm-lp-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
}

/* === Tagi artykułu — redesign wg makiety (TYLKO MOBILE) === */
@media (max-width: 767px) {
    #ybc_blog_page .ybc_blog_sidebar .nbm-tags,
    #ybc_blog_page .nbm-tags {
        margin: 0 calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        border-top: 8px solid #fafafa !important;
        padding: 20px 16px !important;
        background: transparent !important;
        clear: both;
    }
    #ybc_blog_page .nbm-tags .nbm-toc-title {
        font-size: 17px !important;
        font-weight: 800 !important;
        color: #1d1d1a;
        padding: 0 !important;
        margin: 0 0 13px !important;
    }
    #ybc_blog_page .nbm-tags .nbm-toc-title::after { content: none !important; }

    #ybc_blog_page .nbm-tags-list { gap: 8px !important; }
    #ybc_blog_page .nbm-tag {
        font-size: 12.5px !important;
        padding: 7px 12px !important;
        border: 1px solid #e7e9ed !important;
        border-radius: 20px !important;
        background: #fafafa !important;
        color: #23262d !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }
    #ybc_blog_page .nbm-tag::before {
        content: "#" !important;
        color: #ffc009 !important;
        font-weight: 800 !important;
        margin-right: 2px !important;
    }
}

/* === Tagi bloga (sidebar kategorii) — full-bleed sekcja jak tagi artykułu (TYLKO MOBILE) === */
@media (max-width: 767px) {
    #ybc_blog_page .ybc_blog_sidebar .ybc_block_tag,
    #ybc_blog_page .ybc_block_tag {
        margin: 0 calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        border-top: 8px solid #fafafa !important;
        padding: 20px 16px !important;
        background: transparent !important;
        clear: both;
        overflow-x: clip;
        overflow-y: visible;
    }
    #ybc_blog_page .ybc_block_tag .title_blog {
        font-size: 17px !important;
        font-weight: 800 !important;
        color: #1d1d1a;
        padding: 0 !important;
        margin: 0 0 13px !important;
    }
    #ybc_blog_page .ybc_block_tag .title_blog::after { content: none !important; }
}

/* Mobile: bez cienia/uniesienia kart w scrollerach (cień był przycinany przez overflow) */
@media (max-width: 767px) {
    #ybc_blog_page .nbm-lp .nbm-lp-card:hover,
    #ybc_blog_page .nbm-lp .nbm-lp-card:active,
    #ybc_blog_page .nbm-lp .nbm-lp-card:focus,
    #ybc_blog_page .ybc-blog-related-posts .nbm-lp-card:hover,
    #ybc_blog_page .ybc-blog-related-posts .nbm-lp-card:active,
    #ybc_blog_page .ybc-blog-related-posts .nbm-lp-card:focus {
        box-shadow: none !important;
        transform: none !important;
    }
}

/* Zdjecia wstawione do tresci artykulu — zaokraglone rogi jak wszedzie (8px).
   Pomijamy widgety: karuzele produktow (.nbm-pc-img), karty produktow (.pimg),
   male miniatury porownan (.pse-img) — maja wlasny uklad. */
#ybc_blog_page .ybc-blog-wrapper-detail .blog_description img:not(.nbm-pc-img):not(.pse-img):not(.pimg) {
    border-radius: 8px;
}

/* Tylko mobile: zdjecia z tresci na pelna szerokosc ekranu (jak hero), bez zaokraglenia */
@media (max-width: 767px) {
    #ybc_blog_page .ybc-blog-wrapper-detail .blog_description img:not(.nbm-pc-img):not(.pse-img):not(.pimg) {
        display: block;
        width: 100vw;
        max-width: 100vw;
        height: auto;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0;
    }
    #ybc_blog_page .ybc-blog-wrapper-detail .blog_description a:has(> img:not(.nbm-pc-img):not(.pse-img):not(.pimg)) {
        display: block;
    }
}
