/* Strefa Atrakcji v17.4.40 — infografika 4 kroki pod nagłówkiem kategorii.
   Aktywuje się WYŁĄCZNIE dla jawnie dopuszczonego znacznika HTML.
   Brak skryptów, fontów i obrazów zewnętrznych. */
.sa-cat-richtext section[data-sa-section="rental-steps"] {
  --step-bg: #faf8ff; --step-card: #fff; --step-ink:#191936; --step-muted:#64657b;
  --step-border: #e9e7f0; --step-tint: #ffebf4; --step-pink:#dc006b;
  position: relative; isolation:isolate;
  background:linear-gradient(105deg,#fff7fb 0%,var(--step-bg) 62%,#f3f6ff 100%);
  border:1px solid var(--step-border); border-radius:24px;
  padding:clamp(22px,3.7vw,44px); margin:0 auto;
  color:var(--step-ink); overflow:hidden;
}
.sa-cat-richtext section[data-sa-section="rental-steps"]::after {
  content:""; position:absolute;z-index:-1;width:180px;height:180px;right:-80px;top:-95px;
  border-radius:50%;background:#ffd8e9;opacity:.57;
}
.sa-cat-richtext section[data-sa-section="rental-steps"] > p:first-child {
  margin:0 0 8px; letter-spacing:.15em;text-transform:uppercase;
  font-size:12px; font-weight:800;color:var(--step-pink);
}
.sa-cat-richtext section[data-sa-section="rental-steps"] > h2 {
  margin:0 0 8px; font-size:clamp(24px,2.5vw,34px);line-height:1.14;letter-spacing:-.035em;
  color:var(--step-ink);font-weight:800;
}
.sa-cat-richtext section[data-sa-section="rental-steps"] > h2 + p {
  margin:0 0 25px;color:var(--step-muted);font-size:15px;line-height:1.6;
}
.sa-cat-richtext section[data-sa-section="rental-steps"] > ol {
  counter-reset:step; display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px; margin:0; padding:0;list-style:none;
}
.sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li {
  counter-increment:step; position:relative; min-width:0;
  display:flex;flex-direction:column;align-items:flex-start;
  border:1px solid var(--step-border);border-radius:17px;
  background:var(--step-card);padding:22px 19px 18px;
  box-shadow:0 8px 26px rgba(26,26,55,.045);
}
.sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li::before {
  content:counter(step,decimal-leading-zero);display:flex;align-items:center;justify-content:center;
  font-size:17px;font-weight:850;letter-spacing:-.035em;
  width:47px;height:47px;border-radius:14px;
  color:var(--step-pink);background:var(--step-tint);margin:0 0 17px;
}
.sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li:not(:last-child)::after {
  content:"›";font-size:25px;line-height:1;position:absolute;right:-20px;top:50%;transform:translateY(-50%);
  width:23px;height:23px;border-radius:50%;background:var(--step-ink);color:white;
  display:flex;align-items:center;justify-content:center;z-index:2;
}
.sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li > strong {
  display:block;margin:0 0 7px;font-size:17px;line-height:1.3;font-weight:800;color:var(--step-ink);
}
.sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li > p {
  font-size:14px;line-height:1.55;margin:0;color:var(--step-muted);
}
.sa-cat-richtext section[data-sa-section="rental-steps"] > ol + p {
  margin:17px 0 0;color:var(--step-muted);font-size:12px;line-height:1.5;
}
@media (max-width:950px) {
  .sa-cat-richtext section[data-sa-section="rental-steps"] > ol {grid-template-columns:repeat(2,minmax(0,1fr));}
  .sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li:nth-child(2)::after {display:none;}
}
@media (max-width:590px) {
  .sa-cat-richtext section[data-sa-section="rental-steps"] {border-radius:18px;padding:22px 18px;}
  .sa-cat-richtext section[data-sa-section="rental-steps"] > h2 + p {margin-bottom:20px;}
  .sa-cat-richtext section[data-sa-section="rental-steps"] > ol {grid-template-columns:minmax(0,1fr);gap:30px;}
  .sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li {
    padding:15px 16px;display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-items:start;
  }
  .sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li::before {
    width:44px;height:44px;grid-row:1/span 2;margin:0;border-radius:13px;
  }
  .sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li > strong {grid-column:2;font-size:16px;margin:1px 0 5px;}
  .sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li > p {grid-column:2;grid-row:2;font-size:13.5px;}
  /* On mobile connect cards with a centered, downward arrow in the gap. */
  .sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li:not(:last-child)::after {
    content:"↓";display:flex !important;
    top:auto;right:auto;bottom:-27px;left:50%;transform:translateX(-50%);
    width:24px;height:24px;border-radius:50%;font-size:17px;line-height:1;
  }
  .sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li:last-child::after {display:none !important;}
}
:root[data-theme="dark"] .sa-cat-richtext section[data-sa-section="rental-steps"] {
 --step-bg:#20213d;--step-card:#262842;--step-ink:#fafaff;--step-muted:#c4c5dc;
 --step-border:#3a3c58;--step-tint:#512640;--step-pink:#ff5fa8;
 background:linear-gradient(115deg,#2c2139 0%,#1d213d 85%);
}
:root[data-theme="dark"] .sa-cat-richtext section[data-sa-section="rental-steps"]::after {background:#9b185d;opacity:.35;}
:root[data-theme="dark"] .sa-cat-richtext section[data-sa-section="rental-steps"] > ol > li:not(:last-child)::after {background:#ff5fa8;color:#191936;}

/* v17.4.40 — szerokość infografiki równa banerowi kategorii (1136px max).
   Dotyczy wyłącznie sekcji zawierającej rozpoznany blok rental-steps. */
.sa-cat-page .sa-cat-stage--steps > .wrap.sa-cat-stage-inner {
  width:calc(100% - clamp(36px,6vw,64px));
  max-width:1136px;box-sizing:border-box;
  padding-left:0;padding-right:0;margin-inline:auto;
}
.sa-cat-page .sa-cat-stage--steps .sa-cat-intro {
  max-width:none;width:100%;margin-inline:0;
}
@media(max-width:600px){
  .sa-cat-page .sa-cat-stage--steps > .wrap.sa-cat-stage-inner {width:calc(100% - 32px);}
}
