/* v1.0.135 — comfortable mobile spacing for the team carousel. */
@media screen and (max-width: 568px) {
  html body.glavnaya #mod-team .tp-team-slider-wrap {
    padding-inline: 20px !important;
    overflow: visible !important;
  }

  html body.glavnaya #mod-team .slider.owl-carousel {
    padding-top: 2rem !important;
  }

  html body.glavnaya #mod-team .owl-stage-outer {
    border-radius: 22px;
    overflow: hidden !important;
  }

  html body.glavnaya #mod-team .owl-item {
    box-sizing: border-box !important;
  }

  html body.glavnaya #mod-team .people_card {
    width: 100% !important;
    box-sizing: border-box !important;
    padding-inline: 4px !important;
  }

  html body.glavnaya #mod-team .people_photo,
  html body.glavnaya #mod-team .pic-hover,
  html body.glavnaya #mod-team .pic-unhover {
    width: 100% !important;
    max-width: 100% !important;
  }

  html body.glavnaya #mod-team .pic-hover,
  html body.glavnaya #mod-team .pic-unhover {
    height: auto !important;
    aspect-ratio: 185 / 260;
    overflow: hidden;
    border-radius: 22px !important;
  }

  html body.glavnaya #mod-team .people_photo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  html body.glavnaya #mod-team .decription-cont {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 5px;
    box-sizing: border-box;
  }

  html body.glavnaya #mod-team .people_name {
    min-height: 42px;
    margin-top: 18px !important;
    line-height: 1.25;
  }

  html body.glavnaya #mod-team .card-description {
    line-height: 1.3;
  }

  html body.glavnaya #mod-team .tp-team-arrows {
    left: 8px !important;
    right: 8px !important;
    top: 150px !important;
  }

  html body.glavnaya #mod-team .tp-team-arrows button {
    width: 42px !important;
    height: 42px !important;
    box-shadow: 0 5px 16px rgba(45, 24, 130, .22) !important;
  }
}
