.languages {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid rgba(255,255,255,.32);
}

.languages button {
  min-width: 2rem;
  padding: .35rem .4rem;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.7);
  font: 600 .68rem "DM Sans", sans-serif;
  cursor: pointer;
}

.languages button.active,
.languages button:hover {
  background: var(--gold);
  color: var(--navy);
}

.image-story {
  display: grid;
  grid-template-columns: 1.15fr .85fr 1fr;
  gap: 0;
  background: var(--navy);
}

.image-story figure {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
}

.image-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.image-story figure:hover img { transform: scale(1.025); }

.image-story figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3rem 1.8rem 1.4rem;
  background: linear-gradient(transparent, rgba(3,13,27,.82));
  color: #fff;
  font: 500 1.25rem "Playfair Display", serif;
}

html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .hero-content { margin-right: 8vw; margin-left: 0; }
html[dir="rtl"] .scroll { right: auto; left: 5vw; }
html[dir="rtl"] .panel-no { right: auto; left: 5vw; }
html[dir="rtl"] .panel li:before,
html[dir="rtl"] .plan-grid li:before { margin-right: 0; margin-left: .8rem; }

@media(max-width:1180px) {
  nav { gap: 1rem; }
  .languages button { min-width: 1.75rem; padding: .3rem; }
}

@media(max-width:1000px) {
  .languages { margin-top: .5rem; }
  .image-story { grid-template-columns: 1fr 1fr; }
  .image-story figure:first-child { grid-column: 1 / -1; }
}

@media(max-width:650px) {
  .image-story { grid-template-columns: 1fr; }
  .image-story figure,
  .image-story figure:first-child { grid-column: auto; min-height: 300px; }
  html[dir="rtl"] .hero-content { margin-right: 6vw; }
}
