/* RentGuarantor CSS: primary-header.css (source: src/assets/scss/_primary-header.scss) */
.primary-header {
  position: relative;
  height: 800px;
  background-color: var(--color-light-blue-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .primary-header {
    height: 700px;
  }
}
.primary-header__stripe {
  top: 25%;
  right: 0;
  bottom: 0;
  left: 20%;
  width: 100%;
  height: 100%;
  background: linear-gradient(152deg, transparent 46.5%, var(--primary-header-stripe-color) 46.5%);
  pointer-events: none;
  z-index: 1;
}
.primary-header__content {
  padding: 50px 36px;
  position: relative;
  z-index: 2;
}
.primary-header__text {
  max-width: 671px;
  position: relative;
  z-index: 2;
}
.primary-header .illustration-column {
  height: 100%;
  position: relative;
}
@media (max-width: 991.98px) {
  .primary-header .illustration-column {
    height: min-content;
    position: absolute;
  }
}
.primary-header .hero-illustration {
  height: 100%;
  width: 100%;
  margin-left: auto;
}
.primary-header #hero-lottie {
  width: 100%;
  height: 100%;
}
.primary-header .hero-illustration img {
  object-fit: contain;
}
.primary-header h1 {
  font-size: 72px;
  line-height: 87px;
  letter-spacing: -1.44px;
  margin-bottom: 36px !important;
}
.primary-header ul {
  margin-bottom: 50px !important;
}
.primary-header ul li {
  margin-bottom: 10px !important;
  gap: 16px;
}
.primary-header ul li:last-child {
  margin-bottom: 0 !important;
}
.primary-header #hero-buttons {
  gap: 16px !important;
}
@media (max-width: 991.98px) {
  .primary-header {
    min-height: 700px;
    flex-direction: revert;
  }
  .primary-header__content {
    padding: 36px 16px;
  }
  .primary-header__stripe {
    top: auto;
    right: 0;
    bottom: -255px;
    left: 0;
  }
  .primary-header__text {
    max-width: 100%;
  }
  .primary-header h1 {
    font-size: 45px;
    line-height: 54px;
    margin-bottom: 24px !important;
  }
  .primary-header ul {
    margin-bottom: 32px !important;
  }
  .primary-header ul li {
    gap: 12px;
  }
  .primary-header ul li > svg {
    width: 24px;
    height: 24px;
  }
  .primary-header .illustration-column {
    right: -100px;
    bottom: -100px;
  }
  .primary-header .hero-illustration {
    max-width: 400px;
    width: 110%;
  }
  .primary-header #hero-buttons {
    flex-direction: column;
  }
  .primary-header #hero-lottie {
    height: min-content;
  }
}

.primary-header[data-variant=blue] {
  background-color: var(--color-light-blue-200);
  --primary-header-stripe-color: var(--color-light-blue-100);
  --primary-header-icon-color: var(--color-mid-blue-600);
}
.primary-header[data-variant=blue] h1 span:first-child {
  color: var(--color-mid-blue-600);
}
.primary-header[data-variant=blue] ul li svg circle {
  fill: var(--color-mid-blue-600);
}

.primary-header[data-variant=blue-alt] {
  background-color: var(--color-light-blue-200);
  --primary-header-stripe-color: var(--color-light-blue-100);
  --primary-header-icon-color: var(--color-core-mid-blue);
}
.primary-header[data-variant=blue-alt] h1 span:first-child {
  color: var(--color-core-mid-blue);
}
.primary-header[data-variant=blue-alt] ul li svg circle {
  fill: var(--color-core-mid-blue);
}

.primary-header[data-variant=green] {
  background-color: var(--surface-landlord-secondary);
  --primary-header-stripe-color: var(--surface-landlord-highlight);
  --primary-header-icon-color: var(--icon-green);
}
.primary-header[data-variant=green] h1 span:first-child {
  color: var(--icon-green);
}
.primary-header[data-variant=green] ul li svg circle {
  fill: var(--icon-green);
}

.primary-header[data-variant=green-alt] {
  background-color: var(--surface-landlord-highlight);
  --primary-header-stripe-color: var(--color-green-50);
  --primary-header-icon-color: var(--icon-primary);
}
.primary-header[data-variant=green-alt] h1 span:first-child {
  color: var(--icon-primary);
}
.primary-header[data-variant=green-alt] ul li svg circle {
  fill: var(--icon-green);
}

.primary-header[data-variant=yellow] {
  background-color: var(--surface-students-primary);
  --primary-header-stripe-color: var(--surface-students-secondary);
  --primary-header-icon-color: var(--icon-yellow);
}
.primary-header[data-variant=yellow] h1 span:first-child {
  color: var(--icon-yellow);
}
.primary-header[data-variant=yellow] ul li svg circle {
  fill: var(--icon-yellow);
}

@media (max-width: 991.98px) {
  .illustration-column--familyhouse2 {
    bottom: -50px !important;
    right: -76px !important;
  }
  .illustration-column--familyhouse1 {
    bottom: -57px !important;
    right: -89px !important;
  }
  .illustration-column--flat {
    bottom: -77px !important;
    right: -98px !important;
  }
  .illustration-column--flat .hero-illustration--flat {
    width: 100% !important;
  }
  .illustration-column--bungalow {
    bottom: -69px !important;
    right: -106px !important;
  }
  .illustration-column--house {
    bottom: -67px !important;
    right: -61px !important;
  }
  .primary-header .hero-illustration {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .primary-header {
    border-radius: 0 !important;
  }
  .primary-header h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
  }
}
@media (max-width: 575.98px) {
  .primary-header h1 {
    font-size: 2rem !important;
  }
}

@media (max-width: 767.98px) {
  .hero-content {
    min-height: 60px !important;
    margin-bottom: 1rem;
  }
}