/* Dopasowanie do WordPressa i Elementora. Ładowany PO main.css (CSS z wersji HTML). */

/* układ kontenerów Elementora jak w HTML */
.e-con.wrap{width:min(var(--w),100% - 40px);margin-inline:auto;flex-direction:column}
.e-con.hero>.e-con.wrap,.e-con.about,.e-con.cards,.e-con.steps,.e-con.split,.e-con.band,.e-con.page-hero>.e-con.wrap{display:grid}
.e-con.hero>.e-con.wrap{grid-template-columns:1.05fr .95fr;gap:clamp(32px,5vw,72px);align-items:center}
.e-con.page-hero>.e-con.wrap{grid-template-columns:auto 1fr;gap:28px;align-items:start}
.e-con.cta-row{flex-direction:row;flex-wrap:wrap;gap:12px}
.e-con.hero-txt,.e-con.sec-head,.e-con.card,.e-con.step,.e-con.block,.e-con.blocks,.e-con.about-intro,.e-con.band-txt,.e-con.ph-txt{flex-direction:column}
.e-con.blocks{display:grid;gap:20px}
.e-con.card{color:inherit}
.e-con.hero-media{display:block}
.e-con.hero-media>.badge-card,.e-con.hero-media>.hours-card{position:absolute}
.e-con.hero-media>.elementor-widget-image{position:static}
.e-con.band>.elementor-widget-image{position:absolute;inset:0;z-index:-2}
.e-con.band>.elementor-widget-image img{width:100%;height:100%!important;object-fit:cover}
.e-con.split>.aside-w{position:sticky;top:104px;align-self:start}
.aside-w .aside{position:static}
.pt0{padding-top:0!important}.pt8{padding-top:8px!important}
.kontakt-w{display:block}

/* nagłówki z widżetu Heading */
.mg .elementor-heading-title{color:var(--ink);font-weight:600;letter-spacing:-.025em}
h1.elementor-heading-title,h2.elementor-heading-title{line-height:1.15}
h3.elementor-heading-title{line-height:1.3;letter-spacing:-.015em}
.eyebrow .elementor-heading-title{font:inherit;color:inherit;letter-spacing:inherit;line-height:inherit}
.e-con .eyebrow{align-self:flex-start}
.e-con>.elementor-widget.eyebrow{padding-top:8px}
.sec-head>.elementor-widget:last-child h2{margin-bottom:0}
.hero .elementor-widget.lead{margin-block-end:32px}
.elementor-widget-text-editor p.tags-label{margin-top:36px}
.page-hero h1.elementor-heading-title{font-size:clamp(34px,4.6vw,54px)}
.about-intro h2{margin-top:14px}
.band h2.elementor-heading-title{color:#fff}
.card .more-w{margin-top:auto}

/* listy z ikoną „check” (CSS zamiast SVG – działa po edycji w Elementorze) */
.checks li::before{content:"";width:20px;height:20px;flex:none;margin-top:1px;background:var(--a);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat}

/* przyciski: widżet Button wygląda jak .btn */
.elementor-widget-button .elementor-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:999px;font:600 16px/1.2 Inter,system-ui,sans-serif;border:1.5px solid transparent;transition:background .2s,color .2s,border-color .2s,transform .2s var(--ease);white-space:nowrap}
.elementor-widget-button .elementor-button-content-wrapper{display:flex;align-items:center;gap:10px}
.elementor-widget-button .elementor-button-icon svg{width:17px;height:17px;fill:currentColor}
.elementor-widget-button.b-a .elementor-button{background:var(--a);color:#fff}
.elementor-widget-button.b-a .elementor-button:hover{background:var(--a2);color:#fff}
.elementor-widget-button.b-o .elementor-button{background:#fff;border-color:var(--line);color:var(--ink)}
.elementor-widget-button.b-o .elementor-button:hover{border-color:var(--a);color:var(--a)}
.elementor-widget-button.b-w .elementor-button{background:#fff;color:var(--ink)}
.elementor-widget-button.b-w .elementor-button:hover{background:var(--al);color:var(--ink)}
.elementor-widget-button .elementor-button:active{transform:scale(.98)}

/* teksty z widżetu Text Editor */
.elementor-widget-text-editor p{margin:0}
.e-con .elementor-widget.lead{max-width:620px}
.about-intro .elementor-widget-text-editor p{margin-top:16px}

/* w edytorze Elementora treść widoczna od razu */
.elementor-editor-active .rv{opacity:1!important;transform:none!important}

/* polityka i zwykłe strony */
.prose a{color:var(--a);text-decoration:underline;text-underline-offset:3px}

/* pasek admina */
.admin-bar .top{top:32px}
@media (max-width:782px){.admin-bar .top{top:46px}}

@media (max-width:1080px){
  .e-con.cards,.e-con.steps{grid-template-columns:1fr 1fr}
  .e-con.split{grid-template-columns:1fr}
  .e-con.split>.aside-w{position:static}
}
@media (max-width:820px){
  .e-con.hero>.e-con.wrap,.e-con.about,.e-con.band{grid-template-columns:1fr}
  .e-con.page-hero>.e-con.wrap{grid-template-columns:1fr;gap:8px}
  .mg.e-con.e-child.hero-media{margin:8px 6px 0}
  .e-con.cards,.e-con.steps{grid-template-columns:1fr}
}
@media (max-width:560px){
  .e-con.wrap{width:calc(100% - 32px)}
  .hero .e-con>.elementor-widget.eyebrow{padding-top:0}
  .cta-row .elementor-widget-button,.cta-row .elementor-button,.band .elementor-widget-button,.band .elementor-button{width:100%}
}
