/* Match the frame used on Hospitality, R&D and Sustainability. */
.seo-page .seo-hero--insights {
  margin: 16px;
  overflow: hidden;
  border-radius: 32px;
}

.seo-hero--insights::before {
  content: none;
}

.seo-hero--insights .insights-photo,
.seo-hero--insights .insights-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.seo-hero--insights .insights-photo {
  z-index: -2;
}

.insights-photo img {
  display: block;
  object-fit: cover;
  object-position: 70% center;
}

@media (min-width: 768px) {
  /* Keep the Arabic text over the shaded part of each photograph. */
  [dir="rtl"] .seo-hero--insights .seo-hero-inner {
    justify-content: flex-end;
  }
  [dir="rtl"] .sp-page--hospitality .sp-hero-content {
    align-items: flex-end;
  }
  [dir="rtl"] .sp-page--hospitality .sp-hero-content > * {
    width: min(620px, 100%);
  }
}

@media (max-width: 700px) {
  .seo-page .seo-hero--insights {
    margin: 10px;
    border-radius: 24px;
  }
  .insights-photo img {
    object-position: 66% center;
  }
}
