.mskat-toolbar {
    display: inline-flex;
    align-items: center;
}

.mskat-toolbar .wcag {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mskat-toolbar .wcag-item {
    margin: 0;
    padding: 0;
}

.mskat-toolbar .wcag-separator {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,.35);
    margin: 0 4px;
}

.mskat-btn {
    border: 0;
    background: rgba(255,255,255,.12);
    color: #fff;
    border-radius: 999px;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
    font-size: 16px !important;
}

.mskat-btn:hover,
.mskat-btn:focus-visible {
    background: rgba(255,255,255,.24);
    color: #295e47 !important;
    outline: none;
}

.mskat-btn i,
.mskat-btn svg,
.mskat-btn span {
    color: inherit;
}

.mskat-btn:hover i,
.mskat-btn:focus-visible i,
.mskat-btn.is-active i {
    color: inherit !important;
}

.mskat-btn.is-active {
    background: #fff;
    color: #295e47;
}

/* =========================================
   FONT SCALE
========================================= */

:root {
    --mskat-font-multiplier: 1;
}

body.mskat-font-100 {
    --mskat-font-multiplier: 1;
}

body.mskat-font-115 {
    --mskat-font-multiplier: 1.15;
}

body.mskat-font-130 {
    --mskat-font-multiplier: 1.3;
}

/* zwykły tekst */
body,
body p,
body li,
body td,
body th,
body label,
body input,
body textarea,
body select,
body a,
body span,
body .wpb_text_column,
body .wpb_text_column p,
body .wpb_wrapper p,
body .post-excerpt,
body .entry-summary,
body .read-more-link,
body .raw-text,
body .raw-text *,
body .dane,
body .dane a,
body .menu-item > a,
body .mega-menu-link,
body .search-field > span::after {
    font-size: calc(16px * var(--mskat-font-multiplier)) !important;
}

/* nagłówki */
body h1,
body .h1 {
    font-size: calc(39px * var(--mskat-font-multiplier)) !important;
}

body h2,
body .h2 {
    font-size: calc(32px * var(--mskat-font-multiplier)) !important;
}

body h3,
body .h3 {
    font-size: calc(26px * var(--mskat-font-multiplier)) !important;
}

body h4,
body .h4 {
    font-size: calc(19px * var(--mskat-font-multiplier)) !important;
}

body h5,
body .h5,
body h6,
body .h6 {
    font-size: calc(16px * var(--mskat-font-multiplier)) !important;
}

/* top bar / header */
body .site-header .header-block,
body .site-header .top-header-bar {
    font-size: calc(16px * var(--mskat-font-multiplier)) !important;
}

/* =========================================
   DARK THEME — KALIUM VARIABLES
========================================= */

body.mskat-theme-dark {
    --k-body-bg: #111827;
    --k-body-color: #e5e7eb;
    --k-heading-color: #ffffff;
    --k-link-color: #93c5fd;
    --k-link-hover-color: #bfdbfe;

    --k-header-bg: #111827;
    --k-header-top-bar-bg: #0b1220;
    --k-header-top-bar-text: #e5e7eb;
    --k-header-top-bar-link: #e5e7eb;

    --k-footer-bg: #0f172a;
    --k-footer-color: #e5e7eb;
    --k-footer-headings: #ffffff;
    --k-footer-link-color: #cbd5e1;
    --k-footer-link-hover-color: #ffffff;

    --k-mobile-menu-overlay-bg: #0f172a;
    --k-mobile-menu-link-color: #e5e7eb;
    --k-mobile-menu-link-hover-color: #ffffff;
    --k-color-5: #1f2937;
    --k-color-7: #111827;
}

body.mskat-theme-dark,
body.mskat-theme-dark .wrapper,
body.mskat-theme-dark .content-wrapper,
body.mskat-theme-dark .entry-content,
body.mskat-theme-dark .site-header,
body.mskat-theme-dark .site-footer {
    background-color: #111827 !important;
    color: #e5e7eb !important;
}

body.mskat-theme-dark h1,
body.mskat-theme-dark h2,
body.mskat-theme-dark h3,
body.mskat-theme-dark h4,
body.mskat-theme-dark h5,
body.mskat-theme-dark h6 {
    color: #ffffff !important;
}

body.mskat-theme-dark a {
    color: #93c5fd !important;
}

/* =========================================
   TWOJE JASNE BLOKI – wymuszone nadpisania
========================================= */

body.mskat-theme-dark .top-header-bar,
body.mskat-theme-dark .header-block > .header-block__row-container:first-child,
body.mskat-theme-dark #mega-menu-wrap-max_mega_menu_1,
body.mskat-theme-dark .dane,
body.mskat-theme-dark .background-box,
body.mskat-theme-dark .vc_row,
body.mskat-theme-dark .vc_column-inner,
body.mskat-theme-dark .post-item,
body.mskat-theme-dark .blog-posts .post-item,
body.mskat-theme-dark .mobile-menu,
body.mskat-theme-dark .mega-sub-menu,
body.mskat-theme-dark .mega-menu-wrap,
body.mskat-theme-dark footer,
body.mskat-theme-dark .lb-element-footer-container-row,
body.mskat-theme-dark .search-field,
body.mskat-theme-dark .header-search-input .search-field {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
}

body.mskat-theme-dark .vc_custom_1763288429721,
body.mskat-theme-dark .vc_custom_1763288093774,
body.mskat-theme-dark .vc_custom_1751097538087 {
    background-color: #111827 !important;
}

body.mskat-theme-dark .background-box {
    border: 1px solid rgba(255,255,255,.12);
}

body.mskat-theme-dark .stopka-naglowek {
    border-bottom-color: rgba(255,255,255,.18) !important;
}

body.mskat-theme-dark .post-item,
body.mskat-theme-dark .blog-posts .post-item {
    border-color: rgba(255,255,255,.12) !important;
}

body.mskat-theme-dark .search-field input,
body.mskat-theme-dark input[type="search"] {
    background: #111827 !important;
    color: #fff !important;
}

body.mskat-theme-dark .search-field > span::after {
    color: #cbd5e1 !important;
}

body.mskat-theme-dark .menu-item a,
body.mskat-theme-dark .mega-menu-link,
body.mskat-theme-dark .link,
body.mskat-theme-dark .raw-text,
body.mskat-theme-dark .raw-text * {
    color: #e5e7eb !important;
}

body.mskat-theme-dark .red {
    color: #f87171 !important;
}

body.mskat-theme-dark .orange {
    color: #fb923c !important;
}

body.mskat-theme-dark img {
    opacity: .96;
}

body.mskat-theme-dark .vc_btn3,
body.mskat-theme-dark .read-more-link {
    color: #fff !important;
}

body.mskat-theme-dark .mskat-btn {
    background: rgba(255,255,255,.08);
    color: #fff;
}

body.mskat-theme-dark .mskat-btn.is-active {
    background: #fff;
    color: #111827;
}

body.mskat-theme-light {
    color-scheme: light;
}

body.mskat-theme-dark {
    color-scheme: dark;
}

/* tytuł wpisu / kafelka */
.post-item .post-title,
.post-item .entry-title,
.post-item .entry-title a {
    font-size: calc(20px * var(--mskat-font-multiplier)) !important;
    line-height: 1.25 !important;
}

/* treść zajawki */
.post-item .post-excerpt,
.post-item .entry-summary,
.post-item .post-excerpt p,
.post-item .entry-summary p {
    font-size: calc(16px * var(--mskat-font-multiplier)) !important;
    line-height: 1.6 !important;
}