/* blocks/two-col.php */
  .two-cols .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
  }
  .two-col {
    flex: 1;
  }
  @media (max-width: 1000px) {
    .two-col {
      flex: auto;
      width: 100%;
    }
  }

/* blocks/testimonials.php */
.testimonials{
  background-color: #f8f8f8;
  padding: 70px 0;
}
.testimonials h2 {
  margin: 0 0 48px;
}
.testimonials-flex{
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}
.testimonial{
  flex: 1;
}
.testimonial .comment{
  padding-bottom: 40px;
  text-align: justify;
  line-height: 1.5;
}
.testimonial .author{
  text-align: right;
  font-style: italic;
}
@media (max-width: 1000px){
  .testimonial{
    flex: auto;
    width: 100%;
  }
  .testimonials h2 {
    text-align: center;
    margin: 0 0 24px;
  }
}

/* blocks/services-grid-block.php */
.services-grid-block .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.services-grid-item {
  display: block;
  width: calc(33.33% - 20px);
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  position: relative;
}
.services-grid-item span {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 212, 28, 0.8);
  transition: background 0.4s;
  padding: 10px;
  text-align: center;
  font-size: 1.3em;
  font-weight: 500;
  color: #002a5d;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.services-grid-item:hover span {
  background: rgba(255, 212, 28, 1);
}
@media ( max-width: 1000px ) {
  .services-grid-item {
    width: calc(50% - 15px);
  }
}
@media ( max-width: 500px ) {
  .services-grid-item {
    width: 100%;
  }
}

/* blocks/featured-products.php */
  .featured-products {
    text-align: center;
  }
  .featured-products h2 {
    margin: 0 0 50px;
  }

/* blocks/featured-blocks.php */
  .featured-blocks .wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  .featured-block {
    min-height: 300px;
    padding: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #002a5d;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    border-radius: 4px;
  }
  .featured-block-content h2 {
    color: #ffffff;
    font-size: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  }
  .featured-block-content p {
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  }
  .featured-block-content .button {
    text-shadow: none;
  }
  @media (max-width: 1000px) {
    .featured-blocks .wrap {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 800px) {
    .featured-block {
      min-height: 250px;
      padding: 16px;
    }
    .featured-blocks .wrap {
      grid-template-columns: minmax(0, 1fr);
      gap: 20px;
    }
    .featured-block-content h2 {
      font-size: 1.6rem;
    }
  }
