:root{--sg-ui-orange:#b44818;--sg-ui-hover:#c24c08;--sg-ui-ink:#252729;--sg-ui-muted:#606468;--sg-ui-link:#a94109}
.sg-section-heading{padding:32px 0 0;background:none;color:var(--sg-ui-ink)}
.sg-section-heading nav{margin:0 0 10px;font:400 14px/1.5 Lato,Arial,sans-serif;color:var(--sg-ui-muted)}
.sg-section-heading ol{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none}
.sg-section-heading li{display:flex;align-items:baseline;gap:7px;margin:0}
.sg-section-heading li+li:before{content:'/';color:#929292}
.sg-section-heading nav a{color:var(--sg-ui-muted);text-decoration:none}
.sg-section-heading h1{font:500 30px/1.4 Lato,Arial,sans-serif!important;margin:0!important;padding:0!important;border:0!important;letter-spacing:-.015em}
.sg-unified-section .page-title,.sg-unified-section .sg-news-heading,.sg-unified-section .sgad-directory .sgad-heading,.sg-unified-section .sg-contact-heading,.sg-unified-section .sg-help__intro{display:none!important}
.sg-unified-section:is(.woocommerce-shop,.tax-product_cat) .elementor-element-6946382{display:none!important}
.sg-unified-section .content-layout-wrapper{padding-top:32px!important}
.sg-unified-section :is(.sg-contact,.sg-publish,.sg-help){padding-top:0!important;padding-inline:0!important;width:100%;margin-inline:0;max-width:100%}
.sg-unified-section .sg-help{max-width:900px}
.sg-unified-section :is(.sg-contact,.sg-publish,.sg-help) :is(p,li){font-size:16px!important;line-height:1.75!important;color:var(--sg-ui-ink)}
.sg-unified-section :is(.sg-contact,.sg-publish,.sg-help,.sg-manuscript) h2{font:500 28px/1.4 Lato,Arial,sans-serif!important;color:var(--sg-ui-ink)!important}
.sg-unified-section.page-id-4400 .elementor-element-3c20be3 .title{font-size:28px!important;line-height:1.4!important}
.sg-unified-section .sgad-tools{border-top:0;border-bottom:0;padding-top:0}
.sg-unified-section :is(.sg-publish-rules,.sg-publish-rules li,.sg-publish-new,.sg-manuscript){border-top:0;border-bottom:0}
.sg-unified-section :is(.sg-publish-rules,.sg-publish-new){padding-top:20px}
.wd-page-wrapper :is(a.btn,a.button,.wpcf7-submit,.sg-publish-controls button){background:var(--sg-ui-orange)!important;color:#fff!important;border-color:var(--sg-ui-orange)!important;font-family:Lato,Arial,sans-serif!important;transition:background-color .15s,color .15s,border-color .15s}
.wd-page-wrapper :is(a.btn,a.button,.wpcf7-submit,.sg-publish-controls button):enabled:hover,.wd-page-wrapper :is(a.btn,a.button):hover{background:var(--sg-ui-ink)!important;border-color:var(--sg-ui-ink)!important;color:#fff!important}
.wd-page-wrapper :is(a.btn,a.button,.wpcf7-submit,.sg-publish-controls button):focus-visible{outline:2px solid var(--sg-ui-ink);outline-offset:3px}
.wd-page-wrapper :is(.wpcf7-submit,button):disabled{opacity:.6;cursor:not-allowed}
.wd-page-wrapper :is(.sg-footer a,.sgad-card,.sg-news-read,.sg-publish-new-heading>a,.wd-entities-title a){color:var(--sg-ui-ink)!important}
.wd-page-wrapper :is(.sg-footer a,.sgad-card,.sg-news-read,.sg-publish-new-heading>a,.wd-entities-title a):hover,.sg-section-heading nav a:hover,.whb-header-bottom .wd-nav>li>a:hover,.whb-general-header .wd-nav>li>a:hover{color:var(--sg-ui-hover)!important}
.wd-page-wrapper :is(.entry-content,.sg-prose,.sg-news-copy,.sg-contact-details,.sg-publish-lead,.sg-help details>div) :is(p,li) a,.wd-page-wrapper :is(.sg-contact-details>a,.sg-contact-details section>a,.sg-publish-email){color:var(--sg-ui-link)!important}
.wd-page-wrapper :is(.entry-content,.sg-prose,.sg-news-copy,.sg-contact-details,.sg-publish-lead,.sg-help details>div) :is(p,li) a:hover,.wd-page-wrapper :is(.sg-contact-details>a,.sg-contact-details section>a,.sg-publish-email):hover{color:var(--sg-ui-hover)!important}
.wd-page-wrapper .sg-catalog-filters button[type=submit],.wd-page-wrapper .sgad-alphabet button.is-active{background:var(--sg-ui-ink)!important;color:#fff!important;border-color:var(--sg-ui-ink)!important}
.wd-page-wrapper .sg-catalog-filters button[type=submit]:hover,.wd-page-wrapper .sgad-alphabet button:hover{background:var(--sg-ui-orange)!important;color:#fff!important;border-color:var(--sg-ui-orange)!important}
.wd-page-wrapper .sg-catalog-filters__actions a{border-color:var(--sg-ui-orange)!important;background:transparent!important;color:var(--sg-ui-ink)!important}
.wd-page-wrapper .sg-catalog-filters__actions a:hover{border-color:var(--sg-ui-ink)!important;color:var(--sg-ui-hover)!important}
@media(max-width:767px){.sg-section-heading{padding-top:24px}.sg-section-heading h1{font-size:22px!important}.sg-unified-section :is(.sg-contact,.sg-publish,.sg-help,.sg-manuscript) h2{font-size:24px!important}.sg-unified-section .content-layout-wrapper{padding-top:24px!important}}
@media(prefers-reduced-motion:reduce){.wd-page-wrapper :is(a.btn,a.button,.wpcf7-submit,.sg-publish-controls button){transition:none}}

.wpcf7 .hidden-fields-container{display:none!important}.wd-page-wrapper .wpcf7-acceptance a{color:var(--sg-ui-link)!important;text-decoration:underline}.wd-page-wrapper .wpcf7-acceptance a:hover{color:var(--sg-ui-hover)!important}
/* Outlined actions retain a readable label on their transparent background. */
.wd-page-wrapper a.btn.btn-style-bordered{background:transparent!important;color:var(--sg-ui-ink)!important;border-color:var(--sg-ui-orange)!important}
.wd-page-wrapper a.btn.btn-style-bordered:hover{background:var(--sg-ui-ink)!important;color:#fff!important;border-color:var(--sg-ui-ink)!important}
.wd-page-wrapper a.btn.btn-style-bordered span{color:inherit!important}
.sg-unified-section.page-id-4400 .elementor-element-119ad55{margin-top:0!important}
.sg-unified-section.page-id-4400 .elementor-element-3c20be3 .title-after_title,.sg-unified-section.page-id-4400 .elementor-element-3c20be3 .title-after_title p{font-size:16px!important;line-height:1.75!important}
body.sg-unified-section :is(.sg-contact-form,.sg-manuscript) .wpcf7-form input.wpcf7-submit{background:var(--sg-ui-orange)!important;border-color:var(--sg-ui-orange)!important;color:#fff!important}
body.sg-unified-section :is(.sg-contact-form,.sg-manuscript) .wpcf7-form input.wpcf7-submit:enabled:hover{background:var(--sg-ui-ink)!important;border-color:var(--sg-ui-ink)!important;color:#fff!important}
body.sg-unified-section :is(.sg-contact-form,.sg-manuscript) .wpcf7-form input.wpcf7-submit:disabled{background:#dedfdf!important;border-color:#dedfdf!important;color:#606468!important;opacity:1!important}
.wd-tools-element>a:hover{color:var(--sg-ui-hover)!important}

.wpcf7 form:is(.init,.resetting,.submitting) .wpcf7-response-output{display:none!important}
.sg-unified-section :is(.sg-contact-form,.sg-manuscript) :is(input[type=text],input[type=email],input[type=tel],input[type=file],select,textarea){font:400 16px/1.5 Lato,Arial,sans-serif!important;border:1px solid #c7ccce!important;border-radius:6px!important;background:#fff!important;padding:12px;min-height:48px}
.sg-unified-section :is(.sg-contact-form,.sg-manuscript) label{font-size:14px!important;line-height:1.5;font-weight:600}
.sg-unified-section :is(.sg-contact-form,.sg-manuscript) .wpcf7-acceptance label{font-weight:400}
.sg-unified-section :is(.sg-contact-file-hint,.sg-manuscript-file-hint){font-size:13px!important;line-height:1.6!important;color:var(--sg-ui-muted)!important}
.wd-page-wrapper :is(a.btn,a.button,.wpcf7-submit,.sg-catalog-filters button,.sg-catalog-filters__actions a){font-size:14px!important;line-height:1.4!important;font-weight:600!important;text-transform:none!important}
.wd-page-wrapper :is(.sgad-books-grid a,.sg-card .sg-grid a,.sg-card .sg-author a,.sg-news-copy h2 a){color:var(--sg-ui-ink)!important}
.wd-page-wrapper :is(.sgad-books-grid a,.sg-card .sg-grid a,.sg-card .sg-author a,.sg-news-copy h2 a):hover{color:var(--sg-ui-hover)!important}
.sg-unified-section .content-layout-wrapper :is(p,li),.sg-unified-section .sg-help details>div{color:#53585b!important}
.sg-unified-section :is(.sg-contact-form,.sg-manuscript) label{color:var(--sg-ui-ink)!important}

/* The legal copy remains in the Elementor text editor. */
.page-id-3 #post-3 .elementor-widget-text-editor {
 max-width: 880px;
 font-size: 16px;
 line-height: 1.75;
 color: var(--sg-ui-ink);
}
.page-id-3 #post-3 .elementor-widget-text-editor h2 {
 margin: 36px 0 14px;
 font: 500 24px/1.35 Lato, Arial, sans-serif;
}
.page-id-3 #post-3 .elementor-widget-text-editor :is(ol, ul) {
 margin: 0 0 16px;
 padding-inline-start: 1.65em;
}
.page-id-3 #post-3 .elementor-widget-text-editor li {
 margin: 0 0 8px;
}
.page-id-3 #post-3 .elementor-widget-text-editor li > :is(ol, ul) {
 margin: 8px 0 0;
}
.page-id-3 #post-3 .elementor-widget-text-editor a {
 overflow-wrap: anywhere;
}
@media (max-width: 767px) {
 .page-id-3 #post-3 .elementor-widget-text-editor h2 {
  margin-top: 28px;
  font-size: 21px;
 }
 .page-id-3 #post-3 .elementor-widget-text-editor li > :is(ol, ul) {
  padding-inline-start: 1.25em;
 }
}

/* Wariant geometryczny: katalog, alfabet autorów i sterowanie slajderem. */
.wd-page-wrapper .sg-catalog-filters button[type=submit],
.wd-page-wrapper .sg-catalog-filters__actions a { border-radius:6px!important; min-height:44px; }
.wd-page-wrapper .sg-catalog-filters button[type=submit] { background:var(--sg-ui-orange)!important; border-color:var(--sg-ui-orange)!important; color:#fff!important; }
.wd-page-wrapper .sg-catalog-filters button[type=submit]:hover { background:var(--sg-ui-ink)!important; border-color:var(--sg-ui-ink)!important; }
.wd-page-wrapper .sg-catalog-filters__actions a:hover { background:var(--sg-ui-ink)!important; border-color:var(--sg-ui-ink)!important; color:#fff!important; }
.wd-page-wrapper .sgad-alphabet button { border-radius:6px!important; min-width:40px; min-height:40px; }
.wd-page-wrapper .sgad-alphabet button:not(.is-active):is(:hover,:focus-visible) { background:rgba(180,72,24,.10)!important; color:var(--sg-ui-ink)!important; }
.wd-page-wrapper .sgad-alphabet button.is-active { background:var(--sg-ui-ink)!important; color:#fff!important; }
.wd-page-wrapper :is(.sg-catalog-filters button,.sg-catalog-filters__actions a,.sgad-alphabet button,.sg-home-controls button,.wpcf7-submit):focus-visible { outline:2px solid var(--sg-ui-ink)!important; outline-offset:3px!important; }
body .sg-home-promotion .sg-home-dots { gap:0; align-items:center; }
body .sg-home-promotion .sg-home-dots button { display:grid!important; place-items:center; flex:0 0 32px; width:32px!important; min-width:32px!important; height:40px!important; min-height:40px!important; padding:0!important; border:0!important; border-radius:999px!important; background:transparent!important; box-sizing:border-box!important; }
body .sg-home-promotion .sg-home-dots button::before { content:""; display:block; width:10px; height:10px; border-radius:50%; background:#767676; }
body .sg-home-promotion .sg-home-dots button[aria-current="true"]::before { width:20px; border-radius:999px; background:var(--sg-ui-orange); }
body.sg-unified-section :is(.sg-contact-form,.sg-manuscript) .wpcf7-form input.wpcf7-submit { border-radius:6px!important; }
@media(max-width:700px){.wd-page-wrapper .sgad-alphabet{padding:6px!important;scroll-padding-inline:6px}}

/* Aktualności: wyszukiwanie i paginacja. */
.wd-page-wrapper .sg-news-search button[type=submit]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:0 22px;border:1px solid var(--sg-ui-orange)!important;border-radius:6px!important;background:var(--sg-ui-orange)!important;color:#fff!important;font:600 14px/1.4 Lato,Arial,sans-serif!important;text-transform:none!important;white-space:nowrap}
.wd-page-wrapper .sg-news-search button[type=submit]:hover{background:var(--sg-ui-ink)!important;border-color:var(--sg-ui-ink)!important}
.wd-page-wrapper .sg-news-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;border-radius:6px;text-decoration:none}
.wd-page-wrapper .sg-news-pagination a.page-numbers{background:transparent;color:var(--sg-ui-ink)!important;border-color:#d5cec5}
.wd-page-wrapper .sg-news-pagination a.page-numbers:hover{background:rgba(180,72,24,.10)!important;border-color:var(--sg-ui-orange)!important;color:var(--sg-ui-ink)!important}
.wd-page-wrapper .sg-news-pagination .page-numbers.current{background:var(--sg-ui-ink);border-color:var(--sg-ui-ink);color:#fff}
.wd-page-wrapper .sg-news-pagination .page-numbers.dots{border-color:transparent;background:transparent}
.wd-page-wrapper :is(.sg-news-search button,.sg-news-pagination a):focus-visible{outline:2px solid var(--sg-ui-ink)!important;outline-offset:3px!important}

/* Wspólna geometria akcji; tytuł zachowuje pełną treść w odnośniku. */
.wd-page-wrapper :is(a.btn,a.button,.sg-home-cta,.sg-publish-controls button,.sg-news-categories a,.sg-card .sg-empik>b,.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers){border-radius:6px!important}
.wd-page-wrapper .title-line-two .product-grid-item :is(.product-title,.wd-entities-title){display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;white-space:normal!important;min-height:2.8em}
.wd-page-wrapper .product-grid-item :is(.product-title,.wd-entities-title) a{white-space:normal!important}
