/* Reviews Section Styles */
.reviews-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.reviews-box,
.gas-safe-box {
  background: #f8f9fa;
  color: #333;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 10px;
  flex: 1;
  max-width: 48%; /* Ensure each takes up to half the space */
  position: relative; /* Added for positioning the logo */
}

.reviews-box h3,
.gas-safe-box h3 {
  font-size: 1.8em;
  color: var(--themeBlue);
  display: flex;
  justify-content: center; /* Center align text */
  align-items: center;
  margin: 0; /* Remove margin */
}

.find-on {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px; /* Adjust margin as needed */
}

.mybuilder-logo {
  width: 75px; /* Adjust size as needed */
  height: auto;
  margin-left: 10px; /* Adjust spacing as needed */
}

.gas-safe-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column; /* Align content vertically */
}

.gas-safe-content .gas-safe-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.gas-safe-logo {
  width: 75px; /* Adjust size as needed */
  height: auto;
  margin-left: 10px; /* Adjust spacing as needed */
}

.reviews-content {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 10px;
}

.review {
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.review:last-child {
  border-bottom: none;
}

.stars {
  display: inline-block;
  margin-bottom: 5px;
}

.stars .star {
  width: 20px;
  height: auto;
  vertical-align: middle;
  margin-right: 2px;
}

.review p {
  margin: 0;
  line-height: 1.5;
}

/* New CSS for smaller gas-pic image */
.gas-pic {
  width: 500px; /* Adjust width as needed */
  height: auto; /* Maintain aspect ratio */
}

/* New CSS added for Gas Safe link and text */
.gas-safe-link {
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline */
}

.click-to-check {
    margin-right: 10px; /* Space between text and logo */
    color: #333; /* Adjust text color as needed */
}

.gas-safe-logo {
    width: 75px; /* Adjust size as needed */
    height: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
    align-items: center;
  }

  .reviews-box,
  .gas-safe-box {
    max-width: 100%;
    margin: 10px 0;
  }
}

@media (max-width: 576px) {
  .mybuilder-logo,
  .gas-safe-logo {
    width: 50px;
  }

  .stars .star {
    width: 15px;
  }

  .gas-pic {
    width: 100%;
  }
}
