/* Service card */
.services__wrap {
  display: flex;
  justify-content: start;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.services__category__page .services__wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.service {
  position: relative;
  width: max-content;
  overflow: hidden;
  border-radius: 20px;
  flex-shrink: 0;
}
.services__category__page .service{
  aspect-ratio: 12 / 5;
  width: 100%;
}
.services__category__page .service-image{
  width: 100%;
}
.service-name {
  display: flex;
  align-items: end;
  padding: 0 24px 12px 24px;
  width: 100%;
  position: absolute;
  bottom: 0;
  top: 0;
  color: var(--white-color);
  font-size: 16px;
  line-height: 19px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, rgba(102, 102, 102, 0.05) 100%);  
}

.all_services .service-name {
  font-size: 32px;
  font-weight: 600;
  line-height: 45px;
}

.name-inner {
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 5px;
}

.name-inner .arrow {
  color: #fff;
  border-radius: 100px;
  border: solid 1px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-grow: 0;
  flex-shrink: 0;
}
.important__info {
  padding: 24px;
  background-color: #eef9fa;
  border-radius: 24px;
  margin-top: 42px;
  margin-bottom: 68px;
}

.important__info__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--main-accent2);
  margin-bottom: 16px;
}

.important__info__text__wrap {
  font-size: 14px;
  line-height: 140%;
  color: var(--main-text);
}

.important__info__text__wrap strong {
  text-transform: uppercase;
}
.important__info:has(.payment__method)>p{
  margin-bottom: 10px;
}
.doctor-advice__author {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
 
}

.doctor-advice__photo-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.doctor-advice__photo-wrap.doctor-advice__photo-wrap img{
  margin: 0;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.doctor-advice__meta a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: inherit;
}
@media(max-width:525px){
  .services__category__page .services__wrap{
    grid-template-columns: 1fr;
  }
}
/* Staff card */
.staff__card,.equipment__card {
  display: block;
  padding: 24px;
  border: 1px solid var(--main-accent4);
  border-radius: 20px;
  position: relative;
  min-height: 190px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
}

.staff_name,.staff_name>a,.equipment_name {
  font-size: 14px;
  color: var(--main-accent4);
  line-height: 140%;
  max-width: 180px;
  font-weight: 700;
  margin-bottom: 14px;
}

.staff_pos,
.staff_exp {
  font-size: 13px;
  line-height: 140%;
  color: var(--main-text);
}

.staff_exp {
  margin-top: 8px;
}

.text__info__wrap {
  max-width: 52%;
}

.staff_img{
  position: absolute;
  bottom: 0;
  right: 0;
  height: 235px;
  object-fit: cover;
}
.staff_slider_service{
  padding: 0 5px 30px 5px;
  --swiper-pagination-color: var(--main-accent4)
}
/* News card */
.single__news:not(article) {
  border: 1px solid var(--main-accent3);
  border-radius: 20px;
  overflow: hidden;
  padding-bottom: 5px;
  background: #fff;
  display: block;
}

.news__title {
  padding: 0 11px;
  font-size: 14px;
  line-height: 140%;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--main-accent3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.news__image {
  border-bottom: 1px solid var(--main-accent3);
  width: 100%;
  margin-bottom: 14px;
  object-fit: cover;
}

.news__date {
  padding: 0 11px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 140%;
  color: var(--main-text);
}

/*Acii card*/

.akcii__grid {
  display: grid;
  gap: 24px;
  margin-top: 42px;
  grid-template-columns: 1fr 1fr;
}

.akcii__card {
  border-radius: 24px;
  overflow: hidden; 
}
.akcii__image{
  width: 100%;
  aspect-ratio: 3/2;
}
@media(max-width:525px){
  .akcii__grid{
   grid-template-columns: 1fr;
  }
  .akcii__card img{
    width: 100%;
  }
}

/*equipment card*/
.equipment__list{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px; 
}
.equipment__card{
  display: flex;
  justify-content: space-between;
  gap: 5px;
  width: calc(33% - 13px);
}

.equipment_img{
  max-height: 198px;
}
@media (max-width:1024px) {
  .equipment__card{
    width: calc(50% - 12px);
  }
}

@media (max-width:600px) {
  .equipment__card{
    width: 100%;
  }
}

/*Partners cards*/

.partner_list {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner_item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  border: 1px solid var(--main-accent4, #005056);
  background: #FFF;
  padding: 22px;
}
.partner_item_text {
  color: var(--main-accent4, #005056);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 140%; /* 19.6px */
  text-transform: uppercase;
}
.partner_item_img_wrap {
  height: 90px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.partner_item_img_wrap img {
  width: auto;
  max-height: 100%;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .partner_list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .partner_list {
    grid-template-columns: repeat(1, 1fr);
    max-width: 345px;
    margin: 0 auto 24px;
  }
}

/*Vacancy cards*/
.vac_list {
  margin-bottom: 68px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}


 
 
.vac_item {
  padding: 24px;
  border-radius: 20px;
  background: var(--color5, #EEE);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vac_item_name {
  color: var(--main-accent4, #005056);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}
.vac_item_text {
  color: var(--text, #202020);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 19.6px */
}
.vac_item_btn {
  color: var(--main-accent4, #005056);
  font-size: 14px;
  font-weight: 600;
  line-height: 140%; /* 19.6px */
  transition: .2s;
  cursor: pointer;
}
.vac_item_btn:hover {
  opacity: .7;
}
.vac_page_descr {
  margin-bottom: 26px;
  color: var(--text, #333);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 28px */
}
@media (max-width: 1024px) {
  .vac_list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 588px;
  }
}
@media (max-width: 576px) {
  .vac_list {
    grid-template-columns: repeat(1, 1fr);
  }
  .vac_page_subtitle {
    font-size: 24px;
  }
  .vac_page_descr {
    font-size: 16px;
  }
}