/* Match the reference hero independently of Bootstrap Italia version defaults. */
.ru-hero-home.it-hero-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 21.25rem;
  padding: 56px 0;
  background-color: #17324d;
}

.ru-hero-home .img-responsive-wrapper,
.ru-hero-home .img-responsive,
.ru-hero-home .img-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

.ru-hero-home .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ru-hero-home.it-overlay.it-dark .img-responsive-wrapper::after {
  background: rgba(23, 50, 77, 0.54);
}

.ru-hero-home__content {
  position: relative;
  z-index: 3;
}

.ru-hero-home__content h2 {
  text-align: left;
  margin-bottom: 24px;
}

.ru-hero-home .search-form input {
  min-width: 0;
  margin-right: 8px;
  font-weight: 700;
}

.ru-hero-home .search-form button {
  flex-shrink: 0;
}

.ru-hero-home__caption {
  position: absolute;
  right: 100px;
  bottom: 26px;
  left: 10px;
  z-index: 3;
  color: #fff;
  text-align: right;
  font-weight: 700;
  overflow-wrap: anywhere;
  @media (max-width: 480px) {
    right: 50px;
  }
}

.ru-hero-home__caption a {
  color: inherit;
  text-decoration: none;
}

.ru-hero-home__caption a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .ru-hero-home.it-hero-wrapper {
    min-height: 25rem;
  }
}

.ru-hero-home .items-wrapper {
  padding-bottom: 8px;
}

.ru-hero-home .list-inline {
  margin-bottom: 0;
}

.ru-hero-home .list-item {
  margin: 0 16px 16px 0;
}

.ru-hero-home .btn {
  font-size: 16px;
  line-height: 24px;
}

.ru-hero-home .search-form {
  padding: 4px;
  margin-bottom: 8px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .ru-hero-home__content {
    max-width: calc(100% - 100px);
  }
}
