/* ClickUp 869f8x6gf - 30.09.2026 */

/* Texts hidden in WP-admin with "-" do not leave empty gaps. */
.figma-view :is(p,h1,h2,h3,h4):empty:not(.form-result){display:none}
.figma-view [data-name="Stat"]:not(:has(> p:not(:empty))){display:none}

/* Hero: changing backgrounds under the existing gradient. */
.dev-hero-slides{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.dev-hero-slide{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;opacity:0;transition:opacity 1.6s ease}
.dev-hero-slide.is-active{opacity:1}

/* Realized investments label on the dark developer section. */
.dev-realized-label{margin:0 0 8px;font:600 13px/18px Inter,sans-serif;letter-spacing:.39px;opacity:.8}

/* Neighborhood photos: one size, soft edges blending into the page. */
.brand-lp [data-name="Zalety okolicy"]{align-items:flex-start!important}
.brand-lp [data-name="Zalety okolicy"] [data-name="Kadr"],
.brand-lp [data-name="Sekcja / Poznaj okolicę"] [data-name="Moduł"]>[data-name="Zdjęcie"]{position:relative;width:100%!important;height:auto!important;aspect-ratio:4/3;flex:none!important;overflow:hidden;border-radius:28px;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 9%,#000 91%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 9%,#000 91%,transparent 100%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0,#000 9%,#000 91%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 9%,#000 91%,transparent 100%);mask-composite:intersect}
.brand-lp [data-name="Zalety okolicy"] [data-name="Kadr"]>img,
.brand-lp [data-name="Sekcja / Poznaj okolicę"] [data-name="Moduł"]>[data-name="Zdjęcie"]>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}

/* Sales contact photo: portrait fading into the background instead of a sharp ID photo. */
.brand-lp [data-name="Zdjęcie handlowca"]{-webkit-mask-image:radial-gradient(closest-side,#000 62%,transparent 100%);mask-image:radial-gradient(closest-side,#000 62%,transparent 100%)}
.brand-lp [data-name="Zdjęcie handlowca"]>img{object-position:50% 30%}

/* Gallery as a swipeable slider; without JS the grid stays unchanged. */
.dev-carousel-wrap{width:100%;display:flex;flex-direction:column;gap:20px}
.dev-carousel-wrap:has(>.dev-visual-gallery[hidden]){display:none}
.dev-visual-gallery.dev-carousel{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;cursor:grab;touch-action:pan-x pan-y}
.dev-visual-gallery.dev-carousel::-webkit-scrollbar{display:none}
.dev-visual-gallery.dev-carousel.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.dev-visual-gallery.dev-carousel>a,.dev-visual-gallery.dev-carousel>a:first-child,.dev-visual-gallery.dev-carousel>a:nth-child(2),.dev-visual-gallery.dev-carousel>a:nth-child(3){flex:0 0 auto;width:min(780px,72%);height:500px;grid-column:auto;grid-row:auto;scroll-snap-align:start;border-radius:12px}
.dev-visual-gallery.dev-carousel img{pointer-events:none;-webkit-user-drag:none}
.dev-carousel-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;font:500 14px/22px Inter,sans-serif;color:var(--text-secondary,#55626c)}
.dev-carousel-controls button{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--border-default,#dde2e6);border-radius:50%;background:#fff;color:var(--text-primary,#25313a);font-size:20px;line-height:1;cursor:pointer;transition:background .2s,border-color .2s}
.dev-carousel-controls button:hover:not(:disabled){border-color:var(--primary,#556b2f)}
.dev-carousel-controls button:disabled{opacity:.4;cursor:default}
.dev-carousel-controls button:focus-visible{outline:3px solid var(--primary,#556b2f);outline-offset:3px}
@media(min-width:600px) and (max-width:1279px){.dev-visual-gallery.dev-carousel>a,.dev-visual-gallery.dev-carousel>a:first-child,.dev-visual-gallery.dev-carousel>a:nth-child(2),.dev-visual-gallery.dev-carousel>a:nth-child(3){width:78%;height:380px}}
@media(max-width:599px){.dev-visual-gallery.dev-carousel{gap:12px}.dev-visual-gallery.dev-carousel>a,.dev-visual-gallery.dev-carousel>a:first-child,.dev-visual-gallery.dev-carousel>a:nth-child(2),.dev-visual-gallery.dev-carousel>a:nth-child(3){width:86%;height:250px}.dev-carousel-controls button{width:44px;height:44px}}

/* Motion: only with JS and when the visitor accepts motion. */
@media (prefers-reduced-motion:no-preference){
  html.dev-motion .brand-lp [data-name="Sekcja / Hero"]>img,html.dev-motion .dev-hero-slide.is-active{animation:dev-hero-zoom 14s ease-out both}
  html.dev-motion .brand-lp [data-name="Sekcja / Hero"] h1>span,html.dev-motion .brand-lp [data-name="Sekcja / Hero"] h1:not(:has(span)){animation:dev-slide-in 1.1s cubic-bezier(.2,.7,.2,1) both}
  html.dev-motion .brand-lp [data-name="Sekcja / Hero"] h1>span+span{animation-delay:.25s}
  html.dev-motion .dev-reveal{opacity:0;transform:translateX(-40px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
  html.dev-motion .dev-reveal.is-visible{opacity:1;transform:none}
}
@keyframes dev-slide-in{from{opacity:0;transform:translateX(-64px)}to{opacity:1;transform:none}}
@keyframes dev-hero-zoom{from{transform:scale(1.08)}to{transform:scale(1)}}

/* WD mobile: purchase steps had a fixed Figma height that cut their descriptions. */
.brand-wd [data-name="Sekcja / Jak wygląda zakup"] [data-name^="Krok"]{height:auto!important}

/* LP tablet: the location header used the desktop 120px margin and cut its lead text. */
.design-tablet [data-name="Sekcja / Poznaj okolicę"]>[data-name="Nagłówek"]{padding-left:40px!important;padding-right:40px!important}
