.km-herotext {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 420px;
  color: #737373;
  background: #f5f5f5;
}

.km-herotext__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.km-herotext__picture,
.km-herotext__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.km-herotext__inner {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: var(--page-width, 1280px);
  min-height: 420px;
  margin-right: auto;
  margin-left: auto;
  padding: 72px var(--page-pad, 30px);
}

.km-herotext__text {
  box-sizing: border-box;
  width: 100%;
  max-width: 620px;
  padding: 10px 0 10px 28px;
  border-left: 1px solid #737373;
  text-align: left;
}

.km-herotext__text > *:first-child {
  margin-top: 0;
}

.km-herotext__text > *:last-child {
  margin-bottom: 0;
}

.km-herotext__text p {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.55;
}

.km-herotext__text p + p {
  margin-top: 0.35em;
}

.km-herotext--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 2.5rem 1.25rem 0;
  background: repeating-linear-gradient(
    -45deg,
    #fff,
    #fff 8px,
    #eee 8px,
    #eee 16px
  );
}

.km-herotext--empty .km-herotext__icon {
  width: min(320px, 70%);
  height: auto;
  margin-bottom: 2.5rem;
}

.km-herotext__hint {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1.25rem;
  color: #31708f;
  background: #d9edf7;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 800px) {
  .km-herotext,
  .km-herotext__inner {
    min-height: 280px;
  }

  .km-herotext__inner {
    padding: 48px var(--page-pad, 30px);
  }
}
