/* Wspólna nawigacja i stopka serwisu — jedno źródło stylów dla wszystkich podstron. */
/* Wysokość obrazków — atrybuty width/height w kodzie strony są dla przeglądarki
   podpowiedzią prezentacyjną i USTAWIAJĄ wysokość (np. height="900" => 900px).
   Style serwisu nadpisywały tylko szerokość, więc obrazek dostawał szerokość
   kontenera i sztywne 900 px wysokości: w kafelkach na stronie głównej dawało to
   powiększony, przycięty kadr, a w artykułach rozciągnięcie w pionie o ~11%.
   Reguły z klasą (np. .content-card-image img{height:100%}) wygrywają
   specyficznością, więc kadrowanie 16:9 w kartach działa jak dotąd. */
img {
  height: auto;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.global-site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  color: #0f172a;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.global-site-header,
.global-site-footer {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.global-site-header .nav-inner {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  margin: 0 auto;
  max-width: 1280px;
  min-height: 72px;
  padding: 12px 20px;
  width: 100%;
}

.global-site-header .logo,
.global-site-footer .logo {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 9px;
  text-decoration: none;
}

.global-site-header .logo-text,
.global-site-footer .logo-text {
  display: grid;
  line-height: 1;
}

.global-site-header .logo-name,
.global-site-footer .logo-name {
  display: block;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
}

.global-site-header .logo-tagline,
.global-site-footer .logo-tagline {
  display: block;
  font-size: 10px;
  letter-spacing: .1em;
  margin-top: 3px;
}

.global-site-header .nav-cta {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.global-site-header .nav-phone {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.global-site-header .global-consultation-cta,
.global-site-footer .footer-cross-brand .btn {
  align-items: center;
  background: #2563eb;
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  padding: 11px 15px;
  text-decoration: none;
}

.global-site-header .nav-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 9px;
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  position: relative;
  width: 42px;
}

.global-site-header .nav-toggle span {
  background: #0f172a;
  border-radius: 2px;
  height: 2px;
  left: 10px;
  position: absolute;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
  width: 20px;
}

.global-site-header .nav-toggle span:nth-child(1) { top: 13px; }
.global-site-header .nav-toggle span:nth-child(2) { top: 19px; }
.global-site-header .nav-toggle span:nth-child(3) { top: 25px; }
.global-site-header .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.global-site-header .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.global-site-header .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.global-site-header .nav-inner {
  gap: 22px;
}

.global-site-header .logo {
  flex: 0 0 auto;
}

.global-site-nav {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.global-site-nav > a,
.global-site-nav .nav-disclosure {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  gap: 6px;
  padding: 11px 14px;
  text-decoration: none;
}

.global-site-nav > a:hover,
.global-site-nav > a:focus-visible,
.global-site-nav .nav-disclosure:hover,
.global-site-nav .nav-disclosure:focus-visible,
.global-site-nav .nav-disclosure[aria-expanded="true"] {
  background: rgba(37, 99, 235, .08);
  color: #2563eb;
}

.global-site-nav a[aria-current="page"] {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.nav-group {
  position: relative;
}

.nav-caret {
  height: 14px;
  transition: transform .2s ease;
  width: 14px;
}

.nav-disclosure[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
  display: none;
  left: 0;
  min-width: min(520px, calc(100vw - 32px));
  padding: 10px;
  position: absolute;
  top: calc(100% + 8px);
  z-index: 1002;
}

.nav-group.is-open .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  display: grid;
}

@media (hover: hover) and (min-width: 1181px) {
  .nav-group:hover .nav-dropdown {
    display: grid;
  }

  /* Hover bridge: fills the 8px gap between the button and the panel so the
     dropdown no longer closes when the cursor crosses toward it. */
  .nav-group .nav-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 12px;
  }
}

.nav-dropdown-item {
  border-radius: 10px;
  color: #0f172a;
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  text-decoration: none;
}

.nav-dropdown-item strong {
  font-size: 14px;
  line-height: 1.35;
}

.nav-dropdown-item span {
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
  background: #eff6ff;
  outline: 2px solid transparent;
}

.nav-dropdown-item[aria-current="page"] {
  background: #eff6ff;
}

.nav-dropdown-helper {
  border-top: 1px solid rgba(15, 23, 42, .1);
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
  padding-top: 12px;
}

.mobile-nav-only,
.mobile-contact-block {
  display: none;
}

.global-site-header .nav-phone {
  white-space: nowrap;
}

.global-site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, .76);
  padding: 64px 0 28px;
}

.global-site-footer .footer-inner {
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 20px;
}

.global-site-footer .footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.45fr 1fr 1fr 1.1fr;
}

.global-site-footer .footer-col .logo {
  color: #fff;
  margin-bottom: 18px;
}

.global-site-footer .footer-col p {
  font-size: 14px;
  line-height: 1.65;
}

.global-site-footer .footer-brand-descriptor {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.global-site-footer .footer-heading {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.global-site-footer ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-site-footer a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}

.global-site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.global-site-footer .footer-label {
  color: rgba(255, 255, 255, .52);
  display: block;
  font-size: 11px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.global-site-footer .footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  font-size: 12px;
  gap: 20px;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 22px;
}

.global-site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.global-site-footer .footer-cross-brand {
  align-items: center;
  background: rgba(37, 99, 235, .07);
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 16px;
  display: grid;
  gap: 10px 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 28px 0;
  padding: 22px 24px;
}

.global-site-footer .footer-cross-brand .eyebrow {
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.global-site-footer .footer-cross-brand p {
  margin: 0;
}

.global-site-footer .external-note {
  font-size: .8em;
  white-space: nowrap;
}

.global-site-footer a:focus-visible,
.global-site-header a:focus-visible,
.global-site-header button:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

body.global-nav-open {
  overflow: hidden;
}

.shell-next-steps {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, .08);
  padding: 72px 20px;
}

.shell-next-steps-inner {
  margin: 0 auto;
  max-width: 1160px;
}

.shell-next-steps h2 {
  color: #0f172a;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  margin: 0 0 28px;
}

.shell-next-steps-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shell-next-steps article {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.shell-next-steps h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.shell-next-steps h3 a {
  color: #0f172a;
  text-decoration: none;
}

.shell-next-steps h3 a::after {
  content: "";
  inset: 0;
  position: absolute;
}

.shell-next-steps h3 a:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 5px;
}

.shell-next-steps p {
  color: #475569;
  line-height: 1.65;
  margin: 0 0 18px;
}

.shell-next-steps article > span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

nav.breadcrumb[aria-label="Okruszki"] {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: var(--container, 1320px);
  padding: 20px var(--pad-x, 20px) 0;
  width: 100%;
}

nav.breadcrumb[aria-label="Okruszki"] ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.breadcrumb[aria-label="Okruszki"] li {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

nav.breadcrumb[aria-label="Okruszki"] li + li::before {
  color: #94a3b8;
  content: "›";
}

nav.breadcrumb[aria-label="Okruszki"] a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

nav.breadcrumb[aria-label="Okruszki"] [aria-current="page"] {
  color: #64748b;
}

@media (max-width: 1180px) {
  .global-site-header .nav-inner {
    flex-wrap: wrap;
  }

  .global-site-header .global-site-nav {
    align-items: stretch;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, .1);
    display: none;
    flex: 0 0 calc(100% - 40px);
    flex-direction: column;
    gap: 2px;
    margin: 0;
    max-width: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 16px 20px 28px;
  }

  .global-site-header .global-site-nav.is-open {
    display: flex;
  }

  .global-site-nav > a,
  .global-site-nav .nav-disclosure {
    font-size: 16px;
    justify-content: space-between;
    padding: 12px;
    width: 100%;
  }

  .nav-dropdown {
    border: 0;
    border-left: 2px solid rgba(37, 99, 235, .2);
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    padding: 2px 0 6px 10px;
    position: static;
    width: 100%;
  }

  .nav-group:focus-within .nav-dropdown {
    display: none;
  }

  .nav-group.is-open .nav-dropdown,
  .nav-group.is-open:focus-within .nav-dropdown {
    display: grid;
  }

  .mobile-nav-only {
    display: inline-flex;
  }

  .mobile-contact-block {
    border-top: 1px solid rgba(15, 23, 42, .1);
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding: 18px 12px 0;
  }

  .mobile-contact-block strong {
    margin-bottom: 3px;
  }

  .mobile-contact-block a {
    color: #2563eb;
    font-weight: 700;
    padding: 7px 0;
  }

  .global-site-header .nav-cta > .nav-phone,
  .global-site-header .nav-cta > .global-consultation-cta {
    display: none;
  }

  .global-site-header .nav-toggle {
    display: inline-flex;
  }

  .global-site-footer .footer-cross-brand {
    grid-template-columns: 1fr;
  }

  .global-site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shell-next-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  nav.breadcrumb[aria-label="Okruszki"] li:last-child { display: none; }

  .global-site-footer .footer-cross-brand {
    padding: 18px;
  }

  .global-site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .global-site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* PART19:ARTICLE-IMAGE-MOBILE-QA */
.article-figure .image-credit{max-width:760px;margin:.75rem auto 0;color:#475569;font-size:.875rem;line-height:1.55;text-align:left}
.article-body .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.article-body .table-wrap:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@media(max-width:700px){.article-body .cta-inline .btn{display:flex;box-sizing:border-box;width:100%!important;max-width:100%!important;white-space:normal;text-align:center;justify-content:center}}
