@charset "utf-8";

:root {
  --wp-ink: #203036;
  --wp-muted: #68777c;
  --wp-brand: #173f46;
  --wp-brand-dark: #12353b;
  --wp-accent: #6f8f52;
  --wp-accent-dark: #58743f;
  --wp-bg: #f3f5f4;
  --wp-card: #ffffff;
  --wp-line: #dfe5e2;
  --wp-soft: #eef3ef;
  --wp-warm: #f7f4ed;
  --wp-danger: #a43a3a;
  --wp-radius: 8px;
  --wp-menu-height: 56px;
}

/* Nowe elementy globalnego shellu. Mobile zachowuje dotychczasowy routing i formularze;
   pelne scalenie responsive bedzie osobnym etapem. */
.wp-main-card,
.wp-sidebar,
.wp-footer,
.wp-footer * {
  box-sizing: border-box;
}

.wp-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.wp-footer {
  margin-top: 42px;
  background: var(--wp-brand-dark);
  color: #e9f0ed;
}

.wp-footer a,
.wp-footer a:link,
.wp-footer a:visited {
  color: #e9f0ed;
  text-decoration: none;
}

.wp-footer a:hover {
  text-decoration: underline;
}

.wp-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 26px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.wp-footer-brand-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.wp-footer-brand-copy,
.wp-footer-company,
.wp-footer-meta,
.wp-footer-contact {
  margin: 0;
  color: #cbd7d3;
  font-size: 13px;
  line-height: 1.65;
}

.wp-footer-heading {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.wp-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-footer-links li {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
}

.wp-footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.wp-footer-bottom * {
  color: #b9c9c4;
}


  html {
    scroll-padding-top: calc(var(--wp-menu-height) + 16px);
  }

  body {
    background: var(--wp-bg);
    color: var(--wp-ink);
  }

  .holder-site-top {
    background: #fff;
  }

  .holder-top {
    height: auto;
    margin: 0;
    padding: 0;
    background: #fff;
  }

  .wp-topbar {
    width: min(1180px, calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }

  .wp-brand,
  .wp-brand:link,
  .wp-brand:visited {
    display: inline-flex;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
  }

  .wp-brand-title {
    color: var(--wp-brand);
    font-size: 24px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.02em;
  }

  .wp-brand-title::after {
    content: none;
  }

  .wp-brand-subtitle {
    color: var(--wp-muted);
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .wp-top-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  .wp-top-reviews,
  .wp-top-reviews:link,
  .wp-top-reviews:visited {
    display: block;
    color: var(--wp-muted);
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
  }

  .wp-top-reviews:hover {
    color: var(--wp-brand);
    text-decoration: underline;
  }

  .wp-top-cta,
  .wp-top-cta:link,
  .wp-top-cta:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--wp-accent-dark);
    border-radius: 6px;
    background: var(--wp-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease;
  }

  .wp-top-cta:hover {
    background: var(--wp-accent-dark);
    border-color: var(--wp-accent-dark);
    text-decoration: none;
  }

  #holder-middle,
  .holder-middle {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    z-index: 1200;
    height: var(--wp-menu-height);
    border: 0;
    border-top: 1px solid var(--wp-line);
    border-bottom: 1px solid var(--wp-line);
    background: rgba(255,255,255,.98);
    box-shadow: none;
    transition: none;
  }

  .wp-menu-shell {
    width: min(1180px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .wp-nav,
  .wp-nav-list {
    height: 100%;
  }

  .wp-menu-cta,
  .wp-menu-cta:link,
  .wp-menu-cta:visited {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wp-accent-dark);
    border-radius: 5px;
    background: var(--wp-accent);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-3px);
    transition: opacity .14s ease, transform .14s ease, background-color .14s ease;
  }

  #holder-middle.wp-is-stuck .wp-menu-cta {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .wp-menu-cta:hover {
    background: var(--wp-accent-dark);
    text-decoration: none;
  }

  .wp-nav {
    display: flex;
    align-items: stretch;
  }

  .wp-nav-list {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    list-style: none;
  }

  .wp-nav-list > li {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    border: 0;
  }

  .wp-nav-list > li > a,
  .wp-nav-list > li > button {
    height: 100%;
    padding: 0 18px;
    display: flex;
    align-items: center;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--wp-ink);
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
  }

  .wp-nav-list > li:first-child > a,
  .wp-nav-list > li:first-child > button {
    padding-left: 0;
    padding-right: 24px;
  }

  .wp-nav-list > li > a:hover,
  .wp-nav-list > li > button:hover,
  .wp-nav-list > li:focus-within > button {
    color: var(--wp-brand);
    border-bottom-color: var(--wp-accent);
  }

  .wp-nav-chevron {
    margin-left: 7px;
    color: var(--wp-muted);
    font-size: 11px;
  }

  .wp-menu-dropdown-list {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    z-index: 10;
    width: 300px;
    margin: 0;
    padding: 8px;
    display: none;
    list-style: none;
    background: #fff;
    border: 1px solid var(--wp-line);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 28px rgba(20,45,48,.12);
  }

  .wp-menu-dropdown:hover .wp-menu-dropdown-list,
  .wp-menu-dropdown:focus-within .wp-menu-dropdown-list {
    display: block;
  }

  .wp-menu-dropdown-list li,
  .wp-menu-dropdown-list a {
    display: block;
  }

  .wp-menu-dropdown-list a,
  .wp-menu-dropdown-list a:link,
  .wp-menu-dropdown-list a:visited {
    padding: 10px 12px;
    border-radius: 5px;
    color: var(--wp-ink);
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
  }

  .wp-menu-dropdown-list a:hover {
    background: var(--wp-soft);
    color: var(--wp-brand);
  }

  .holder-site-up {
    min-height: 0;
    margin: 0;
    background: transparent;
  }

  .holder-site.wp-layout {
    width: min(1180px, calc(100% - 40px));
    margin: 14px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 820px) 336px;
    gap: 24px;
    align-items: start;
  }

  .wp-main-card {
    min-width: 0;
    padding: 32px 36px 38px;
    background: var(--wp-card);
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
  }

  .wp-main-card > .holder-content,
  .wp-main-card .holder-content {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .wp-main-card img {
    max-width: 100%;
    height: auto;
  }

  .holder-left.wp-sidebar {
    float: none;
    width: auto;
    min-width: 0;
    align-self: stretch;
    position: relative;
  }

  .wp-sidebar-cta,
  .wp-sidebar-topics,
  .wp-sidebar-service {
    margin: 0 0 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
  }

  .wp-sidebar-cta {
    background: var(--wp-warm);
    border-color: #e7dfcd;
  }

  .wp-sidebar-eyebrow {
    margin: 0 0 6px;
    color: var(--wp-accent-dark);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
  }

  .wp-sidebar-title {
    margin: 0 0 8px;
    color: var(--wp-ink);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
  }

  .wp-sidebar-copy {
    margin: 0 0 13px;
    color: var(--wp-muted);
    font-size: 13px;
    line-height: 1.55;
  }

  .wp-sidebar-link,
  .wp-sidebar-link:link,
  .wp-sidebar-link:visited {
    color: var(--wp-brand);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
  }

  .wp-sidebar-link:hover {
    text-decoration: underline;
  }

  .wp-sidebar-topics h2 {
    margin: 0 0 10px;
    color: var(--wp-ink);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
  }

  .wp-sidebar-topics ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .wp-sidebar-topics li + li {
    border-top: 1px solid #edf0ee;
  }

  .wp-sidebar-topics a,
  .wp-sidebar-topics a:link,
  .wp-sidebar-topics a:visited {
    display: block;
    padding: 9px 0;
    color: var(--wp-ink);
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
  }

  .wp-sidebar-topics a:hover,
  .wp-sidebar-topics .active a {
    color: var(--wp-accent-dark);
  }

  .wp-sidebar-form {
    position: sticky;
    top: calc(var(--wp-menu-height) + 14px);
  }

  .wp-question-form {
    margin: 0;
    padding: 0 0 16px;
    overflow: hidden;
    background: var(--wp-brand);
    border: 1px solid var(--wp-brand-dark);
    border-radius: var(--wp-radius);
    color: #fff;
  }

  .wp-question-form-head {
    padding: 20px 20px 13px;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .wp-question-form-kicker,
  .wp-question-form-title,
  .wp-question-form-intro {
    margin: 0;
    color: #fff;
  }

  .wp-question-form-kicker {
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .78;
  }

  .wp-question-form-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
  }

  .wp-question-form-intro {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.5;
    opacity: .9;
  }

  .wp-question-form-fields {
    padding: 14px 16px 0;
  }

  .wp-form-row {
    margin: 0 0 10px;
  }

  .wp-form-label {
    display: block;
    margin: 0 0 5px;
    color: #eaf1ef;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 700;
  }

  .wp-form-label span {
    color: #cbd9d5;
    font-size: inherit;
    font-weight: 400;
  }

  .wp-form-control {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 0;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 5px;
    background: #fff;
    color: var(--wp-ink);
    font-family: Lato, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: none;
  }

  .wp-form-textarea {
    min-height: 118px;
    max-height: 240px;
    resize: vertical;
  }

  .wp-form-control:focus {
    border-color: #b7cfa8;
    box-shadow: 0 0 0 3px rgba(180,205,164,.18);
  }

  .wp-form-files {
    margin: 2px 0 10px;
  }

  .wp-form-files .browse {
    margin: 0 0 4px;
  }

  .wp-form-files input[type="file"] {
    max-width: 100%;
    color: #fff;
    font-size: 11px;
  }

  .wp-add-file,
  .wp-add-file:link,
  .wp-add-file:visited {
    color: #eaf1ef;
    font-size: 11px;
    line-height: 1.35;
    text-decoration: none;
  }

  .wp-add-file:hover {
    text-decoration: underline;
  }

  .wp-form-consents {
    margin-top: 8px;
    padding-top: 9px;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .wp-form-consents p {
    margin: 0 0 8px;
  }

  .wp-consent-row {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 8px;
    align-items: start;
    padding: 0;
    color: #e9f0ed;
    font-size: 10px;
    line-height: 1.45;
    font-weight: 400;
  }

  .wp-consent-row input[type="checkbox"] {
    margin-top: 2px;
  }

  .wp-consent-row span,
  .wp-consent-row a,
  .wp-consent-row .showlexine,
  .wp-consent-row .adreslexine {
    color: #e9f0ed;
    font-size: inherit;
    line-height: inherit;
  }

  .wp-consent-row a {
    text-decoration: underline;
  }

  .wp-consent-hidden {
    display: none;
  }

  .wp-form-warning {
    display: none;
    grid-column: 1 / -1;
    margin-bottom: 4px;
    padding: 2px 5px;
    background: #fff2be;
    color: #7c2c2c;
    font-size: 10px;
    font-weight: 700;
  }

  .wp-form-submit {
    box-sizing: border-box;
    display: block;
    width: calc(100% - 32px);
    min-height: 44px;
    margin: 12px 16px 0;
    padding: 0 12px;
    border: 1px solid var(--wp-accent-dark);
    border-radius: 5px;
    background: var(--wp-accent);
    color: #fff;
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-shadow: none;
  }

  .wp-form-submit:hover {
    background: var(--wp-accent-dark);
  }

  .wp-form-note {
    margin: 9px 16px 0;
    color: #d5e0dd;
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
  }

  /* Typografia treści i artykułów */
  .wp-main-card h1,
  .wp-main-card .h1,
  .wp-main-card .pytanie-title {
    margin-top: 0;
    color: var(--wp-ink);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
    letter-spacing: -.015em;
  }

  .wp-main-card h2,
  .wp-main-card .answer h2 {
    margin: 24px 0 10px;
    color: var(--wp-ink);
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
  }

  .wp-main-card h3,
  .wp-main-card .answer h3 {
    margin: 24px 0 8px;
    color: var(--wp-ink);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
  }

  .wp-main-card p,
  .wp-main-card li,
  .wp-main-card td,
  .wp-main-card th,
  .wp-main-card .answer {
    color: var(--wp-ink);
    font-size: 16px;
    line-height: 1.72;
  }

  .wp-main-card a,
  .wp-main-card a:link,
  .wp-main-card a:visited {
    color: #27667a;
  }

  .breadcrumb {
    width: auto;
    margin: 0 0 13px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  ol.breadcrumb li,
  ol.breadcrumb li a {
    color: var(--wp-muted);
    font-size: 12px;
    line-height: 1.35;
  }

  .sub-quest .item {
    position: static;
  }

  .sub-quest .dane-publikacji {
    margin-bottom: 15px;
  }

  .sub-quest .dane-publikacji p {
    color: var(--wp-muted);
    font-size: 12px;
    line-height: 1.45;
  }

  .sub-quest .quest {
    padding: 8px 0 16px;
    color: #35484e;
    font-size: 18px;
    line-height: 1.68;
  }

  .sub-quest .quest i,
  .sub-quest .quest em {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-style: normal;
  }

  .sub-quest .answer {
    padding: 0;
  }

  .sub-quest .answer > p {
    padding: 0;
    margin: 0 0 14px;
  }

  .sub-quest .answer ul,
  .sub-quest .answer ol {
    margin: 0 0 16px 22px;
  }

  .sub-quest .answer li {
    margin-bottom: 6px;
  }

  .article-image {
    margin: 18px 0 22px;
  }

  .article-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .lextoc {
    display: block;
    margin: 18px 0 24px;
    padding: 15px 18px;
    background: #f7f9f8;
    border: 1px solid var(--wp-line);
    border-radius: 6px;
  }

  .lextoc:empty {
    display: none;
  }

  .lextoc ul,
  .lextoc ol {
    margin: 0;
    padding-left: 20px;
  }

  .lextoc li,
  .lextoc a {
    font-size: 13px;
    line-height: 1.45;
  }

  .polecane {
    margin: 26px 0 0;
  }

  .polecaneinside {
    margin: 0;
    padding: 18px 20px 12px;
    border: 1px solid var(--wp-line);
    border-radius: 6px;
    background: #f9faf9;
  }

  .polecaneinside legend {
    padding: 0 8px;
    color: var(--wp-muted);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .06em;
  }

  .polecane-materialy,
  .wp-main-card .polecane-materialy {
    margin: 0;
    padding: 7px 0;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
  }

  .polecane-materialy + .polecane-materialy {
    border-top: 1px solid #edf0ee;
  }

  .wp-article-cta {
    margin: 20px 0;
    padding: 15px 17px;
    border: 1px solid #d6e1cf;
    border-left: 4px solid var(--wp-accent);
    border-radius: 6px;
    background: #f5f8f2;
    text-align: center;
  }

  .wp-article-cta .krkbutton,
  .wp-article-cta a.krkbutton:link,
  .wp-article-cta a.krkbutton:visited,
  .krkbutton,
  a.krkbutton:link,
  a.krkbutton:visited {
    min-height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wp-accent-dark);
    border-radius: 5px;
    background: var(--wp-accent);
    color: #fff !important;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    text-decoration: none;
    text-shadow: none;
    transition: background-color .15s ease, border-color .15s ease;
  }

  .wp-article-cta .krkbutton:hover,
  .krkbutton:hover {
    background: var(--wp-accent-dark);
    border-color: var(--wp-accent-dark);
    text-decoration: none;
  }

  .sub-quest .answer h2 {
    margin-top: 18px;
  }

  .zap-home-intro,
  .zap-category-intro {
    margin: 0 0 26px;
  }

  .zap-home-intro p,
  .zap-category-intro p {
    color: #42555b;
  }

  .wp-main-card .zap-latest-title {
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid var(--wp-line);
    font-size: 22px;
  }

  .main-quest .item {
    margin: 0;
    padding: 22px 0;
    border-bottom: 1px solid #edf0ee;
  }

  .main-quest .item:first-child {
    padding-top: 10px;
  }

  .main-quest .item .date {
    display: block;
    margin-bottom: 5px;
    color: var(--wp-muted);
    font-size: 11px;
  }

  .main-quest h2.title,
  .main-quest a.title {
    color: var(--wp-ink);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
  }

  .main-quest .item > p {
    color: #475a60;
    font-size: 14px;
    line-height: 1.62;
  }

  .main-quest .item > img {
    margin: 5px 16px 6px 0;
    padding: 0;
    border-radius: 4px;
  }

  /* Batch 02: uproszczony sidebar, formularz, homepage i huby kategorii */
  .wp-question-form-fields {
    padding-top: 16px;
  }

  .wp-form-files {
    margin-top: 3px;
  }

  .wp-file-picker {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-height: 34px;
  }

  .wp-file-picker input.pionfile[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    opacity: 0;
  }

  .wp-file-picker-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 5px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
  }

  .wp-file-picker-button:hover {
    background: rgba(255,255,255,.18);
  }

  .wp-file-picker-name {
    min-width: 0;
    overflow: hidden;
    color: #d8e3e0;
    font-size: 10px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wp-add-file,
  .wp-add-file:link,
  .wp-add-file:visited {
    display: inline-block;
    margin-top: 7px;
    padding: 4px 0;
    color: #dce8e4;
    font-size: 10px;
    font-weight: 700;
  }

  .wp-section-eyebrow {
    margin: 0 0 7px;
    color: var(--wp-accent-dark);
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .wp-home-hero {
    padding: 2px 0 26px;
  }

  .wp-main-card .wp-home-hero h1 {
    margin-bottom: 14px;
  }

  .wp-main-card .wp-home-hero p {
    max-width: 710px;
    margin: 0 0 10px;
    color: #42555b;
  }

  .wp-main-card .wp-home-hero .wp-home-lead {
    color: #30454b;
    font-size: 17px;
    line-height: 1.65;
  }

  .wp-home-section {
    padding: 28px 0;
    border-top: 1px solid var(--wp-line);
  }

  .wp-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 18px;
  }

  .wp-section-heading-compact {
    align-items: start;
  }

  .wp-main-card .wp-section-heading h2 {
    margin: 0;
    font-size: 23px;
  }

  .wp-section-heading > p {
    max-width: 285px;
    margin: 0;
    color: var(--wp-muted);
    font-size: 13px;
    line-height: 1.5;
  }

  .wp-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .wp-category-card,
  .wp-category-card:link,
  .wp-category-card:visited {
    position: relative;
    min-height: 112px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--wp-line);
    border-radius: 7px;
    background: #f9faf9;
    color: var(--wp-ink);
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease;
  }

  .wp-category-card:hover {
    border-color: #c8d4ce;
    background: var(--wp-soft);
    text-decoration: none;
  }

  .wp-category-card-number {
    margin-bottom: 10px;
    color: #8a9995;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
  }

  .wp-category-card strong {
    color: var(--wp-ink);
    font-size: 16px;
    line-height: 1.35;
  }

  .wp-category-card > span:last-child {
    margin-top: 12px;
    color: var(--wp-brand);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
  }

  .wp-knowledge-list {
    border-top: 1px solid #edf0ee;
  }

  .wp-knowledge-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 19px 0;
    border-bottom: 1px solid #edf0ee;
  }

  .wp-knowledge-item-noimage {
    grid-template-columns: 1fr;
  }

  .wp-knowledge-thumb {
    display: block;
    align-self: start;
  }

  .wp-knowledge-thumb img {
    display: block;
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
  }

  .wp-knowledge-date {
    display: block;
    margin-bottom: 5px;
    color: var(--wp-muted);
    font-size: 10px;
    line-height: 1.3;
  }

  .wp-main-card .wp-knowledge-item h3 {
    margin: 0 0 7px;
    font-size: 17px;
    line-height: 1.38;
  }

  .wp-main-card .wp-knowledge-item h3 a {
    color: var(--wp-ink);
    text-decoration: none;
  }

  .wp-main-card .wp-knowledge-item h3 a:hover {
    color: var(--wp-brand);
    text-decoration: underline;
  }

  .wp-main-card .wp-knowledge-item p {
    margin: 0;
    color: #52646a;
    font-size: 13px;
    line-height: 1.55;
  }

  .wp-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .wp-service-card {
    padding: 19px;
    border: 1px solid var(--wp-line);
    border-radius: 7px;
    background: #fff;
  }

  .wp-main-card .wp-service-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
  }

  .wp-main-card .wp-service-card p {
    margin: 0 0 13px;
    color: #52646a;
    font-size: 13px;
    line-height: 1.55;
  }

  .wp-service-card a {
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }

  .wp-home-final-cta {
    margin-top: 4px;
    padding: 21px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid #e7dfcd;
    border-radius: 7px;
    background: var(--wp-warm);
  }

  .wp-main-card .wp-home-final-cta h2 {
    margin: 0 0 6px;
    font-size: 20px;
  }

  .wp-main-card .wp-home-final-cta p {
    margin: 0;
    color: #5c6665;
    font-size: 12px;
    line-height: 1.5;
  }

  .wp-inline-cta,
  .wp-inline-cta:link,
  .wp-inline-cta:visited {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wp-accent-dark);
    border-radius: 5px;
    background: var(--wp-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }

  .wp-inline-cta:hover {
    background: var(--wp-accent-dark);
    text-decoration: none;
  }

  .wp-category-header {
    padding-bottom: 22px;
  }

  .wp-category-description h1,
  .wp-main-card .wp-category-header > h1 {
    margin-bottom: 13px;
  }

  .wp-category-description p,
  .wp-category-page-note {
    margin: 0 0 10px;
    color: #46595f;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .wp-category-meta {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 16px;
  }

  .wp-category-meta span {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--wp-soft);
    color: #52635f;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
  }

  .wp-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    padding: 12px 0;
  }

  .wp-pagination-top {
    border-top: 1px solid var(--wp-line);
    border-bottom: 1px solid var(--wp-line);
  }

  .wp-pagination-bottom {
    margin-top: 10px;
    border-top: 1px solid var(--wp-line);
  }

  .wp-pagination-label {
    margin-right: 4px;
    color: var(--wp-muted);
    font-size: 11px;
    font-weight: 700;
  }

  .wp-pagination a,
  .wp-pagination-current {
    min-width: 29px;
    height: 29px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wp-line);
    border-radius: 4px;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
  }

  .wp-pagination-current {
    border-color: var(--wp-brand);
    background: var(--wp-brand);
    color: #fff;
    font-weight: 700;
  }

  .wp-pagination a:hover {
    background: var(--wp-soft);
    text-decoration: none;
  }

  .wp-category-materials {
    padding-top: 23px;
  }

  .wp-main-card .wp-category-materials > h2 {
    margin: 0 0 15px;
    font-size: 22px;
  }



  /* Batch 03: podstrony uslugowe i statyczne */
  .wp-static-page {
    min-width: 0;
  }

  .wp-page-intro {
    margin: 0 0 28px;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--wp-line);
  }

  .wp-page-eyebrow {
    margin: 0 0 7px !important;
    color: var(--wp-accent-dark) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .07em;
  }

  .wp-main-card .wp-page-intro h1 {
    max-width: 720px;
    margin: 0 0 13px;
  }

  .wp-page-lead {
    max-width: 720px;
    margin: 0 !important;
    color: #42555b !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
  }

  .wp-page-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
  }

  .wp-primary-button,
  .wp-primary-button:link,
  .wp-primary-button:visited {
    min-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wp-accent-dark);
    border-radius: 5px;
    background: var(--wp-accent);
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700;
    text-decoration: none !important;
  }

  .wp-primary-button:hover {
    background: var(--wp-accent-dark);
  }

  .wp-text-link,
  .wp-text-link:link,
  .wp-text-link:visited {
    color: var(--wp-brand) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    text-decoration: none !important;
  }

  .wp-text-link:hover {
    text-decoration: underline !important;
  }

  .wp-page-section {
    margin: 30px 0 0;
  }

  .wp-page-section:first-of-type {
    margin-top: 0;
  }

  .wp-main-card .wp-page-section > h2 {
    margin: 0 0 14px;
  }

  .wp-section-kicker {
    margin: 0 0 6px !important;
    color: var(--wp-muted) !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
  }

  .wp-step-grid,
  .wp-feature-grid,
  .wp-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .wp-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-step-card,
  .wp-feature-card,
  .wp-contact-card {
    padding: 17px 18px;
    border: 1px solid var(--wp-line);
    border-radius: 7px;
    background: #f9fbfa;
  }

  .wp-step-number {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wp-soft);
    color: var(--wp-brand);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
  }

  .wp-main-card .wp-step-card h3,
  .wp-main-card .wp-feature-card h3,
  .wp-main-card .wp-contact-card h3 {
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.35;
  }

  .wp-main-card .wp-step-card p,
  .wp-main-card .wp-feature-card p,
  .wp-main-card .wp-contact-card p {
    margin: 0;
    color: #536469;
    font-size: 13px;
    line-height: 1.58;
  }

  .wp-main-card .wp-contact-card a {
    font-size: inherit;
    line-height: inherit;
  }

  .wp-check-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
    list-style: none;
  }

  .wp-check-list li {
    position: relative;
    margin: 0;
    padding: 12px 14px 12px 40px;
    border: 1px solid #e7ece9;
    border-radius: 6px;
    background: #fbfcfb;
    color: #35494f;
    font-size: 14px;
    line-height: 1.5;
  }

  .wp-check-list li::before {
    content: "✓";
    position: absolute;
    left: 15px;
    top: 11px;
    color: var(--wp-accent-dark);
    font-weight: 700;
  }

  .wp-info-box {
    margin: 24px 0 0;
    padding: 18px 20px;
    border: 1px solid #e7dfcd;
    border-radius: 7px;
    background: var(--wp-warm);
  }

  .wp-main-card .wp-info-box h2,
  .wp-main-card .wp-info-box h3 {
    margin: 0 0 7px;
  }

  .wp-main-card .wp-info-box p {
    margin: 0;
    color: #4e5e5b;
    font-size: 13px;
    line-height: 1.58;
  }

  .wp-faq-list {
    border-top: 1px solid var(--wp-line);
  }

  .wp-faq-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--wp-line);
  }

  .wp-main-card .wp-faq-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
  }

  .wp-main-card .wp-faq-item p {
    margin: 0;
    color: #4f6166;
    font-size: 14px;
    line-height: 1.62;
  }

  .wp-legal-page > :first-child,
  .wp-legacy-static > :first-child {
    margin-top: 0;
  }

  .wp-legal-page .holder-content,
  .wp-legacy-static .holder-content,
  .wp-advertising-page .holder-content {
    width: auto;
    float: none;
    margin: 0;
    padding: 0;
  }

  .wp-legal-page h1,
  .wp-legacy-static h1,
  .wp-advertising-page h1 {
    margin-top: 0 !important;
  }

  .wp-legal-page p,
  .wp-legacy-static p,
  .wp-advertising-page p,
  .wp-legal-page li,
  .wp-legacy-static li,
  .wp-advertising-page li {
    font-size: 14px;
    line-height: 1.65;
  }

  .wp-legal-page ul,
  .wp-legal-page ol,
  .wp-legacy-static ul,
  .wp-legacy-static ol,
  .wp-advertising-page ul,
  .wp-advertising-page ol {
    margin: 0 0 18px 22px;
  }

  .wp-legal-page table,
  .wp-legacy-static table {
    max-width: 100%;
  }

  .wp-advertising-page img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--wp-line);
    border-radius: 6px;
  }


  .holder-footer {
    display: none;
  }






/* Batch 04: formularz glowny, opinie i sitemap - desktop */

  .wp-question-page-form,
  .wp-question-content,
  .wp-sitemap-page {
    min-width: 0;
  }

  .wp-main-question-head {
    margin: 0 0 22px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--wp-line);
  }

  .wp-main-question-head .wp-section-eyebrow,
  .wp-sitemap-head .wp-section-eyebrow,
  .wp-question-content .wp-section-eyebrow {
    margin: 0 0 7px;
    color: var(--wp-accent-dark);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
  }

  .wp-main-card .wp-main-question-head h1,
  .wp-main-card .wp-sitemap-head h1,
  .wp-main-card .wp-status-page h1,
  .wp-main-card .wp-lawyer-profile h1 {
    margin: 0 0 12px;
  }

  .wp-main-question-lead,
  .wp-sitemap-head > p:not(.wp-section-eyebrow):not(.wp-sitemap-count) {
    max-width: 700px;
    margin: 0;
    color: #42555b;
    font-size: 16px;
    line-height: 1.65;
  }

  .wp-question-trust {
    margin: 15px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
  }

  .wp-question-trust li {
    margin: 0;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--wp-soft);
    color: #4c625b;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 700;
  }

  .wp-main-question-form {
    box-sizing: border-box;
    margin: 0;
    padding: 22px;
    background: #f9fbfa;
    border: 1px solid var(--wp-line);
    border-radius: 7px;
  }

  .wp-question-field {
    min-width: 0;
    margin: 0 0 16px;
  }

  .wp-question-label-row {
    margin: 0 0 7px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
  }

  .wp-question-label-row label,
  .wp-question-files-title,
  .wp-question-field > label {
    color: var(--wp-ink);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
  }

  .wp-question-label-row > span:not(.wp-question-files-title) {
    color: var(--wp-muted);
    font-size: 10px;
    line-height: 1.4;
    text-align: right;
  }

  .wp-question-optional {
    color: var(--wp-muted);
    font-size: 10px;
    font-weight: 400;
  }

  .wp-question-input,
  .wp-question-textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid #cfd9d5;
    border-radius: 5px;
    background: #fff;
    color: var(--wp-ink);
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: none;
  }

  .wp-question-input {
    min-height: 42px;
    padding: 9px 11px;
  }

  .wp-question-textarea {
    min-height: 180px;
    max-height: 440px;
    padding: 11px 12px;
    resize: vertical;
  }

  .wp-question-input:focus,
  .wp-question-textarea:focus,
  .wp-sitemap-search:focus {
    outline: 2px solid rgba(111,143,82,.18);
    outline-offset: 1px;
    border-color: var(--wp-accent);
  }

  .wp-question-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .wp-question-contact-grid .wp-question-field {
    margin-bottom: 15px;
  }

  .wp-question-help {
    margin: 5px 0 0 !important;
    color: var(--wp-muted) !important;
    font-size: 9px !important;
    line-height: 1.4 !important;
  }

  .wp-question-error {
    margin: 0 0 6px;
    color: var(--wp-danger);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
  }

  .wp-question-files {
    margin: 1px 0 18px;
    padding: 14px 0 2px;
    border-top: 1px solid var(--wp-line);
  }

  .wp-question-file-row {
    position: relative;
    min-height: 36px;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .wp-question-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .wp-question-file-button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd6d2;
    border-radius: 5px;
    background: #fff;
    color: var(--wp-brand);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
  }

  .wp-question-file-button:hover {
    background: var(--wp-soft);
  }

  .wp-question-file-name {
    min-width: 0;
    overflow: hidden;
    color: var(--wp-muted);
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wp-question-add-file,
  .wp-question-add-file:link,
  .wp-question-add-file:visited {
    display: inline-block;
    margin-top: 1px;
    color: var(--wp-brand);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    text-decoration: none;
  }

  .wp-question-add-file:hover {
    text-decoration: underline;
  }

  .wp-question-consents {
    padding-top: 15px;
    border-top: 1px solid var(--wp-line);
  }

  .wp-main-card .wp-question-consent {
    margin: 0 0 10px;
    color: #52646a;
    font-size: 11px;
    line-height: 1.5;
  }

  .wp-question-consent label {
    display: grid;
    grid-template-columns: 17px minmax(0, 1fr);
    gap: 7px;
    align-items: start;
    cursor: pointer;
  }

  .wp-question-consent input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 2px 0 0;
  }

  .wp-question-consent a {
    font-size: inherit !important;
  }

  .wp-question-consent .privacy-more-content {
    display: none;
    margin: 6px 0 0 24px;
    color: var(--wp-muted);
    font-size: 10px;
    line-height: 1.5;
  }

  .wp-question-submit-row {
    margin-top: 18px;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-top: 1px solid var(--wp-line);
  }

  .wp-question-submit-row > div {
    min-width: 0;
  }

  .wp-question-submit-row strong,
  .wp-question-submit-row span {
    display: block;
  }

  .wp-question-submit-row strong {
    color: var(--wp-ink);
    font-size: 12px;
    line-height: 1.35;
  }

  .wp-question-submit-row span {
    margin-top: 3px;
    color: var(--wp-muted);
    font-size: 11px;
    line-height: 1.35;
  }

  .wp-main-question-form .wp-question-submit,
  .wp-main-question-form #mainorder {
    box-sizing: border-box;
    min-width: 160px;
    min-height: 40px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid var(--wp-accent-dark);
    border-radius: 5px;
    background: var(--wp-accent);
    color: #fff;
    font-family: Lato, Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
  }

  .wp-main-question-form .wp-question-submit:hover,
  .wp-main-question-form #mainorder:hover {
    background: var(--wp-accent-dark);
  }

  .wp-question-process {
    margin: 28px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--wp-line);
  }

  .wp-main-card .wp-question-process h2 {
    margin: 0 0 15px;
  }

  .wp-question-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wp-question-process-grid > div {
    position: relative;
    min-height: 84px;
    padding: 15px 15px 14px 48px;
    border: 1px solid var(--wp-line);
    border-radius: 6px;
    background: #fff;
  }

  .wp-question-process-grid > div > span {
    position: absolute;
    top: 15px;
    left: 14px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wp-soft);
    color: var(--wp-brand);
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
  }

  .wp-question-process-grid strong {
    display: block;
    margin-bottom: 4px;
    color: var(--wp-ink);
    font-size: 13px;
    line-height: 1.3;
  }

  .wp-main-card .wp-question-process-grid p {
    margin: 0;
    color: var(--wp-muted);
    font-size: 11px;
    line-height: 1.5;
  }

  #rodoinfo {
    box-sizing: border-box;
    display: none;
    margin: 22px 0 0;
    padding: 18px 20px;
    border: 1px solid var(--wp-line);
    border-radius: 6px;
    background: #fbfcfb;
  }

  .wp-main-card #rodoinfo p,
  .wp-main-card #rodoinfo li {
    color: #536469;
    font-size: 11px;
    line-height: 1.55;
  }

  .wp-main-card #rodoinfo > p:first-child {
    margin-top: 0;
    color: var(--wp-ink);
    font-size: 13px;
  }

  .wp-question-content {
    margin-top: 30px !important;
  }

  .wp-question-benefits,
  .wp-question-opinions,
  .wp-lawyer-articles {
    margin: 0;
    padding: 26px 0 0;
    border-top: 1px solid var(--wp-line);
  }

  .wp-question-benefits + .wp-question-opinions {
    margin-top: 28px;
  }

  .wp-question-content .wp-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wp-opinion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wp-opinion-card {
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 16px 17px;
    border: 1px solid var(--wp-line);
    border-radius: 6px;
    background: #f9fbfa;
  }

  .wp-main-card .wp-opinion-card p {
    margin: 0;
    color: #45595f;
    font-size: 12px;
    line-height: 1.58;
  }

  .wp-main-card .wp-opinion-card .wp-opinion-note {
    margin-top: 8px;
    color: var(--wp-muted);
    font-size: 11px;
  }

  .wp-opinion-card footer {
    margin-top: 10px;
    color: var(--wp-ink);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
  }

  .wp-opinion-pagination {
    margin: 14px 0 0;
    overflow-x: auto;
  }

  .wp-opinion-pagination-top {
    margin: 0 0 14px;
  }

  .wp-opinion-pagination table,
  .wp-opinion-pagination tbody,
  .wp-opinion-pagination tr {
    max-width: 100%;
  }

  .wp-lawyer-profile {
    margin: 0 0 26px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .wp-lawyer-photo img {
    display: block;
    width: 150px;
    height: auto;
    border-radius: 6px;
  }

  .wp-lawyer-description {
    color: #46595f;
    font-size: 13px;
    line-height: 1.6;
  }

  .wp-status-page {
    padding: 10px 0 4px;
  }

  .wp-main-card .wp-status-page > p {
    max-width: 640px;
    color: #46595f;
    font-size: 14px;
    line-height: 1.6;
  }

  .wp-status-success {
    padding: 20px;
    border: 1px solid #cfdccd;
    border-radius: 6px;
    background: #f4f8f2;
  }

  .wp-status-error {
    padding: 20px;
    border: 1px solid #e7caca;
    border-radius: 6px;
    background: #fff7f7;
  }

  .wp-sitemap-head {
    margin: 0 0 22px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--wp-line);
  }

  .wp-sitemap-count {
    margin: 14px 0 0 !important;
    color: var(--wp-muted) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .wp-sitemap-count strong {
    color: var(--wp-ink);
    font-size: 13px;
  }

  .wp-sitemap-tools {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid var(--wp-line);
    border-radius: 6px;
    background: #f9fbfa;
  }

  .wp-sitemap-search-label {
    display: block;
    margin: 0 0 6px;
    color: var(--wp-ink);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
  }

  .wp-sitemap-search {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #cfd9d5;
    border-radius: 5px;
    background: #fff;
    color: var(--wp-ink);
    font-family: Lato, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
  }

  .wp-sitemap-category-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .wp-sitemap-category-links a,
  .wp-sitemap-category-links a:link,
  .wp-sitemap-category-links a:visited {
    padding: 6px 9px;
    border: 1px solid #d9e1de;
    border-radius: 999px;
    background: #fff;
    color: var(--wp-brand);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
  }

  .wp-sitemap-category-links a:hover {
    background: var(--wp-soft);
  }

  .wp-sitemap-results {
    min-height: 15px;
    margin: 8px 0 0 !important;
    color: var(--wp-muted) !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  .wp-sitemap-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    list-style: none;
    border-top: 1px solid var(--wp-line);
  }

  .wp-sitemap-item {
    min-width: 0;
    margin: 0;
    padding: 10px 0 9px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-bottom: 1px solid #edf0ee;
  }

  .wp-sitemap-item > a,
  .wp-sitemap-item > a:link,
  .wp-sitemap-item > a:visited {
    color: var(--wp-ink);
    font-size: 12px;
    line-height: 1.42;
    font-weight: 700;
    text-decoration: none;
  }

  .wp-sitemap-item > a:hover {
    color: var(--wp-brand);
    text-decoration: underline;
  }

  .wp-sitemap-item > span {
    margin-top: 3px;
    color: #80908b;
    font-size: 9px;
    line-height: 1.3;
  }



  .wp-question-consent .privacy-more-content.show {
    display: block;
  }



/* Batch 05: unified responsive shell */
.wp-mobile-menu-toggle {
  display: none;
}

.wp-main-card table {
  max-width: 100%;
}

.wp-main-card iframe,
.wp-main-card video,
.wp-main-card object,
.wp-main-card embed {
  max-width: 100%;
}

@media screen and (max-width: 1023px) {
  :root {
    --wp-menu-height: 52px;
  }

  html {
    scroll-padding-top: calc(var(--wp-menu-height) + 10px);
  }

  body {
    min-width: 0;
    margin: 0;
    overflow-x: hidden;
    background: var(--wp-bg);
  }

  .holder-site-top,
  .holder-top {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: #fff;
  }

  .wp-topbar {
    width: calc(100% - 28px);
    min-height: 58px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .wp-brand,
  .wp-brand:link,
  .wp-brand:visited {
    display: inline-flex;
    text-decoration: none;
  }

  .wp-brand-title {
    color: var(--wp-brand);
    font-size: 19px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.02em;
  }

  .wp-top-actions {
    display: none;
  }

  #holder-middle,
  .holder-middle {
    position: sticky;
    top: 0;
    z-index: 1300;
    width: 100%;
    height: var(--wp-menu-height);
    border-top: 1px solid var(--wp-line);
    border-bottom: 1px solid var(--wp-line);
    background: rgba(255,255,255,.99);
  }

  .wp-menu-shell {
    position: relative;
    width: calc(100% - 20px);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .wp-mobile-menu-toggle {
    min-width: 72px;
    min-height: 34px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: var(--wp-ink);
    font-family: Lato, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }

  .wp-mobile-menu-icon {
    width: 18px;
    display: grid;
    gap: 3px;
  }

  .wp-mobile-menu-icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--wp-brand);
  }

  .wp-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 5;
    height: auto;
    max-height: calc(100vh - var(--wp-menu-height) - 16px);
    display: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--wp-line);
    border-top: 0;
    border-radius: 0 0 6px 6px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(28,49,53,.10);
  }

  .wp-menu-shell.wp-mobile-open .wp-nav {
    display: block;
  }

  .wp-nav-list {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 5px 0;
    display: block;
    list-style: none;
  }

  .wp-nav-list > li {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    border: 0;
  }

  .wp-nav-list > li + li {
    border-top: 1px solid #edf0ee;
  }

  .wp-nav-list > li > a,
  .wp-nav-list > li > button {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    height: auto;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-bottom: 0;
    background: transparent;
    color: var(--wp-ink);
    font-family: Lato, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
  }

  .wp-nav-list > li > a:hover,
  .wp-nav-list > li > button:hover {
    background: var(--wp-soft);
    color: var(--wp-brand);
  }

  .wp-menu-dropdown-list {
    position: static;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 0 6px;
    display: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #f7f9f8;
  }

  .wp-menu-dropdown:hover .wp-menu-dropdown-list,
  .wp-menu-dropdown:focus-within .wp-menu-dropdown-list {
    display: none;
  }

  .wp-nav-list > li:first-child > button {
    padding: 0 14px;
  }

  .wp-menu-dropdown.wp-category-open .wp-menu-dropdown-list {
    display: block;
  }

  .wp-menu-dropdown-list li {
    border-top: 1px solid #edf0ee;
  }

  .wp-menu-dropdown-list a {
    padding: 10px 22px;
    display: block;
    font-size: 12px;
    line-height: 1.35;
  }

  .wp-menu-dropdown.wp-category-open .wp-nav-chevron {
    transform: rotate(180deg);
  }

  .wp-menu-cta,
  .wp-menu-cta:link,
  .wp-menu-cta:visited,
  #holder-middle.wp-is-stuck .wp-menu-cta {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wp-accent-dark);
    border-radius: 5px;
    background: var(--wp-accent);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .holder-site-up {
    min-height: 0;
    margin: 0;
  }

  .holder-site.wp-layout {
    box-sizing: border-box;
    width: calc(100% - 16px);
    max-width: 900px;
    margin: 8px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .wp-main-card {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 24px 22px 28px;
    background: var(--wp-card);
    border: 1px solid var(--wp-line);
    border-radius: 6px;
  }

  .wp-main-card > .holder-content,
  .wp-main-card .holder-content {
    width: auto;
    min-width: 0;
    float: none;
    margin: 0;
    padding: 0;
  }

  .holder-left.wp-sidebar {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    align-self: auto;
    float: none;
    position: static;
  }

  .wp-sidebar-cta {
    display: none;
  }

  .wp-sidebar-form {
    position: static;
    top: auto;
  }

  .wp-sidebar-service {
    margin: 0;
    padding: 18px;
  }

  .wp-question-form {
    border-radius: 6px;
  }

  .wp-main-card h1,
  .wp-main-card .h1,
  .wp-main-card .pytanie-title {
    font-size: 25px;
    line-height: 1.22;
  }

  .wp-main-card h2,
  .wp-main-card .answer h2 {
    margin-top: 21px;
    font-size: 21px;
    line-height: 1.3;
  }

  .sub-quest .answer h2 {
    margin-top: 17px;
  }

  .wp-main-card h3,
  .wp-main-card .answer h3 {
    margin-top: 20px;
    font-size: 17px;
  }

  .wp-main-card p,
  .wp-main-card li,
  .wp-main-card td,
  .wp-main-card th,
  .wp-main-card .answer {
    font-size: 15px;
    line-height: 1.68;
  }

  .breadcrumb {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 0;
  }

  ol.breadcrumb li,
  ol.breadcrumb li a {
    font-size: 11px;
  }

  .sub-quest .dane-publikacji {
    margin-bottom: 11px;
  }

  .sub-quest .quest {
    padding: 5px 0 13px;
    font-size: 16px;
    line-height: 1.62;
  }

  .article-image {
    margin: 14px 0 18px;
  }

  .lextoc {
    margin: 14px 0 19px;
    padding: 13px 15px;
  }

  .lextoc li,
  .lextoc a {
    font-size: 12px;
    line-height: 1.42;
  }

  .wp-article-cta {
    margin: 17px 0;
    padding: 13px;
  }

  .wp-article-cta .krkbutton,
  .wp-article-cta a.krkbutton:link,
  .wp-article-cta a.krkbutton:visited {
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
  }

  .wp-knowledge-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
  }

  .wp-knowledge-thumb img {
    width: 112px;
    height: 75px;
  }

  .wp-service-grid,
  .wp-feature-grid,
  .wp-step-grid,
  .wp-contact-grid,
  .wp-question-contact-grid,
  .wp-question-process-grid,
  .wp-opinion-grid,
  .wp-sitemap-list,
  .wp-category-grid {
    grid-template-columns: 1fr;
  }

  .wp-home-hero,
  .wp-page-intro,
  .wp-main-question-head,
  .wp-sitemap-head {
    margin-top: 0;
  }

  .wp-home-final-cta {
    padding: 18px;
    display: block;
  }

  .wp-home-final-cta .wp-inline-cta {
    margin-top: 13px;
  }

  .wp-page-actions {
    flex-wrap: wrap;
  }

  .wp-page-actions a,
  .wp-page-actions .wp-inline-cta {
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
  }

  .wp-main-question-form {
    padding: 18px;
  }

  .wp-question-submit-row {
    display: block;
  }

  .wp-main-question-form .wp-question-submit,
  .wp-main-question-form #mainorder {
    width: 100%;
  }

  .wp-question-file-row,
  .wp-file-picker {
    max-width: 100%;
  }

  .wp-question-file-name,
  .wp-file-picker-name {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #rodoinfo,
  .privacy-more-content {
    max-width: 100%;
  }

  .wp-main-card table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wp-main-card pre,
  .wp-main-card code,
  .wp-main-card a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .zdjeciePrawnika,
  .prawnik-zdjecie {
    max-width: 100%;
  }

  .wp-footer {
    margin-top: 22px;
  }

  .wp-footer-inner {
    box-sizing: border-box;
    width: calc(100% - 28px);
    padding: 28px 0 18px;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .wp-footer-bottom {
    box-sizing: border-box;
    width: calc(100% - 28px);
    padding: 15px 0 19px;
    display: block;
  }

  .wp-footer-meta {
    margin-top: 8px;
  }
}

@media screen and (max-width: 600px) {
  .wp-main-card {
    padding: 20px 16px 24px;
  }

  .wp-main-card h1,
  .wp-main-card .h1,
  .wp-main-card .pytanie-title {
    font-size: 23px;
  }

  .wp-brand-title {
    font-size: 18px;
  }

  .wp-menu-shell {
    width: calc(100% - 12px);
  }

  .wp-menu-cta,
  .wp-menu-cta:link,
  .wp-menu-cta:visited {
    padding: 0 8px;
    font-size: 10.5px;
  }

  .wp-mobile-menu-label {
    display: none;
  }

  .wp-mobile-menu-toggle {
    min-width: 42px;
    padding: 0 7px;
  }

  .wp-knowledge-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 11px;
  }

  .wp-knowledge-thumb img {
    width: 92px;
    height: 64px;
  }

  .wp-main-card .wp-knowledge-item h3 {
    font-size: 15px;
  }

  .wp-main-card .wp-knowledge-item p {
    display: none;
  }

  .wp-footer-inner {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 360px) {
  .holder-site.wp-layout {
    width: calc(100% - 10px);
  }

  .wp-main-card {
    padding: 18px 13px 22px;
  }

  .wp-main-card h1,
  .wp-main-card .h1,
  .wp-main-card .pytanie-title {
    font-size: 22px;
  }

  .wp-menu-cta,
  .wp-menu-cta:link,
  .wp-menu-cta:visited {
    padding: 0 7px;
    font-size: 10px;
  }
}

/* Batch 06: formularz glowny - layout zgodny z Prawo-Mieszkaniowe.info */
.wp-pm-question-page {
  max-width: 100%;
}

.wp-pm-form-head {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.wp-main-card .wp-pm-form-head h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.wp-main-card .wp-pm-question-form {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d9e1de;
  border-radius: 8px;
  background: #fff;
}

.wp-pm-form-step {
  margin: 0;
  padding: 24px 26px 25px;
}

.wp-pm-form-step + .wp-pm-form-step {
  border-top: 1px solid #e1e6e4;
}

.wp-pm-step-head {
  margin: 0 0 17px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wp-pm-step-number {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wp-brand);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.wp-main-card .wp-pm-step-head h2 {
  margin: 0;
  color: var(--wp-ink);
  font-size: 19px;
  line-height: 1.25;
}

.wp-pm-field {
  min-width: 0;
}

.wp-pm-field > label,
.wp-pm-files-head > span {
  display: block;
  margin: 0 0 6px;
  color: #263b41;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.wp-pm-field > label small,
.wp-pm-files-head small {
  color: #78868a;
  font-size: 10px;
  font-weight: 400;
}

.wp-pm-question-field {
  margin-bottom: 17px;
}

.wp-main-card .wp-pm-textarea {
  min-height: 205px;
  padding: 12px 13px;
  border: 1px solid #cbd6d2;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.wp-main-card .wp-pm-input {
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #cbd6d2;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
}

.wp-main-card .wp-pm-input:focus,
.wp-main-card .wp-pm-textarea:focus {
  outline: 2px solid rgba(111,143,82,.16);
  outline-offset: 1px;
  border-color: var(--wp-accent);
}

.wp-main-card .wp-pm-field-help {
  margin: 6px 0 0;
  color: #708086;
  font-size: 11px;
  line-height: 1.45;
}

.wp-pm-files {
  margin: 0;
  padding: 0;
  border: 0;
}

.wp-pm-files-head {
  margin: 0 0 7px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.wp-pm-files-head > span {
  margin: 0;
}

.wp-pm-file-row {
  margin-bottom: 7px;
}

.wp-pm-file-button {
  min-width: 94px;
  min-height: 36px;
  border-color: #c8d3cf;
  background: #f8faf9;
}

.wp-pm-add-file,
.wp-pm-add-file:link,
.wp-pm-add-file:visited {
  margin-top: 2px;
  color: var(--wp-brand);
  font-size: 11px;
  font-weight: 700;
}

.wp-pm-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wp-pm-phone-grid {
  margin-top: 15px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: 14px;
  align-items: stretch;
}

.wp-pm-phone-note {
  box-sizing: border-box;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #dce4e1;
  border-radius: 6px;
  background: #f4f7f5;
}

.wp-pm-phone-note strong {
  display: block;
  margin: 0 0 3px;
  color: var(--wp-brand);
  font-size: 11px;
  line-height: 1.35;
}

.wp-main-card .wp-pm-phone-note p {
  margin: 0;
  color: #5e7075;
  font-size: 10px;
  line-height: 1.48;
}

.wp-pm-consents {
  margin: 0;
  padding: 18px 26px 10px;
  border-top: 1px solid #e1e6e4;
  background: #fafbfa;
}

.wp-main-card .wp-pm-consent-alert {
  margin: 0 0 8px;
  color: #8d2f2f;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.wp-main-card .wp-pm-consent {
  margin: 0 0 9px;
  color: #526469;
  font-size: 10px;
  line-height: 1.5;
}

.wp-pm-consent-required {
  padding: 10px 11px;
  border: 1px solid #e3d4cf;
  border-radius: 5px;
  background: #fffaf8;
}

.wp-pm-consent label {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
}

.wp-pm-consent input[type="checkbox"] {
  width: 15px;
  height: 15px;
}

.wp-pm-submit-row {
  padding: 4px 26px 22px;
  background: #fafbfa;
  text-align: right;
}

.wp-main-card .wp-pm-question-form .wp-pm-submit,
.wp-main-card .wp-pm-question-form #mainorder {
  min-width: 190px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--wp-accent-dark);
  border-radius: 5px;
  background: var(--wp-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.wp-main-card .wp-pm-question-form .wp-pm-submit:hover,
.wp-main-card .wp-pm-question-form #mainorder:hover {
  background: var(--wp-accent-dark);
}

.wp-pm-form-trust {
  margin: 10px 0 0;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  border: 1px solid #dfe5e2;
  border-radius: 6px;
  background: #f7f9f8;
}

.wp-pm-form-trust li {
  margin: 0;
  color: #58696e;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
}

.wp-pm-form-trust li + li::before {
  content: "·";
  margin: 0 9px;
  color: #9aa7a3;
}

.wp-pm-process {
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}

.wp-main-card .wp-pm-process h2,
.wp-main-card .wp-pm-featured-opinions h2,
.wp-main-card .wp-pm-all-opinions h2 {
  margin: 0 0 15px;
  font-size: 21px;
  line-height: 1.3;
}

.wp-pm-process-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.wp-pm-process-grid li {
  min-width: 0;
  margin: 0;
  padding: 14px 12px;
  border: 1px solid #dfe5e2;
  border-radius: 6px;
  background: #fff;
}

.wp-pm-process-grid li > span {
  width: 25px;
  height: 25px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wp-soft);
  color: var(--wp-brand);
  font-size: 10px;
  font-weight: 700;
}

.wp-pm-process-grid strong {
  display: block;
  margin: 0 0 4px;
  color: #25383e;
  font-size: 12px;
  line-height: 1.35;
}

.wp-main-card .wp-pm-process-grid p {
  margin: 0;
  color: #6a797e;
  font-size: 10px;
  line-height: 1.48;
}


.wp-pm-featured-opinions {
  margin: 0;
  padding: 0;
  border: 0;
}

.wp-pm-featured-opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wp-pm-featured-opinion {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 15px 15px 14px;
  border: 1px solid #dfe5e2;
  border-radius: 6px;
  background: #f9fbfa;
}

.wp-pm-stars {
  margin: 0 0 7px;
  color: #9a7a34;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .03em;
}

.wp-main-card .wp-pm-featured-opinion p,
.wp-main-card .wp-pm-opinion-row p {
  margin: 0;
  color: #44575d;
  font-size: 11px;
  line-height: 1.58;
}

.wp-pm-featured-opinion footer,
.wp-pm-opinion-row footer {
  margin-top: 9px;
  color: #263b41;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
}

.wp-main-card .wp-pm-opinions-link {
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 700;
}

.wp-pm-opinions-link a,
.wp-pm-opinions-link a:link,
.wp-pm-opinions-link a:visited {
  color: var(--wp-brand);
  text-decoration: none;
}

.wp-pm-opinions-link a:hover {
  text-decoration: underline;
}

.wp-main-card .wp-pm-bottom-trust {
  margin: 13px 0 0;
  padding: 9px 12px;
  border-top: 1px solid #e1e6e4;
  border-bottom: 1px solid #e1e6e4;
  color: #607176;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
  font-weight: 700;
}

.wp-pm-all-opinions {
  margin: 30px 0 0;
  padding: 0;
  border: 0;
  scroll-margin-top: calc(var(--wp-menu-height) + 14px);
}

.wp-pm-opinion-list {
  border-top: 1px solid #e2e7e5;
}

.wp-pm-opinion-row {
  margin: 0;
  padding: 15px 2px;
  border-bottom: 1px solid #e2e7e5;
  background: transparent;
}

.wp-main-card .wp-pm-opinion-row .wp-opinion-note {
  margin-top: 6px;
  color: #718085;
  font-size: 10px;
}

.wp-pm-all-opinions .wp-opinion-pagination {
  margin: 14px 0 0;
}

.wp-pm-all-opinions .wp-opinion-pagination-top {
  margin: 0 0 12px;
}

.wp-pm-all-opinions + #rodoinfo {
  margin-top: 26px;
}

@media screen and (max-width: 1023px) {
  .wp-main-card .wp-pm-form-head h1 {
    font-size: 25px;
  }

  .wp-pm-form-step {
    padding: 20px;
  }

  .wp-pm-consents {
    padding: 16px 20px 8px;
  }

  .wp-pm-submit-row {
    padding: 4px 20px 20px;
  }

  .wp-pm-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-pm-featured-opinion-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 600px) {
  .wp-main-card .wp-pm-form-head h1 {
    font-size: 23px;
  }

  .wp-pm-form-step {
    padding: 17px 15px 18px;
  }

  .wp-pm-step-head {
    margin-bottom: 14px;
  }

  .wp-pm-contact-grid,
  .wp-pm-phone-grid,
  .wp-pm-process-grid {
    grid-template-columns: 1fr;
  }

  .wp-pm-phone-grid {
    margin-top: 13px;
  }

  .wp-pm-consents {
    padding: 15px 15px 7px;
  }

  .wp-pm-submit-row {
    padding: 4px 15px 17px;
  }

  .wp-main-card .wp-pm-question-form .wp-pm-submit,
  .wp-main-card .wp-pm-question-form #mainorder {
    width: 100%;
  }

  .wp-pm-form-trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .wp-pm-form-trust li + li::before {
    content: none;
  }

  .wp-pm-process {
    margin-top: 25px;
  }
}

/* HOTFIX 2026-09-11: mobile touch scroll
   Do not make BODY the horizontal overflow container on iOS/Safari.
   Keep vertical page scrolling on the root document. */
@media screen and (max-width: 1023px) {
  html {
    height: auto !important;
    min-height: 100%;
    overflow-x: visible !important;
    overflow-x: clip !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body {
    height: auto !important;
    min-height: 100%;
    overflow-x: visible !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    position: static !important;
    touch-action: auto !important;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}


/* Batch 07: desktop formularz + dopracowanie artykulu */
@media screen and (min-width: 1024px) {
  /* Glowny formularz: bez topu i menu na desktopie. */
  body.wp-question-main-page .holder-site-top,
  body.wp-question-main-page .holder-middle,
  body.wp-question-main-page .holder-site-up {
    display: none;
  }

  body.wp-question-main-page {
    padding-top: 0;
  }

  body.wp-question-main-page .holder-site.wp-question-layout {
    margin-top: 18px;
    align-items: start;
  }

  .wp-question-main-card {
    padding: 28px 32px 32px;
  }

  .wp-question-sidebar {
    align-self: stretch;
  }

  .wp-question-side-panel {
    position: sticky;
    top: 18px;
  }

  .wp-question-side-panel .wp-pm-process {
    margin: 0;
    padding: 20px;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    background: #fff;
  }

  .wp-question-side-panel .wp-pm-process-grid-side {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wp-question-side-panel .wp-pm-process-grid-side li {
    padding: 11px 12px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    background: #f8faf9;
  }

  .wp-question-side-panel .wp-pm-process-grid-side li > span {
    margin: 0;
  }

  .wp-question-side-panel .wp-pm-featured-opinions-side {
    margin: 14px 0 0;
    padding: 20px;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    background: #fff;
  }

  .wp-question-side-panel .wp-pm-featured-opinion-grid-side {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wp-question-side-panel .wp-pm-featured-opinion {
    padding: 12px 13px;
  }

  .wp-question-wide-shell {
    box-sizing: border-box;
    width: min(1180px, calc(100% - 40px));
    margin: 24px auto 0;
  }

  .wp-question-wide-card {
    box-sizing: border-box;
    width: 100%;
    padding: 30px 36px 34px;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    background: #fff;
  }

  .wp-question-wide-card .wp-pm-all-opinions {
    margin: 0;
  }

  .wp-question-wide-card .wp-pm-opinion-list-wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    border-top: 1px solid #e2e7e5;
  }

  .wp-question-wide-card .wp-pm-opinion-row {
    min-width: 0;
  }

  .wp-question-wide-card #rodoinfo {
    margin-top: 26px;
  }

  .wp-question-wide-card #rodoinfo p,
  .wp-question-wide-card #rodoinfo li {
    color: #536469;
    font-size: 11px;
    line-height: 1.55;
  }

  .wp-question-wide-card #rodoinfo > p:first-child {
    margin-top: 0;
    color: var(--wp-ink);
    font-size: 13px;
  }

  /* Artykul: bardziej zwarta hierarchia naglowkow. */
  .sub-quest .pytanie-title {
    font-size: 25px;
    line-height: 1.22;
  }

  .sub-quest .answer h2 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 21px;
  }
}

/* CTA w artykulach - oba historyczne warianty dostaja jeden system wizualny. */
.sub-quest .answer .wp-article-cta-box,
.sub-quest .answer .wp-article-cta {
  box-sizing: border-box !important;
  margin: 20px 0 !important;
  padding: 17px 19px !important;
  border: 1px solid #d7e1dc !important;
  border-left: 4px solid var(--wp-accent) !important;
  border-radius: 7px !important;
  background: #f3f7f4 !important;
  box-shadow: none !important;
  text-align: left !important;
}

.sub-quest .answer .wp-article-cta-box-secondary {
  border-color: #ceddda !important;
  border-left-color: var(--wp-brand) !important;
  background: #eef4f2 !important;
}

.sub-quest .answer .wp-article-cta-box > p:first-child {
  margin: 0 0 11px !important;
  color: var(--wp-brand) !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}

.sub-quest .answer .wp-article-cta-box > a[href*="zapytaj_prawnika.html"],
.sub-quest .answer .wp-article-cta a.krkbutton {
  box-sizing: border-box !important;
  min-height: 40px !important;
  max-width: 100% !important;
  padding: 9px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--wp-accent-dark) !important;
  border-radius: 5px !important;
  background: var(--wp-accent) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

.sub-quest .answer .wp-article-cta-box > a[href*="zapytaj_prawnika.html"]:hover,
.sub-quest .answer .wp-article-cta a.krkbutton:hover {
  background: var(--wp-accent-dark) !important;
  border-color: var(--wp-accent-dark) !important;
}

.sub-quest .answer .wp-article-cta-box > p:last-child {
  margin: 10px 0 0 !important;
  color: var(--wp-muted) !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

/* Zrodla w artykule: spokojny, zwarty blok referencyjny. */
.sub-quest .answer .wp-article-sources-box {
  box-sizing: border-box;
  margin: 24px 0 4px;
  padding: 16px 18px;
  border: 1px solid var(--wp-line);
  border-radius: 6px;
  background: #f8faf9;
}

.sub-quest .answer .wp-article-sources-box > h2,
.sub-quest .answer .wp-article-sources-box > h3 {
  margin: 0 0 9px !important;
  color: var(--wp-brand) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.sub-quest .answer .wp-article-sources-box p,
.sub-quest .answer .wp-article-sources-box li,
.sub-quest .answer .wp-article-sources-box a {
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.sub-quest .answer .wp-article-sources-box p {
  margin: 0 0 7px !important;
}

.sub-quest .answer .wp-article-sources-box ul,
.sub-quest .answer .wp-article-sources-box ol {
  margin: 0 0 0 18px !important;
  padding: 0 !important;
}

.sub-quest .answer .wp-article-sources-box li {
  margin: 0 0 5px !important;
  color: #5b6c71 !important;
}

.sub-quest .answer .wp-article-sources-box a {
  color: #27667a !important;
  text-decoration: underline !important;
}

@media screen and (max-width: 1023px) {
  .wp-question-wide-shell {
    box-sizing: border-box;
    width: calc(100% - 16px);
    max-width: 900px;
    margin: 10px auto 0;
  }

  .wp-question-wide-card {
    box-sizing: border-box;
    width: 100%;
    padding: 24px 22px 28px;
    border: 1px solid var(--wp-line);
    border-radius: 6px;
    background: #fff;
  }

  .wp-question-side-panel .wp-pm-process {
    margin-top: 0;
  }
}

@media screen and (max-width: 600px) {
  .wp-question-wide-card {
    padding: 20px 16px 24px;
  }

  .sub-quest .answer .wp-article-cta-box,
  .sub-quest .answer .wp-article-cta {
    padding: 15px 13px !important;
  }

  .sub-quest .answer .wp-article-cta-box > a[href*="zapytaj_prawnika.html"],
  .sub-quest .answer .wp-article-cta a.krkbutton {
    width: 100% !important;
  }

  .sub-quest .answer .wp-article-sources-box {
    padding: 14px 13px;
  }
}

/* Batch 08: formularz jak PM + artykul desktop + mobile shell */
.wp-mobile-brand {
  display: none;
}

/* Artykul: legacy zaplecze.css dodaje h2 padding-top:4em; zerujemy go tutaj. */
@media screen and (min-width: 1024px) {
  .sub-quest .pytanie-title {
    font-size: 23px;
    line-height: 1.24;
  }

  .sub-quest .answer h2 {
    margin-top: 14px !important;
    margin-bottom: 8px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 21px;
    line-height: 1.32;
  }

  /* Glowny formularz: kontroler renderuje lewa/prawa kolumne i opinie,
     dzieki czemu dane $tab i paginacja sa w tym samym scope Smarty. */
  body.wp-question-main-page .holder-site.wp-question-page-layout {
    width: min(1180px, calc(100% - 40px));
    margin-top: 18px;
    display: block;
  }

  body.wp-question-main-page .wp-question-page-shell {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .wp-question-controller-content {
    width: 100% !important;
  }

  .wp-question-layout-inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 820px) 336px;
    gap: 24px;
    align-items: start;
  }

  .wp-question-form-column {
    box-sizing: border-box;
    min-width: 0;
    padding: 28px 32px 32px;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    background: #fff;
  }

  .wp-question-layout-inner .wp-question-sidebar {
    min-width: 0;
    align-self: stretch;
  }

  .wp-question-layout-inner .wp-question-side-panel {
    position: sticky;
    top: 18px;
  }

  .wp-question-controller-content > .wp-question-wide-card {
    box-sizing: border-box;
    width: 100%;
    margin: 24px 0 0;
    padding: 30px 36px 34px;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    background: #fff;
  }

  .wp-question-controller-content .wp-pm-opinion-list-wide {
    display: block;
    border-top: 1px solid #e2e7e5;
  }

  .wp-question-controller-content .wp-pm-opinion-row {
    width: 100%;
    min-width: 0;
  }

  .wp-question-controller-content .wp-pm-all-opinions {
    margin: 0;
  }

  .wp-question-controller-content #rodoinfo {
    margin-top: 26px;
  }

  .wp-question-controller-content #rodoinfo p,
  .wp-question-controller-content #rodoinfo li {
    color: #536469;
    font-size: 11px;
    line-height: 1.55;
  }
}

/* CTA z tresci bazy: obslugujemy oba historyczne adresy formularza. */
.sub-quest .answer .wp-article-cta-link,
.sub-quest .answer .wp-article-cta-box > a[href*="zapytaj_prawnika.html"],
.sub-quest .answer .wp-article-cta-box > a[href*="porady_prawne.html"] {
  box-sizing: border-box !important;
  min-height: 40px !important;
  max-width: 100% !important;
  padding: 9px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--wp-accent-dark) !important;
  border-radius: 5px !important;
  background: var(--wp-accent) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

.sub-quest .answer .wp-article-cta-link:hover,
.sub-quest .answer .wp-article-cta-box > a[href*="zapytaj_prawnika.html"]:hover,
.sub-quest .answer .wp-article-cta-box > a[href*="porady_prawne.html"]:hover {
  background: var(--wp-accent-dark) !important;
  border-color: var(--wp-accent-dark) !important;
}

.sub-quest .answer .wp-article-sources-box p,
.sub-quest .answer .wp-article-sources-box li,
.sub-quest .answer .wp-article-sources-box a {
  font-size: 11.5px !important;
  line-height: 1.5 !important;
}

@media screen and (max-width: 1023px) {
  /* Jeden sticky pasek: Opcje | domena | Zapytaj prawnika. */
  .holder-site-top {
    display: none !important;
  }

  .wp-menu-shell {
    box-sizing: border-box;
    width: calc(100% - 12px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
  }

  .wp-mobile-menu-toggle {
    min-width: 62px;
    min-height: 34px;
    padding: 0 4px;
    gap: 5px;
  }

  .wp-mobile-menu-label {
    display: inline;
  }

  .wp-mobile-brand,
  .wp-mobile-brand:link,
  .wp-mobile-brand:visited {
    min-width: 0;
    display: block;
    overflow: hidden;
    color: var(--wp-brand);
    font-size: 13px;
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .wp-nav {
    grid-column: 1 / -1;
  }

  .wp-menu-cta,
  .wp-menu-cta:link,
  .wp-menu-cta:visited,
  #holder-middle.wp-is-stuck .wp-menu-cta {
    min-height: 32px;
    padding: 0 8px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  /* Na artykule formularz boczny nie schodzi juz pod tresc. */
  body.wp-article-page .holder-left.wp-sidebar {
    display: none !important;
  }

  /* Glowny formularz: na mobile jedna kolumna, bez utraty sekcji opinii. */
  body.wp-question-main-page .holder-site.wp-question-page-layout {
    width: calc(100% - 16px);
    max-width: 900px;
    margin: 8px auto 0;
    display: block;
  }

  body.wp-question-main-page .wp-question-page-shell {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .wp-question-layout-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wp-question-form-column,
  .wp-question-layout-inner .wp-question-sidebar,
  .wp-question-controller-content > .wp-question-wide-card {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 24px 22px 28px;
    border: 1px solid var(--wp-line);
    border-radius: 6px;
    background: #fff;
  }

  .wp-question-layout-inner .wp-question-sidebar {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .wp-question-layout-inner .wp-question-side-panel {
    position: static;
    top: auto;
  }

  .wp-question-controller-content > .wp-question-wide-card {
    margin-top: 10px;
  }

  .wp-question-controller-content .wp-pm-opinion-list-wide {
    display: block;
  }

  .wp-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .wp-mobile-menu-toggle {
    min-width: 56px;
    padding: 0 2px;
  }

  .wp-mobile-menu-icon {
    width: 16px;
  }

  .wp-mobile-menu-icon span {
    width: 16px;
  }

  .wp-mobile-menu-label {
    display: inline;
    font-size: 11px;
  }

  .wp-mobile-brand,
  .wp-mobile-brand:link,
  .wp-mobile-brand:visited {
    font-size: 12px;
  }

  .wp-menu-cta,
  .wp-menu-cta:link,
  .wp-menu-cta:visited {
    padding: 0 6px;
    font-size: 9.8px;
  }

  .wp-question-form-column,
  .wp-question-controller-content > .wp-question-wide-card {
    padding: 20px 16px 24px;
  }

  /* Stopka pozostaje dwukolumnowa także na telefonach. */
  .wp-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .wp-footer-heading,
  .wp-footer-links li,
  .wp-footer-brand-copy,
  .wp-footer-company {
    font-size: 12px;
  }
}

@media screen and (max-width: 360px) {
  .wp-mobile-menu-toggle {
    min-width: 52px;
  }

  .wp-mobile-brand,
  .wp-mobile-brand:link,
  .wp-mobile-brand:visited {
    font-size: 11.4px;
  }

  .wp-menu-cta,
  .wp-menu-cta:link,
  .wp-menu-cta:visited {
    padding: 0 5px;
    font-size: 9.2px;
  }
}

/* Batch 09: breadcrumb + autor/powiazane + formularz PM desktop/mobile */
.wp-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Breadcrumb - jeden markup dla desktop/mobile. */
.wp-breadcrumb-wrap,
.holder-navi.wp-breadcrumb-wrap {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.wp-breadcrumb,
ol.breadcrumb.wp-breadcrumb {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 0;
  list-style: none;
  white-space: normal;
  overflow: visible;
}

ol.breadcrumb.wp-breadcrumb li {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  color: var(--wp-muted);
  font-size: 11px;
  line-height: 1.35;
}

ol.breadcrumb.wp-breadcrumb li + li::before {
  content: "›";
  padding: 0 7px;
  color: #9aa6a2;
  font-size: 13px;
  line-height: 1;
}

ol.breadcrumb.wp-breadcrumb a,
ol.breadcrumb.wp-breadcrumb a:link,
ol.breadcrumb.wp-breadcrumb a:visited {
  color: #5f7075;
  text-decoration: none;
  opacity: 1;
}

ol.breadcrumb.wp-breadcrumb a:hover {
  color: var(--wp-brand);
  text-decoration: underline;
}

.wp-breadcrumb-home a {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3df;
  border-radius: 4px;
  background: #f8faf9;
}

.wp-breadcrumb-home-icon {
  width: 13px;
  height: 13px;
  fill: var(--wp-brand);
}

.wp-breadcrumb-current {
  max-width: min(540px, 60vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Stan prawny / meta artykulu. */
.sub-quest .dane-publikacji.wp-article-meta {
  margin: 4px 0 9px !important;
  padding: 0 !important;
  text-align: left !important;
}

.sub-quest .dane-publikacji.wp-article-meta p {
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 5px;
  color: #6c7b80;
  font-size: 11px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.wp-article-meta-label {
  color: #53666b;
  font-weight: 700;
}

.wp-article-meta-separator {
  color: #a0aba8;
}

/* CTA z bazy - wszystkie dedykowane boxy formularza maja jeden wariant, jak CTA koncowe. */
.sub-quest .answer .wp-article-cta-box,
.sub-quest .answer .wp-article-cta-box-primary,
.sub-quest .answer .wp-article-cta-box-secondary {
  box-sizing: border-box !important;
  margin: 20px 0 !important;
  padding: 18px 19px !important;
  border: 1px solid #cfddd7 !important;
  border-left: 4px solid var(--wp-accent) !important;
  border-radius: 7px !important;
  background: #f1f6f3 !important;
  box-shadow: none !important;
  text-align: left !important;
}

.sub-quest .answer .wp-article-cta-box > p,
.sub-quest .answer .wp-article-cta-box-primary > p,
.sub-quest .answer .wp-article-cta-box-secondary > p {
  color: var(--wp-ink) !important;
}

.sub-quest .answer .wp-article-cta-box .wp-article-cta-link,
.sub-quest .answer .wp-article-cta-box > a[href*="zapytaj_prawnika.html"],
.sub-quest .answer .wp-article-cta-box > a[href*="porady_prawne.html"] {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  max-width: 100% !important;
  padding: 9px 17px !important;
  border: 1px solid var(--wp-accent-dark) !important;
  border-radius: 5px !important;
  background: var(--wp-accent) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

/* Box autora. */
.wp-author-box {
  box-sizing: border-box;
  margin: 26px 0 18px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #dbe4e0;
  border-radius: 7px;
  background: #f8faf9;
}

.wp-author-photo {
  flex: 0 0 72px;
}

.wp-author-photo img {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #d5dfda;
  background: #fff;
}

.wp-author-content {
  min-width: 0;
  flex: 1 1 auto;
}

.wp-main-card .wp-author-eyebrow,
.wp-main-card .wp-related-eyebrow {
  margin: 0 0 3px;
  color: #70817c;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.wp-main-card .wp-author-name {
  margin: 0 0 5px;
  color: var(--wp-brand);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.wp-main-card .wp-author-note,
.wp-main-card .wp-author-description {
  margin: 4px 0 0;
  color: #53666b;
  font-size: 12px;
  line-height: 1.55;
}

.wp-author-more,
.wp-author-more:link,
.wp-author-more:visited {
  margin-top: 8px;
  display: inline-block;
  color: var(--wp-brand) !important;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
}

.wp-author-more:hover {
  text-decoration: underline;
}

.wp-author-box-editorial {
  padding-left: 20px;
  border-left: 4px solid var(--wp-accent);
}

/* Powiazane artykuly - zawsze wyraznie widoczne, jesli kontroler zwroci relacje. */
.wp-related-articles {
  box-sizing: border-box;
  margin: 20px 0 0;
  padding: 18px 20px;
  border: 1px solid #dbe4e0;
  border-radius: 7px;
  background: #f8faf9;
}

.wp-main-card .wp-related-articles h2 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: var(--wp-brand);
  font-size: 17px !important;
  line-height: 1.35;
}

.wp-related-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-related-list li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 18px;
  border-top: 1px solid #e5ebe8;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.wp-related-list li:first-child {
  border-top: 0;
}

.wp-related-list li::before {
  content: "›";
  position: absolute;
  left: 2px;
  top: 8px;
  color: var(--wp-accent);
  font-weight: 700;
}

.wp-related-list a,
.wp-related-list a:link,
.wp-related-list a:visited {
  color: #27667a !important;
  font-weight: 600;
  text-decoration: none;
}

.wp-related-list a:hover {
  text-decoration: underline;
}

/* Glowny formularz: wlasny top, zgodny z ukladem PM. */
.wp-question-custom-head {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 12px;
}

.wp-question-custom-head-desktop {
  box-sizing: border-box;
  width: 100%;
  min-height: 76px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius);
  background: #fff;
}

.wp-main-card .wp-question-custom-head-desktop h1 {
  margin: 0;
  color: var(--wp-ink);
  font-size: 25px;
  line-height: 1.2;
}

.wp-question-custom-brand {
  min-width: 260px;
  text-align: right;
}

.wp-question-custom-brand a,
.wp-question-custom-brand a:link,
.wp-question-custom-brand a:visited {
  display: block;
  color: var(--wp-brand) !important;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none;
}

.wp-question-custom-brand span {
  margin-top: 3px;
  display: block;
  color: #6d7d82;
  font-size: 11px;
  line-height: 1.35;
}

.wp-question-custom-head-mobile,
.wp-question-mobile-title {
  display: none;
}

/* Formularz: brak dublowanych etykiet, trzy dane kontaktowe w jednym rzedzie. */
.wp-pm-contact-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.wp-pm-phone-details {
  margin-top: 7px;
  padding: 0;
  border: 0;
}

.wp-pm-phone-details summary {
  width: max-content;
  max-width: 100%;
  cursor: pointer;
  color: var(--wp-brand);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 700;
  list-style: none;
}

.wp-pm-phone-details summary::-webkit-details-marker {
  display: none;
}

.wp-pm-phone-details summary::after {
  content: " +";
  color: var(--wp-accent);
}

.wp-pm-phone-details[open] summary::after {
  content: " −";
}

.wp-main-card .wp-pm-phone-details p {
  margin: 6px 0 0;
  padding: 8px 9px;
  border: 1px solid #dde5e1;
  border-radius: 5px;
  background: #f7f9f8;
  color: #5d6e73;
  font-size: 10px;
  line-height: 1.45;
}

.wp-pm-file-row-next {
  margin-top: 7px;
}

.wp-pm-submit-row-centered {
  text-align: center !important;
}

.wp-pm-submit-row-centered .wp-pm-submit {
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 1024px) {
  body.wp-question-main-page .holder-site.wp-question-page-layout {
    margin-top: 10px;
  }
}

@media screen and (max-width: 1023px) {
  /* Formularz ma osobny pasek; globalne menu nie jest potrzebne. */
  body.wp-question-main-page .holder-site-top,
  body.wp-question-main-page .holder-middle,
  body.wp-question-main-page .holder-site-up {
    display: none !important;
  }

  body.wp-question-main-page .holder-site.wp-question-page-layout {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
  }

  body.wp-question-main-page .wp-question-page-shell {
    width: 100%;
    margin: 0;
  }

  .wp-question-custom-head {
    margin: 0 0 8px;
  }

  .wp-question-custom-head-desktop {
    display: none;
  }

  .wp-question-custom-head-mobile {
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #dbe3df;
    background: #fff;
  }

  .wp-question-custom-head-mobile a,
  .wp-question-custom-head-mobile a:link,
  .wp-question-custom-head-mobile a:visited {
    min-width: 0;
    overflow: hidden;
    color: var(--wp-brand) !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .wp-question-custom-head-mobile span {
    color: #66777c;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
  }

  .wp-main-card .wp-question-mobile-title {
    margin: 14px 16px 10px;
    display: block;
    color: var(--wp-ink);
    font-size: 22px;
    line-height: 1.22;
  }

  .wp-question-layout-inner {
    padding: 0 8px;
  }

  .wp-question-controller-content > .wp-question-wide-card {
    width: calc(100% - 16px);
    margin-left: 8px;
    margin-right: 8px;
  }

  .wp-pm-contact-grid-three {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wp-breadcrumb-wrap,
  .holder-navi.wp-breadcrumb-wrap {
    margin-bottom: 6px;
  }

  .wp-breadcrumb,
  ol.breadcrumb.wp-breadcrumb {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  ol.breadcrumb.wp-breadcrumb li {
    font-size: 10.5px;
  }

  .wp-breadcrumb-current {
    display: none !important;
  }

  .wp-breadcrumb-category {
    min-width: 0;
    overflow: hidden;
  }

  .wp-breadcrumb-category a {
    display: block;
    min-width: 0;
    max-width: calc(100vw - 74px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wp-author-box {
    margin: 20px 0 14px;
    padding: 15px 14px;
    gap: 12px;
  }

  .wp-author-photo {
    flex-basis: 58px;
  }

  .wp-author-photo img {
    width: 58px;
    height: 58px;
  }

  .wp-related-articles {
    margin-top: 16px;
    padding: 15px 14px;
  }

  .sub-quest .answer .wp-article-cta-box,
  .sub-quest .answer .wp-article-cta-box-primary,
  .sub-quest .answer .wp-article-cta-box-secondary {
    margin: 17px 0 !important;
    padding: 15px 13px !important;
  }

  .sub-quest .answer .wp-article-cta-box .wp-article-cta-link,
  .sub-quest .answer .wp-article-cta-box > a[href*="zapytaj_prawnika.html"],
  .sub-quest .answer .wp-article-cta-box > a[href*="porady_prawne.html"] {
    width: 100% !important;
  }
}

@media screen and (max-width: 420px) {
  .wp-question-custom-head-mobile {
    padding: 0 10px;
    gap: 6px;
  }

  .wp-question-custom-head-mobile a,
  .wp-question-custom-head-mobile a:link,
  .wp-question-custom-head-mobile a:visited {
    font-size: 12px;
  }

  .wp-question-custom-head-mobile span {
    font-size: 9px;
  }

  .wp-main-card .wp-question-mobile-title {
    margin: 12px 12px 8px;
    font-size: 21px;
  }

  .wp-question-layout-inner {
    padding: 0 6px;
  }

  .wp-question-form-column,
  .wp-question-controller-content > .wp-question-wide-card {
    padding-left: 14px;
    padding-right: 14px;
  }

  .wp-question-controller-content > .wp-question-wide-card {
    width: calc(100% - 12px);
    margin-left: 6px;
    margin-right: 6px;
  }

  .wp-author-box {
    display: block;
  }

  .wp-author-photo {
    margin: 0 0 10px;
  }
}

/* Batch 10: homepage, sidebar i dopracowanie mobile/formularza */

/* Sidebar: jasniejszy panel i rowne krawedzie wszystkich sekcji. */
@media screen and (min-width: 1024px) {
  .holder-left.wp-sidebar > *,
  .wp-sidebar-form,
  .wp-sidebar-form .wp-question-form {
    box-sizing: border-box;
    width: 100%;
  }

  .wp-question-form {
    background: #285861;
    border-color: #214c53;
  }

  .wp-question-form-fields {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wp-sidebar-file-row-next {
    margin-top: 7px !important;
  }
}

@media screen and (max-width: 1023px) {
  /* Na mobile nie pokazujemy bocznego formularza na zadnej zwyklej podstronie. */
  body:not(.wp-question-main-page) .holder-left.wp-sidebar {
    display: none !important;
  }

  /* Formularz glowny ma osobny pasek i zaczyna sie bez pionowej szczeliny. */
  body.wp-question-main-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.wp-question-main-page .wp-question-custom-head {
    margin: 0;
  }

  body.wp-question-main-page .wp-question-custom-head-mobile {
    margin: 0;
  }

  body.wp-question-main-page .wp-question-layout-inner {
    padding-top: 0;
  }

  body.wp-question-main-page .wp-question-form-column {
    margin-top: 0;
  }

  .wp-main-card .wp-question-mobile-title {
    margin: 0 0 12px;
    padding: 0;
    display: block;
    color: var(--wp-ink);
    font-size: 22px;
    line-height: 1.22;
  }

  /* Mobile: formularz startuje neutralnie; walidacja pokazuje blad dopiero po probie wyslania. */
  .wp-main-question-form .wp-pm-field-help {
    display: none !important;
  }

  .wp-main-question-form .wp-pm-consent-required {
    border-color: #e1e6e4;
    background: #fff;
  }

  .wp-main-question-form .wp-pm-consent-alert {
    display: none;
  }
}


/* Batch 11: ciasniejszy desktop shell + pelna szerokosc formularza mobile */
@media screen and (min-width: 1024px) {
  /* Jeden wspolny gutter dla topu, menu, glownego layoutu i formularza. */
  .wp-topbar,
  .wp-menu-shell,
  .holder-site.wp-layout,
  body.wp-question-main-page .holder-site.wp-question-page-layout,
  .wp-question-wide-shell,
  .wp-footer-inner,
  .wp-footer-bottom {
    width: min(1170px, calc(100% - 40px));
  }

  .holder-site.wp-layout {
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 14px;
  }

  /* Top i sticky menu korzystaja z tej samej osi kolumn co content/sidebar. */
  .wp-topbar,
  .wp-menu-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    column-gap: 14px;
    justify-content: stretch;
  }

  .wp-topbar .wp-brand,
  .wp-menu-shell .wp-nav {
    min-width: 0;
    justify-self: start;
  }

  .wp-topbar .wp-top-actions,
  .wp-menu-shell .wp-menu-cta {
    justify-self: start;
  }

  /* Formularz glowny: ten sam 14px gutter co w zwyklym shellu. */
  .wp-question-layout-inner {
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 14px;
  }
}

@media screen and (max-width: 1023px) {
  /* Formularz mobilny zaczyna sie dokladnie na gornej krawedzi viewportu. */
  html,
  body.wp-question-main-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.wp-question-main-page > .holder-site.wp-question-page-layout,
  body.wp-question-main-page .wp-question-page-shell,
  body.wp-question-main-page .wp-question-controller-content,
  body.wp-question-main-page .wp-question-custom-head {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Pasek i formularz maja identyczna szerokosc: bez dodatkowego insetu 8/6px. */
  body.wp-question-main-page .holder-site.wp-question-page-layout,
  body.wp-question-main-page .wp-question-page-shell,
  body.wp-question-main-page .wp-question-controller-content,
  body.wp-question-main-page .wp-question-custom-head,
  body.wp-question-main-page .wp-question-custom-head-mobile,
  body.wp-question-main-page .wp-question-layout-inner,
  body.wp-question-main-page .wp-question-form-column {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.wp-question-main-page .wp-question-layout-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.wp-question-main-page .wp-question-form-column {
    margin-top: 0 !important;
  }
}

/* Batch 12: formularz - rowne kolumny, boxy opinii i nowa paginacja */

/* Wspolna paginacja opinii - bez legacy tabel. */
.wp-opinion-pagination {
  width: 100%;
}

.wp-opinion-pager {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr) minmax(92px, auto);
  gap: 10px;
  align-items: center;
}

.wp-opinion-pager-side {
  min-width: 0;
}

.wp-opinion-pager-next {
  text-align: right;
}

.wp-opinion-pager-pages {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.wp-opinion-pager-nav,
.wp-opinion-pager-page,
.wp-opinion-pager-gap {
  box-sizing: border-box;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e0dd;
  border-radius: 6px;
  background: #fff;
  color: var(--wp-brand);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}

.wp-opinion-pager-nav {
  padding: 0 10px;
  white-space: nowrap;
}

.wp-opinion-pager-page:hover,
.wp-opinion-pager-nav:hover {
  border-color: #a9c3bd;
  background: #f1f7f5;
  text-decoration: none;
}

.wp-opinion-pager-page.is-active {
  border-color: var(--wp-accent-dark);
  background: var(--wp-accent);
  color: #fff;
}

.wp-opinion-pager-nav.is-disabled {
  border-color: #e6ebe9;
  background: #f7f9f8;
  color: #9aa6a3;
}

.wp-opinion-pager-gap {
  min-width: 22px;
  border-color: transparent;
  background: transparent;
  color: #81908c;
}

/* Pelne opinie jako karty. */
.wp-question-controller-content .wp-pm-opinion-list-wide {
  border-top: 0;
}

.wp-question-controller-content .wp-pm-opinion-row {
  box-sizing: border-box;
  margin: 0;
  padding: 16px 17px;
  border: 1px solid #dfe5e2;
  border-radius: 6px;
  background: #f9fbfa;
}

.wp-question-controller-content .wp-pm-opinion-row p:first-of-type {
  margin-top: 0;
}

@media screen and (min-width: 1024px) {
  /* Lewy formularz i prawa kolumna maja identyczna wysokosc w pierwszym rzedzie. */
  body.wp-question-main-page .wp-question-layout-inner {
    align-items: stretch;
  }

  body.wp-question-main-page .wp-question-form-column,
  body.wp-question-main-page .wp-question-layout-inner .wp-question-sidebar {
    align-self: stretch;
    height: 100%;
  }

  body.wp-question-main-page .wp-question-layout-inner .wp-question-sidebar {
    display: flex;
  }

  body.wp-question-main-page .wp-question-layout-inner .wp-question-side-panel {
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    padding: 20px;
    position: static;
    top: auto;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 20px;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    background: #fff;
  }

  body.wp-question-main-page .wp-question-side-panel .wp-pm-process,
  body.wp-question-main-page .wp-question-side-panel .wp-pm-featured-opinions-side {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.wp-question-main-page .wp-question-side-panel .wp-pm-featured-opinions-side {
    flex: 1 1 auto;
  }

  /* Dwie zwarte kolumny kart, analogicznie do ukladu opinii na PM. */
  body.wp-question-main-page .wp-question-controller-content .wp-pm-opinion-list-wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media screen and (max-width: 1023px) {
  /* Jak to dziala + 3 opinie: jeden odsuniety kontener na mobile. */
  body.wp-question-main-page .wp-question-layout-inner .wp-question-sidebar {
    box-sizing: border-box;
    width: calc(100% - 20px) !important;
    margin: 10px 10px 0 !important;
    padding: 0 !important;
    border: 0;
    background: transparent;
  }

  body.wp-question-main-page .wp-question-layout-inner .wp-question-side-panel {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 16px 14px;
    border: 1px solid var(--wp-line);
    border-radius: 6px;
    background: #fff;
  }

  body.wp-question-main-page .wp-question-side-panel .wp-pm-process,
  body.wp-question-main-page .wp-question-side-panel .wp-pm-featured-opinions-side {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  body.wp-question-main-page .wp-question-side-panel .wp-pm-featured-opinions-side {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2e7e5;
  }

  /* Pelne opinie tez siedza w odsunietym kontenerze. */
  body.wp-question-main-page .wp-question-controller-content > .wp-question-wide-card {
    box-sizing: border-box;
    width: calc(100% - 20px) !important;
    margin: 10px 10px 0 !important;
    padding: 20px 14px 24px;
  }

  body.wp-question-main-page .wp-question-controller-content .wp-pm-opinion-list-wide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .wp-opinion-pager {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
  }

  .wp-opinion-pager-nav,
  .wp-opinion-pager-page,
  .wp-opinion-pager-gap {
    min-width: 32px;
    min-height: 32px;
    font-size: 10.5px;
  }

  .wp-opinion-pager-nav {
    padding: 0 8px;
  }
}

@media screen and (max-width: 480px) {
  .wp-opinion-pager {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
  }

  .wp-opinion-pager-nav {
    width: 32px;
    padding: 0;
  }

  .wp-opinion-pager-label {
    display: none;
  }

  .wp-opinion-pager-pages {
    gap: 4px;
  }

  .wp-opinion-pager-page,
  .wp-opinion-pager-gap {
    min-width: 30px;
    min-height: 30px;
    font-size: 10px;
  }
}

/* ============================================================
   BATCH 13 — NASZ ZESPOL / EKSPERCI
   ============================================================ */
.wp-team-page {
  color: var(--wp-ink);
}

.wp-team-hero {
  margin: 0 0 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--wp-line);
}

.wp-team-hero h1 {
  margin: 4px 0 12px;
}

.wp-team-hero .wp-page-lead {
  max-width: 720px;
  margin-bottom: 22px;
}

.wp-team-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wp-team-trust > div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--wp-line);
  border-radius: 7px;
  background: var(--wp-soft);
}

.wp-team-trust strong,
.wp-team-trust span {
  display: block;
}

.wp-team-trust strong {
  margin-bottom: 4px;
  color: var(--wp-brand);
  font-size: 13px;
  line-height: 1.3;
}

.wp-team-trust span {
  color: var(--wp-muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.wp-team-section {
  margin: 0 0 40px;
}

.wp-team-section + .wp-team-section {
  padding-top: 34px;
  border-top: 1px solid var(--wp-line);
}

.wp-team-section > h2 {
  margin: 5px 0 10px;
}

.wp-team-section-intro {
  max-width: 710px;
  margin: 0 0 22px;
  color: var(--wp-muted);
  font-size: 14px;
  line-height: 1.65;
}

.wp-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wp-team-card {
  min-width: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--wp-line);
  border-radius: 8px;
  background: #fff;
}

.wp-team-card-current {
  border-top: 3px solid var(--wp-accent);
}

.wp-team-card-former {
  background: #fbfcfb;
}

.wp-team-card-photo-wrap {
  min-width: 0;
}

.wp-team-card-photo {
  box-sizing: border-box;
  width: 82px;
  height: 82px;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  border: 1px solid #e1e6e3;
  border-radius: 7px;
  background: #f4f7f5;
}

.wp-team-card-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8aa09a;
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.wp-team-card-body {
  min-width: 0;
}

.wp-team-status {
  margin: 0 0 4px;
  color: var(--wp-accent-dark);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.wp-team-status-former {
  color: var(--wp-muted);
}

.wp-team-card h3 {
  margin: 0 0 3px;
  color: var(--wp-brand);
  font-size: 16px;
  line-height: 1.28;
}

.wp-team-role {
  margin: 0 0 8px;
  color: var(--wp-muted);
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 700;
}

.wp-team-bio {
  margin: 0 0 9px;
  color: #435156;
  font-size: 12px;
  line-height: 1.55;
}

.wp-team-count {
  margin: 8px 0 6px;
  color: var(--wp-muted);
  font-size: 11px;
  line-height: 1.35;
}

.wp-team-profile-link,
.wp-team-profile-link:link,
.wp-team-profile-link:visited {
  color: var(--wp-brand);
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
}

.wp-team-profile-link:hover {
  color: var(--wp-accent-dark);
  text-decoration: underline;
}

.wp-team-cta {
  margin-top: 8px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #cad7d1;
  border-radius: 8px;
  background: var(--wp-soft);
}

.wp-team-cta h2 {
  margin: 3px 0 5px;
  font-size: 20px;
}

.wp-team-cta p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--wp-muted);
  font-size: 13px;
  line-height: 1.55;
}

.wp-team-cta .wp-primary-button {
  flex: 0 0 auto;
}

.wp-lawyer-profile .wp-section-eyebrow a,
.wp-lawyer-profile .wp-section-eyebrow a:link,
.wp-lawyer-profile .wp-section-eyebrow a:visited {
  color: inherit;
  text-decoration: none;
}

.wp-lawyer-profile .wp-section-eyebrow a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1023px) {
  .wp-team-hero {
    margin-bottom: 26px;
    padding-bottom: 22px;
  }

  .wp-team-trust {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wp-team-trust > div {
    padding: 11px 12px;
  }

  .wp-team-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wp-team-card {
    padding: 14px;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .wp-team-card-photo {
    width: 72px;
    height: 72px;
  }

  .wp-team-section {
    margin-bottom: 32px;
  }

  .wp-team-section + .wp-team-section {
    padding-top: 28px;
  }

  .wp-team-section-intro {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .wp-team-cta {
    padding: 18px;
    display: block;
  }

  .wp-team-cta .wp-primary-button {
    margin-top: 14px;
  }
}

@media screen and (max-width: 480px) {
  .wp-team-card {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 12px;
    gap: 10px;
  }

  .wp-team-card-photo {
    width: 64px;
    height: 64px;
  }

  .wp-team-card h3 {
    font-size: 15px;
  }

  .wp-team-bio {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .wp-team-cta h2 {
    font-size: 18px;
  }
}


/* ============================================================
   BATCH 14 — formularz flush-top + kompaktowy status zespolu
   ============================================================ */
@media screen and (min-width: 1024px) {
  /* Glowny formularz desktop: wlasny top zaczyna sie przy gornej krawedzi strony. */
  body.wp-question-main-page .holder-site.wp-question-page-layout {
    margin-top: 0 !important;
  }
}

/* Status aktywnego prawnika jako dyskretny badge zamiast duzego tekstu. */
.wp-team-status {
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  margin: 0 0 6px;
  padding: 2px 6px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #c7ddd6;
  border-radius: 4px;
  background: #f1f7f5;
  color: var(--wp-accent-dark);
  font-size: 8.5px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
}

/* ============================================================
   BATCH 15 — formularz desktop bez gornego luzu + mini status zespolu
   ============================================================ */
@media screen and (min-width: 1024px) {
  /* Formularz glowny: zerujemy kazdy poziom, ktory moze tworzyc pionowy luz
     przed wlasnym topem formularza. */
  html {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.wp-question-main-page {
    margin: 0 !important;
    padding: 0 !important;
  }

  body.wp-question-main-page > .holder-site.wp-question-page-layout,
  body.wp-question-main-page .wp-question-page-shell,
  body.wp-question-main-page .wp-question-controller-content,
  body.wp-question-main-page .wp-question-custom-head,
  body.wp-question-main-page .wp-question-custom-head-desktop {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.wp-question-main-page > .holder-site.wp-question-page-layout {
    margin-bottom: 0;
  }

  /* Zachowujemy wewnetrzny pionowy rytm top-boxa bez tworzenia luzu nad nim. */
  body.wp-question-main-page .wp-question-custom-head-desktop {
    padding: 16px 24px !important;
  }
}

/* Status ma byc tylko dyskretnym znacznikiem, a nie konkurencja dla nazwiska. */
.wp-team-card .wp-team-status {
  width: max-content;
  max-width: 100%;
  margin: 0 0 4px !important;
  padding: 1px 4px !important;
  border-width: 1px;
  border-radius: 3px;
  font-size: 7px !important;
  line-height: 1.1 !important;
  font-weight: 700;
  letter-spacing: .02em !important;
  text-transform: uppercase;
}
