
/* RLX V11 — consistent hero geometry referenced to the Instructors page */
:root{--rlx-hero-height:470px}
main>.coach-hero,main>.activity-hero,main>.fit-hero,main>.page-hero,main>.hero-image{
  box-sizing:border-box!important;
  height:var(--rlx-hero-height)!important;
  min-height:var(--rlx-hero-height)!important;
  max-height:var(--rlx-hero-height)!important;
  position:relative;
  overflow:hidden;
}
main>.coach-hero,main>.activity-hero,main>.page-hero{
  display:flex;align-items:center;padding:95px 0 42px!important;
}
main>.coach-hero>.container,main>.activity-hero>.container,main>.page-hero>.container{width:100%}
main>.fit-hero{display:flex;align-items:center}
main>.fit-hero .fit-hero-inner{padding:82px 26px 105px!important}
main>.fit-hero .fit-hero-label{margin-top:20px}
main>.fit-hero .fit-actions{margin-top:16px}
main>.fit-hero .fit-hero-photo{z-index:-2}
main>.fit-hero:before{z-index:-1}
main>.fit-hero:after{z-index:0}
/* Floating glass navigation: same position and behavior on home and fitness */
main>.fit-hero .fit-quick,main>.rlx-home-hero>.quicklinks{
  position:absolute!important;left:0;right:0;bottom:0;z-index:5;
  background:rgba(10,15,17,.68)!important;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-top:1px solid rgba(255,255,255,.18)!important;
  border-bottom:0!important;
}
main>.fit-hero .fit-quicklinks,main>.rlx-home-hero>.quicklinks{
  box-sizing:border-box;width:100%;max-width:1300px;margin:0 auto;
  display:grid;align-items:stretch;
  padding:10px 18px!important;
}
main>.fit-hero .fit-quicklinks{grid-template-columns:repeat(4,minmax(0,1fr))}
main>.rlx-home-hero>.quicklinks{grid-template-columns:repeat(5,minmax(0,1fr))}
main>.fit-hero .fit-quicklinks a,main>.rlx-home-hero>.quicklinks a{
  min-width:0;padding:8px 6px!important;gap:6px;
  background:transparent!important;color:#fff!important;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
}
main>.fit-hero .fit-quicklinks a:hover,main>.rlx-home-hero>.quicklinks a:hover,
main>.fit-hero .fit-quicklinks a:focus-visible,main>.rlx-home-hero>.quicklinks a:focus-visible{
 color:#b7f52c!important;background:transparent!important;
}
main>.fit-hero .fit-quicklinks a span,main>.rlx-home-hero>.quicklinks a span{color:inherit!important}
main>.fit-hero .fit-quicklinks svg,main>.rlx-home-hero>.quicklinks svg{width:30px!important;height:30px!important}
/* Home hero: two actual photographic panels, separated by a lime diagonal */
main>.rlx-home-hero{
  isolation:isolate;background:#0a0e10!important;
  background-image:none!important;
}
.rlx-home-hero .home-hero-panel{position:absolute;inset:0;overflow:hidden}
.rlx-home-hero .home-hero-fitness{clip-path:polygon(0 0,61% 0,44% 100%,0 100%)}
.rlx-home-hero .home-hero-food{clip-path:polygon(61% 0,100% 0,100% 100%,44% 100%)}
.rlx-home-hero .home-hero-panel img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(.72) saturate(.95)}
.rlx-home-hero .home-hero-fitness img{object-position:35% 45%}
.rlx-home-hero .home-hero-food img{object-position:75% 45%}
.rlx-home-hero .home-hero-slash{
 position:absolute;top:-10%;left:52.5%;height:120%;width:3px;
 background:#b7f52c;transform:rotate(19deg);
 box-shadow:0 0 17px #b7f52c88;z-index:2;pointer-events:none;
}
.rlx-home-hero .hotspot{z-index:3}
.rlx-home-hero .fitness-hot{left:0!important;top:0!important;width:47%!important;height:70%!important}
.rlx-home-hero .dinner-hot{left:62%!important;top:0!important;width:38%!important;height:70%!important}
/* Pilates identity, bottom-right of hero, and right of FAQ */
main>.pilates-hero{position:relative}
main>.pilates-hero .pilates-brand-logo{
 position:absolute!important;right:max(5%,calc((100vw - 1250px)/2));
 bottom:28px;top:auto;left:auto;z-index:4;
 width:clamp(170px,20vw,260px)!important;margin:0!important;
}
main>.pilates-hero .pilates-brand-logo img{width:100%;height:auto}
.pilates-faq>.container{position:relative;padding-right:min(32vw,360px)}
.pilates-faq-brand{
 position:absolute;right:24px;top:50%;transform:translateY(-50%);
 width:clamp(175px,24vw,290px);pointer-events:none;
}
.pilates-faq-brand img{display:block;width:100%;height:auto}
/* Remove old decorative line below footer logo, not separators elsewhere */
.footer .rlx-footer-logo,.footer .rlx-footer-logo::before,.footer .rlx-footer-logo::after{
 border:0!important;border-bottom:0!important;box-shadow:none!important;
 background-image:none!important;
}
.footer .rlx-footer-logo::before,.footer .rlx-footer-logo::after{content:none!important}
.footer .rlx-footer-logo img{border:0!important;box-shadow:none!important}
@media(max-width:800px){
 :root{--rlx-hero-height:440px}
 main>.fit-hero .fit-hero-inner{padding:90px 20px 112px!important}
 main>.pilates-hero .pilates-brand-logo{width:185px!important;right:5%;bottom:20px}
 .pilates-faq>.container{padding-right:26px}
 .pilates-faq-brand{position:static;transform:none;width:210px;max-width:70%;margin:26px 0 0 auto}
}
@media(max-width:550px){
 :root{--rlx-hero-height:430px}
 main>.coach-hero,main>.activity-hero,main>.page-hero{padding:80px 0 45px!important}
 main>.fit-hero .fit-hero-inner{padding:84px 18px 110px!important}
 main>.fit-hero h1{font-size:clamp(37px,9vw,50px)!important}
 main>.fit-hero p{font-size:13px!important;line-height:1.4!important}
 main>.fit-hero .fit-hero-label{display:none}
 main>.fit-hero .fit-actions{margin-top:12px}
 main>.fit-hero .fit-actions a{min-height:36px!important;padding:7px 11px!important;font-size:11px!important}
 main>.fit-hero .fit-quicklinks,main>.rlx-home-hero>.quicklinks{padding:6px 3px!important}
 main>.fit-hero .fit-quicklinks a,main>.rlx-home-hero>.quicklinks a{font-size:9px!important;line-height:1.2}
 main>.fit-hero .fit-quicklinks svg,main>.rlx-home-hero>.quicklinks svg{width:22px!important;height:22px!important}
 main>.pilates-hero .pilates-brand-logo{width:155px!important;bottom:78px;right:5%}
 main>.pilates-hero .pilates-hero-actions{gap:6px}
 main>.pilates-hero .pilates-hero-actions a{min-height:38px!important;padding:7px 10px!important;font-size:11px!important}
 .rlx-home-hero .home-hero-fitness{clip-path:polygon(0 0,65% 0,35% 100%,0 100%)}
 .rlx-home-hero .home-hero-food{clip-path:polygon(65% 0,100% 0,100% 100%,35% 100%)}
 .rlx-home-hero .home-hero-slash{left:50%;transform:rotate(15deg)}
}
/* Exact seam alignment with both image clips */
.rlx-home-hero .home-hero-slash{inset:0!important;width:100%!important;height:100%!important;transform:none!important;clip-path:polygon(60.8% 0,61.2% 0,44.2% 100%,43.8% 100%)}
@media(max-width:550px){.rlx-home-hero .home-hero-slash{clip-path:polygon(64.6% 0,65.4% 0,35.4% 100%,34.6% 100%)}}
