

.services-clinic-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  line-height: 100%;
  text-align: center;
}

.services-groups-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 10px;
  justify-content: center;
}

.service-group {
  background-color: #E8E6D4;
  max-width: 575px;
  border-radius: 8px;
  padding: 30px;
  box-sizing: border-box;
}

.service-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
  /* max-width: 515px; */
}

.service-group__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--color-orange);
  margin: 0;
  display: flex;
  align-items: center;
}

.service-group__icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-group__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.service-group__services {
  display: flex;
  gap: 15px 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  min-width: 0;
}

.service-item {
  display: flex;
  gap: 8px;
  flex: 0 1 calc( 50% - 15px );
  height: auto;
}
.service-item__icon{
    background-color: var(--color-orange);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    min-width: 16px;
    max-width: 16px;
    min-height: 16px;
    max-height: 16px;
}
.service-item__icon img{
  display: block;
  height: 15px;
  opacity: 0;
}
.service-item__text {
  font-weight: 500;
  font-size: 14px;
  color: #18383C;
  display: block;
  text-decoration: none;
  transition: var(--transition);
}
a:hover,
.service-item__text:hover{
  text-decoration: underline;
}
.services-slider-buttons {
  display: none;
}

@media (max-width: 768px) {
  article.service .container{
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }


.services-more-btn {
    width: 276px;
    height: 60px;
    padding: 0;
    margin: 0;
  }

  .services-clinic-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .services-clinic-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    position: relative;
  }

  .services-clinic-title {
    width: 100%;
    /* height: 29px; */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    line-height: 100%;
    text-align: left;
    margin: 0;
  }

  .services-slider-buttons {
    /* width: 91.99px; */
    /* height: 40px; */
    /* display: flex; */
    /* gap: 10px; */
    /* justify-content: flex-start; */
    /* position: absolute; */
    /* right: 0; */
    /* top: 0; */
  }
  
  .services-groups-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .service-group {
    width: 100%;
    padding: 20px 20px 30px 20px;
    border-radius: 8px;
    background-color: #E8E6D4;
    box-sizing: border-box;
    gap: 20px;
    max-width: 100%;
  }

  .service-group__header {
    /* width: 260px; */
    /* height: 30px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .service-group__title {
    font-size: 22px;
    line-height: 100%;
  }

  .service-group__icon {
    width: 21.25px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-group__services {
    /* width: 260px; */
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .service-column {
    width: 100%;
    gap: 15px;
  }

  .service-item {
    width: 100%;
    /* height: 17px; */
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .service-item__icon {
    max-height: 14px;
    object-fit: contain;
  }

  .service-item__text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #18383C;
    line-height: 100%;
    /* width: 243px; */
  }

  .services-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
  }

  .services-slider {
    display: flex;
    gap: 10px;
    transition: transform 0.4s ease;
    width: max-content;
  }

  .slide {
    flex: 0 0 100%;
  }

  .services-slider-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }

  .services-slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background-color: var(--color-orange);
    color: #E8E6D4;
    font-size: 20px;
    font-weight: bold;
    line-height: 40px;
    padding: 0;
    text-align: center;
  }
}