/* Prawa Dluznika - zaakceptowane logo */
#header #logo {
  display: block;
  width: 340px;
  max-width: 100%;
  font-size: 0 !important;
  line-height: 0;
  margin: 0 0 12px;
}
#header #logo img.custom-logo-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}
@media (max-width: 480px) {
  #header #logo { width: 300px; }
}

/* Prawa Dluznika — wyglad i czytelnosc, 27.10.2026 */
:root {
  --pd-navy: #123a54;
  --pd-teal: #087e8b;
  --pd-accent: #14a5b5;
  --pd-ink: #263b46;
  --pd-muted: #586c77;
  --pd-line: #dce6e6;
  --pd-paper: #faf9f6;
}
body { background: var(--pd-paper); color: var(--pd-ink); font-size: 17px; line-height: 1.75; }
.wrapper { background: transparent; }
.maxwidth { width: calc(100% - 64px); max-width: 1120px; }
a { color: var(--pd-teal); text-underline-offset: 3px; }
a:hover { color: var(--pd-navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--pd-teal) !important; outline-offset: 4px;
}
#header { background: #fff; border-bottom: 1px solid var(--pd-line); }
#header .logo { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 28px 0; }
#header #logo { display: block; width: 310px; max-width: 100%; flex: 0 0 310px; font-size: 0 !important; line-height: 0; margin: 0; }
#header #logo img.custom-logo { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; }
#header .sitedescription { max-width: 390px; padding: 0 0 0 24px; border-left: 2px solid var(--pd-accent); font-size: 17px; line-height: 1.65; color: var(--pd-muted); }
#header .topnav { background: #fff; width: calc(100% - 64px); max-width: 1120px; margin: 0 auto; }
#mobile-menu { display: none !important; }
.topnav nav { display: block !important; }
#header .top-menu { display: flex; align-items: center; gap: 3px; width: 100%; max-width: none; position: static; margin: 0; padding: 0; border-radius: 0; background: #fff; border-top: 1px solid var(--pd-line); text-align: left; box-shadow: none; }
#header .top-menu > li { display: block; }
#header .top-menu::before, #header .top-menu::after { display: none; }
#header .top-menu > li > a, #header .top-menu > li > span { padding: 18px 16px; min-height: 24px; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--pd-navy); background: transparent; border-bottom: 3px solid transparent; }
#header .top-menu > li > a:hover, #header .top-menu > li > span:hover { background: #f0f7f7; color: var(--pd-teal); }
#header .top-menu .current_page_item > a, #header .top-menu .current_page_item > span, #header .top-menu .current-menu-item > a { background: #eef7f7; border-bottom-color: var(--pd-accent); }
#header .top-menu > .page-item-22 { margin-left: auto; order: 10; }
#header .top-menu > .page-item-22 > a { border: 0; border-radius: 6px; padding: 11px 22px; margin: 8px 0; color: #fff; background: var(--pd-navy); }
#header .top-menu > .page-item-22 > a:hover { color: #fff; background: var(--pd-teal); }
#main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 40px; padding: 40px 0 64px; }
#main::before, #main::after { display: none; }
#content, #sidebar { float: none; width: auto; min-width: 0; margin: 0; }
#sidebar { display: block; }
body.layout-center #main, body.layout-full #main { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
body.layout-center #content, body.layout-full #content { width: auto; margin: 0; }
body.layout-center #sidebar, body.layout-full #sidebar { display: none; }
#content h1, #content h2, #content h3 { color: var(--pd-navy); line-height: 1.28; letter-spacing: -.02em; overflow-wrap: break-word; }
#content h1 { font-size: clamp(30px, 3vw, 39px); }
#content h2 { font-size: 28px; }
#content h3 { font-size: 23px; }
#content .anons { background: #fff; border: 1px solid var(--pd-line); border-radius: 12px; padding: 28px 30px; margin: 0 0 24px; }
#content .anons h2 { font-size: 28px; padding: 0; }
#content .anons h2 a { color: var(--pd-navy); text-decoration: none; }
#content .anons h2 a:hover { color: var(--pd-teal); text-decoration: underline; text-decoration-thickness: 1px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 13px; font-size: 13px; line-height: 1.6; }
.meta span { padding: 0; }
.meta, .meta a { color: var(--pd-muted); }
.meta a:hover { color: var(--pd-teal); }
.entry-box { margin-top: 20px; }
#content p, #content li { line-height: 1.8; }
#content p { padding-bottom: 1.15em; }
#content p:last-child { padding-bottom: 0; }
.entry-box .more-link-box { text-align: left; padding: 0; margin-top: 10px; }
a.more-link, a.pd-contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; min-height: 46px; background: var(--pd-navy); color: #fff; border-radius: 6px; padding: 10px 18px; font-size: 15px; font-weight: 700; line-height: 1.5; text-decoration: none; }
a.more-link:hover, a.pd-contact-button:hover { color: #fff; background: var(--pd-teal); opacity: 1; text-decoration: none; }
.more-link:after { content: '\2192'; float: none; margin: 0; }
.single #content > article, .page #content > article { padding: 30px; border: 1px solid var(--pd-line); border-radius: 12px; background: #fff; }
.entry-box .entry { padding-bottom: 20px; }
.entry h2, .entry h3 { margin-top: 12px; }
.entry a { text-decoration-thickness: 1px; }
.entry ul, .entry ol { margin: 10px 0 22px 25px; }
.entry li { margin-bottom: 9px; padding-left: 4px; }
.entry blockquote { margin: 24px 0; border-left: 3px solid var(--pd-accent); background: #f1f7f7; padding: 20px 24px; font-size: 1em; }
.entry img { max-width: 100%; height: auto; }
.entry table { display: block; max-width: 100%; overflow-x: auto; }
.entry td, .entry th { border: 1px solid var(--pd-line); padding: 12px; }
.navigation.pagination { margin-top: 28px; }
.pagination .page-numbers { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; box-sizing: border-box; border-radius: 5px; border: 1px solid var(--pd-line); background: #fff; color: var(--pd-navy); font-size: 15px; text-decoration: none; padding: 8px 12px; margin: 3px; }
.pagination .current { background: var(--pd-navy); color: #fff; }
#sidebar .widget { padding: 22px; margin: 0 0 22px; border: 1px solid var(--pd-line); border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.65; }
#sidebar .wtitle, .pd-search-form label { display: block; padding: 0 0 14px; margin: 0; border-bottom: 0; text-align: left; color: var(--pd-navy); font: 700 17px/1.4 'Open Sans', sans-serif; letter-spacing: 0; text-transform: none; }
#sidebar .widget ul { margin: 0; padding: 0; }
#sidebar .widget ul li { padding: 10px 0; border-bottom: 1px solid #edf1f1; line-height: 1.6; }
#sidebar .widget ul li:last-child { border-bottom: 0; padding-bottom: 0; }
#sidebar .widget ul li:first-child { padding-top: 0; }
#sidebar .widget a { color: var(--pd-navy); }
#sidebar .widget a:hover { color: var(--pd-teal); }
#sidebar #text-3 { border-top: 3px solid var(--pd-accent); }
#sidebar #text-3 img { display: block; float: none; width: 100%; max-width: 249px; margin: 0 auto 18px; border-radius: 8px; }
#sidebar .pd-author-name { font-size: 19px; color: var(--pd-navy); padding-bottom: 12px; }
#sidebar #text-3 p:last-child a { color: var(--pd-teal); text-decoration: underline; }
.pd-search-row { display: flex; gap: 7px; }
.pd-search-row input { width: 100%; min-width: 0; flex: 1 1 auto; box-sizing: border-box; border: 1px solid #9aafb6; border-radius: 6px; background: #fff; color: var(--pd-ink); padding: 10px; min-height: 46px; font: inherit; font-size: 15px; }
.pd-search-row button { flex: 0 0 auto; min-height: 46px; padding: 10px 12px; border: 0; border-radius: 6px; background: var(--pd-navy); color: #fff; font: 700 14px/1.5 'Open Sans', sans-serif; }
.pd-search-row button:hover { background: var(--pd-teal); }
.pd-search-row input::placeholder { color: #657a83; opacity: 1; }
#sidebar #custom_html-3 { background: #edf6f5; border-color: #c9e2e1; }
.pd-contact-card .pd-kicker { padding-bottom: 10px; color: var(--pd-teal); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; }
.pd-contact-card h2 { font-family: 'PT Serif', Georgia, serif; font-size: 24px; line-height: 1.3; padding-bottom: 14px; color: var(--pd-navy); }
#sidebar .pd-contact-card .pd-contact-button { width: 100%; color: #fff; margin: 4px 0 12px; }
.pd-phone { display: block; text-align: center; font-weight: 700; text-decoration: underline !important; }
.pd-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0 28px; }
.pd-email-button { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px; box-sizing: border-box; border: 1px solid var(--pd-teal); border-radius: 6px; color: var(--pd-teal); font-size: 15px; font-weight: 700; text-decoration: none; }
.pd-contact-card .pd-small { margin-top: 12px; padding: 0; color: var(--pd-muted); font-size: 12px; line-height: 1.6; }
#sidebar select { width: 100%; box-sizing: border-box; padding: 12px 8px; border: 1px solid #9aafb6; border-radius: 5px; font-size: 15px; color: var(--pd-ink); background: #fff; }
input[type='text'], input[type='email'], input[type='url'], input[type='search'], textarea { box-sizing: border-box; max-width: 100%; }
.comment-form textarea, .comment-form input:not([type='submit']):not([type='checkbox']) { background: #fff; border: 1px solid #9aafb6; border-radius: 6px; padding: 12px; font: inherit; }
.comment-form label { display: block; padding-bottom: 6px; }
#content .serp { margin: 0 0 20px; padding: 24px; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
.serp:before { display: none; }
.serp .entry p { font-size: 17px; line-height: 1.75; }
#footer { background: var(--pd-navy); color: #fff; padding: 28px 0; font-size: 14px; line-height: 1.6; }
#footer a, #footer a:hover { color: #fff; }
#footer .pd-footer-links { display: block; margin-top: 10px; }
#footer .pd-footer-links a { display: inline-block; padding: 7px 14px 7px 0; text-decoration: underline; }
#toTop { background: var(--pd-navy); border-radius: 6px; }
@media (max-width: 1023px) {
  #main { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 760px; }
  #header .top-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; left: auto; }
  #header .top-menu > li > a, #header .top-menu > li > span { padding: 13px 10px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--pd-line); }
  #header .top-menu > .page-item-22 { margin: 0; order: initial; }
  #header .top-menu > .page-item-22 > a { margin: 0; padding: 13px 10px; border-radius: 0; border-bottom: 1px solid var(--pd-navy); }
  #sidebar .widget { margin-bottom: 20px; }
  #sidebar #text-3 { text-align: left; }
}
@media (max-width: 700px) {
  .maxwidth, #header .topnav { width: calc(100% - 32px); }
  #header .logo { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 0; }
  #header #logo { flex: 0 0 auto; width: 285px; max-width: 100%; }
  #header .sitedescription { max-width: 36ch; padding: 0; border: 0; text-align: left; font-size: 15px; line-height: 1.6; }
  #header .top-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #header .top-menu > .page-item-24, #header .top-menu > .page-item-306 { display: none; }
  #main { padding: 24px 0 40px; }
  body { font-size: 17px; }
  #content .anons, .single #content > article, .page #content > article { padding: 22px 20px; border-radius: 9px; }
  #content .anons h2 { font-size: 25px; line-height: 1.3; }
  #content h1 { font-size: 30px; }
  #content h2 { font-size: 25px; }
  .meta { font-size: 12px; gap: 5px 12px; }
  .entry-box { margin-top: 17px; }
  #content p, #content li { line-height: 1.75; }
  #content .entry ul, #content .entry ol { margin-left: 20px; }
  .entry blockquote { padding: 16px; }
  #sidebar .widget { padding: 22px; }
  #footer .copytext, #footer .themeby { width: 100%; float: none; text-align: left; margin: 0; }
  #copy, #designedby { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Prawa Dluznika: drugi etap dopracowania funkcji i czytelnosci. */
html.pd-enhanced #header .logo { display: grid; grid-template-columns: 310px minmax(0, 1fr) 275px; gap: 28px; }
.pd-header-tools { min-width: 0; width: 100%; }
.pd-header-tools .pd-search-form label { font-size: 14px; padding-bottom: 7px; font-weight: 700; color: var(--pd-navy); }
.pd-header-tools .pd-search-row input { font-size: 14px; }
html.pd-enhanced #sidebar #custom_html-2 { display: none; }
.pd-skip-link { position: fixed; top: 8px; left: 16px; z-index: 100001; transform: translateY(-180%); padding: 12px 18px; border-radius: 5px; background: var(--pd-navy); color: #fff; font-weight: 700; text-decoration: none; }
.pd-skip-link:focus, .pd-skip-link:focus-visible { transform: none; color: #fff; }
body.admin-bar .pd-skip-link { top: 40px; }
#content:focus, #header:focus { outline: none; }
form.searchform { display: flex; gap: 8px; max-width: 100%; padding: 0; margin: 18px 0 24px; }
form.searchform input.s { flex: 1 1 auto; width: 100%; min-width: 0; padding: 12px; border: 1px solid #9aafb6; border-radius: 6px; background: #fff; color: var(--pd-ink); font: inherit; }
form.searchform input.search_submit { position: static; width: auto; flex: 0 0 auto; min-width: 80px; min-height: 46px; border: 0; border-radius: 6px; padding: 10px 16px; background: var(--pd-navy); color: #fff; font-size: 15px; font-weight: 700; }
form.searchform input.search_submit:hover { background: var(--pd-teal); }
.pd-search-hint { color: var(--pd-muted); font-size: 16px; line-height: 1.7; margin: 0 0 24px; }
.search-no-results #content .inform { padding: 24px; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
#footer .footmenu { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 6px 18px; padding: 0 0 18px; text-align: left; }
#footer .footmenu::before, #footer .footmenu::after { display: none; }
#footer .footmenu li { padding: 0; }
#footer .footmenu a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
#footer .footer-menu { margin-bottom: 20px; }
li.widget_eu_cookie_law_widget { list-style: none !important; }
#toTop { min-width: 44px; min-height: 44px; box-sizing: border-box; line-height: 1; }
.comment-content { font-size: 16px; line-height: 1.7; }
#comments .comment-reply-title, #comments h3 { line-height: 1.35; }
.comment-form p { margin-bottom: 8px; }
.comment-form input[type='checkbox'] { min-width: 20px; min-height: 20px; vertical-align: middle; margin: 0 8px 0 0; }
.comment-form .comment-form-cookies-consent label { display: inline; font-size: 14px; line-height: 1.6; }
.comment-form input[type='submit'] { min-height: 46px; border-radius: 6px; background: var(--pd-navy); font-size: 16px; }
@media (min-width: 701px) and (max-width: 1023px) {
  html.pd-enhanced #header .logo { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
  html.pd-enhanced #header .sitedescription { display: none; }
}
@media (max-width: 700px) {
  html.pd-enhanced #header .logo { display: flex; align-items: flex-start; gap: 14px; padding: 20px 0; }
  html.pd-enhanced #header #logo { width: 250px; }
  html.pd-enhanced #header .sitedescription { display: none; }
  .pd-header-tools { max-width: 460px; }
  .pd-search-row input { font-size: 16px; }
  .pd-header-tools .pd-search-row input { font-size: 16px; }
  form.searchform input.s { font-size: 16px; }
  .pd-skip-link { left: 12px; }
  body.admin-bar .pd-skip-link { top: 54px; }
  #toTop { bottom: 14px; right: 12px; }
}


/* Prawa Dluznika: dopracowanie czytelnosci i nawigacji, etap 3. */
.pd-topic-start { margin: 0 0 24px; padding: 24px 28px; border: 1px solid var(--pd-line); border-top: 3px solid var(--pd-teal); border-radius: 12px; background: linear-gradient(135deg,#eef8f7,#fffaf2); }
#content .pd-topic-start h2 { font: 700 24px/1.3 Georgia,serif; color: var(--pd-navy); margin: 0 0 16px; }
.pd-topic-start nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.pd-topic-start nav a { display: flex; align-items: center; min-height: 50px; padding: 10px 14px; border: 1px solid #b8d4d8; border-radius: 7px; background: #fff; color: var(--pd-navy); font-size: 15px; font-weight: 700; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.pd-topic-start nav a:hover { background: #e4f3f3; border-color: var(--pd-teal); }
#content .meta .pd-reading-time { display: inline-block; color: var(--pd-muted); }
#content .entry .pd-article-toc > summary { min-height: 44px !important; box-sizing: border-box; padding: 8px 2px; }
#content .entry .pd-article-toc nav a { display: inline-block; padding: 8px 0; line-height: 1.65; text-decoration: underline; text-underline-offset: 3px; }
#content .entry .pd-article-toc li { margin: 2px 0 !important; }
#content .entry h2[id], #content .entry h3[id] { scroll-margin-top: 72px; }
#content .entry h2[tabindex="-1"]:focus, #content .entry h3[tabindex="-1"]:focus { outline: 2px solid var(--pd-teal); outline-offset: 6px; border-radius: 2px; }
.pd-article-contact { margin: 32px 0 28px; padding: 26px; border: 1px solid #c7dfe0; border-radius: 10px; background: #eef8f7; }
#content .pd-article-contact h2 { margin: 0 0 10px; font: 700 25px/1.35 Georgia,serif; color: var(--pd-navy); }
.pd-article-contact p { margin: 0 0 18px; font-size: 15px; line-height: 1.75; }
.pd-reader-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-reader-actions a { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; padding: 11px 16px; border: 1px solid var(--pd-navy); border-radius: 6px; font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.pd-reader-actions .pd-reader-primary { color: #fff; background: var(--pd-navy); }
.pd-reader-actions .pd-reader-secondary { color: var(--pd-navy); background: #fff; }
.pd-reader-actions a:hover { background: #087e8b; border-color: #087e8b; color: #fff; }
#content .entry blockquote { border-left: 3px solid var(--pd-teal); padding: 16px 22px; margin: 24px 0; background: #f2f8f7; }
#content .entry table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
#content .entry th, #content .entry td { padding: 10px 12px; border: 1px solid var(--pd-line); text-align: left; vertical-align: top; }
#content .entry th { background: #eef8f7; }
@media (max-width:700px) {
  .pd-topic-start { padding: 20px 16px; margin-bottom: 20px; }
  #content .pd-topic-start h2 { font-size: 22px; }
  .pd-topic-start nav { gap: 8px; }
  .pd-topic-start nav a { font-size: 14px; padding: 10px; min-height: 60px; }
  .pd-article-contact { padding: 20px 16px; }
  #content .pd-article-contact h2 { font-size: 23px; }
  .pd-reader-actions { flex-direction: column; }
  .pd-reader-actions a { width: 100%; font-size: 15px; }
  #content .entry .pd-article-toc { padding: 10px 12px !important; }
}
@media print { .pd-topic-start, .pd-article-contact, .pd-reading-time { display: none !important; } }

/* Minimalny obszar dotykowy spisu tresci. */
#content .entry .pd-article-toc nav a { box-sizing: border-box; min-height: 44px; }


/* Prawa Dluznika: komentarze i orientacja na kolejnych stronach, etap 4. */
.pd-page-context { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 16px 20px; margin: 0 0 24px; background: #eef8f7; border: 1px solid var(--pd-line); border-radius: 8px; }
.pd-page-context p { margin: 0; font-size: 17px; font-weight: 700; color: var(--pd-navy); }
.pd-page-context a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
#comments .pd-comment-history { margin: 0 0 24px; padding: 16px 18px; border-left: 3px solid var(--pd-teal); border-radius: 0 6px 6px 0; background: #f0f7f6; color: var(--pd-ink); font-size: 14px; line-height: 1.75; }
#comments .pd-comment-kind { margin: 0 0 10px; color: var(--pd-muted); font-size: 12px; font-weight: 700; }
#comments .comment-list .comment-body { border: 1px solid var(--pd-line); border-radius: 8px; padding: 20px; background: #fff; overflow-wrap: anywhere; }
#comments .comment-list .pingback .comment-body, #comments .comment-list .trackback .comment-body { border-left: 3px solid #b8d4d8; background: #fcfdfb; }
#comments .comment-list .comment-author { line-height: 1.6; }
#comments .comment-list .comment-metadata { font-size: 12px; line-height: 1.7; }
#comments .comment-list .children { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--pd-line); }
#comments .pd-comment-label { display: block; margin: 12px 0 8px; font-size: 16px; font-weight: 700; color: var(--pd-navy); }
#comments textarea#comment { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 180px; padding: 14px; border: 1px solid #9aafb6; border-radius: 7px; background: #fff; color: var(--pd-ink); font: inherit; resize: vertical; }
#comments .pd-comment-help { font-size: 13px; line-height: 1.7; color: var(--pd-muted); margin: 8px 0 20px; }
#comments .comment-form .comment-subscription-form { display: flex; align-items: flex-start; gap: 10px; }
#comments .comment-form .comment-subscription-form input { flex: 0 0 20px; margin: 5px 0 0 !important; }
#comments .comment-form .comment-subscription-form label { display: block; font-size: 14px; line-height: 1.7; padding: 3px 0; }
@media (max-width:700px) {
  .pd-page-context { padding: 14px 16px; }
  #comments .comment-list .comment-body { padding: 16px; }
  #comments .comment-list .children { margin-left: 6px; padding-left: 8px; }
  #comments textarea#comment { font-size: 16px; line-height: 1.7; }
}
@media print { .pd-page-context, .pd-comment-help { display: none !important; } }

#toTop.pd-top-control { transform: none; padding: 7px; font: 26px/28px system-ui,sans-serif; text-align: center; text-decoration: none; border-radius: 8px; }


/* Prawa Dluznika: wyniki wyszukiwania, brak wynikow i 404, etap 5. */
body.search #content > h1, body.search-no-results #content .post > h1, body.error404 #content .post > h1 { margin: 0 0 22px; font-size: clamp(28px,3.2vw,38px); line-height: 1.3; text-align: left; overflow-wrap: anywhere; }
.pd-search-edit-label { display: block; margin: 20px 0 8px; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--pd-navy); }
.pd-search-edit-label + form.searchform { margin-top: 0; }
body.search #content .serp span[style*="color:red"] { color: #123a54 !important; background: #e2f2ef; border-radius: 2px; font-weight: 700 !important; }
body.search #content .serp h2 { line-height: 1.3; }
.pd-recovery-topics { margin: 28px 0 0; padding: 22px; border: 1px solid var(--pd-line); border-radius: 10px; background: linear-gradient(135deg,#eef8f7,#fffaf2); }
#content .pd-recovery-topics h2 { margin: 0 0 16px; color: var(--pd-navy); font: 700 24px/1.3 Georgia,serif; }
.pd-recovery-topics nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.pd-recovery-topics a { display: flex; align-items: center; min-height: 50px; box-sizing: border-box; padding: 12px; border: 1px solid #b8d4d8; border-radius: 7px; background: #fff; color: var(--pd-navy); font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.pd-recovery-topics a:hover { background: #e4f3f3; border-color: var(--pd-teal); }
body.error404 #content .post { padding: 28px; border: 1px solid var(--pd-line); border-radius: 12px; background: #fff; }
body.error404 #content .post .entry-box { margin-top: 0; }
@media (max-width:700px) {
  body.search #content > h1, body.search-no-results #content .post > h1, body.error404 #content .post > h1 { font-size: 28px; }
  .pd-recovery-topics { padding: 18px 14px; }
  #content .pd-recovery-topics h2 { font-size: 22px; }
  .pd-recovery-topics nav { gap: 8px; }
  .pd-recovery-topics a { min-height: 60px; padding: 10px; }
  body.error404 #content .post { padding: 20px 16px; }
}
@media print { .pd-recovery-topics { display: none !important; } }

@media (max-width:700px) { body.search #toTop, body.error404 #toTop { display:none !important; } }
@media (max-width:420px) { .pd-recovery-topics nav { grid-template-columns:1fr; } .pd-recovery-topics a { min-height:48px; } }


/* Prawa Dluznika: kontakt i dostepnosc, etap 6. */
#pageid-22 .pd-office-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 8px 0 32px; }
#pageid-22 .pd-office-card { min-width: 0; padding: 22px; border: 1px solid var(--pd-line); border-top: 3px solid var(--pd-teal); border-radius: 8px; background: #fff; }
#pageid-22 .pd-office-card h3 { margin: 0 0 10px; padding: 0; }
#pageid-22 .pd-office-card .pd-office-kind { margin: 0 0 14px; padding: 0; color: var(--pd-muted); font-size: 14px; }
#pageid-22 .pd-office-card address { margin: 0 0 12px; font-style: normal; line-height: 1.8; }
#pageid-22 .pd-office-card p:last-child { margin: 0; padding: 0; }
#pageid-22 .pd-office-card a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
#pageid-22 .pd-office-hours { margin: 8px 0 0; }
#pageid-22 .pd-office-hours > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--pd-line); }
#pageid-22 .pd-office-hours dt { font-weight: 700; }
#pageid-22 .pd-office-hours dd { margin: 0; }
#pageid-22 .pd-contact-actions a { max-width: 100%; overflow-wrap: anywhere; }
#pageid-22 .pd-contact-actions .pd-email-button { display: inline-block; min-height: 46px; }
@media (max-width:700px) {
  #pageid-22 .pd-office-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  #pageid-22 .pd-office-card { padding: 18px; }
  #pageid-22 .pd-contact-actions { align-items: stretch; }
  #pageid-22 .pd-contact-actions a { width: 100%; justify-content: center; text-align: center; }
  #pageid-22 .pd-office-hours > div { grid-template-columns: minmax(0,1fr); gap: 4px; }
}
@media print {
  #pageid-22 .pd-office-grid { display: block; }
  #pageid-22 .pd-office-card { break-inside: avoid; margin-bottom: 16px; }
}


/* Prawa Dluznika: rozpoznawalny autor i czytelny opis, etap 7. */
#pageid-2 .pd-author-profile { display: grid; grid-template-columns: 144px minmax(0,1fr); align-items: center; gap: 24px; padding: 0 0 28px; margin: 0 0 32px; border-bottom: 1px solid var(--pd-line); }
#pageid-2 .pd-author-profile img { display: block; width: 144px; height: 144px; object-fit: cover; border-radius: 10px; margin: 0; }
#pageid-2 .pd-author-profile .pd-kicker { padding: 0; margin: 0 0 8px; color: var(--pd-teal); font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#pageid-2 .pd-author-profile h2 { margin: 0 0 8px; padding: 0; }
#pageid-2 .pd-author-profile p:last-child { margin: 0; padding: 0; color: var(--pd-muted); }
#pageid-2 .pd-author-contact { padding: 24px; margin-top: 30px; background: #eef8f7; border: 1px solid var(--pd-line); border-radius: 8px; }
#pageid-2 .pd-author-contact h2 { margin: 0 0 12px; padding: 0; }
#pageid-2 .pd-author-contact p { padding: 0; margin: 0 0 16px; }
#pageid-2 .pd-author-contact a { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width:700px) {
  #pageid-2 .pd-author-profile { grid-template-columns: minmax(0,1fr); gap: 18px; margin-bottom: 26px; }
  #pageid-2 .pd-author-profile img { width: 128px; height: 128px; }
  #pageid-2 .pd-author-contact { padding: 18px; }
  #pageid-2 .pd-author-contact a { width: 100%; }
}
@media print { #pageid-2 .pd-author-contact { display: none; } }


/* Prawa Dluznika: opis bloga i wybor tematow, etap 8. */
#pageid-19 .pd-about-topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 8px 0 28px; }
#pageid-19 .pd-about-topics a { display: flex; align-items: center; min-height: 52px; box-sizing: border-box; padding: 12px 16px; border: 1px solid #b8d4d8; border-radius: 7px; background: #f4faf9; color: var(--pd-navy); font-size: 16px; font-weight: 700; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
#pageid-19 .pd-about-topics a:hover { border-color: var(--pd-teal); background: #e2f2ef; }
#pageid-19 .pd-about-topics a:focus-visible { outline: 3px solid var(--pd-navy); outline-offset: 3px; }
@media (max-width:700px) {
  #pageid-19 .pd-about-topics { grid-template-columns: minmax(0,1fr); gap: 10px; }
  #pageid-19 .pd-about-topics a { min-height: 48px; font-size: 15px; padding: 11px 14px; }
}


/* Prawa Dluznika: kontrast, odpowiedzi i fokus spisu tresci, etap 9. */
#comments .comment-list .reply { margin-top: 12px; text-align: right; }
#comments .comment-list .comment-reply-link {
  position: static;
  right: auto;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #b8d4d8;
  border-radius: 6px;
  background: #eef8f7;
  color: var(--pd-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: none;
  text-decoration: none;
}
#comments .comment-list .comment-reply-link:hover { border-color: var(--pd-navy); background: var(--pd-navy); color: #fff; }
#sidebar .pd-contact-card .pd-kicker { color: var(--pd-navy); font-size: 13px; line-height: 1.6; }
#content .entry .pd-article-toc > summary:focus-visible { outline: 3px solid var(--pd-teal); outline-offset: 4px; border-radius: 3px; }


/* Prawa Dluznika: wygodniejsze male kontrolki, etap 10. */
#content .meta { align-items: center; }
#content .meta span { max-width: 100%; min-width: 0; }
#content .meta a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 32px;
  padding: 4px 2px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#content .sd-social-icon .sd-content ul li { margin: 0 10px 10px 0; }
#content .sd-social-icon a.sd-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  padding: 7px;
}
#content .sd-social-icon a.share-twitter.sd-button { background: var(--pd-navy) !important; color: #fff !important; }
@media (max-width:700px) {
  #content .meta { font-size: 13px; gap: 4px 8px; }
  #content .meta a { min-height: 44px; padding: 8px 2px; }
}


/* Prawa Dluznika: czytelne i wygodne linki panelu bocznego, etap 11. */
#sidebar .widget.widget_categories ul li,
#sidebar .widget.widget_recent_entries ul li { padding: 0; }
#sidebar .widget_categories li > a,
#sidebar .widget_recent_entries li > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 8px;
  border-radius: 4px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-decoration: none;
}
#sidebar .widget_categories li > a:hover,
#sidebar .widget_recent_entries li > a:hover,
#sidebar .widget_categories li > a:focus-visible,
#sidebar .widget_recent_entries li > a:focus-visible {
  color: var(--pd-navy);
  background: #eef8f7;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#sidebar #text-3 .textwidget p:last-child a,
#sidebar .pd-contact-card .pd-phone {
  display: flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 0;
  line-height: 1.6;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
#sidebar .pd-contact-card .pd-phone { justify-content: center; }
#sidebar .widget_categories li > a:focus-visible,
#sidebar .widget_recent_entries li > a:focus-visible,
#sidebar #text-3 .textwidget p:last-child a:focus-visible,
#sidebar .pd-contact-card .pd-phone:focus-visible { outline-offset: 2px; }


/* Czytelne kafelki tematów na małych ekranach — 27.10.2026 */
@media (max-width: 420px) {
  .pd-topic-start nav a { overflow-wrap: normal; word-break: normal; hyphens: auto; padding-left: 8px; padding-right: 8px; }
  html.pd-enhanced #header .logo { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 360px) {
  .pd-topic-start nav { grid-template-columns: 1fr; }
  .pd-topic-start nav a { min-height: 48px; }
}
