/* ==========================================================================
   Hero block
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 60dvh;
  overflow: hidden;
  color: var(--color-white);
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 16, 12, 0.55) 0%, rgba(11, 16, 12, 0.88) 100%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-block: 3rem;
  text-align: center;
}

.hero__breadcrumb {
  display: flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
}

.hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-accent-light);
  color: var(--color-white);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

.hero__title {
  max-width: 44rem;
}

.hero__subtitle {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-body);
  margin: 0;
}

.hero__cta {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .hero {
    min-height: 65dvh;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 70dvh;
  }
}
