/* RELAX V97 — unified full-height heroes, no photographic dimming, consistent zoom-out */
:root{--rlx-v97-hero-height:525px}
.rlx-home-hero.v87-slider,main>.activity-hero,main>.coach-hero,main>.fit-hero,main>.pilates-hero,main>.news-v45-hero,main>.contact47-hero,main>.dinner-hero{
 height:var(--rlx-v97-hero-height)!important;min-height:var(--rlx-v97-hero-height)!important;max-height:var(--rlx-v97-hero-height)!important;box-sizing:border-box!important;overflow:hidden!important;
}
/* Remove shading overlays from the actual hero photos. */
.rlx-home-hero.v87-slider .home-hero-panel::after,
.rlx-home-hero.v87-slider .home-hero-panel:after,
.dinner-hero .dinner-hero-shade,
.news-v45-hero::after,.contact47-hero::after,
main.fitness-redesign>.fit-hero::before,.fit-hero::before{background:transparent!important;box-shadow:none!important}
.rlx-home-hero.v87-slider .home-hero-panel>img{filter:none!important}
main.fitness-redesign>.fit-hero .fit-hero-photo,.fit-hero .fit-hero-photo{filter:none!important}
/* Image-only animation: text and buttons do not move with the photograph. */
@keyframes relax97-zoom-out{0%{transform:scale(1.13)}100%{transform:scale(1)}}
.rlx-home-hero.v87-slider .home-hero-panel>img{animation:none!important;transform-origin:center center!important}
.rlx-home-hero.v87-slider[data-active-slide="0"] .home-hero-fitness>img,
.rlx-home-hero.v87-slider[data-active-slide="1"] .home-hero-food>img{animation:relax97-zoom-out 5.2s cubic-bezier(.16,.4,.28,1) both!important}
.dinner-hero .dinner-hero-bg,.fit-hero .fit-hero-photo{animation:relax97-zoom-out 9s cubic-bezier(.16,.4,.28,1) both!important;transform-origin:center!important}
/* Standalone image layers for the four background-image heroes. */
.activity-hero,.coach-hero,.pilates-hero{background-image:none!important;background-color:#101719!important;animation:none!important;isolation:isolate!important;position:relative!important}
.activity-hero::before,.coach-hero::before,.pilates-hero::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-size:cover;background-repeat:no-repeat;background-position:center;animation:relax97-zoom-out 9s cubic-bezier(.16,.4,.28,1) both!important;transform-origin:center;
}
.activity-hero::before{background-image:url('gym.jpg')}
.coach-hero::before{background-image:url('trainers.jpg');background-position:center 36%}
.pilates-hero::before{background-image:url('hero-pilates-v41.jpg');background-position:center 46%}
.activity-hero>.container,.coach-hero>.container,.pilates-hero>.container{position:relative;z-index:2}
/* News and contact photographic layers already exist. */
.news-v45-hero,.contact47-hero{padding-top:110px!important;padding-bottom:75px!important;animation:none!important}
.news-v45-hero::before,.contact47-hero::before{animation:relax97-zoom-out 9s cubic-bezier(.16,.4,.28,1) both!important}
/* Remove any other darkening applied directly to hero images, without touching card photos. */
.dinner-hero .dinner-hero-bg{filter:none!important}
/* One consistent hover motion for interactive buttons, preserving each brand's hover colors. */
button:not(:disabled),a[class*="btn"],a[class*="button"],.v58-hero-copy>a,.dinner-actions>a{
 transition:transform .22s ease,background-color .22s ease,border-color .22s ease,color .22s ease,opacity .22s ease!important;
}
button:not(:disabled):hover,a[class*="btn"]:hover,a[class*="button"]:hover,.v58-hero-copy>a:hover,.dinner-actions>a:hover{
 transform:translateY(-2px)!important;filter:none!important;box-shadow:none!important;
}
/* Preserve modal close controls' original News-style appearance and hover without shifting. */
button[class*="close"]:hover,button[aria-label*="Затвори"]:hover,button[aria-label*="затвори"]:hover{transform:none!important}
@media(max-width:700px){
 :root{--rlx-v97-hero-height:485px}
 .news-v45-hero,.contact47-hero{padding-top:100px!important;padding-bottom:55px!important}
}
@media(prefers-reduced-motion:reduce){
 .rlx-home-hero.v87-slider .home-hero-panel>img,.dinner-hero .dinner-hero-bg,.fit-hero .fit-hero-photo,
 .activity-hero::before,.coach-hero::before,.pilates-hero::before,.news-v45-hero::before,.contact47-hero::before{animation:none!important;transform:none!important}
}
