.egc-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100vw;
  max-width: 100vw;
  min-height: 700px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #1a2a47;
  color: #fff;
}

.egc-hero__media,
.egc-hero__picture,
.egc-hero__image,
.egc-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.egc-hero__picture {
  display: block;
}

.egc-hero .egc-hero__picture,
.egc-hero .egc-hero__image {
  width: 100%;
  max-width: none;
  height: 100%;
}

.egc-hero__image {
  display: block;
  object-fit: cover;
  object-position: center center;
}

.egc-hero__shade {
  z-index: 1;
  pointer-events: none;
}

.egc-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
  align-items: center;
}

.egc-hero__content {
  width: 600px;
  max-width: 100%;
}

.egc-hero__eyebrow {
  margin: 0 0 12px;
  color: #d6b469;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.egc-hero__title {
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: "The Youngest", Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 56px;
}

.egc-hero__description {
  max-width: 560px;
  margin: 20px 0 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 25px;
}

.egc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.egc-hero__button {
  display: inline-flex;
  min-height: 46px;
  padding: 13px 22px;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.egc-hero__button--primary {
  background: #d6b469;
  color: #fff;
}

.egc-hero__button--primary:hover,
.egc-hero__button--primary:focus-visible {
  background: #fff;
  color: #1a2a47;
}

.egc-hero__button--secondary {
  border-color: #fff;
  color: #fff;
}

.egc-hero__button--secondary:hover,
.egc-hero__button--secondary:focus-visible {
  background: #fff;
  color: #1a2a47;
}

@media (max-width: 767px) {
  .egc-hero {
    min-height: 178vw;
  }

  .egc-hero__image {
    object-position: center top;
  }

  .egc-hero__inner {
    padding: 8vw;
    justify-content: center;
    align-items: center;
  }

  .egc-hero__content {
    width: 100% !important;
    text-align: center;
  }

  .egc-hero__title {
    font-size: 35px;
    line-height: 40px;
  }

  .egc-hero__description {
    margin-right: auto;
    margin-left: auto;
    font-size: 15px;
    line-height: 22px;
  }

  .egc-hero__actions {
    justify-content: center;
  }

  .egc-hero__button {
    min-height: 42px;
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .egc-hero__button {
    transition: none;
  }
}
