.company-hero.company-hero-message {
  grid-template-columns: minmax(0, 0.86fr) minmax(400px, 1.14fr);
}

.company-hero-message .company-hero-image {
  height: min(62vw, 660px);
  min-height: 510px;
  overflow: hidden;
}

.company-hero-message .company-hero-image img {
  height: calc(100% - 58px);
  object-fit: contain;
  object-position: center bottom;
}

.company-hero-message .company-hero-image figcaption {
  bottom: calc(58px + 1rem);
}

.company-hero-message .company-hero-image::after {
  content: attr(data-director-caption);
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--app-font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 700px) {
  .company-hero.company-hero-message {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-hero-message .company-hero-image {
    height: min(100vw, 480px);
    min-height: 360px;
  }

  .company-hero-message .company-hero-image img {
    height: calc(100% - 54px);
  }

  .company-hero-message .company-hero-image figcaption {
    bottom: calc(54px + 0.75rem);
  }

  .company-hero-message .company-hero-image::after {
    min-height: 54px;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}
