/* Step 46: targeted publishing fixes only. */
/* Booking hero-to-form transition: remove diagonal/visible stripe. */
body:has(#ab-booking-form) .ab-booking-hero::after{content:none!important;display:none!important}
body:has(#ab-booking-form) .ab-booking-hero{border:0!important;box-shadow:none!important;clip-path:none!important}
body:has(#ab-booking-form) .ab-booking-area{border-top:0!important;margin-top:0!important;background:#f5f8f7!important}
/* Rail contrast for the two dark hero backgrounds. The helper toggles this
   class only while the hero actually sits behind the rails. */
@media(min-width:901px){
 html body.step46-hero-rail-dark .new-social-rail,
 html body.step46-hero-rail-dark a.new-enquire-rail,
 html body.step46-hero-rail-dark .new-social-rail.on-light,
 html body.step46-hero-rail-dark a.new-enquire-rail.on-light{color:#fff!important}
 html body.step46-hero-rail-dark .new-social-rail>a,
 html body.step46-hero-rail-dark .new-social-rail>a svg,
 html body.step46-hero-rail-dark a.new-enquire-rail>strong,
 html body.step46-hero-rail-dark a.new-enquire-rail>.rail-arrow{color:#fff!important;opacity:1!important;visibility:visible!important}
 html body.step46-hero-rail-dark .new-social-rail>a svg{stroke:currentColor!important}
 html body.step46-hero-rail-dark .new-social-rail::before,
 html body.step46-hero-rail-dark .new-social-rail::after,
 html body.step46-hero-rail-dark a.new-enquire-rail::before,
 html body.step46-hero-rail-dark a.new-enquire-rail::after{background:linear-gradient(to bottom,transparent 0%,#fff 45%,#fff 55%,transparent 100%)!important}
 html body.step46-hero-rail-dark .new-social-rail>a:hover,
 html body.step46-hero-rail-dark a.new-enquire-rail:hover>strong,
 html body.step46-hero-rail-dark a.new-enquire-rail:hover>.rail-arrow{color:#a7e9d1!important}
}

/* Step 47: ensure rail icons, text, arrows AND rule lines are visible on dark footer. */
@media(min-width:901px){
html body.step46-hero-rail-dark .new-social-rail,
html body.step46-hero-rail-dark a.new-enquire-rail{color:#fff!important;}
html body.step46-hero-rail-dark .new-social-rail>a,
html body.step46-hero-rail-dark .new-social-rail>a svg,
html body.step46-hero-rail-dark a.new-enquire-rail>strong,
html body.step46-hero-rail-dark a.new-enquire-rail>.rail-arrow{color:#fff!important;opacity:1!important;visibility:visible!important;}
html body.step46-hero-rail-dark .new-social-rail .rail-line,
html body.step46-hero-rail-dark a.new-enquire-rail .rail-line{background:#fff!important;opacity:.8!important;}
html body.step46-hero-rail-dark .new-social-rail::before,
html body.step46-hero-rail-dark .new-social-rail::after,
html body.step46-hero-rail-dark a.new-enquire-rail::before,
html body.step46-hero-rail-dark a.new-enquire-rail::after{background:linear-gradient(to bottom,transparent,#fff 45%,#fff 55%,transparent)!important;}
}
