/* ==========================================================
   ROAD TEST INDEX PAGE
   Uses home card styles with a single test-bike section.
   ========================================================== */

.test-index-title{
  width:95%;
  margin:0 auto 0 auto;
  padding:22px 18px 18px 18px;
  box-sizing:border-box;
  text-align:center;
  background-image:url('wood2.png');
  border:1px solid #333;
  border-radius:10px;
  box-shadow:
    3px 3px 3px rgba(0,0,0,0.55),
    inset 1px 1px 2px rgba(0,0,0,0.65);
}

.test-index-title h1{
  margin:0 0 8px 0;
  font-family:"montserrat",sans-serif;
  font-size:24px;
  font-weight:500;
  color:#aaa;
  text-transform:uppercase;
  text-shadow:3px 3px 4px #000;
}

.test-index-title p{
  max-width:760px;
  margin:10px auto 0 auto;
  font-family:"montserrat",sans-serif;
  font-size:15px;
  line-height:1.7;
  color:#999;
  text-shadow:2px 2px 3px #000;
}

/* This page has only one feature box, so do not rely on home-page nth-of-type rules. */
.home-feature-box{
  grid-template-columns:280px 1fr !important;
}

.home-feature-cards .card{
  flex:0 0 calc(33.333% - 15px) !important;
}

@media (max-width:1050px){

  .home-feature-box{
    grid-template-columns:1fr !important;
  }

  .home-feature-cards .card{
    flex:0 0 calc(50% - 20px) !important;
  }

}

@media (max-width:600px){

  .test-index-title{
    width:95%;
    padding:18px 12px 16px 12px;
  }

  .test-index-title h1{
    font-size:18px;
  }

  .test-index-title p{
    font-size:13px;
  }

  .home-feature-cards .card{
    flex:0 0 100% !important;
  }

}
