.td-hero,
.paragraph--type--hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: calc(100vh - var(--td-header-height));
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background-color: #f5f8fc;
  background-position: center center;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.td-hero::before,
.paragraph--type--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: inherit;
  background-position: center center;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  transform: scale(1.08);
  opacity: 0;
  animation: heroWallpaperReveal 1.8s ease-out forwards;
  will-change: transform, opacity;
}

.td-hero__inner {
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 50vw);
  align-items: center;
  gap: 0;
  padding: 32px 0 32px 0;
}

.td-hero__content {
  max-width: 900px;
  width: auto;
  margin-left: var(--td-hero-left);
  margin-top: var(--td-hero-top);
  padding-right: 40px;
  justify-self: start;
  align-self: center;
  text-align: left;
}

.td-hero__title,
.td-hero__title h1,
.td-hero__title h2,
.td-hero__title h3,
.td-hero__title .field,
.td-hero__title p,
.td-hero__title div {
  margin: 0 !important;
  color: rgb(99, 168, 235) !important;
  font-size: 58px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  white-space: nowrap;
  text-align: left !important;
  max-width: none !important;
  opacity: 0;
  transform: translateX(80px);
  animation: heroSlideInLeft 0.9s ease-out forwards;
  animation-delay: 0.2s;
  will-change: transform, opacity;
}

.td-hero__text,
.td-hero__text p,
.td-hero__text div {
  margin: 10px 0 0 0 !important;
  color: #ffffff !important;
  font-size: 46px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  white-space: nowrap;
  text-align: left !important;
  max-width: none !important;
  opacity: 0;
  transform: translateX(80px);
  animation: heroSlideInLeft 0.9s ease-out forwards;
  animation-delay: 1.2s;
  will-change: transform, opacity;
}

.td-hero__actions {
  margin-top: 28px;
  opacity: 0;
  transform: translateX(80px);
  animation: heroSlideInLeft 0.9s ease-out forwards;
  animation-delay: 1.5s;
  will-change: transform, opacity;
}

.td-hero__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.td-hero__actions a:hover {
  border-color: #ffffff;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
}

.td-hero__media {
  position: relative;
  width: min(50vw, 920px);
  justify-self: end;
  height: min(78vh, 760px);
  min-height: 520px;
  overflow: hidden;
  border-radius: 0;
  background-position: center center;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.td-hero__media picture,
.td-hero__media .field,
.td-hero__media .field__item,
.td-hero__media .media,
.td-hero__media .media__content {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.td-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0;
  transform: scale(1.08);
  opacity: 0;
  animation: heroImageReveal 1.8s ease-out forwards;
  will-change: transform, opacity;
}

@keyframes heroWallpaperReveal {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}