/* Existing layout, dimensions, type, banner and content stay with the theme. */
.bkw-cosmetics main .have-shadow,
.bkw-cosmetics header > .have-shadow {
    box-shadow: 0 3px 12px rgba(32, 74, 84, .12) !important;
}
.bkw-cosmetics main .has-secondary-border-color {
    border: 1px solid #bfdde3 !important;
}
.bkw-cosmetics header > .has-border-color {
    border-color: #9fc6d2 !important;
    border-width: 1px 0 !important;
    border-radius: 0 !important;
    background: #b5dce4 !important;
    box-shadow: 0 3px 10px rgba(32,74,84,.1) !important;
    padding-block: 12px !important;
}
.bkw-cosmetics .wp-site-blocks > header { margin-top: 0 !important; }
.bkw-cosmetics header > .have-shadow > .wp-block-group { width: 100%; max-width: 1240px; min-width: 0; margin-inline: auto; }
.bkw-cosmetics header .wp-block-columns { width: 100%; min-width: 0; }
.bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 { width: 100%; background: transparent !important; }
.bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
    background: #d9eef2;
    border-color: #a2cbd5;
    color: #203c47;
    background-image: linear-gradient(to bottom, rgba(255,255,255,.22), rgba(255,255,255,0));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 1px 2px rgba(32,74,84,.07);
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-current-menu-item > a.mega-menu-link,
.bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-current-menu-ancestor > a.mega-menu-link {
    background: #add7e1;
    border-color: #86b7c5;
    color: #163749;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 3px rgba(32,74,84,.12);
}
.bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:hover,
.bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:focus-visible,
.bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-toggle-on > a.mega-menu-link {
    background: #c2e5eb;
    border-color: #92bfcc;
    color: #163749;
}
.bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 a.mega-menu-link:focus-visible {
    outline: 2px solid #477e98;
    outline-offset: 2px;
}
.bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li > a.dashicons-admin-home::before {
    content: "" !important;
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    margin-right: 7px !important;
    background: url("/wp-content/uploads/2025/05/favicon-152.png") center / contain no-repeat !important;
    vertical-align: middle !important;
    mix-blend-mode: multiply;
}
.bkw-cosmetics .wp-block-group:has(> #kalendarzDiv),
.bkw-cosmetics .bkw-calendar-panel {
    overflow: hidden;
}
.bkw-cosmetics .wp-block-group:has(> #kalendarzDiv) > h3,
.bkw-cosmetics .wp-block-group:has(> #kalendarzDiv) > hr,
.bkw-cosmetics .bkw-calendar-panel > h3,
.bkw-cosmetics .bkw-calendar-panel > hr {
    display: none;
}
.bkw-cosmetics #kalendarzDiv {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    color: #203c47;
}
.bkw-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    background: #c2e5eb;
    border-bottom: 1px solid #accfd9;
    padding: 12px 8px;
}
.bkw-calendar-header h3 {
    font: 600 17px/1.3 Arial, sans-serif !important;
    margin: 0 !important;
    text-transform: capitalize;
    text-align: center;
}
.bkw-calendar-header button {
    background: rgba(255,255,255,.35);
    border: 1px solid #a5cbd5;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #203c47;
    font: 24px/1 Arial, sans-serif;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
    transition: background-color .16s ease, border-color .16s ease;
}
.bkw-calendar-header button:hover { background: #aed7e1; border-color: #94bfcd; }
.bkw-calendar-header button:focus-visible { outline: 2px solid #477e98; outline-offset: -2px; }
.bkw-calendar-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 3px;
    margin: 0 !important;
    padding: 7px;
    font: 14px/1.3 Arial, sans-serif;
    border: 0;
}
.bkw-calendar-table th,
.bkw-calendar-table td {
    border: 0;
    text-align: center;
    padding: 0;
    height: 34px;
    vertical-align: middle;
    color: #203c47;
}
.bkw-calendar-table th { font-size: 12px; font-weight: 600; }
.bkw-calendar-table td:not(:empty) { background: #edf6f8; border-radius: 5px; }
.bkw-calendar-table td:last-child:not(:empty) { color: #7c4141; background: #f9eeee; }
.bkw-calendar-table td.bkw-calendar-today { background: #a5d2e7; color: #163749; font-weight: 700; outline: 1px solid #72abc4; }
.bkw-calendar-today-link {
    display: block;
    width: 100%;
    padding: 12px 8px;
    border: 0;
    border-top: 1px solid #d8e9ed;
    background: transparent;
    color: #405b65;
    font: 600 15px/1.45 Arial, sans-serif;
    text-align: center;
    cursor: pointer;
}
.bkw-calendar-today-link:hover { background: #edf6f8; }
.bkw-calendar-today-link:focus-visible { outline: 2px solid #477e98; outline-offset: -3px; }
.bkw-calendar-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bkw-cosmetics .bkw-readings-panel {
    padding: 0 !important;
    overflow: hidden;
}
.bkw-cosmetics .bkw-readings-panel > h3 {
    margin: 0 !important;
    padding: 16px 8px;
    background: #c2e5eb;
    border-bottom: 1px solid #accfd9;
    color: #203c47;
    font: 600 17px/1.3 Arial, sans-serif !important;
    text-align: center;
}
.bkw-cosmetics .bkw-readings-panel > hr { display: none; }
.bkw-readings-frame {
    position: relative;
    width: 100%;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
}
.bkw-readings-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    max-width: none !important;
    border: 0;
    margin: 0;
    transform-origin: top left;
}
.bkw-cosmetics .bkw-counter-panel { padding: 0 !important; overflow: hidden; }
.bkw-cosmetics .bkw-counter-panel > h3 {
    margin: 0 !important;
    padding: 16px 8px;
    background: #c2e5eb;
    border-bottom: 1px solid #accfd9;
    color: #203c47;
    font: 600 17px/1.3 Arial, sans-serif !important;
    text-align: center;
}
.bkw-cosmetics .bkw-counter-panel > hr { display: none; }
.bkw-native-counter { margin: 0 !important; color: #203c47; font: 14px/1.5 Arial, sans-serif; }
.bkw-native-counter .bkw-counter-label { margin: 20px 8px 2px; text-align: center; color: #516c76; font-size: 13px; }
.bkw-native-counter .bkw-counter-total { margin: 0 8px 20px; text-align: center; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.bkw-counter-daily { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-top: 1px solid #d8e9ed; background: #edf6f8; }
.bkw-counter-daily strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.bkw-counter-consent { padding: 12px 14px; text-align: center; }
.bkw-counter-consent p { margin: 0 0 8px; font: 12px/1.4 Arial, sans-serif; color: #516c76; }
.bkw-counter-consent button { border: 1px solid #accfd9; border-radius: 8px; padding: 7px 12px; background: #e7f3f6; color: #203c47; font: 12px/1.3 Arial, sans-serif; cursor: pointer; }
.bkw-counter-consent button:hover { background: #c2e5eb; border-color: #80b2c4; }
.bkw-counter-consent button:focus-visible { outline: 2px solid #477e98; outline-offset: 2px; }
.bkw-cosmetics.home main h1.wp-block-post-title,
.bkw-cosmetics.page main h1.wp-block-post-title {
    font: 600 19px/1.35 Arial, sans-serif;
    color: #203c47;
    padding: 16px 14px;
    margin: 0 !important;
    background: #c2e5eb;
    border-bottom: 1px solid #accfd9;
    border-radius: 14px 14px 0 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
.bkw-cosmetics .bkw-home-panel { padding-top: 0 !important; }
.bkw-cosmetics .bkw-home-panel > .wp-block-columns { margin-top: 0 !important; padding-top: 24px !important; }
.bkw-cosmetics .bkw-home-panel .entry-content { margin-top: 0 !important; }
.bkw-home-location { display: inline; font: inherit; color: inherit; }
.bkw-cosmetics .bkw-title-separator { display: none !important; }
.bkw-cosmetics .bkw-links-panel { padding: 0 !important; overflow: hidden; border: 1px solid #bfdde3; }
.bkw-cosmetics .bkw-links-old-heading[hidden] { display: none !important; }
.bkw-cosmetics .bkw-sidebar > hr,
.bkw-cosmetics .bkw-sidebar > h2:empty { display: none !important; }
.bkw-cosmetics .bkw-sidebar > .bkw-calendar-panel,
.bkw-cosmetics .bkw-sidebar > .bkw-readings-panel,
.bkw-cosmetics .bkw-sidebar > .bkw-counter-panel { margin-top: 0 !important; margin-bottom: 24px !important; }
.bkw-cosmetics .bkw-sidebar > .bkw-links-panel { margin-top: 0 !important; }
.bkw-cosmetics .bkw-links-panel > h3 { margin: 0 !important; padding: 16px 8px; border-bottom: 1px solid #accfd9; background: #c2e5eb; color: #203c47; font: 600 17px/1.3 Arial,sans-serif !important; text-align: center; }
.bkw-cosmetics .bkw-links-panel .wp-block-buttons { display: grid; gap: 8px; margin: 0 !important; padding: 12px; }
.bkw-cosmetics .bkw-links-panel .wp-block-button { width: 100%; margin: 0 !important; border: 0; }
.bkw-cosmetics .bkw-links-panel .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px !important;
    margin: 0;
    border: 1px solid #c8dfe6 !important;
    border-radius: 9px;
    background: #edf6f8 !important;
    color: #294b59 !important;
    font: 14px/1.45 Arial,sans-serif !important;
    text-align: left;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .15s ease;
}
.bkw-cosmetics .bkw-links-panel .wp-block-button__link strong { display: block; font-weight: 500; }
.bkw-cosmetics .bkw-links-panel .bkw-link-copy { min-width: 0; }
.bkw-cosmetics .bkw-links-panel .bkw-link-copy small { display: block; margin-top: 3px; color: #728991; font: 11px/1.35 Arial,sans-serif; overflow-wrap: anywhere; }
.bkw-cosmetics .bkw-links-panel .wp-block-button__link::after { content: '↗'; flex-shrink: 0; color: #648e9d; font-size: 16px; }
.bkw-cosmetics .bkw-links-panel .wp-block-button__link:hover { background: #deedf2 !important; border-color: #abcbd6 !important; color: #163749 !important; }
.bkw-cosmetics .bkw-links-panel .wp-block-button__link:focus-visible { outline: 2px solid #477e98; outline-offset: -3px; background: #deedf2 !important; }
.bkw-cosmetics #wpfront-scroll-top-container {
    width: 57.2px !important;
    height: 57.2px !important;
    padding: 0 !important;
    border: 1px solid #9fc6d2 !important;
    border-radius: 14px !important;
    background: #c2e5eb !important;
    color: #294b59;
    box-shadow: 0 3px 12px rgba(32,74,84,.14);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.bkw-cosmetics #wpfront-scroll-top-container img { display: none !important; }
.bkw-cosmetics #wpfront-scroll-top-container::before { content: '↑'; display: block; text-align: center; font: 31.2px/55.2px Arial,sans-serif; }
.bkw-cosmetics #wpfront-scroll-top-container:hover { background: #b0d9e4 !important; border-color: #80b2c4 !important; }
.bkw-cosmetics #wpfront-scroll-top-container:focus-visible { outline: 2px solid #477e98; outline-offset: 3px; }
.bkw-mobile-menu-label { color: #294b59; font: 600 16px/1.3 Arial,sans-serif; }
@media (min-width: 769px) {
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 ul.mega-sub-menu { width: 250px; max-width: calc(100vw - 32px); padding: 6px !important; background: #f5fafb !important; border: 1px solid #a2cbd5 !important; border-radius: 10px !important; box-shadow: 0 5px 14px rgba(32,74,84,.14); box-sizing: border-box; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 ul.mega-sub-menu > li > a.mega-menu-link { min-height: 42px; height: auto !important; padding: 10px 28px 10px 12px !important; border: 0 !important; border-radius: 6px !important; background: transparent !important; color: #294b59 !important; font: 500 14px/1.5 Arial,sans-serif !important; white-space: normal; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 ul.mega-sub-menu > li > a.mega-menu-link:hover,
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 ul.mega-sub-menu > li.mega-toggle-on > a.mega-menu-link { background: #d9eef2 !important; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item:not(.mega-toggle-on) > ul.mega-sub-menu { display: none !important; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-toggle-on > ul.mega-sub-menu { display: block !important; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 ul.bkw-flyout-right { left: auto !important; right: 0 !important; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 ul.bkw-flyout-flip { left: auto !important; right: 100% !important; }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item { margin: 0; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link { padding-inline: 12px; font-size: 14px; }
}
.bkw-cosmetics .bkw-site-footer {
    width: 100%;
    max-width: none !important;
    box-sizing: border-box;
    margin: 32px 0 0 !important;
    padding: 30px 24px 20px;
    border-top: 1px solid #a9cdd7;
    background: #c2e5eb;
    color: #294b59;
    font: 14px/1.6 Arial,sans-serif;
}
.bkw-footer-inner { max-width: 1240px; margin: 0 auto; }
.bkw-footer-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 22px; }
.bkw-site-footer p { margin: 0; font: inherit; }
.bkw-site-footer .bkw-footer-name { margin-bottom: 6px; font-weight: 600; font-size: 16px; }
.bkw-site-footer a { color: #294b59; text-decoration: none; }
.bkw-site-footer a:hover { color: #163749; text-decoration: underline; }
.bkw-site-footer a:focus-visible { outline: 2px solid #477e98; outline-offset: 3px; border-radius: 2px; }
.bkw-footer-top nav { display: grid; gap: 7px; text-align: right; }
.bkw-footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 15px; border-top: 1px solid #a9cdd7; color: #496b78; font-size: 12px; }
.bkw-footer-bottom > p:last-child { padding-right: 72px; }
@media (max-width: 768px) {
    .bkw-cosmetics .bkw-site-footer { padding: 24px 20px 20px; }
    .bkw-footer-top,.bkw-footer-bottom { flex-direction: column; gap: 16px; }
    .bkw-footer-top nav { text-align: left; }
    .bkw-cosmetics header > .have-shadow { padding: 6px 10px !important; border-radius: 0 !important; box-sizing: border-box; }
    .bkw-cosmetics header > .have-shadow > .wp-block-group,
    .bkw-cosmetics header .wp-block-columns { width: 100%; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 { width: 100%; background: transparent; border-radius: 0; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle { background: transparent; height: 44px; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 { left: 0 !important; right: auto !important; width: 100% !important; max-width: 100%; margin-inline: 0 !important; box-sizing: border-box; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-toggle-blocks-left,
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-toggle-blocks-right { display: none; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-toggle-blocks-center { flex: 1; width: 100%; justify-content: center; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-toggle-block { width: 100%; margin: 0 !important; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-toggle-animated { position: relative !important; display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 44px; margin: 0; padding: 0 4px; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-toggle-animated-box { position: relative !important; left: auto !important; top: auto !important; flex: 0 0 40px; margin: 0 !important; transform: scale(.7) !important; }
    .bkw-cosmetics .bkw-mobile-menu-label { display: block; width: auto; box-sizing: border-box; padding: 0; text-align: center; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li > a > .mega-indicator { position: absolute; right: 14px; margin: 0; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-toggle-animated-inner,
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-toggle-animated-inner::before,
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-toggle-animated-inner::after { background: #294b59; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle.mega-menu-open + #mega-menu-max_mega_menu_1 { padding: 8px; border: 1px solid #bfdde3; border-radius: 12px; background: #fafafa; box-sizing: border-box; box-shadow: 0 5px 15px rgba(32,74,84,.12); }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item { margin-bottom: 5px; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link { min-height: 44px; height: auto; box-sizing: border-box; padding: 11px 40px; text-align: center !important; position: relative; border: 1px solid #a2cbd5; border-radius: 8px; background: #d9eef2; color: #294b59; font: 500 16px/1.4 Arial,sans-serif; box-shadow: none; white-space: normal; overflow-wrap: anywhere; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-current-menu-item > a.mega-menu-link,
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-toggle-on > a.mega-menu-link { background: #add7e1; border-color: #86b7c5; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 .mega-sub-menu { width: calc(100% - 12px) !important; max-width: calc(100% - 12px); padding: 4px 6px !important; margin: 5px 0 8px 12px !important; background: #f3f9fa !important; border-left: 2px solid #bad8e1; box-sizing: border-box; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 .mega-sub-menu a.mega-menu-link { padding: 10px 12px !important; min-height: 42px; height: auto; box-sizing: border-box; background: transparent !important; color: #294b59 !important; font: 14px/1.5 Arial,sans-serif !important; }
}

/* Contact page: retain the existing content and two-column arrangement. */
.bkw-cosmetics.page-id-167 main .entry-content { min-height: 0 !important; padding: 0 !important; color: #294b59; font: 17px/1.65 Arial,sans-serif; }
.bkw-cosmetics.page-id-167 .entry-content > .wp-block-columns { gap: 24px; margin-block: 0 28px !important; align-items: center !important; }
.bkw-cosmetics.page-id-167 .entry-content .wp-block-column { min-width: 0; }
.bkw-cosmetics.page-id-167 .entry-content figure { width: 100%; margin: 0 !important; }
.bkw-cosmetics.page-id-167 .entry-content img { display: block; max-width: 100%; height: auto !important; border-radius: 14px !important; margin-inline: auto; border: 1px solid #bfdde3; box-sizing: border-box; }
.bkw-cosmetics.page-id-167 .entry-content img.wp-image-5621 { width: 100% !important; }
.bkw-cosmetics.page-id-167 .entry-content img.wp-image-1242 { width: min(100%, 220px) !important; }
.bkw-cosmetics.page-id-167 .entry-content > .wp-block-columns > .wp-block-column > div { width: 100%; box-sizing: border-box; padding: 0 0 18px !important; overflow: hidden; background: #edf6f8 !important; border: 1px solid #bfdde3; border-radius: 14px !important; }
.bkw-cosmetics.page-id-167 .entry-content p { margin-block: 8px; overflow-wrap: anywhere; }
.bkw-cosmetics.page-id-167 .entry-content > .wp-block-columns p:first-child { margin: 0 0 18px !important; padding: 14px 12px; background: #c2e5eb; border-bottom: 1px solid #accfd9; color: #203c47; font: 600 17px/1.45 Arial,sans-serif !important; }
.bkw-cosmetics.page-id-167 .entry-content > .wp-block-columns p:not(:first-child) { margin-inline: 14px; }
.bkw-cosmetics.page-id-167 .entry-content > .wp-block-columns p:last-child { margin-bottom: 0; }
.bkw-cosmetics.page-id-167 .entry-content i { color: #648e9d !important; font-size: 16px; margin-right: 4px; }
.bkw-cosmetics.page-id-167 .entry-content a { color: #294b59; text-underline-offset: 4px; text-decoration-color: #a2cbd5; }
.bkw-cosmetics.page-id-167 .entry-content a:hover { color: #163749; text-decoration-color: currentColor; }
.bkw-cosmetics.page-id-167 .entry-content a:focus-visible { outline: 2px solid #477e98; outline-offset: 4px; border-radius: 3px; }
.bkw-cosmetics.page-id-167 .entry-content > p:has(iframe) { margin: 0 0 28px !important; line-height: 0; }
.bkw-cosmetics.page-id-167 .entry-content iframe { display: block; width: 100%; max-width: 100%; height: 340px; border: 1px solid #bfdde3 !important; border-radius: 14px !important; box-sizing: border-box; }
.bkw-cosmetics.page-id-167 .entry-content > .wp-block-group { margin: 0 0 28px !important; padding: 0 0 18px !important; overflow: hidden; border: 1px solid #bfdde3; border-radius: 14px !important; background: #edf6f8 !important; }
.bkw-cosmetics.page-id-167 .entry-content > .wp-block-group > p:first-child { margin: 0 0 16px !important; padding: 14px 12px; background: #c2e5eb; border-bottom: 1px solid #accfd9; color: #203c47; font: 600 17px/1.4 Arial,sans-serif !important; }
.bkw-cosmetics.page-id-167 .entry-content > .wp-block-group > p:not(:first-child) { margin: 8px 16px; }
.bkw-cosmetics.page-id-167 .entry-content > .wp-block-group > p:last-child { color: #203c47; font-size: clamp(15px, 1.6vw, 20px) !important; font-variant-numeric: tabular-nums; font-weight: 600; }
.bkw-cosmetics.page-id-167 .entry-content > p:last-child { display: none; }
@media (max-width: 900px) {
    .bkw-cosmetics.page-id-167 .entry-content > .wp-block-columns { flex-direction: column; gap: 18px; }
    .bkw-cosmetics.page-id-167 .entry-content > .wp-block-columns > .wp-block-column { flex-basis: auto !important; width: 100%; }
    .bkw-cosmetics.page-id-167 .entry-content img.wp-image-5621 { max-width: 480px; }
}
@media (max-width: 600px) {
    .bkw-cosmetics.page-id-167 .bkw-home-panel > .wp-block-columns { padding: 20px 16px !important; }
    .bkw-cosmetics.page-id-167 .entry-content iframe { height: 280px; }
    .bkw-cosmetics.page-id-167 .entry-content > .wp-block-columns > .wp-block-column > div { padding: 0 0 18px !important; }
}

.bkw-cosmetics.page-id-167 .entry-content i.fa-home::before { content: "" !important; display: inline-block; width: 22px; height: 22px; background: url("/wp-content/uploads/2025/05/favicon-152.png") center / contain no-repeat; vertical-align: middle; mix-blend-mode: multiply; }
.bkw-cosmetics.page-id-167 .bkw-home-panel { align-self: flex-start; }
.bkw-cosmetics.page-id-167 .bkw-home-panel > .wp-block-columns > .wp-block-column > hr { display: none !important; }
.bkw-cosmetics.page-id-167 .entry-content > .wp-block-columns:last-of-type { margin-bottom: 0 !important; }

/* Shared headings above the parish and priest photographs and contact details. */
.bkw-cosmetics.page-id-167 .entry-content > .bkw-contact-card { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 !important; background: #edf6f8; border: 1px solid #bfdde3; border-radius: 14px; overflow: hidden; }
.bkw-cosmetics.page-id-167 .bkw-contact-card > .bkw-contact-section-heading { grid-column: 1 / -1; width: 100%; max-width: none; box-sizing: border-box; margin: 0 !important; padding: 14px 12px; background: #c2e5eb; border-bottom: 1px solid #accfd9; color: #203c47; font: 600 18px/1.45 Arial,sans-serif; text-align: center; }
.bkw-cosmetics.page-id-167 .entry-content > .bkw-contact-card > .wp-block-column { width: 100%; padding: 18px; box-sizing: border-box; }
.bkw-cosmetics.page-id-167 .entry-content > .bkw-contact-card > .wp-block-column > div { padding: 0 !important; border: 0; border-radius: 0 !important; background: transparent !important; overflow: visible; }
.bkw-cosmetics.page-id-167 .entry-content > .bkw-contact-card p:first-child { margin: 8px 14px !important; padding: 0; border: 0; background: transparent; color: #294b59; font: 17px/1.65 Arial,sans-serif !important; }
@media (max-width: 900px) {
    .bkw-cosmetics.page-id-167 .entry-content > .bkw-contact-card { grid-template-columns: minmax(0,1fr); }
    .bkw-cosmetics.page-id-167 .entry-content > .bkw-contact-card > .wp-block-column:last-child { padding-top: 0; padding-bottom: 22px; }
}

/* News archive and article views use the parish site's existing palette. */
.bkw-news-single main .have-shadow:has(.wp-block-post-content),
.bkw-news-single .bkw-news-card { align-self: flex-start; border: 1px solid #bfdde3; border-radius: 14px; overflow: hidden; }
.bkw-news-single .bkw-news-header,
.bkw-news-archive .bkw-news-header { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.bkw-news-single .bkw-news-header .wp-block-post-title,
.bkw-news-archive .bkw-news-header .wp-block-post-title,
.bkw-news-archive .bkw-news-archive-heading { margin: 0 !important; padding: 16px 18px; width: 100%; max-width: none; box-sizing: border-box; background: #c2e5eb !important; color: #203c47 !important; border: 0 !important; border-bottom: 1px solid #accfd9 !important; border-radius: 0 !important; font: 600 20px/1.45 Arial,sans-serif !important; text-align: center; overflow-wrap: anywhere; }
.bkw-news-archive .bkw-news-header .wp-block-post-title { font-size: 18px !important; }
.bkw-news-archive .bkw-news-archive-heading { margin-bottom: 24px !important; border: 1px solid #accfd9 !important; border-radius: 14px !important; }
.bkw-news-single .bkw-news-header .wp-block-post-title a,
.bkw-news-archive .bkw-news-header .wp-block-post-title a { color: #203c47 !important; text-decoration: none; }
.bkw-news-archive .bkw-news-header .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bkw-news-single .bkw-news-meta,
.bkw-news-archive .bkw-news-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; margin: 0; padding: 10px 16px; border-bottom: 1px solid #d8e9ed; background: #f5fafb; color: #516c76; font: 13px/1.5 Arial,sans-serif; }
.bkw-news-single .bkw-news-meta .wp-block-post-date,
.bkw-news-single .bkw-news-meta .wp-block-post-terms,
.bkw-news-archive .bkw-news-meta .wp-block-post-date,
.bkw-news-archive .bkw-news-meta .wp-block-post-terms { padding: 0 !important; margin: 0 !important; border: 0 !important; font: inherit !important; color: inherit !important; }
.bkw-news-single .bkw-news-meta .wp-block-post-terms a,
.bkw-news-archive .bkw-news-meta .wp-block-post-terms a { padding: 0 !important; background: transparent !important; color: #496b78 !important; font: inherit !important; text-decoration: underline; text-underline-offset: 3px; }
.bkw-news-single .bkw-news-card > .wp-block-post-featured-image { display: flex; justify-content: center; padding: 20px 24px 0 !important; margin: 0 !important; width: 100%; box-sizing: border-box; }
.bkw-news-single .bkw-news-card > .wp-block-post-featured-image img { display: block; width: auto !important; max-width: 100%; height: auto !important; max-height: 360px; object-fit: contain !important; border-radius: 10px !important; }
.bkw-news-single .bkw-news-body { margin: 0 !important; padding: 24px !important; }
.bkw-news-single .wp-block-post-content { width: 100%; max-width: 74ch; margin: 0 auto !important; padding: 0 !important; color: #294b59; font: 17px/1.75 Arial,sans-serif; overflow-wrap: anywhere; }
.bkw-news-single .wp-block-post-content p { margin-block: 0 1em; line-height: 1.75; }
.bkw-news-single .wp-block-post-content p[style*="justify"] { text-align: left !important; }
.bkw-news-single .wp-block-post-content img { max-width: 100%; height: auto; }
.bkw-news-single .bkw-news-card [hidden] { display: none !important; }
.bkw-news-archive main .wp-block-query { padding: 0 !important; }
.bkw-news-archive .wp-block-post-template { margin: 0 !important; padding: 0 !important; }
.bkw-news-archive .wp-block-post-template > .wp-block-post { margin: 0 0 24px !important; }
.bkw-news-archive .bkw-news-list-card { border: 1px solid #bfdde3; border-radius: 14px !important; overflow: hidden; margin: 0 !important; padding: 0 !important; }
.bkw-news-archive .bkw-news-preview { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: 22px; align-items: center; padding: 20px; }
.bkw-news-archive .bkw-news-preview-no-image { grid-template-columns: minmax(0,1fr); }
.bkw-news-archive .bkw-news-preview .wp-block-post-featured-image { padding: 0 !important; margin: 0 !important; }
.bkw-news-archive .bkw-news-preview .wp-block-post-featured-image img { display: block; width: 100% !important; height: auto !important; max-height: 240px; aspect-ratio: auto !important; object-fit: contain !important; border-radius: 9px !important; }
.bkw-news-archive .bkw-news-preview .wp-block-post-excerpt { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #294b59; font: 16px/1.7 Arial,sans-serif !important; text-align: left; overflow-wrap: anywhere; }
.bkw-news-archive .bkw-news-preview .wp-block-post-excerpt p { margin: 0 0 16px; }
.bkw-news-archive .bkw-news-preview .wp-block-post-excerpt__more-text { margin-bottom: 0; }
.bkw-news-archive .bkw-news-preview .wp-block-post-excerpt__more-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 14px; box-sizing: border-box; border: 1px solid #a2cbd5; border-radius: 8px; background: #d9eef2; color: #294b59; text-decoration: none; font: 600 14px/1.4 Arial,sans-serif; }
.bkw-news-archive .bkw-news-preview .wp-block-post-excerpt__more-link:hover { background: #c2e5eb; border-color: #86b7c5; }
.bkw-news-archive main a:focus-visible { outline: 2px solid #477e98; outline-offset: 3px; }
@media (max-width: 600px) {
    .bkw-news-single .bkw-news-header .wp-block-post-title { font-size: 18px !important; padding: 14px; }
    .bkw-news-single .bkw-news-body { padding: 20px 18px !important; }
    .bkw-news-single .bkw-news-card > .wp-block-post-featured-image { padding: 18px 18px 0 !important; }
    .bkw-news-single .bkw-news-card > .wp-block-post-featured-image img { max-height: 260px; }
    .bkw-news-archive .bkw-news-preview { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 18px; }
    .bkw-news-archive .bkw-news-preview .wp-block-post-featured-image img { max-height: 220px; width: auto !important; max-width: 100%; margin-inline: auto; }
}

.bkw-news-single .bkw-news-document .wp-block-post-content { max-width: none; }
.bkw-news-single .bkw-news-document .wp-block-pdfp-pdf-poster,
.bkw-news-single .bkw-news-document iframe { max-width: 100%; box-sizing: border-box; }

.bkw-news-archive.category-kronika .bkw-news-preview .wp-block-post-excerpt__more-text,
.bkw-news-archive.tag .bkw-news-preview .wp-block-post-excerpt__more-text { text-align: center; }

.bkw-news-archive .bkw-news-preview .wp-block-post-excerpt__more-text { margin: 0 !important; }
.bkw-news-archive .wp-block-query-pagination { gap: 12px; margin-block: 0 24px !important; font: 600 14px/1.4 Arial,sans-serif; }
.bkw-news-archive .wp-block-query-pagination a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; gap: 8px; padding: 9px 14px; border: 1px solid #a2cbd5; border-radius: 8px; background: #d9eef2; color: #294b59; text-decoration: none; font: inherit; }
.bkw-news-archive .wp-block-query-pagination a:hover { background: #c2e5eb; }

/* Annual chronicles are a compact archive rather than empty article previews. */
.bkw-news-archive .bkw-news-year-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.bkw-news-archive .bkw-news-year-list > li.wp-block-post { margin: 0 !important; min-width: 0; }
.bkw-news-archive .bkw-news-year-list > li:only-child { grid-column: 1 / -1; }
.bkw-news-archive .bkw-news-year-card .bkw-news-meta { display: none; }
.bkw-news-archive .bkw-news-year-card .bkw-news-preview { padding: 18px; }
.bkw-news-archive .bkw-news-year-card .bkw-news-year-description { text-align: center; margin: 0 0 14px !important; color: #516c76; font: 14px/1.5 Arial,sans-serif; }
.bkw-news-archive .bkw-news-year-card .wp-block-post-excerpt__more-text { text-align: center; }
.bkw-news-archive .bkw-news-year-card .bkw-news-header .wp-block-post-title { font-size: 20px !important; }
.bkw-news-archive .bkw-news-year-list + .wp-block-query-pagination { margin-top: 24px !important; }
@media (max-width: 600px) {
    .bkw-news-archive .bkw-news-year-list { grid-template-columns: minmax(0,1fr); gap: 16px; }
}

.bkw-cosmetics .bkw-year-navigation-hidden { display: none !important; }
.bkw-news-archive .bkw-news-preview { margin: 0 !important; }
.bkw-news-archive .wp-block-query-pagination a { font: 600 14px/1.4 Arial,sans-serif !important; }
.bkw-news-archive .wp-block-query-pagination a span { font-size: inherit !important; }

/* Keep the homepage's extra sidebar panels off other pages. */
.bkw-cosmetics:not(.home) .bkw-links-panel,
.bkw-cosmetics:not(.home) .bkw-links-old-heading,
.bkw-cosmetics:not(.home) .bkw-counter-panel,
.bkw-cosmetics:not(.home) .wp-block-group:has(> .bkw-native-counter) { display: none !important; }
.bkw-year-filter { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 12px; margin: 0 0 24px !important; padding: 16px; border: 1px solid #bfdde3; border-radius: 12px; background: #edf6f8; box-sizing: border-box; }
.bkw-year-filter-label { display: flex; flex-direction: column; gap: 6px; color: #294b59; font: 600 14px/1.5 Arial,sans-serif; }
.bkw-year-filter select { width: 220px; max-width: 100%; min-height: 44px; box-sizing: border-box; padding: 9px 12px; border: 1px solid #a2cbd5; border-radius: 8px; background: #fff; color: #294b59; font: 16px/1.4 Arial,sans-serif; }
.bkw-year-filter button { min-height: 44px; padding: 9px 16px; border: 1px solid #a2cbd5; border-radius: 8px; background: #c2e5eb; color: #294b59; font: 600 14px/1.4 Arial,sans-serif; cursor: pointer; }
.bkw-year-filter button:hover { background: #add7e1; }
.bkw-year-filter :is(select,button):focus-visible { outline: 2px solid #477e98; outline-offset: 3px; }
@media (max-width: 480px) {
    .bkw-year-filter { flex-direction: column; align-items: stretch; }
    .bkw-year-filter label,.bkw-year-filter select,.bkw-year-filter button { width: 100%; }
}

/* Give the year selector the same comfortable proportions as site buttons. */
.bkw-year-filter { display: grid; grid-template-columns: minmax(0,1fr) 180px auto; align-items: center; gap: 14px; padding: 18px 20px; background: #f5fafb; border-left: 4px solid #a2cbd5; }
.bkw-year-filter-info strong { display: block; color: #294b59; font: 600 16px/1.4 Arial,sans-serif; }
.bkw-year-filter-info small { display: block; margin-top: 3px; color: #64818d; font: 13px/1.45 Arial,sans-serif; }
.bkw-year-filter-label { position: relative; width: 100%; }
.bkw-year-label-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bkw-year-filter-label::after { content: ''; position: absolute; right: 16px; top: calc(50% - 5px); width: 7px; height: 7px; border-right: 2px solid #648e9d; border-bottom: 2px solid #648e9d; transform: rotate(45deg); pointer-events: none; }
.bkw-year-filter select { display: block !important; appearance: none !important; -webkit-appearance: none !important; width: 100% !important; height: 46px !important; min-height: 46px !important; padding: 10px 38px 10px 14px !important; border: 1px solid #a2cbd5 !important; border-radius: 8px !important; background: #fff !important; color: #294b59 !important; font: 16px/1.4 Arial,sans-serif !important; }
.bkw-year-filter button { height: 46px; min-height: 46px; padding-inline: 18px; }
.bkw-news-archive .wp-block-query-pagination[hidden] { display: none !important; }
@media (max-width: 1000px) {
    .bkw-year-filter { grid-template-columns: minmax(0,1fr) auto; }
    .bkw-year-filter-info { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .bkw-year-filter { grid-template-columns: minmax(0,1fr); padding: 16px; }
    .bkw-year-filter-info { text-align: center; }
}

.bkw-cosmetics main .wp-block-query-title { margin: 0 0 24px !important; padding: 16px 18px; border: 1px solid #accfd9; border-radius: 14px; background: #c2e5eb; color: #203c47; font: 600 19px/1.45 Arial,sans-serif; text-align: center; box-sizing: border-box; }

.bkw-news-archive .bkw-news-year-list { grid-template-columns: minmax(0,1fr); }
.bkw-news-archive.category-aktualnosci .bkw-news-preview .wp-block-post-excerpt__more-text { text-align: center; }
@media (max-width: 768px) {
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 a.mega-menu-link,
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 button.mega-toggle-animated { touch-action: manipulation; transition: background-color .1s ease, border-color .1s ease; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 a.mega-menu-link:is(:active,.bkw-menu-pressed),
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 button.mega-toggle-animated:is(:active,.bkw-menu-pressed) { background: #add7e1 !important; border-color: #6f9eaf !important; box-shadow: inset 0 0 0 1px #86b7c5 !important; }
    .bkw-cosmetics #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-toggle-on > a.mega-menu-link { background: #add7e1 !important; border-color: #86b7c5 !important; }
}
.bkw-news-archive .bkw-news-preview .wp-block-post-excerpt__more-text { text-align: center; }

/* Sacrament illustrations retain their existing dimensions. */
.bkw-cosmetics.bkw-sacrament main .wp-block-post-featured-image { display: flex; justify-content: center; width: 100%; margin-inline: 0 !important; }
.bkw-cosmetics.bkw-sacrament main .wp-block-post-featured-image img { display: block; float: none; margin-inline: auto !important; max-width: 100%; }
/* Show a full PDF page without adding another set of document buttons. */
.bkw-cosmetics .bkw-pdf-block { max-width: 100%; overflow: visible !important; }
.bkw-cosmetics .bkw-pdf-block .cta_wrapper { display:flex !important; flex-wrap:wrap; justify-content:center; gap:12px; margin:0 0 18px !important; }
.bkw-cosmetics .bkw-pdf-block a.bkw-pdf-fullscreen { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:12px 22px; box-sizing:border-box; max-width:100%; border:1px solid #8cb9c6; border-radius:9px; background:#c2e5eb; color:#203c47; font:600 18px/1.4 Arial,sans-serif; text-align:center; text-decoration:none; }
.bkw-cosmetics .bkw-pdf-block a.bkw-pdf-fullscreen:hover { background:#afd9e2; border-color:#6a9ead; }
.bkw-cosmetics .bkw-pdf-block a.bkw-pdf-fullscreen:focus-visible { outline:3px solid #315f70; outline-offset:3px; }
@media(min-width:782px) {
    .bkw-cosmetics main > .wp-block-columns:has(> .bkw-sidebar) {
        width:calc(100% - 30px); max-width:1250px !important; margin-inline:auto !important;
    }
    .bkw-cosmetics main > .wp-block-columns > .bkw-sidebar {
        flex:0 0 clamp(256.5px,25.65%,323px) !important; min-width:0;
    }
    .bkw-cosmetics main > .wp-block-columns:has(> .bkw-sidebar) > .wp-block-column:not(.bkw-sidebar) {
        flex:1 1 0 !important; min-width:0;
    }
}
.bkw-pdf-block .pdfp_wrapper,.bkw-pdf-block .iframe_wrapper { height: auto !important; max-height: none !important; }
.bkw-pdf-block iframe.pdfp_iframe { display: block; width: 100% !important; max-width: 100%; border: 1px solid #bfdde3 !important; border-radius: 10px; box-sizing: border-box; }

.bkw-cosmetics .wpcp-container .scroll-to-top { display: none !important; }


/* Request album covers only when they approach the viewport. */
.bkw-cosmetics .wpcp-container .folder-thumb[data-bkw-background]:not([data-bkw-cover-ready="true"]) { background-image:none !important; }

body.bkw-pdf-open { overflow:hidden !important; }
.bkw-pdf-modal { position:fixed; inset:0; width:100%; height:100%; height:100dvh; z-index:2147483647; display:flex; flex-direction:column; background:#edf6f8; }
.bkw-pdf-modal-header { position:relative; display:flex; align-items:center; justify-content:center; gap:16px; flex-shrink:0; padding:12px 20px; background:#e7f3f6; border-bottom:1px solid #9abfcb; box-shadow:0 2px 8px #203c471c; }
.bkw-pdf-modal-title { position:absolute; left:20px; font:600 18px/1.4 Arial,sans-serif; color:#203c47; }
.bkw-pdf-modal .bkw-pdf-close { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:12px 22px; border:1px solid #8cb9c6; border-radius:9px; background:#c2e5eb; color:#203c47; font:600 18px/1.4 Arial,sans-serif; cursor:pointer; }
.bkw-pdf-modal .bkw-pdf-close:hover { background:#afd9e2; border-color:#6a9ead; }
.bkw-pdf-modal .bkw-pdf-close:focus-visible { outline:3px solid #315f70; outline-offset:3px; }
.bkw-pdf-modal > iframe { display:block; border:0; width:100%; flex:1; min-height:0; background:#d3d3d3; }
@media(max-width:480px) { .bkw-pdf-modal-title { display:none; } .bkw-pdf-modal-header { justify-content:center; padding:10px 12px; } .bkw-pdf-modal .bkw-pdf-close { width:100%; } }

.bkw-pdf-reading-tools { display:flex; justify-content:center; gap:10px; padding:8px 12px; background:#edf6f8; flex-shrink:0; }
.bkw-pdf-reading-tools button { min-height:46px; min-width:52px; padding:8px 14px; border:1px solid #8cb9c6; border-radius:8px; background:#fff; color:#203c47; font:600 18px/1.3 Arial,sans-serif; cursor:pointer; }
.bkw-pdf-reading-tools button:disabled { opacity:.55; }
.bkw-pdf-reading-tools button:focus-visible { outline:3px solid #315f70; outline-offset:2px; }
.bkw-pdf-reader { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; background:#fff; color:#172c35; padding:16px 20px 40px; font:23px/1.6 Arial,sans-serif; overflow-wrap:anywhere; }
.bkw-pdf-reader[hidden],.bkw-pdf-reading-tools button[hidden] { display:none !important; }
.bkw-pdf-reader p { margin:0 0 .85em; font:inherit; }
.bkw-pdf-reader h2 { margin:1.2em 0 .55em; font:700 1.05em/1.4 Arial,sans-serif; color:#203c47; }
.bkw-pdf-reader section + section { border-top:1px solid #bfdde3; padding-top:16px; margin-top:24px; }
.bkw-pdf-reader section:first-child > :first-child { margin-top:0; }
.bkw-pdf-modal.bkw-pdf-reading > iframe { position:absolute; left:-10000px; visibility:hidden; pointer-events:none; width:100%; height:70%; }
.bkw-cosmetics .ilightbox-toolbar.wpcp-lightbox .ilightbox-close { position:fixed !important; top:8px !important; right:10px !important; left:auto !important; display:flex !important; align-items:center; justify-content:center; width:190px !important; height:52px !important; box-sizing:border-box; padding:10px 16px !important; border:1px solid #8cb9c6 !important; border-radius:9px; background:#c2e5eb !important; color:#203c47 !important; font:600 18px/1.3 Arial,sans-serif !important; text-indent:0 !important; text-decoration:none; opacity:1 !important; cursor:pointer; }
.bkw-cosmetics .ilightbox-toolbar.wpcp-lightbox .ilightbox-close::before,.bkw-cosmetics .ilightbox-toolbar.wpcp-lightbox .ilightbox-close::after { display:none !important; }
.bkw-cosmetics .ilightbox-toolbar.wpcp-lightbox .ilightbox-close:focus-visible { outline:3px solid white; outline-offset:2px; }
.bkw-cosmetics .ilightbox-holder.wpcp-lightbox .ilightbox-header { min-height:70px !important; box-sizing:border-box; padding-right:215px !important; padding-left:100px !important; }
@media(max-width:600px) {
 .bkw-cosmetics .ilightbox-toolbar.wpcp-lightbox .ilightbox-close { width:170px !important; font-size:17px !important; }
 .bkw-cosmetics .ilightbox-holder.wpcp-lightbox .ilightbox-header { padding-right:195px !important; padding-left:10px !important; font-size:13px !important; text-align:left !important; }
}

.bkw-cosmetics .ilightbox-toolbar.wpcp-lightbox { transform:none !important; width:calc(100% - 16px) !important; left:8px !important; right:8px !important; top:8px !important; height:52px !important; background:transparent !important; box-shadow:none !important; pointer-events:none; }
.bkw-cosmetics .ilightbox-toolbar.wpcp-lightbox > a { pointer-events:auto; }

@media(max-width:600px) {
 .bkw-cosmetics .ilightbox-toolbar.wpcp-lightbox > a:not(.ilightbox-close) { display:none !important; }
 .bkw-cosmetics .ilightbox-toolbar.wpcp-lightbox .ilightbox-close { width:calc(100% - 24px) !important; left:12px !important; right:12px !important; top:8px !important; font-size:18px !important; }
 .bkw-cosmetics .ilightbox-holder.wpcp-lightbox .ilightbox-header { min-height:100px !important; padding:68px 12px 8px !important; text-align:center !important; }
 .bkw-cosmetics .ilightbox-header .entry-info-name { width:100% !important; max-width:100% !important; }
 .bkw-cosmetics .ilightbox-header .entry-info-button { display:none !important; }
}

@media(max-width:600px) {
 .bkw-cosmetics .ilightbox-button.wpcp-lightbox.horizontal { display:block !important; visibility:visible !important; opacity:1 !important; width:48px !important; height:60px !important; min-width:48px; min-height:60px; top:var(--bkw-gallery-arrow-top,50%) !important; margin-top:-30px !important; border:1px solid #fff9; border-radius:10px; background-color:#203c47cc !important; box-sizing:border-box; }
 .bkw-cosmetics .ilightbox-button.wpcp-lightbox.horizontal.ilightbox-prev-button { left:8px !important; right:auto !important; }
 .bkw-cosmetics .ilightbox-button.wpcp-lightbox.horizontal.ilightbox-next-button { right:8px !important; left:auto !important; }
 .bkw-cosmetics .ilightbox-button.wpcp-lightbox:focus-visible { outline:3px solid #c2e5eb; outline-offset:2px; }
}

@media(max-width:600px) {
 .bkw-cosmetics .ilightbox-button.wpcp-lightbox.horizontal { background-image:none !important; }
 .bkw-cosmetics .ilightbox-button.wpcp-lightbox.horizontal::before { content:'›' !important; position:absolute; inset:0; display:flex !important; align-items:center; justify-content:center; transform:none !important; color:#fff; font:42px/1 Arial,sans-serif; }
 .bkw-cosmetics .ilightbox-button.wpcp-lightbox.horizontal.ilightbox-prev-button::before { content:'‹' !important; }
 .bkw-cosmetics .ilightbox-button.wpcp-lightbox.horizontal::after { display:none !important; }
}
