/* Hero Block - Full Screen (Default) */
.hero-block {
  position: relative;
  height: 85vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  align-items: center;
  padding-bottom: 7em;
  border-bottom-left-radius: var(--border-radius-medium);
  border-bottom-right-radius: var(--border-radius-medium);
}

.hero-block .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  color: var(--text-white);
  justify-content: center;
}
.hero-block .hero-subtitle-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  justify-content: center;
}
.hero-block .hero-breadcrumb {
  color: var(--primary-color);
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

.hero-block .hero-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  opacity: 0.8;
}

.hero-block .hero-breadcrumb a:hover {
  opacity: 1;
}
.hero-block--half .hero-content {
  align-items: center;
  display: block;
  justify-content: center;
  text-align: center;

  h1 {
    max-width: 100%;
  }
}

.hero-subtitle-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin: 0;
}
.hero-subtitle-container svg {
  height: 20px;
  width: 20px;
  color: var(--text-white);
}
.hero-subtitle {
  font-family: var(--font-body);
  color: var(--text-white);
  font-size: var(--text-xl);
  line-height: 1.5;
  margin: 0;
  margin-top: 1rem;
  opacity: 0.9;
  font-weight: 400;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .hero-subtitle {
    font-size: var(--font-size-md);
  }
}

.hero-block--half .hero-title {
  font-size: var(--h2-lg-size);
  line-height: var(--h2-lg-height);
}

@media (min-width: 768px) {
  .hero-block--half .hero-title {
    font-size: var(--h1-sm-size);
  }
}

@media (min-width: 1024px) {
  .hero-block--half .hero-title {
    font-size: var(--h2-lg-size);
    line-height: var(--h2-lg-height);
  }
}

.hero-title {
  color: var(--text-white);
  margin: 0;
  line-height: var(--h1-sm-height);
  max-width: 90%;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--h1-lg-size);
    line-height: var(--h1-lg-height);
    max-width: 60%;
  }
}

/* Hero Block - Half Screen for Subpages */
.hero-block--half {
  height: 600px;
  min-height: 500px;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  padding-top: 0;

  .hero-breadcrumb {
    color: var(--primary-color);
  }
  .hero-subtitle {
    font-family: var(--font-body);
    color: var(--text-white);
    letter-spacing: var(--letter-spacing-tight);
  }
  .hero-title {
    font-size: var(--h2-sm-size);
    line-height: var(--h2-sm-height);
  }
  @media (min-width: 768px) {
    .hero-title {
      font-size: var(--h1-sm-size);
    }
  }

  @media (min-width: 1024px) {
    .hero-title {
      font-size: var(--h1-lg-size);
      line-height: var(--h1-lg-height);
    }
  }
}

@media (width <= 768px) {
  .hero-content-bottom {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .hero-block {
    /* height: 80vh; */
    min-height: 500px;
    align-items: flex-end;
  }

  .hero-block--half {
    height: 600px;
    min-height: 300px;
    align-items: center;
    padding-bottom: 0;
    padding-top: 0;
  }

  .hero-content {
    max-width: 100%;
  }
}

/* Hero Swiper Slider Styles */
.hero-block--slider {
  padding: 0;
  background: none;
}

.hero-block--slider .smort-hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-block--slider .swiper-wrapper {
  height: 100%;
}

.hero-block--slider .hero-slide {
  position: relative;
  height: 85vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-block--slider .hero-slide .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
}

.hero-block--slider .hero-slide .hero-content {
  position: relative;
  z-index: 2;
}

/* Hero Pagination */
.hero-pagination {
  position: absolute;

  display: flex;
  justify-content: center;

  z-index: 10;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 6rem;

  @media (width <= 768px) {
    margin-bottom: 1.5rem;
  }
}

.hero-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--primary-color);
  transform: scale(1.2);
}

@media (width <= 768px) {
  .hero-block--slider .hero-slide {
    min-height: 500px;
    align-items: flex-end;
    padding-bottom: 5em;
  }

  .hero-pagination {
    bottom: 1.5rem;
  }

  .hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}
