.mdx-hero {
  position: relative;
  width: 100%;
  height: min(80vh, 900px);
  overflow: hidden;
}

.mdx-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mdx-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.mdx-hero > .md-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.mdx-hero__content {
  padding: 3rem 0 2rem;
  max-width: 44rem;
}

.mdx-hero__content h1 {
  color: white !important;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mdx-hero__content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.mdx-hero__content .md-button {
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

.mdx-hero__content .md-button--primary {
  color: white;
  background-color: #e91e63;
  border-color: #e91e63;
}

.mdx-hero__content .md-button--primary:hover {
  background-color: #c2185b;
  border-color: #c2185b;
  color: white;
}

.mdx-hero__content .md-button:not(.md-button--primary) {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

.mdx-hero__content .md-button:not(.md-button--primary):hover {
  color: white;
  border-color: white;
}
