/*

.blog-slider,

.media-slider,

.specialists-slider{

	overflow: visible;

}

*/
.posts-swiper {
  overflow: hidden; }

.posts-swiper-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  overflow: hidden; }
  .posts-swiper-header:after {
    content: '';
    float: right;
    display: inline-block;
    height: 30px;
    width: 100px;
    flex-grow: 0;
    flex-shrink: 0; }
  .posts-swiper-header .swiper-control {
    position: absolute;
    right: -18px; }

.posts-swiper-item {
  display: block;
  text-decoration: none;
  color: inherit; }
  .posts-swiper-item__image-wrap {
    position: relative;
    padding-bottom: 70%;padding-bottom: 100%;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden; }
    .posts-swiper-item__image-wrap:before {
      content: '';
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background: linear-gradient(180deg, rgba(46, 48, 99, 0.3) 3.74%, rgba(255, 255, 255, 0) 42.37%, rgba(46, 48, 99, 0.3) 100.07%);
      z-index: 1; }
    .posts-swiper-item__image-wrap_video:after {
      content: '';
      display: block;
      width: 68px;
      height: 68px;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      background: url(../img/play.svg) center center no-repeat;
      background-size: contain;
      z-index: 1; }
    .posts-swiper-item__image-wrap_video img {
      transform: scale(1.1); }
  .posts-swiper-item__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s; }
  .posts-swiper-item:hover .posts-swiper-item__bg {
    transform: scale(1.05); }
  .posts-swiper-item__icon {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 30%;
    height: 30%;
    object-fit: contain;
    z-index: 2; }
  .posts-swiper-item__caption {
    margin-top: 20px;
    display: flex;
    justify-content: space-between; }
  .posts-swiper-item__title {
   /* overflow: hidden;
    white-space: nowrap;*/
    text-overflow: ellipsis;
    font-weight: bold; }
  .posts-swiper-item__date {
    margin-left: 2em; }

.specialist-card {
  padding-bottom: 162%;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--border-radius);
  overflow: hidden; }
  .specialist-card_gallery {
    padding-bottom: 105%; }
  .specialist-card:not(:first-child) {
    margin-top: 30px; }
  .specialist-card__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: 0.5s; }
  .specialist-card__caption {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    background: #fff;
    display: block;
    padding: 20px 0 25px 0;
    z-index: 2;
    transition: 0.3s;
    transform: translate(0, calc(100% - 55px)); }
  .specialist-card__name {
    display: block;
    margin-bottom: 0.3em; }
  .specialist-card__position {
    display: block;
    font-size: 20px;
    position: relative;
    padding-right: 90px; }
    .specialist-card__position:after {
      transition: 0.3s;
      content: '';
      display: block;
      position: absolute;
      right: 0;
      top: 0;
      width: 40px;
      height: 30px;
      flex-grow: 0;
      flex-shrink: 0;
      background-position: center;
      background-repeat: no-repeat;
      background-size: 70%;
      cursor: pointer;
      background-image: url(../img/swiper/right.svg);
      right: 90px;
      opacity: 0; }
  .specialist-card:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.3s;
    background: linear-gradient(180deg, rgba(105, 107, 173, 0) 60.41%, #2E3063 100.07%);
    z-index: 1; }
  .specialist-card:hover:before {
    opacity: 1; }
  .specialist-card:hover .specialist-card__bg {
    transform: scale(1.05); }
  .specialist-card:hover .specialist-card__caption {
    background: none;
    transform: none;
    padding-left: 20px;
    color: #fff; }
  .specialist-card:hover .specialist-card__name {
    font-weight: bold; }
  .specialist-card:hover .specialist-card__position:after {
    filter: invert(1);
    right: 40px;
    opacity: 1; }

.swiper-slide_single {
  width: calc(25% - 20px); }

.swiper-slide_double {
  width: calc(50% - 20px); }

.certificates-card {
  display: block;
  width: 100%;
  height: 100%; }
  .certificates-card__bg {
    width: 100%;
    height: 100%;
    object-fit: cover; }

@media (max-width: 1919px) {
  .specialist-card__position {
    font-size: 16px; } }

@media (max-width: 767px) {
  .specialists-slider {
    overflow: hidden; }
    .specialists-slider .swiper-container {
      overflow: visible;
      max-width: 80%; } }

@media (max-width: 575px) {
  .posts-swiper-header .swiper-control {
    right: -25px; }
  .specialists-slider .swiper-container {
    max-width: calc(100% - 20px); }
  .specialist-card_gallery {
    padding-bottom: 140%; }
  .specialist-card__caption {
    transform: translate(0, calc(100% - 50px)); } }
