/* Shared public-site components. Keep hero changes here so every core page stays aligned. */
.alohamation-hero {
  width: min(calc(100vw - 2rem), 72rem);
  margin: 50px auto 4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 3rem;
  padding: 2.5rem;
  border: 1px solid #ffead5;
  border-radius: 2.5rem;
  background: linear-gradient(135deg, #fff4ea 0%, #ffffff 51%, #edfdfa 100%);
  box-shadow: 0 20px 25px -5px rgb(15 23 42 / 0.10), 0 8px 10px -6px rgb(15 23 42 / 0.10);
}

.alohamation-hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #ffcca3;
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 0.90);
  color: #1a1a1a;
}

/* Drive's embedded player adds a thin dark chrome line above the actual frame. */
.drive-hero-video {
  display: block;
  height: calc(100% + 8px);
  margin-top: -4px;
}

.managed-media-frame,
.managed-media-frame iframe,
.managed-media-frame img {
  width: 100%;
  height: 100%;
}

.managed-media-frame iframe {
  display: block;
  border: 0;
}

.managed-media-frame img {
  display: block;
  object-fit: cover;
}

.managed-media-caption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgb(15 23 42 / 0.78);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

@media (max-width: 1023px) {
  .alohamation-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.75rem;
  }
}

@media (max-width: 639px) {
  .alohamation-hero {
    width: min(calc(100vw - 2rem), 72rem);
    border-radius: 1.75rem;
    padding: 1.25rem;
  }

  .alohamation-hero-video {
    border-radius: 1.25rem;
  }
}
