.wrs-hero {
  position: relative;
  background-color: var(--wrs-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  /* isolation: isolate; */
}

.wrs-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px;
  padding-block: 0;
  position: relative;
  z-index: 2;
}

.wrs-hero-text {
  max-width: 720px;
  padding-block: 80px;
  align-self: center;
}

.wrs-hero-title {
  font-family: "Bungee", sans-serif;
  font-size: clamp(56px, 9vw, 90px);
  line-height: 0.9;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: 0;
}

.wrs-hero-subtitle {
  font-family: "Syne", sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--wrs-text-muted);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 620px;
}

.wrs-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
  min-width: 0;
  max-height: 640px;
  overflow: hidden;
  z-index: 3;
}

.wrs-hero-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: bottom center;
}

@media (max-width: 1100px) {
  .wrs-hero-title {
    font-size: clamp(48px, 8vw, 88px);
  }
  .wrs-hero-media {
    max-height: 480px;
  }
  .wrs-hero-media img {
    max-height: 460px;
  }
}

@media (max-width: 900px) {
  .wrs-hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .wrs-hero-text {
    padding-block: 48px 16px;
    margin: 0 auto;
  }
  .wrs-hero-subtitle {
    margin-inline: auto;
  }
  .wrs-hero-media {
    order: 2;
    max-height: 340px;
  }
  .wrs-hero-media img {
    max-height: 320px;
    max-width: 340px;
  }
}

@media (max-width: 600px) {
  .wrs-hero-text {
    padding-block: 40px 12px;
  }
  .wrs-hero-media {
    max-height: 260px;
  }
  .wrs-hero-media img {
    max-height: 240px;
    max-width: 260px;
  }
}

@media (max-width: 400px) {
  .wrs-hero-text {
    padding-block: 32px 12px;
  }
  .wrs-hero-media {
    max-height: 220px;
  }
  .wrs-hero-media img {
    max-height: 200px;
    max-width: 220px;
  }
}
