.nans-sidebanner {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
}

.nans-sidebanner > div {
  position: relative;
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-direction: column;
  flex-direction: column;
  box-sizing: border-box;
}

.nans-sidebanner h1,
.nans-sidebanner h2 {
  font-size: 36px;
  color: #fff;
  font-weight: 700;
  font-family: var(--title-font-family);
  text-transform: uppercase;
}

.nans-sidebanner p {
  color: #fff;
  font-size: 20px;
  margin: 40px 0 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.nans-sidebanner p i {
  font-size: 22px;
  color: #fff;
}

.nans-sidebanner p a {
  color: #fff;
}

@media screen and (max-width: 1340px) {
  .nans-sidebanner {
    height: 300px;
  }
}

@media screen and (max-width: 1100px) {
  .nans-sidebanner h1,
  .nans-sidebanner h2  {
    font-size: 30px;
  }
  .nans-sidebanner p {
    font-size: 17px;
    margin: 25px 0 0;
  }
}

@media screen and (max-width: 768px) {
  .nans-sidebanner {
    height: auto;
    margin: 0;
    padding: 25px 0 30px;
  }
  .nans-sidebanner h1,
  .nans-sidebanner h2  {
    font-size: 24px;
  }
  .nans-sidebanner p {
    font-size: 15px;
    margin: 15px 0 0;
  }
  .nans-sidebanner p i {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .nans-sidebanner h1,
  .nans-sidebanner h2  {
    font-size: 24px;
  }
}
