/**
 * Minimal hero layout.
 */

.kutby-hero__minimal {
  position: relative;
  min-height: 18rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--kutby-radius-lg);
  background: var(--kutby-color-surface);
}

.kutby-hero__minimal-bg {
  position: absolute;
  inset: 0;
}

.kutby-hero__minimal-bg .kutby-hero-media {
  height: 100%;
  border-radius: 0;
  aspect-ratio: auto;
}

.kutby-hero__minimal-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--kutby-space-8) var(--kutby-space-4);
  max-width: 40rem;
}

.kutby-hero__minimal-title {
  margin: 0;
  font-size: var(--kutby-font-size-2xl);
  line-height: var(--kutby-line-height-tight);
  color: var(--kutby-color-on-inverse);
}

.kutby-hero__minimal-subtitle {
  margin: var(--kutby-space-3) 0 0;
  color: var(--kutby-color-on-inverse);
  opacity: var(--kutby-opacity-muted);
}

@media (min-width: 768px) {
  .kutby-hero__minimal {
    min-height: 22rem;
  }

  .kutby-hero__minimal-title {
    font-size: 2.25rem;
  }
}
