.ophit-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  margin: 0 0 3rem;
  background: #171717;
  color: #fff;
}

.ophit-hero__media { position: relative; min-width: 0; min-height: 360px; }

.ophit-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ophit-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(2rem, 4vw, 4.5rem);
}

.ophit-hero__title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.ophit-hero__text {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.5;
}

.ophit-hero__cta {
  display: inline-block;
  padding: .85rem 1.4rem;
  border: 2px solid #ef7b00;
  background: #ef7b00;
  color: #171717;
  font-weight: 700;
  text-decoration: none;
}

.ophit-hero__cta:hover,
.ophit-hero__cta:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #171717;
  text-decoration: none;
}

.ophit-hero__cta:focus-visible { outline: 3px solid #ef7b00; outline-offset: 3px; }

.ophit-hero--image-only { display: block; background: transparent; }
.ophit-hero--image-only .ophit-hero__media { min-height: 0; max-height: none; aspect-ratio: auto; }
.ophit-hero--image-only .ophit-hero__image { position: static; height: auto; }

@media (max-width: 767px) {
  .ophit-hero { grid-template-columns: 1fr; }
  .ophit-hero__media { min-height: 0; max-height: 300px; aspect-ratio: 16 / 9; }
  .ophit-hero__content { padding: 2rem 1.5rem; }
}
