/* Home localisation: keep the original card proportions and let translated copy wrap safely. */
@media (max-width: 1024px) {
  html:is([lang="en"], [lang="ru"]) body {
    direction: ltr;
    text-align: left;
  }

  html:is([lang="en"], [lang="ru"]) :is(
    .home-why-grid > div > div:nth-child(3),
    .home-royal-event-content > p,
    .royal-home-feed__heading > p,
    .royal-home-card__content > p,
    .royal-home-blog-card .royal-blog-content > p,
    .royal-home-alliance__content > p,
    .home-responsive-copy,
    .site-footer__identity > p,
    .site-footer__service-cta > div > span
  ) {
    min-width: 0;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
  }

  html:is([lang="en"], [lang="ru"]) .home-why-grid > div > div:nth-child(3) {
    font-size: 14px !important;
    line-height: 1.65 !important;
    text-align: left !important;
  }

  html:is([lang="en"], [lang="ru"]) .home-royal-event-content {
    direction: ltr;
    text-align: left !important;
  }

  html:is([lang="en"], [lang="ru"]) .home-royal-event-content header > div,
  html:is([lang="en"], [lang="ru"]) .home-royal-event-whatsapp > span {
    min-width: 0;
    overflow-wrap: break-word;
  }

  html:is([lang="en"], [lang="ru"]) .home-royal-event-content > p {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  html:is([lang="en"], [lang="ru"]) .home-royal-event-content small {
    font-size: 8px;
    overflow-wrap: break-word;
  }

  html:is([lang="en"], [lang="ru"]) .home-royal-event-features div > span {
    font-size: 8.5px;
    overflow-wrap: break-word;
    word-break: normal;
    text-align: center;
  }

  html:is([lang="en"], [lang="ru"]) :is(
    .site-header__nav a,
    .site-header__booking,
    .home-royal-event-whatsapp,
    .royal-home-alliance__content > a,
    .royal-home-card__content > span,
    .site-footer__service-cta a,
    .site-footer__contact-cta,
    .site-footer__tiktok-desktop-copy strong,
    .site-footer__tiktok-desktop-cta
  ) {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
    text-align: center;
  }

  html:is([lang="en"], [lang="ru"]) .site-header__booking {
    min-width: 0 !important;
    width: fit-content !important;
  }
}

/* Keep the homepage video flush with every edge of the hero. */
html body .home-hero.site-hero {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .home-hero.site-hero::after {
  display: none !important;
}

/* Mobile/tablet hero: retain the opening line above the video and the gold
   tagline below it, leaving the video itself free of the removed copy/CTA. */
@media (max-width: 1100px) {
  .home-hero__title-secondary,
  .home-hero__title-break,
  .home-hero__description,
  .home-hero__actions {
    display: none !important;
  }

  html body .home-hero > .site-hero__content {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
  }

  html body .home-hero .home-hero__content {
    position: absolute !important;
    inset: 0 !important;
    box-sizing: border-box;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    padding: clamp(62px, 9vw, 92px) clamp(22px, 5vw, 52px) clamp(30px, 5vw, 48px) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .home-hero__title,
  .home-hero__tagline {
    width: 100%;
    text-align: center;
  }

  .home-hero__tagline {
    margin-top: auto !important;
  }
}

/* One centred booking card per row in Arabic, English and Russian. */
.home-booking-steps {
  width: min(100%, 760px);
  margin-inline: auto;
  flex-direction: column;
  align-items: center !important;
  gap: 10px !important;
}

.home-booking-steps > div {
  box-sizing: border-box;
  flex: none !important;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 10px !important;
}

.home-booking-steps > div > div:first-child {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 112px;
}

.home-booking-steps > div > div:first-child > div:nth-child(2) {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 700px) {
  .home-booking-section {
    padding-inline: clamp(14px, 4vw, 28px) !important;
  }

  .home-booking-steps > div > div:first-child {
    min-height: 154px;
  }
}

/* English desktop only: keep all three booking steps on one row. */
@media (min-width: 1101px) {
  html[lang="en"] .home-booking-steps {
    width: 100%;
    flex-direction: row;
    align-items: stretch !important;
    gap: 12px !important;
  }

  html[lang="en"] .home-booking-steps > div {
    flex: 1 1 0 !important;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px !important;
  }
}
