/******************************************************************************
 *
 *  Male Infertility Page Styles
 *
 ******************************************************************************/
.main-content {
  padding-top: 90px;
}

.male-diagnosis-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  padding: 120px 0;
}

.male-diagnosis-hero__image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url('/images/diagnosis/male-diagnosis-bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.male-diagnosis-hero__content {
  width: 50%;
  min-width: 300px;
  padding: 3rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 2rem;
  border-radius: 10px;
}

.male-diagnosis-hero__vid-container iframe {
  width: 100%;
  max-width: 560px;
  height: 300px;
}

.what-section .wrapper {
  padding: 3rem;
  display: grid;
  gap: 3rem;
  grid-template-columns: 3fr 2fr;
  grid-template-areas: "a b";
}

.what-section__content {
  display: grid;
  gap: 2rem;
  grid-area: a;
}

.what-section__feature {
  grid-area: b;
  overflow: hidden;
}

.what-section__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.what-section__list {
  display: grid;
  gap: 0.5rem;
  padding-left: 2rem;
}

.testing-section {
  background-image: url('/images/diagnosis/male-diagnosis-bg-2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 0;
}

.testing-section .wrapper {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 3rem;
  display: grid;
  gap: 2rem;
}

.testing-section__list {
  display: grid;
  gap: 0.5rem;
  padding-left: 2rem;
}

.testing-section__list ul {
  padding-top: 0.5rem;
}

@media screen and (max-width: 1200px) {
  .male-diagnosis-hero__content {
    width: 70%;
  }

  .what-section .wrapper {
    padding: 3rem 0;
  }
}

@media screen and (max-width: 1024px) {
  .what-section .wrapper {
    grid-template-areas: "b" "a";
    grid-template-columns: 1fr;
  }

  .what-section__feature iframe {
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  .male-diagnosis-hero {
    padding: 60px 0;
  }

  .male-diagnosis-hero__content {
    width: 70%;
  }

  .what-section .wrapper {
    padding: 3rem 0;
    gap: 2rem;
  }

  .what-section__feature iframe {
    height: 300px;
  }
}

@media screen and (max-width: 480px) {
  .male-diagnosis-hero__content {
    width: 90%;
  }

  .male-diagnosis-hero__vid-container iframe {
    height: 200px;
  }

  .testing-section .wrapper {
    padding: 2rem;
  }
}
