/* Match the journey page's black actions inside the embedded galaxy. */
.galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta) {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  width: 224px;
  min-width: 0;
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  padding: 0 16px;
  border: 0;
  border-left: 3px solid #7066f3;
  border-radius: 0;
  background: #272727;
  box-shadow: 0 2px 7px rgba(0,0,0,.16);
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.2;
  text-align: left;
  transition: background .2s ease, box-shadow .25s ease, transform .2s ease;
}
.galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta)::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: '';
  background: linear-gradient(104deg, transparent 31%, rgba(255,255,255,.72) 47%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
}
.galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta) > * { position: relative; z-index: 1; }
.galaxy-page.is-embedded .hero-dark-cta .cta-copy strong { font-size: 13px; font-weight: 750; line-height: 1.2; }
.galaxy-page.is-embedded .hero-dark-cta .cta-copy small { display: none; }
.galaxy-page.is-embedded .hero-dark-cta .cta-arrow,
.galaxy-page.is-embedded .route-detail-cta i { position: relative; right: auto; color: #fff !important; font-size: 17px; font-style: normal; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta):hover { background: #7066f3; box-shadow: 0 9px 24px rgba(112,102,243,.24); transform: translateY(-3px) scale(1.015); }
.galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta):hover::before { transform: translateX(120%); }
.galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta):hover :is(.cta-arrow, i) { transform: translate(3px, -3px); }
.galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta):focus-visible { outline: 3px solid #171717; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta),
  .galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta)::before,
  .galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta) :is(.cta-arrow, i) { transition: none !important; }
  .galaxy-page.is-embedded :is(.hero-dark-cta, .route-detail-cta):hover { transform: none; }
}
