@font-face {
    font-family: 'DniproSity';
    src: url('/wp-content/themes/klinic-ambulance/font/DniproCity-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'DniproSity';
    src: url('/wp-content/themes/klinic-ambulance/font/DniproCity-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

body {
  font-family: 'DniproSity', sans-serif;
  font-weight: 400;
  background-color: #e5e7ea;
  margin: 0;
  color: #373737;
  padding: 0;
}

h1,h2,h3,h4{
    font-family: 'DniproSity', sans-serif;
  font-weight: bold;
}


/* === HEADER ===*/
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16.2vw;
  font-size: 14px;
  background-color: white;
}

.address {
  color: #0a426c;
  font-size: 1.25vw;
  font-weight: 500;
}

.contacts {
  display: flex;
  align-items: center;
  font-size: 1.46vw;
  gap: 3.02vw;
  margin: 0 3.78vw;
}

.header-mail{
  text-decoration: underline !important;
}
.contacts a {
  color: #0a426c;
  text-decoration: none;
  font-weight: 500;
}

.socials {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.socials path {
  width: 1.67vw;
  height: 1.67vw;
}

.main-nav {
  background: linear-gradient(180deg, #5d768a 8%, transparent);
  padding: 0 16.2vw;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0.68vw 0;
  flex-wrap: wrap;
}
.main-nav .menu > li > .sub-menu > li:nth-child(1) > a{
    width: max-content;
  }

.menu li {
  width: 5.5vw;
}
.sub-menu li {
    width: auto !important;
    padding: 5px 0;
}
.footer-contacts li, .footer-contacts li a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.15vw;
  display: inline-block;
  line-height: 1.2;
}

.appointment a {
  font-weight: 900;
}
.main-nav { --gap: 1.7vw; }               /* відступ між пунктом і підменю */

/* li має бути відносним — щоб підменю позиціонувалось від нього */
.main-nav .menu > li { position: relative; }

/* невидимий "місток", щоб курсор міг пройти через зазор і меню не зникало */
.main-nav .menu > li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: var(--gap);
}

/* панель підменю */
.main-nav .menu > li > .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + var(--gap));
  width: auto;
  list-style: none;
  margin: 0;
  padding: 1vw 0;
  background: #fff;
  box-shadow: 0 .26vw .8vw rgba(0,0,0,.18);

  /* анімація появи */
  opacity: 0;
  visibility: hidden;
  transform: translateY(.4vw);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 40;
}

/* показати підменю при hover/focus */
.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s, 0s, 0s;
}

/* "хвостик" у верхньому лівому куті */
.main-nav .menu > li > .sub-menu::before {
  content: "";
  position: absolute;
  top: calc(-.7 * var(--gap));
  left: 0;
  width: 1.25vw;
  height: 1.25vw;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30'><path fill-rule='evenodd' fill='white' d='M-0.001,0.008 L-0.010,-0.000 L-0.010,30.000 L29.998,30.000 C14.892,26.859 3.025,15.014 -0.001,0.008 Z'/></svg>") 
              no-repeat center / contain;
}

/* пункти всередині дропдауну */
.main-nav .menu > li > .sub-menu > li > a {
  display: block;
  padding: 0.2vw .7vw ;
  text-align: left;
  color: #29323a;
  font-size: 1.05vw;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.main-nav .menu > li > .sub-menu > li > a:hover {
  color: #2B9BB1;
}

/* легкий hover для головних пунктів */
.main-nav .menu > li > a:hover { opacity: .9; }

/* Бургер і мобільна навігація */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}



/* === HERO BLOCK === */
.hero-block {
  position: relative;
  z-index: -1;
  padding: 4.17vw 0 5.21vw 16.2vw;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-left {
  max-width: 50%;
  z-index: 2;
  display: flex;
  align-items: start;
  gap: 1.3vw;
  gap:10px;
}
.logo-block{
  position: relative;
}

.logo {
  width: 8.44vw;
  margin: 27px 0;
}

.logo-bg-img{
  position: absolute;
  width: 27.6vw;
  width: 27.6vw;
  top: -5vw;
  left: -9.8vw;
  z-index: -1;
}

.enterprise {
  font-size: 1.42vw;
  margin-bottom: 10px;
}

.hero-left h1 {
  font-size: 1.9vw;
  font-weight: bold;
  line-height: 1.2em;
  margin: 2.08vw 0 3.39vw;
  color: #050505;
}

.subtitle {
  font-size: 1.1vw;
  color: #333;
  line-height: 1.5;
  margin-top:3.39vw;
}

.subtitle {
    font-size: 1.42vw;
    color: #333;
    margin-top: 3.39vw;
    font-weight: bold;
}

.hero-right img {
  width: 43.27vw;
  border-radius: 10px;
  z-index: -1;
  position: absolute;
  top: -16.83vw;
  right: 0;
}


/* === INTRO (120 років) === */
.intro {
  max-width: 60%;
  margin: 0 auto 7.29vw;
  padding: 0 40px;
  text-align: center;
  z-index: 1;

}
.intro-head{
  display: flex;
  align-items: center;
  justify-content: center;
  gap:32px;
}
.intro h2 {
  font-size: 2.08vw;
  font-weight: bold;
  margin-bottom: 20px;
}

.intro p {
  font-size: 1.1vw;
  line-height: 1.6;
  color: #333;
}

/* --- STATISTICS --- */
.statistics-block{
  background: #fff;
  display: flex;
  flex-flow: column;
  margin: 0 16.2vw;
}
.statistics {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  z-index: 1;
}
.statistics img{
  background-color: #fff;
  padding: 10px;
  border-radius: 50%;
}
.statistics-block img{
  z-index: 0;
  margin-top: -3.91vw;
}
.statistics_title{
    text-align: center;
    margin: 3.65vw auto 5vw;
    font-size: 2.08vw;
}
.stat {
  flex: 1;
  border-radius: 20px 20px;
  color: #fff;
  text-align: center;
  padding: 1.56vw;
}

.stat .number {
  font-size: 3.13vw;
  font-weight: bold;
}
.stat .desc {
  font-size: 1.3vw;
  opacity: 0.9;
  padding-top: 20px;
}

.stat.blue {
  background-color: #e5e7ea;
  color: #30a5a6;
}
.stat.blue .desc, .stat.purple .desc{
  color: #373737;
}

.statistics-block2-inner .statistics2 .stat.green {
  background-color: #30a5a6;
  color: #fff;
}

.statistics .stat.green {
  background-color: #30a5a6;
  color: #fff;
}

.stat.purple {
  background-color: #e5e7ea;
  color: #30a5a6;
}

.statistics-block2-inner .statistics2 .stat.green.blue .desc, .statistics-block2-inner .statistics2 .stat.green.purple .desc {
  color:white;
}



/* --- Блок команда --- */
  .team-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 16.2vw 0 11vw;
    padding: 7.29vw 0;
    position: relative;
  }

  .team-photo {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.doctor-circle {
    width: 39.84vw;
    height: 39.84vw;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  .doctor-circle img {
    width: 100%;
    /*height: 85%;*/
    object-fit: cover;
    margin-bottom: 15px;
  }

  .doctor-name {
    padding: 0 10px;
    font-size: 1.1vw;
    font-weight: bold;
    color: #7a7a7a;
    margin-bottom: 5px;
  }

  .doctor-position {
    font-size: 0.73vw;
    color: #7a7a7a;
  }

  .team-info {
    flex: 2 1 400px;
    text-align: center;
  }

  .team-info h3 {
    margin-bottom: 20px;
    font-size: 2.08vw;
    font-weight: 600;
    color: #373737;
  }
  .team-info .subtitle{
    font-size: 1.42vw;
    font-weight: bold;
  }
  .team-info p {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 1.1vw;
  }
  .team-section .bg-img{
    position: absolute;
    width: 27.08vw;
    right: -4.17vw;
    bottom: -1.56vw;
    z-index: -1;
  }

/* --- INFO CARDS --- */
.info-cards {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 7.29vw;
}

.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  width: 67.71vw;
  gap: 20px;
}


.card h4 {
  font-size: 2.6vw;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  color: #fff;
}

.card p {
  font-size: 1.25vw;
  text-align: center;
  color: #fff;
}

.card img {
  max-width: 45.47vw;
  height: 14.27vw;
  object-fit: cover;
}


/* --- STATISTICS 2 --- */
.statistics-block2{
  background: linear-gradient(180deg, #fff, transparent);
  padding: 7.29vw 0;
}

.statistics-block2-inner{
  display: flex;
  width: 67.6vw;
  height: 35.78vw;
  margin: auto;
  position: relative;
}

.statistics2 {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  gap: 20px;
  z-index: 1;
  width: 26.46vw;
}
.statistics-block2 img{
  z-index: 0;
  width: 44.01vw;
  position: absolute;
  right: 0;
}
.statistics_title2{
    text-align: center;
    margin: 3.65vw auto;
    font-size: 2.08vw;
}
.statistics2 .stat {
  flex: 1;
  border-radius: 20px 20px;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}
.statistics2 .stat {
  background-color: #e5e7ea;
  color: #373737;
}

.statistics2 .number {
  font-size: 2.188vw;
  font-weight: bold;
  text-transform: uppercase;
}
.statistics2 .desc {
  font-size: 1.25vw;
  opacity: 0.9;
  padding-top: 20px;
}



/* --- PARTNERS --- */
.partners {
  background: #fff;
  max-width: 60%;
  margin: 0 auto 7.29vw;
  padding: 5.73vw 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.partners img{
  position: absolute;
  z-index: 0;
  top: -2vw;
  left: 18vw;
  width: 29.17vw;
}

.partners h3 {
  font-size: 2.08vw;
  z-index: 1;
  position: relative;
  /*margin-bottom: 5.33vw;*/
}

.columns {
  display: flex;
  justify-content: center;
  gap: 80px;
  z-index: 1;
  position: relative;
}

.columns ul {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
}

.columns li {
  margin: 10px 0;
  color: #373737;
  text-decoration: underline;
  font-size: 1.1vw;
}

.columns ul li::marker {
  color: #2B9BB1;
}

/* DEPARTAMENT*/
.departments {
  display: flex;
  gap: 2vw;
  margin: 60px 16.2vw; 
}
.page_breadcrumps_block{
  margin: 60px 16.2vw; 
}

.departments-menu {
  flex: 1;
  border-radius: 10px;
  min-width: 270px;
}

.page_breadcrumps_block h2 {
  font-size: 1.5vw;
  margin-bottom: 20px;
  color: #373737;
}
.page_breadcrumps_block p{
  color: #5e778a;
}

.departments-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.departments-menu li {
  margin-bottom: 12px;
  cursor: pointer;
  border-radius: 6px;
  padding: 8px 10px;
}

.departments-menu a {
  text-decoration: none;
  color: #373737;
  font-size: 1.1vw;
  display: block;
  
}

li.active {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.departments-menu li.active a {
  color: #2B9BB1;
}

li.active::after {
    content: ">";
    color:#2B9BB1;
}
.chief {
    display: flex;
    gap: 20px;
    margin-top: 30px;
        /*flex-wrap: wrap;*/
}
.postid-49 .chief {
    flex-wrap: wrap;
}
.wp-block-column.mobile-table-scroll.is-layout-flow.wp-block-column-is-layout-flow {
    overflow: auto;
}
.departments-content .departments-text .chief-text p {
    margin-bottom: 0;
    font-size: 0.8vw;
}
.departments-content .departments-text .chief-text {
  /*margin-top: 45px;*/
}
.departments-content {
  flex: 3;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 50%, transparent);
  padding: 30px;
  /*border-radius: 10px;*/
}
.departments-content .departments-text p, .departments-content .departments-text li {
  line-height: 1.2;
  font-size: 0.9vw;
  margin-top: 0;
}

.departments-content h1 {
  font-size: 1.8vw;
  color: #2B9BB1;
  margin-bottom: 20px;
  margin-top: 0;
}
.departments-content-inner-wrapper {
    display: flex;
    gap: 35px;
}
.departments-gallery {
    width: 49%;
    flex-shrink: 0;
}
.departments-content img {
  max-width: 100%;
  /*border-radius: 10px;*/
  margin-bottom: 20px;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}
.chief-foto {
    flex-shrink: 0;
}

.departments-content p, .departments-content li {
  font-size: 1.1vw;
  line-height: 1.6;
  margin-bottom: 15px;
}
.departments-content li {
  line-height: 1.2;
  margin-bottom: 0;
}

.single-polyclinics .departments-content h1, .single-paraclinicals .departments-content h1, .single-inpatients .departments-content h1 {
    font-size: 1.4vw;
}
/* DEPARTAMENT*/

.partners li a {
    color: #373737;
}
.partners ul {
  width: 100%;
      display: flex;
    flex-wrap: wrap;
        justify-content: center;
}
.partners li {
    width: 50%;
    box-sizing: border-box;
}
.partners li:before {
    /*content: " ";*/
    width: 0.63vw;
    height: 0.63vw;
    display: block;
    position: absolute;
    border-radius: 50%;
    background-color: #2B9BB1;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.partners li {
    font-size: 1.15vw;
    text-decoration: underline;
    line-height: 1.4;
    -moz-transform: matrix( 0.98513358159826,0,0,0.98513358159826,0,0);
    -webkit-transform: matrix(0.98513358159826, 0, 0, 0.98513358159826, 0, 0);
    -ms-transform: matrix( 0.98513358159826,0,0,0.98513358159826,0,0);
    /*padding-left: 2.08vw;*/
    position: relative;
}
.partners ul {
    list-style: none;
}
.partners h3 {
  font-size: 2.5vw;
  color: rgb(1, 1, 1);
  font-weight: bold;
  line-height: 1.2;
  margin-top: 0;
  text-align: center;
}

footer{
  background: #ced4da;
  overflow: hidden;
}

.footer-container {
  width: 67.71vw;
  margin: 0 auto ; /* 20px */
  display: flex;
  gap: 3.75vw; /* 72px */
  padding-bottom: 5.73vw; /* 110px */
  padding-top: 3vw;
  justify-content: space-between;
}

.footer-order {
  background-color: rgb(255, 255, 255);
  padding: 1.09vw 2.14vw; /* 21px 41px */
  font-size: 1.04vw; /* 20px */
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  color: #373737;
}
.footer-order a{
  color: #373737;
}


.copyright-block {
  display: flex;
  justify-content: center;
  gap: 1.72vw; /* 33px */
}

.footer-soc {
  margin-top: 1.77vw; /* 34px */
}
.footer-soc a{
  text-decoration: none;
}

.copyright {
  padding-top: 1.56vw; /* 30px */
  font-size: 0.94vw;
  color: #373737;
  line-height: 1.2;
  text-align: left;
  z-index: 1;
}

.license {
  font-size: 0.94vw;
  color: #373737;
  line-height: 1.2;
  text-align: left;
  margin-top: 1.82vw; /* 35px */
  z-index: 1;
  position: relative;
}
.license-mob{
  display: none;
}
.footer-logo img{
  width: 7.6vw;
  z-index: 1;
  position: relative;
}
.footer-logo{
  position: relative;
}
.footer-logo::before {
  content: "";
  width: 15.68vw;
  height: 15.68vw;
  background: #e5e7ea;
  position: absolute;
  z-index: 0;
  left: -4vw;
  top: -4vw;
  border-radius: 50%;
}

.footer-soc img{
  width: 2.19vw;
  height: 2.19vw;
}

#footer-menu li a {
  font-size: 1.04vw; /* 20px */
  color: #373737;
  line-height: 2;
  text-align: left;
  text-decoration: none;
}

ul#footer-menu {
  list-style: none;
  padding: 0;
  margin-top: 1.04vw; /* 20px */
}

ul.footer-contacts {
  list-style: none;
  padding: 0;
  margin-top: 1.04vw; /* 20px */
  margin-bottom: 1.3vw;
}

.footer-contacts li {
  font-size: 1.04vw; /* 20px */
  color: #373737;
  line-height: 1em;
  text-align: left;
}

.footer-contacts li a {
  color: #373737;
  text-decoration: none;
}

.footer-info {
  font-size: 1.04vw; /* 20px */
  background-color: rgb(255, 255, 255);
  padding: 1.09vw 2.14vw; /* 21px 41px */
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  color: #373737;
  text-decoration: none;
  margin-top: 0.52vw; /* 10px */
}

.footer-customer-info {
  font-size: 1.04vw; /* 20px */
  background-color: rgb(255, 255, 255);
  padding: 1.09vw 2.14vw; /* 21px 41px */
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  color: #373737;
  text-decoration: none;
  margin-top: 1.3vw; /* 25px */
  display: block;
  width: 9.64vw; /* 185px */
}


/* Styles for dialog window */
#endo-info {
  display: block;
  background: white;
  padding: 20px 30px;
  text-align: left;
  max-width: 500px;
  margin: 40px auto;
  position: relative;
  font-size: 18px;
  color: #373737;
  line-height: 1.2;
  text-align: left;
  
}

#customer-info {
  background: white;
  padding: 20px 30px;
  text-align: left;
  max-width: 500px;
  margin: 40px auto;
  position: relative;
  font-size: 18px;
  color: #373737;
  line-height: 1.2;
  text-align: left;
  
}


/**
 * Fade-zoom animation for first dialog
 */

/* start state */
.my-mfp-zoom-in .zoom-anim-dialog {
  opacity: 0;

  -webkit-transition: all 0.2s ease-in-out; 
  -moz-transition: all 0.2s ease-in-out; 
  -o-transition: all 0.2s ease-in-out; 
  transition: all 0.2s ease-in-out; 



  -webkit-transform: scale(0.8); 
  -moz-transform: scale(0.8); 
  -ms-transform: scale(0.8); 
  -o-transform: scale(0.8); 
  transform: scale(0.8); 
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
  opacity: 1;

  -webkit-transform: scale(1); 
  -moz-transform: scale(1); 
  -ms-transform: scale(1); 
  -o-transform: scale(1); 
  transform: scale(1); 
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
  -webkit-transform: scale(0.8); 
  -moz-transform: scale(0.8); 
  -ms-transform: scale(0.8); 
  -o-transform: scale(0.8); 
  transform: scale(0.8); 

  opacity: 0;
}

/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out; 
  -moz-transition: opacity 0.3s ease-out; 
  -o-transition: opacity 0.3s ease-out; 
  transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}
/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}

.departments {
    position: relative;
    z-index: 1;
}

@media(max-width:1080px){
  .hero-block::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(180deg, #708a9fcc 0%, transparent 50%);
    left: 0;
    top: 0;
  }
  .top-bar{
    padding: 0 5.09vw;
    height:16.39vw;
  }
  .address {
    font-size: 3vw;
    
  }
  .contacts{
    flex-flow: column;
    gap: 0;
    font-size: 3vw;
  }


  .hero-left{
    max-width: 100%;
    gap: 4.3vw;
  }
  .enterprise {
    font-size: 3.42vw;
  }
  .subtitle {
    font-size: 2.1vw;
  }
  .hero-left h1{
    font-size: 4.19vw;
  }
  .hero-right img{
    display: none;
  }
  .logo{
    width: 18.52vw;
  }
  img.logo-bg-img {
    width: 54vw;
    left: -18vw;
  }
  .hero-block {
      padding: 4.17vw 5.09vw 5.21vw 5.09vw;
  }


  .statistics_title {
    font-size: 4.08vw;
  }

  .statistics-block {
    margin: inherit;
    padding: 5.56vw 6.67vw 16.2vw 11.67vw;
  }
  .statistics{
    flex-flow: column;
  }
  .stat.green{
    background-color: #e5e7ea;
    color: #30a5a6;
  }
  .stat.green .desc{
    color: #373737;
    padding-right: 2vw;
  }

  .info-cards{
    display: flex;
  }
  .card {
    flex-flow: column-reverse;
    border-radius: 0 0 2.78vw 2.78vw;
  }
  .card-text {
    width: 100%;
    background: #30a5a6;
    padding: 4.17vw 0;
    border-radius: 2.78vw;
  }

  .card{
    gap: 0;
    width: 86.76vw;
  }
  .card p {
    font-size: 3.44vw;
    line-height: 1,3em;
    margin: 0;
  }
  .card h4 {
    font-size: 5.6vw;
    margin-top: 0;
  }
  .card img {
    width: 100%;
    max-width:100%;;
    height: 41.2vw;
    object-fit: cover;
    margin-bottom: -2vw;
  }
  
  .doctor-circle img {
    margin-bottom: 0.93vw;
  }
  .team-section .bg-img {
    width: 46.3vw;
    right: -8.17vw;
    bottom: 5.44vw;
  }

  .stat{
    display: flex;
    align-items: center;
    gap: 6.48vw;
  }
  .stat .number{
    text-align: left;
    font-size: 7.13vw;
  }
  .stat .desc{
    text-align: left;
    font-size: 3.3vw;
  }
  .stat img{
    width: 18.52vw;
    margin-top: inherit;
    margin-left: -12vw;
  }
  .hidden_mob{
    display: none;
  }


  .team-info h3 {
    font-size: 4.08vw;
  }
  .team-info .subtitle {
    font-size: 3.42vw;
    line-height: 1em;
    width: 70vw;
    margin: auto;
  }
  .team-info p {
    font-size: 3.3vw;
  }

  .doctor-circle{ 
    width: 70.74vw;
    height: 70.74vw;;
  }
  .doctor-name{
    font-size: 2.1vw;
  }
  .doctor-position {
    font-size: 1.73vw;
  }
  
  .team-section{
    flex-flow: column;
    overflow: hidden;
    margin: auto;
  }
  .team-photo, .team-info{
    flex: auto;
  }

  .statistics-block2{
    display: none;
  }
  .partners{
    max-width: 100%;
    margin: 0;
    padding: 7.29vw 5.09vw;
  }
  .partners img{
    right: -14vw;
    left: auto;
    bottom: -16vw;
    top: auto;
    width: 41vw;
  }
  .columns{
    flex-flow: column;
    gap: 0;
    align-items: center;
    padding-bottom: 30px;
  }
  .partners ul{
    margin: 0;
    /*width: 85%;*/
  }

  .intro h2{
    margin: 0;
    font-size: 4.5vw;
  }
  .intro-head img{
    width: 13.43vw;
  }
  .intro-head {
    gap: 2vw;
  }

  .partners h3 {
    font-size: 4.5vw;
  }
  .partners li {
    font-size: 3.15vw;
    margin: 0;
            width: 100%
  }
  .partners li:before{
    width: 1vw;
    height: 1vw;
  }
  .intro p {
    font-size: 3.1vw;
    line-height: 1.2em;
 }
 .intro {
    max-width: 100%;
    margin: auto;
    padding: 0 5.09vw;
    margin-bottom: 7.29vw;
  }

  ul#footer-menu{
    display: none;
  }
  .footer-logo::before {
    width: 46.69vw;
    height: 46.69vw;
    top: -10vw;
    left: -8.5vw;
  }
  .footer-soc img  {
    width: 7.41vw;
    height: 7.41vw;
  }
  .top-bar .socials{
    display: none;
  }
  .footer-soc{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.85vw;
    position: relative;
  }
  .copyright-block{
    gap: 6vw;
  }
  .license{
    display: none;
  }
  .license-mob{
    display: block;
    font-size: 3.2vw;
    color: #373737;
    line-height: 1.2;
    text-align: center;
  }
  .footer-column:nth-child(2) {
    order: 3;
    gap: 3.75vw;
    display: flex;
    flex-flow: column-reverse;
  }
  .footer-column:nth-child(3) {
    order: 2;
  }
  .copyright{
    font-size: 3.5vw;
  }
  .license, #footer-menu li, .footer-info, .footer-customer-info, .footer-contacts li, .footer-order{
    font-size: 4vw;
  }
  .footer-order, a.popup-with-zoom-anim {
    width: 47.5vw;
    margin: auto;
    padding: 4vw 0;
}
ul.footer-contacts{
    display: flex;
    flex-flow: column;
    align-items: center;
}
ul.footer-contacts li{
  font-size: 3.2vw !important;
  line-height: 1.3em;
}

.footer-container{
  flex-flow: column;
  width: 100vw;
  margin: 0;
}


}


@media (max-width:1024px) {
  .burger {
    display: flex;
    position: absolute;
    top: 5.51vw;
    right: 5vw;
    z-index: 1001;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 16.3vw;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: #fff;
  }
  .main-nav.open {
    display: block;
  }
  .menu{
    flex-flow: column;
    padding: 0;
  }
  .menu li{
    width: 100%;
    text-align: center;
    padding: 0;
  }
  .sub-menu li{
    padding: 0;
  }
  ul.sub-menu li {
    background: aliceblue;
  }
  .menu li:nth-child(1) a{
    border-top: 1px solid #2b9bb140;
  }
  .menu a, .main-nav .menu > li > .sub-menu > li > a {
    font-size: 4.15vw;
    color: #373737;
    text-align: center;
    padding: 2vw 0;
    width: 100%;
  }
  .menu a{
    border-bottom: 1px solid #2b9bb140;
  }
  .sub-menu a, .sub-menu li:nth-child(1) a{
    border-bottom: 0;
  };
  .footer-container{
    margin: 5vw;
    margin-bottom: 0;
    width: auto;
    flex-flow: column;
  }
  .footer-logo img{
    width: 25.64vw;
    margin-left: 3vw;
  }
  
  a.popup-with-zoom-anim {
    display: block;
    box-sizing: border-box;
  }
  .main-nav .menu > li.open > .sub-menu{
    position: static;
    padding: 0;
    box-shadow: none;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .main-nav .menu > li > .sub-menu::before{
    display: none;
  }
  .main-nav .menu > li:hover > .sub-menu{
    opacity: 0;
    visibility: hidden;
  }
}
.departments-menu a {
  /*text-transform: lowercase;*/
}
.departments-menu a:first-letter {
    text-transform: uppercase;
}
.departments-content h1 {
  text-transform: lowercase;
}
.departments-content h1:first-letter {
    text-transform: uppercase;
}
.page_breadcrumps_block a, .page_breadcrumps_block a:visited, .page_breadcrumps_block a:active {
    color: #5e778a;
}
.departments {
    min-height: calc(100vh - 410px);
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
}
.departments-contact-title {
    width: 49%;
    border-radius: 20px;
    background-color: rgb(48, 165, 166);
    height: 96px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
    text-transform: uppercase;
    flex-shrink: 0;
}
.departments-contact {
    display: flex;
    margin-top: 60px;
    background: linear-gradient(180deg, #fff 50%, transparent);
    padding: 30px;
    gap:35px;
}
.departments-contact-phones-wrapper {
    display: flex;
    gap: 30px;
}
.departments-contact-phones p {
    margin: 0;
    line-height: 1.4;
}
.departments-contact-phones {
    font-size: 0.9vw;
}
.departments-contact-phones-title {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.departments-contact-place-wrapper {
    display: flex;
    gap: 30px;
}
.departments-contact-place p {
    margin: 0;
    line-height: 1.4;
}
.departments-contact-place {
    font-size: 0.9vw;
}
.departments-contact-place-title {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.departments-contact-email-wrapper {
    display: flex;
    gap: 30px;
}
.departments-contact-email p {
    margin: 0;
    line-height: 1.4;
}
.departments-contact-email {
    font-size: 0.9vw;
}
.departments-contact-email-title {
    text-transform: uppercase;
    margin-bottom: 20px;
}
.single-polyclinics .tablepress>:where(thead,tfoot)>tr *
 {
    background-color: #6bbabb;
    font-size: 18px;
    line-height: 28px;
    color: #ffffff;
    font-weight: bold;
    font-family: "DniproSity";
}
.single-polyclinics .tablepress>.row-hover>tr:where(:not(.dtrg-group)) * {
    background: transparent;
}
.single-polyclinics td.column-3 {
    text-align: right;
    padding-right: 40px;
}
.departments-contacts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.statistics2 .stat {
  cursor: pointer;
}
.departments .swiper-backface-hidden .swiper-slide {
  height: auto;
}
.departments .swiper-button-next, .departments .swiper-button-prev {
    color: #2B9BB1 !important;
}
.departments .swiper-backface-hidden .swiper-slide img {
    height: 100% !important;
    object-fit: cover;
}
.swiper.gallery-swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    max-height: 600px;
}
.departments .swiper-pagination-bullet {
  background: white!important;
  opacity: 1!important;
}
.departments .swiper-pagination-bullet-active {
  background: #2B9BB1!important;
}
figure.wp-block-gallery.has-nested-images {
    display: flex;
    gap: 20px;
}
.swiper-button-next:after, .swiper-button-prev:after {
    /*color: white;*/
}
.home .doctor-circle {
    position: relative;
}
.home .doctor-circle-bottom {
    position: absolute;
    bottom: 0;
    height: 80px;
    background: white;
    width: 100%;
}
.home .doctor-circle-bottom {
    position: absolute;
    bottom: 0;
    height: 110px;
    background: white;
    width: 100%;
    display: flex
;
    flex-direction: column;
    justify-content: center;
    /*padding-bottom: 15px;*/
    box-sizing: border-box;
}
.poslugy td.column-1, .poslugy th.column-1 {
    text-align: center;
}
.reabilitation-text svg {
    margin: 0 5px;
}
#customer-info li a {
    color: black;
}
#customer-info li {
    list-style: none;
}
.departments-contacts svg {
  width: 51px;
  height: 43px;
}
strong.th-row {
    font-size: 20px;
}
@media (max-width:1023px) {
  .departments-content-inner-wrapper {
    flex-direction: column;
  }
  .chief {
    gap:0;
  }
  .departments-contact-phones-title {
    margin-bottom: 10px;
  }
  .departments-gallery {
    width: 100%;
    order: 2;
  }
  .chief {
    flex-direction: column;
  }
  .departments-contacts svg {
    width: 30px;
    flex-shrink: 0;
        height: 100%;
  }
  .chief-foto img {
    width: 100%;
    margin: 0;
  }
  .departments-contact-title {
    width: 100%;
    font-size: 14px;
    height: 75px;
  }
  .departments-contact-phones, .departments-contact-email, .departments-contact-place {
    font-size: 14px;
  }
  .departments-contact-phones-wrapper, .departments-contact-place-wrapper, .departments-contact-email-wrapper {
    gap:15px;
  }
  .departments-content .departments-text .chief-text {
    margin: 0;
    text-align: center;
    margin-top: 10px;
  }
  .departments-contact {
    flex-direction: column;
  }
  .departments-content .departments-text .chief-text p {
    font-size: 14px;
  }
  .departments-content .departments-text p, .departments-content .departments-text li {
    font-size: 14px;
  }
	ul.footer-contacts li img {
	    display: none;
	}
	ul.footer-contacts li span {
	    text-align: center;
	}
  .swiper-button-next:after, .swiper-button-prev:after {
    font-size: 26px;
    /*color: white;*/
  }
  .main-nav .menu > li > .sub-menu > li:nth-child(1) > a {
    width: 100%;
  }
  .page_breadcrumps_block {
    margin: 20px;
  }
  
  .page_breadcrumps_block h2 {
    font-size: 27px;
  }
  .departments {
    margin: 20px;
    flex-direction: column;
  }
  .departments-menu ul {
    display: flex;
    flex-wrap: wrap;
  }
  .departments-menu li {
    width: calc(50% - 20px);
  }
  .departments-menu a {
    font-size: 16px;
  }
  li.active::after {
    content: none;
  }
  .departments-content {
    padding: 20px;
  }
  .departments-content h1 {
    font-size: 25px;
  }
  .departments-content p, .departments-content li {
    font-size: 16px;
  }
}