.hpe-hero{position:relative;isolation:isolate;display:flex;align-items:stretch;min-height:460px;background:#f8eadd;overflow:visible;font-family:inherit}
.hpe-hero.hpe-clip{overflow:hidden}
.hpe-photo{position:absolute;z-index:0;right:0;top:0;bottom:0;width:62%;--hpe-fade:42%;pointer-events:none;overflow:hidden;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 var(--hpe-fade),#000 100%);mask-image:linear-gradient(to right,transparent 0%,#000 var(--hpe-fade),#000 100%)}
.hpe-photo img{width:100%;height:100%;object-fit:var(--hpe-img-size,cover);object-position:var(--hpe-img-position,center center);display:block;max-width:none}
.hpe-no-fade .hpe-photo{-webkit-mask-image:none;mask-image:none}
.hpe-copy{position:relative;z-index:2;box-sizing:border-box;width:47%;padding:50px 30px 55px 75px;display:flex;flex-direction:column;justify-content:center;align-items:stretch}
.hpe-eyebrow{font-size:15px;letter-spacing:.1em;text-transform:uppercase;color:#b47b35;margin-bottom:12px}
.hpe-heading{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(48px,6.2vw,100px);line-height:.96;letter-spacing:-.055em;color:#351a16;margin:0 0 20px;overflow-wrap:break-word}
.hpe-desc{font-size:clamp(18px,1.65vw,26px);font-weight:400;line-height:1.42;color:#382624;margin:0 0 26px}
.hpe-button-wrap{display:flex;flex-direction:column;align-items:flex-start}
.hpe-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;max-width:100%;box-sizing:border-box;padding:15px 26px;border-radius:50px;background:#d88a1c;color:#fff;text-decoration:none;font-size:18px;line-height:1.3;transition:background-color .22s,color .22s,border-color .22s,box-shadow .22s,transform .22s}
.hpe-button:hover,.hpe-button:focus{background:#b87518;color:#fff;text-decoration:none}
.hpe-button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.hpe-btn-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:20px;color:#fff;line-height:1}
.hpe-btn-icon svg{display:block;width:1em;height:1em;fill:currentColor}
.hpe-wave{position:absolute;bottom:-1px;left:0;width:100%;height:52px;z-index:3;pointer-events:none}
.hpe-wave path{stroke:#d99120;stroke-width:1.6;vector-effect:non-scaling-stroke}
@media(max-width:767px){
 .hpe-hero{display:flex;flex-direction:column;min-height:0!important}
 .hpe-copy{order:1;width:100%;min-height:0;padding:38px 24px 38px}
 .hpe-photo{order:2;position:relative;right:auto;top:auto;bottom:auto;left:auto;width:100%;height:260px;flex:0 0 auto;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 60%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 60%,transparent 100%)}
 .hpe-photo img{width:100%;height:100%}
 .hpe-mobile-image-first .hpe-photo{order:0}
 .hpe-mobile-image-first .hpe-copy{order:1}
 .hpe-mobile-fade-top .hpe-photo{-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 40%,#000 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000 40%,#000 100%)}
 .hpe-mobile-fade-none .hpe-photo,.hpe-no-fade .hpe-photo{-webkit-mask-image:none;mask-image:none}
 .hpe-heading{font-size:clamp(44px,11vw,70px);letter-spacing:-.045em}
 .hpe-desc{font-size:19px}
 .hpe-wave{height:30px}
}
@media(min-width:768px) and (max-width:1024px){.hpe-heading{font-size:clamp(42px,6vw,76px)}.hpe-copy{padding:40px 24px 45px 40px}}

/* Układ zdjęcia po lewej – gradient przenika w stronę tekstu po prawej. */
@media(min-width:768px){
 .hpe-image-left .hpe-photo{left:0;right:auto;-webkit-mask-image:linear-gradient(to left,transparent 0%,#000 var(--hpe-fade),#000 100%);mask-image:linear-gradient(to left,transparent 0%,#000 var(--hpe-fade),#000 100%)}
 .hpe-image-left .hpe-copy{margin-left:auto}
 .hpe-image-right .hpe-copy{margin-right:auto}
 .hpe-image-left.hpe-no-fade .hpe-photo{-webkit-mask-image:none;mask-image:none}
}

/* 1.2.0: brak obrazu = pełna szerokość treści, bez pustego pola. */
.hpe-hero.hpe-without-image .hpe-copy{width:100%;max-width:100%;margin-left:0;margin-right:0}
.hpe-hero.hpe-without-image .hpe-photo{display:none}
@media(max-width:767px){
 .hpe-hero{width:100%;max-width:100%;box-sizing:border-box}
 .hpe-hero .hpe-copy{box-sizing:border-box;max-width:100%;min-width:0;flex:0 0 auto;padding:30px 22px 34px}
 .hpe-hero .hpe-heading{font-size:39px;line-height:1.06;letter-spacing:-.035em;overflow-wrap:anywhere;hyphens:auto;margin-bottom:16px}
 .hpe-hero .hpe-desc{font-size:16px;line-height:1.5;margin-bottom:22px;overflow-wrap:anywhere}
 .hpe-hero .hpe-photo{height:230px;min-height:0}
 .hpe-hero .hpe-button{font-size:16px;line-height:1.35;min-width:0;white-space:normal;text-align:left;overflow-wrap:anywhere}
 .hpe-hero .hpe-btn-text{min-width:0}
 .hpe-hero .hpe-wave{height:22px}
}
@media(max-width:380px){
 .hpe-hero .hpe-heading{font-size:35px}
 .hpe-hero .hpe-button{padding:13px 18px}
}

/* 1.3.0: niezależne ustawienia przycisku i kadru na urządzeniach. */
.hpe-button-wrap{width:100%;box-sizing:border-box}
.hpe-button-wrap[style*="stretch"] .hpe-button{width:100%}
.hpe-button-wrap .hpe-button{max-width:100%}
.hpe-button-wrap{--hpe-button-flex:initial}
@media(max-width:767px){.hpe-hero .hpe-photo img{max-width:none;object-fit:var(--hpe-img-size,cover)}}
