/* HERO HALF */

.o-hero-container-half {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
  padding: 16px;
  width: 100%;
  margin-bottom: 120px;
  overflow: hidden;
}

.o-hero-container-half > * {
  width: 50%;
}
.c-hero-half__visual {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  position: relative;
  padding: 64px;
  border-radius: 24px;
  aspect-ratio: 1/0.9;
  background: linear-gradient(45deg, #014362, #05a8c2);
}

.c-hero-half__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
}
.c-hero-half__text-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: white;
}

.o-hero-container-half .c-image-container {
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1/0.9;
  height: 100%;
}
.o-hero-container-half .c-image-container .carousel,
.o-hero-container-half .c-image-container figure {
  height: 100%;
}

.o-hero-container-half .c-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) and (max-width: 1324px) {
  .c-hero-half__visual {
    padding: 32px;
  }
}

@media (max-width: 1024px) {
  .o-hero-container-half {
    flex-direction: column-reverse;
    height: 100%;
    gap: 8px;
    margin-bottom: 64px;
    padding: 8px;
  }
  .o-hero-container-half > * {
    width: 100%;
  }
  .c-hero-half__visual {
    padding: 32px;
  }
}

/* HERO FW */

.o-hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.o-hero-container > * {
  width: 50%;
}
.c-hero__content {
  background: linear-gradient(45deg, #014362, #05a8c2);
  aspect-ratio: 1/0.5;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  position: relative;
  overflow: hidden;
}

.o-hero-container--full .c-hero__content {
  position: initial !important;
}
.c-hero__content svg {
  width: 110%;
  height: auto;
  display: block;
  position: absolute;
  top: 15%;
  left: 0;
}

.o-hero-container .c-image-container {
  width: 100%;
  aspect-ratio: 1/0.5;
}

.o-hero-container .c-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}
.o-hero-container-half .c-image-container img {
  transition: all 0.4s ease-in-out;
}
.o-hero-container-half .c-image-container:hover img {
  transform: scale(1.05);
}

.o-hero-container--full .c-image-container {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 0;
}

.o-hero-container--full .c-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.o-hero-container--full .c-image-container .overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.o-hero-container--full .c-hero__content svg {
  display: none;
}
.o-hero-container--full .c-hero__content {
  z-index: 2;
  background: none;
}

.c-hero__animation {
  display: block;
  min-width: 100%;
  max-height: 100%;
  height: auto;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
}
@media (max-width: 1024px) {
  .o-hero-container {
    flex-direction: column;
    margin-bottom: 64px;
  }

  .o-hero-container--full {
    min-height: 30dvh;
    justify-content: flex-end;
  }
  .c-hero__content {
    padding: 32px;
  }
  .o-hero-container > * {
    width: 100%;
  }
  .o-hero-container .c-image-container {
    aspect-ratio: initial;
  }
  .c-hero__animation {
    top: 15%;
  }
}
