body {
  background-color: white;
}

main {
  position: relative;
}

.home-image {
  display: block;
  width: 100%; 
  height: 320px;
  object-fit: cover;
}

.best-in-class {
  position: absolute;
  top: 3%; right: 10%; /*150px;*/
	padding: 20px 30px 30px 30px;
  margin: 0;
  background-color: #ff5500;
  opacity: 0.8;
  border-radius: 10px;
}

.best-in-class-header {
  padding: 0; margin: 0;
  font-family: 'PT Sans';
  font-size: 45px;
  color: white;
	line-height: 90%;
  text-align: left;
}

.best-in-class-text {
  font-weight: bold;
  font-size: 14px;
  color: white;
  line-height: 130%;
  white-space: pre-line;
}

.site-features {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  /*display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 30px;*/
  padding: 0 30px 0 30px;
  margin: 20px 0 30px 0;
}

.site-features-box {
  padding: 0; margin: 10px;
  background-color: #f8cf7d;
  border-radius: 15px;
}

.box-header {
  padding: 20px 15px 0 15px; 
  margin: 0;
  font-family: 'PT Sans';
  font-weight: bold;
  font-size: 120%;
  color: #253745;
  border: none;
}

.box-text {
  padding: 5px 15px 20px 15px;
  margin: 0;
  line-height: 150%;
  color: #253745;
}

.trending {
  padding: 0;
  margin: 0 0 30px 0;
  text-align: center;
  font-size: 12px;
}

@media screen and (max-width: 1023px) {

  .home-image {
    display: block;
    padding: 0;
    margin: 0;
    max-width: 100%; 
    height: 175px; 
    object-fit: cover;
  }

  .best-in-class {
    position: static;
    /*top: 340px; right: 250px;*/
	  padding: 10px 20px 0 20px;
    margin: 0;
    background-color: white;
    opacity: 1;
    border-radius: 0;
  }

  .best-in-class-header {
    padding: 0; margin: 0;
    font-family: 'PT Sans';
    font-size: 35px;
    color: black;
	  line-height: 110%;
    text-align: center;
  }

  .best-in-class-text {
    font-weight: normal;
    font-size: 16px;
    color: black;
    line-height: 150%;
    text-align: center;
    white-space: normal;
  }

  .site-features-box {
    width: 100%;
    padding: 0; margin: 0 0 15px 0;
    background-color: #f8cf7d;
    border-radius: 15px;
  }

  .site-features {
    /*display: grid;
    grid-template-columns: auto;
    grid-gap: 0;*/
    flex-wrap: wrap;
	  padding: 0 20px 0 20px;
    margin: 0;
  }

  .box-header {
    padding: 20px 15px 0 15px; 
    margin: 0;
    font-family: 'PT Sans';
    font-weight: bold;
    font-size: 20px;
    color: #253745;
    border: none;
  }

  .box-text {
    padding: 5px 15px 20px 15px;
    margin: 0;
    font-size: 16px;
    line-height: 150%;
    color: #253745;
  }

  .trending {
    padding: 0 15px 0 15px;
    margin: 0 0 30px 0;
    text-align: center;
    font-size: 14px;
    line-height: 150%;
  }
}
