/*$_xxxl: 1600px;*/
/*@media (max-width: $_xxxl) {}*/
.item-portfolio {
  /*.do-posle{position: relative; display: inline-block; border-radius: $radius; overflow: hidden; height: 250px; width: 100%; margin: auto;
    img{width: 100%; height: 100%; object-fit: cover;}
    .posle{width: 80%; height: 100%; border-left: 2px solid white; background-position: right center; right: 0; background-size: auto; position: absolute; top: 0; z-index: 9;
      &:before{content: ""; -webkit-mask: url(https://kameyadent.ru/wp-content/themes/kamea/blocks/_grid/css/../../../assets/svg/chevron_double.svg) no-repeat center/contain; transform: rotate(180deg); position: absolute; left: -19px; bottom:calc(50% - 9px); z-index: 99; width: 37px; height: 30px; display: block; background-color: white;}
      &:after{content: ""; position: absolute; left: -36px; border-radius: 100%; bottom: calc(50% - 27.5px); z-index: 98; width: 70px; height: 70px; display: block; background: $color_light2; box-shadow: 0 0 0 .5rem rgba(154, 180, 204, 0.25);}
    }
    &:not(:hover) .posle{transition: width 1s 1s;}
  }*/
}
.item-portfolio .slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 250px;
}
.item-portfolio .slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.item-portfolio .slider .before {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}
.item-portfolio .slider .after {
  height: 100%;
  z-index: 1;
}
.item-portfolio .slider .change {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 10;
  width: 3px;
  height: 100%;
  background-color: white;
}
.item-portfolio .slider .change:before {
  content: "";
  -webkit-mask: url(https://kameyadent.ru/wp-content/themes/kamea/blocks/_grid/css/../../../assets/svg/chevron_double.svg) no-repeat center/contain;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 99;
  width: 30px;
  height: 30px;
  display: block;
  background-color: white;
  transform: translate(-50%, -50%);
}
.item-portfolio .slider .change:after {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 100%;
  top: 50%;
  z-index: 98;
  width: 55px;
  height: 55px;
  display: block;
  background: #A5B7B6;
  transform: translate(-50%, -50%);
}
.item-portfolio .wrap {
  background-color: white;
  padding: 2.5rem 1.25rem 1.25rem 1.25rem;
  margin-top: -1.5rem;
  border-radius: 5px;
}
.item-portfolio .wrap .url-yandex {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}
.item-portfolio .wrap .url-yandex a {
  background-color: #F1F1F1;
  padding: 0.25rem 0.5rem 0.25rem 1.5rem;
  position: relative;
  font-size: 14px;
  border-radius: 2px;
  color: #333333;
}
.item-portfolio .wrap .url-yandex a:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 5px;
  top: 50%;
  background: url(https://kameyadent.ru/wp-content/themes/kamea/blocks/_grid/css/../../../assets/img/yandex.png) no-repeat center/contain;
  transform: translate(0, -50%);
}
.item-portfolio .wrap .url-yandex .stars {
  margin-left: auto;
}
.item-portfolio .wrap .patient span, .item-portfolio .wrap .result span {
  font-size: 15px;
  color: #252525;
  opacity: 0.6;
}
.item-portfolio .wrap .patient {
  margin-top: 1.25rem;
}
.item-portfolio .wrap .patient .name {
  color: #333333;
  font-weight: 500;
}
.item-portfolio .wrap .doctor {
  display: flex;
  column-gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  border-top: solid 1px rgba(51, 51, 51, 0.4);
  padding-top: 1rem;
  border-bottom: solid 1px rgba(51, 51, 51, 0.4);
  padding-bottom: 1rem;
}
.item-portfolio .wrap .doctor .img {
  min-width: 60px;
  height: 65px;
  background-color: #F1F1F1;
  border-radius: 5px;
  width: 60px;
}
.item-portfolio .wrap .doctor .img img {
  object-position: top;
}
.item-portfolio .wrap .doctor .text .btn {
  font-weight: 600;
  text-transform: unset;
  font-size: 17px;
  margin-bottom: 5px;
  margin-top: 5px;
  text-align: start;
}
.item-portfolio .wrap .doctor .text .special, .item-portfolio .wrap .doctor .text .text_mini {
  font-size: 14px;
  color: #333333;
  opacity: 0.6;
}
.item-portfolio .wrap .result {
  display: flex;
  flex-direction: column;
  color: #333333;
  font-weight: 500;
  margin-bottom: 1rem;
}
.item-portfolio .wrap .result span {
  margin-bottom: 0.5rem;
  display: block;
}
.item-portfolio .detail {
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: #555555;
  cursor: pointer;
  width: fit-content;
  text-decoration: underline 1px;
  transition: all 0.2s 0s;
  display: block;
}
.item-portfolio .detail:hover {
  text-decoration: underline 1.5px dotted;
  scale: 1.01;
  transition: all 0.2s 0s;
}
@media (max-width: 1440px) {
  .item-portfolio .wrap .url-yandex {
    gap: 0.5rem;
  }
  .item-portfolio .wrap .url-yandex a {
    font-size: 12px;
  }
  .item-portfolio .wrap .url-yandex .stars {
    width: 85px;
    height: 20px;
    -webkit-mask-size: 17px 30px;
  }
}
@media (max-width: 992px) {
  .item-portfolio .wrap {
    padding: 2.5rem 1rem 1rem 1rem;
  }
  .item-portfolio .wrap .url-yandex .stars {
    width: 66px;
    height: 15px;
    -webkit-mask-size: 13px 20px;
  }
  .item-portfolio .wrap .result {
    font-size: 16px;
  }
  .item-portfolio .wrap .doctor {
    align-items: center;
  }
  .item-portfolio .wrap .doctor .text .btn {
    width: fit-content;
  }
}
@media (max-width: 768px) {
  .item-portfolio .wrap .url-yandex {
    justify-content: space-between;
  }
  .item-portfolio .wrap .url-yandex .stars {
    width: 100px;
    height: 20px;
    -webkit-mask-size: 20px 30px;
  }
  .item-portfolio .wrap .url-yandex a {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  .item-portfolio .wrap .url-yandex .stars {
    width: 88px;
    -webkit-mask-size: 18px 19px;
  }
  .item-portfolio .wrap .url-yandex a {
    font-size: 12px;
  }
  .item-portfolio .wrap .patient span {
    font-size: 13px;
  }
  .item-portfolio .wrap .patient .name {
    font-size: 16px;
  }
  .item-portfolio .wrap .result span {
    font-size: 13px;
  }
  .item-portfolio .wrap .doctor .img {
    min-width: 50px;
    height: 60px;
    width: 50px;
  }
  .item-portfolio .wrap .doctor .text .btn {
    font-size: 14px;
  }
  .item-portfolio .wrap .doctor .text .special, .item-portfolio .wrap .doctor .text .text_mini {
    font-size: 13px;
  }
  .item-portfolio .wrap .result {
    font-size: 14px;
  }
  .item-portfolio .wrap .detail {
    font-size: 14px;
  }
  .item-portfolio .do-posle .posle:before, .item-portfolio .do-posle .posle:after {
    scale: 0.75;
  }
}
@media (max-width: 360px) {
  .item-portfolio .wrap .patient {
    margin-top: 0.75rem;
  }
  .item-portfolio .wrap .doctor {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
  }
  .item-portfolio .wrap .url-yandex a {
    font-size: 10px;
  }
  .item-portfolio .wrap .url-yandex .stars {
    -webkit-mask-size: 17px 19px;
  }
  .item-portfolio .wrap .doctor .text .btn {
    padding: 0;
  }
}/*$_xxxl: 1600px;*/
/*@media (max-width: $_xxxl) {}*/
.item-team {
  position: relative;
}
.item-team .img {
  width: 525px;
  height: 750px;
}
.item-team .info {
  position: absolute;
  bottom: 5rem;
  left: 25%;
  background-color: white;
  padding: 1rem;
  border-radius: 5px;
  max-width: 282px;
}
.item-team .info .params {
  background-color: #555E60;
  padding: 0.5rem;
  border-radius: 5px;
  margin-bottom: 0.5rem;
  margin-top: -2rem;
  color: white;
  max-width: 110px;
}
.item-team .info .params .year {
  font-weight: 700;
  font-size: 20px;
}
.item-team .info .params .year span {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.55;
}
.item-team .info .name {
  font-size: 22px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 7px;
}
.item-team .info .position {
  font-size: 16px;
  color: #333333;
  opacity: 0.6;
}
@media (max-width: 1440px) {
  .item-team .img { /*width: 100%; height: 500px*/
    width: 445px;
    height: 620px;
  }
}
@media (max-width: 768px) {
  .item-team .img {
    height: 100%;
  }
  .item-team .info {
    z-index: 2;
  }
}/*$_xxxl: 1600px;*/
/*@media (max-width: $_xxxl) {}*/
.item-review-text {
  display: flex;
  flex-direction: column;
  background-color: #F1F1F1;
  border-radius: 5px;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  z-index: 1;
}
.item-review-text:before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: 0;
  bottom: -1rem;
  background: url(https://kameyadent.ru/wp-content/themes/kamea/blocks/_grid/css/../../../assets/svg/tooth5.svg) no-repeat center/contain;
  z-index: -1;
}
.item-review-text .top {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}
.item-review-text .top .img_resource {
  margin-left: auto;
  position: relative;
  width: 140px;
  height: 40px;
  transition: all 0.3s 0s;
}
.item-review-text .top .img_resource:hover {
  scale: 1.02;
  transition: all 0.3s 0s;
}
.item-review-text .top .img {
  width: 70px;
  height: 70px;
}
.item-review-text .top .img img {
  border-radius: 5px;
}
.item-review-text .top .name {
  font-size: 24px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 5px;
}
.item-review-text .top .date {
  font-weight: 500;
}
.item-review-text .content {
  margin-top: 4rem;
  margin-bottom: 2rem;
  position: relative;
}
.item-review-text .content:before {
  content: "";
  position: absolute;
  width: 25px;
  height: 40px;
  left: 0;
  top: -45px;
  background: url(https://kameyadent.ru/wp-content/themes/kamea/blocks/_grid/css/../../../assets/svg/quote.svg) no-repeat center/contain;
}
.item-review-text .details {
  padding: 1.25rem 2.5rem;
  cursor: pointer;
}
.item-review-text .window {
  margin-top: auto;
}
@media (max-width: 1440px) {
  .item-review-text {
    padding: 1.5rem;
  }
  .item-review-text .content {
    margin-top: 3rem;
  }
  .item-review-text .top {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .item-review-text .top .img_resource {
    margin-left: unset;
  }
  .item-review-text .top .img {
    min-width: 70px;
  }
}
@media (max-width: 1200px) {
  .item-review-text:before {
    width: 260px;
    height: 260px;
  }
}
@media (max-width: 992px) {
  .item-review-text .top .img_resource {
    margin-left: auto;
    width: 100px;
    height: 40px;
  }
  .item-review-text .top .name {
    font-size: 22px;
  }
  .item-review-text .stretched-link {
    display: block;
    height: 100%;
    margin-bottom: 1rem;
  }
}
@media (max-width: 768px) {
  .item-review-text:before {
    content: unset;
  }
  .item-review-text .content {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
  }
  .item-review-text .mobile_resource {
    margin-bottom: 1rem;
    position: relative;
  }
}
@media (max-width: 576px) {
  .item-review-text {
    padding: 1rem;
  }
  .item-review-text .top {
    flex-wrap: unset;
  }
  .item-review-text .top .img {
    min-width: 50px;
    width: 50px;
    height: 50px;
  }
  .item-review-text .top .name {
    font-size: 18px;
  }
  .item-review-text .top .date {
    font-size: 14px;
  }
  .item-review-text .content {
    font-size: 14px;
  }
  .item-review-text .mobile_resource img {
    height: 25px;
  }
  .item-review-text .btn {
    width: 100%;
  }
}