#radiology_services {
  .row {
    /*  display: grid;
     grid-template-columns: repeat(1, 1fr); */
    gap: 12px;
    @media (max-width:758px) {
      gap: 10px;
    }
  }
  .col-2 {
    border-radius: 10px;
    /*  width: 100%; */
    overflow: hidden;
    flex: 0 1 48%;
    padding: 0;
    transition: all 0.4s;
    img {
      width: 100%;
      position: absolute;
      object-fit: cover;
      height: 100%;
    }
  }
}

.radiology_card_title {
  background-color: #681e77;
  padding: 16px 0;
  @media (max-width:768px) {
    background-color:#fe5e00;
  }
  @media (max-width:758px) {
    padding: 8px 0;
    font-size: 14px;
  }
  transition: all 0.2s ease-in-out;
  a {
    color: #fff;
    text-align: center;
    transition: all 0.2s ease-in-out;
    @media (min-width:768px) {
      background-color: #d9d9d9;
      padding: 4px 0;
      color: #681e77;
      border-radius: 50px;
      width: 140px;
    }
  }
  cursor: pointer;
}
#radiology_services .col-2:hover {
  @media (min-width:768px) {
    box-shadow: 2px 2px 2px 0px #fe5e00;
  }
}
#radiology_services .col-2:hover .radiology_card_title {
  @media (min-width:758px) {
    background-color: #ecf0f1;
  }
  a {
    background-color: #fe5e00;
    color: white;
    @media (max-width:758px) {
      background-color: transparent;
    }
  }
}
#radiology_services .col-2 .img_radiology {
  overflow: hidden;
  position: relative;
  padding-bottom: 80%;
}

#radiology_services .col-2 img {
  transition: transform 0.4s ease-in-out;
}

#radiology_services .col-2 img:hover {
  transform: scale(1.1);
}
@media (min-width:768px) {
  .radiology_card_title:hover {
    background-color: #ecf0f1;
    a {
      background-color: #fe5e00;
      color: white;
    }
  }
}

@media (min-width: 768px) {
  #radiology_services {
    /*  .row {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
     } */
    .col-2 {
      flex: 1;
      border-radius: 10px;
    }
  }
}
@media (min-width: 991px) {
  #radiology_services {
    /*  .row {
       display: grid;
       grid-template-columns: repeat(4, 1fr);
     } */
    .col-2 {
      flex: 1;
      border-radius: 10px;
    }
  }
}
@media (min-width: 1200px) {
  #radiology_services {
    /*  .row {
       display: grid;
       grid-template-columns: repeat(5, 1fr);
     } */
    .col-2 {
      flex: 1;
      border-radius: 10px;
    }
  }
}