.yl-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 625px;
  width: 100%;
  background-image: var(--yl-hero-bg-desktop, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.yl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #00154a 0%, rgba(0, 21, 74, 0) 100%);
}

.yl-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  max-width: 580px;
  margin-left: 240px;
  padding: 60px 0;
}

.yl-hero__title {
  font-family:
    CircularXX TT,
    sans-serif;
  font-weight: 700;
  font-size: 57px;
  line-height: 1;
  color: #fff;
  text-align: left;
}

.yl-hero__subtitle {
  font-family:
    CircularXX TT,
    sans-serif;
  font-weight: 450;
  font-size: 32px;
  line-height: 1.4;
  color: #fff;
  text-align: left;
}

.yl-hero__description {
  font-family:
    CircularXX TT,
    sans-serif;
  font-weight: 450;
  font-size: 24px;
  line-height: 1.4;
  color: #fbfdff;
  text-align: left;
}

.yl-hero__btn {
  display: inline-block;
  background-color: #ffffff;
  padding: 14px 28px;
  border-radius: 68px;
  text-decoration: none;
  font-family:
    CircularXX TT,
    sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1;
  transition: background-color 0.3s ease;
  margin-top: 4px;
}

.yl-hero__btn:hover {
  background-color: rgba(0, 21, 74, 1);
  color: #fff;
}

/* Tablet */
@media (max-width: 1280px) {
  .yl-hero__content {
    margin-left: 80px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .yl-hero {
    background-image: var(--yl-hero-bg-mobile, var(--yl-hero-bg-desktop, none));
    min-height: clamp(560px, 85vh, 670px);
    background-position: center top;
    align-items: flex-start;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 40px;
    box-sizing: border-box;
  }

  .yl-hero__overlay {
    background: linear-gradient(
      to bottom,
      #00154a 0%,
      rgba(0, 21, 74, 0.88) 32%,
      rgba(0, 21, 74, 0.45) 52%,
      rgba(0, 21, 74, 0.12) 68%,
      transparent 100%
    );
  }

  .yl-hero__content {
    margin-left: 0;
    margin-right: 0;
    padding: 0 24px;
    max-width: 100%;
    width: 100%;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
  }

  .yl-hero__title {
    font-size: 2.25rem;
    line-height: 1.1;
    text-align: center;
    color: #fff;
  }

  .yl-hero__subtitle {
    text-align: center;
  }

  .yl-hero__description {
    text-align: center;
  }

  .yl-hero__btn {
    margin-top: 8px;
  }
}
