section.news-cards .card{
  border:none;
  background: transparent;
  border-radius:0;
  box-shadow: rgba(0, 0, 0, 0.42) 0px 0px 7px 0;
  max-height: 97%;
  /*max-width: 32%;*/
  height: auto;
 transition: margin 0.5s ease;
}

@supports (-webkit-touch-callout: none) {
  .news-cards .swiper-wrapper {
    overflow: hidden;
  }
}

/* Для Firefox */
@-moz-document url-prefix() {
  .news-cards .swiper-wrapper {
    overflow: hidden;
  }
}
.news-cards .swiper {
  max-width: 1080px;
  padding-bottom: 15px;
  padding-top: 15px;
padding-right: 15px;
   /*min-height: 33em;
  /*height: 57em;*/
}
@media (min-width: 1080px) {
.news-cards .swiper-slide-active{
  margin-bottom: 5px!important;
  margin-top: -5px!important;
  z-index: 10; 
}
}
.news-cards .swiper-wrapper{
  width: 100%;
  height: 27.4em; 
  display:flex;
  
}
.swiper-slide:not(.swiper-slide-active){

}
.news-cards .card {
  position: relative;
  width: 30%;
  /*height: 500px;*/
  perspective: 1000px;
 margin: 7px 5px;
  transition: transform 0.3s ease;
   -webkit-transition: transform 0.3s ease;
}
/**/
/* Стили карточки   */ 
.news-cards .card-front{
  /*height: 500px;*/
  height: 100%;
}
.card-front img{
  cursor: pointer;
}
.card-front .news-img:hover img{
  filter: blur(5px);
}
.card-front .news-img:hover .plus-icon {
  opacity: 1; 
}
.card-front .plus-icon {
  position: absolute;
  top: 36%;
  left: 50%;
  height: 50px;
  width: 50px;
  text-align: center;
  line-height: 0.9;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: 800;
  color: white;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-transition: opacity 0.3s ease;
  cursor: pointer;
}

.news-cards .card-front .news-content{
  padding: 10px;
}
.news-cards .card-inner {
  position:absolute;
  width: 100%;
  height: 100%;
 transition: transform 0.4s;
 -webkit-transition: transform 0.4s ease;
  transform-style: preserve-3d;

}

.news-cards .card.is-flipped .card-inner {
  transform: rotateY(180deg);
}
.news-cards .card-inner .event-date{
    position: absolute;
    background-color: #734C9E;
    color: #fff;
    left: 7%;
    padding: 12px 16px;
    top: 0;
    font-weight: 600;
}
.news-cards .card-inner .event-date i{
  font-size: large;
    margin-right: 7px;
}

 .news-cards .card-front,
 .news-cards .card-back {
    width: 100%;
    position:absolute;
    backface-visibility: hidden;
    -webkit-perspective: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    padding: 8px;
   /* border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);*/
    background-color: #fff;
   
  }
  .card.is-flipped .card-inner {
    transform: rotateY(180deg);
}
.news-cards .card.is-flipped {
  /*margin: 11px auto;*/
  width: 850px !important;
  transform: none !important;
}

 .news-cards  .card-back {
    transform: rotateY(180deg);
    flex-direction: row;
  }
  
  .news-cards .card-title {
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 0;
    font-family: "Dosis", sans-serif;
    color:#734C9E;
    text-align: left;
  }
  
 .news-cards  .card-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
  }
  .news-cards .card-description{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
            line-clamp: 3;
    -webkit-box-orient: vertical;
  }
 .news-cards .card-description,
  .card-description-full {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 200;
    margin: 5px 0;
  }
 .card-description-full div:empty {
    height: 0.5em;
}
 .news-cards .card-link {
  text-transform: uppercase;
  float: right;
  padding: 4px 10px;
  line-height: 1.4;
  /*font-size: 17px;*/
  font-size:10px;
  background-color: #734C9E;
  }
  
 .news-cards .card-button {
    color: #734C9E;
    border: none;
    font-weight: 600;
    cursor:pointer;
    font-size: 17px;
  }
  .news-cards .share-button{
    text-transform: uppercase;
    float: right;
    padding: 2px 10px;
    line-height: 1.2;
    font-size: 14px;
    background-color: #734C9E;
  }
  .news-cards .card-inner .card-front .share-button{
    position: absolute;
    bottom: 8px;
    right: 8px;
  }

  .news-cards .card-back .card-button-close{
    position: absolute;
    right: -20px;
    top: -14px;
      background: none;
      border: none;

  }
  .news-cards .card-back .news-content{
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
  }
  .news-cards .card-inner .card-back .event-date{
      padding: 12px;
      position: initial;
      max-width: 191px;
      margin: 0 auto;
  }
  .news-cards .card-inner .card-back .news-btns{
    display: flex;
    column-gap: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 1px;
    
  }
  .news-cards .card-inner .card-back .share-button{
    padding: 3px 10px;
    /*font-size: 16px;*/
    font-size: 10px;
    line-height: 1.4;
  }
 
  .news-cards .card-back .news-content,
  .news-cards .card-back .card-title{
      text-align:center;
  }
  .news-cards .news-content-bottom{
 position:absolute;
    bottom:10px;
    /*left: 15%;
    width: auto;*/
    transform: translateX(22%);
    left: 0;
    max-width: 90%;
    width: 70%;
  }
  .news-cards .social-media-icons{
    border: 1px solid #734C9E;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    color: #734C9E;
    padding: 2px 10px;
    column-gap:13px;
   flex-wrap: wrap;
  }
  .news-cards .card-back .news-content{
    flex: 1 0 47%;
    position: relative;
  }
  .news-cards .social-media-icons ul{
    margin-bottom: 0;
    column-gap: 10px;
  }
  .news-cards .social-media-icons ul i{
    color: #734C9E;
    font-size: 17px;
  }
  .news-cards .social-media-icons .s-text{
    font-size: 12px;
    font-weight: 400;
  }
  .news-cards .card-back .news-img{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /*441*/
  .news-cards .card-back .news-img img{
    height: 400px;
    width: 400px;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
  }
  .flipped-card-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15%;
    z-index: 1000; 
     overflow: auto;
}
.flipped-card-container .card {
  width: auto;
  max-width: 90%; 
  max-height: 90%;
  position: relative; 
  z-index: 1001; 
}
.flipped-card-container .close,
#news-frame-modal .close{
  border: none;
  background: none;
}
.flipped-card-container  .modal-content{
  display: flex;
    background: #fff;
    padding: 12px;
    max-width: 87%;
    position: relative;
    width: 600px;
}
#flipped-card-container .card-title {
  font-size: 28px;
  margin-top: 10px;
  margin-bottom: 0;
  font-family: "Dosis", sans-serif;
  color: #734C9E;
  text-align: center;
}
.flipped-card-container .share-icon{
  height: 60px;
  width: 60px;
  display: inline-block;
}
.flipped-card-container .share-content{
  padding: 15px;
}
.flipped-card-container .share-icons a{
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #6B6B6B;
    padding-bottom: 10px;
}
.flipped-card-container .share-icons{
  display: flex;
    justify-content: space-evenly;
    gap: 10px;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.share-icons-wrap{
    margin-bottom: 30px;
    margin-top: 30px;
  overflow-x: auto;
}
.share-icons-wrap::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 6px;
  height: 30px;
  width: 30px;
  border: 1px solid #734C9E;
}

.share-icons-wrap::-webkit-scrollbar {
  width: 10px;
  border: 1px solid #c1c3c8;
  border-radius: 6px;
  height: 80%;
}
.share-icons-wrap::-webkit-scrollbar:horizontal {
  height: 10px;
  border: 1px solid #c1c3c8;
  border-radius: 6px;
  width: 80%!;
  background: #734C9E;
}
.flipped-card-container .link-container{
  display: flex;
  width: 100%;
  justify-content: center;
}
.flipped-card-container .link-container input{
  width: 100%;
  height: 55px;
  border-radius: 32px;
  padding-left: 20px;
  padding-right: 50px;
  border-width: 1px;
  border-color: #ccc;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}
.flipped-card-container .link-container .btn{
  padding: 4px 46px;
    font-size: 20px;
    font-weight: 700;
    margin-left: -25%;
}
.flipped-card-container .link-container .btn:focus{
  background-color: #fff;
}

#copy-link-message-container,
#copy-frame-message-container{
  display: none;
  color: #3d9e34;
  font-weight: 400;
  text-align: center;
}

#copy-link-message-container.show {
  display: block; 
}
#news-frame-modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  display: flex;
  justify-content: center;

  align-items: flex-start;
  padding-top: 15%;
  /*
  align-items: center;*/
  z-index: 1000; 
  display: none;
}
#iframe-preview{
  pointer-events: none; 
}
#news-frame-modal .modal-content{
    max-width: 87%;
    width: 850px;
    margin: 0 auto;
    height: auto;
    border-radius: 0;
}
#news-frame-modal textarea{
  width: 100%;
  height: 180px;
  border-color: #ccc;
  padding: 17px;
  border-radius: 20px;
  resize: none;
}

#copy-frame-button{
  float: right;
}
.embed-preview-container{
  margin-top: 20px;
    align-items: center;
    padding: 0 20px 0 10px;
}
#news-frame-modal iframe{
  max-width: 100%;
   margin: 0 auto;
    display: block;
}
.single-oe-news section.news-cards .card{
background-color: #fff;
margin: 0 auto;
width: 346px;
max-width: 98%;
box-shadow: rgba(0, 0, 0, 0.42) 0px 0px 7px 0 !important;
}
.single-oe-news .prefooter{
  display: none;
}
.inst-share-icon{
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
@media (max-width: 768px){
      .embed-preview-container{
    flex-direction: column-reverse;
    padding: 0;
  }
 
  .flipped-card-container .share-content{
    padding: 10px;
  }
    .flipped-card-container .link-container .btn{
     padding: 4px 18px;
  }
  .news-cards .card-back .news-img{
    align-self: center;
  }
  .news-cards .card-back{
    flex-direction: column;
  }
  .news-cards .swiper-wrapper{
    width: 100%;
    height: 30em; 
}
.news-cards .card{
  margin:0;
}
section.news-cards .card{
  box-shadow: none;
    height: 100%;
  max-width: 100%;
  max-height: 100%;
}
#flipped-card-container .card{
  max-width: 90%;
}
.news-cards .swiper{
  margin: 0 10px;
  padding:0;
  box-shadow: rgba(0, 0, 0, 0.42) 0px 0px 7px 0;
}
.news-cards .card-back .news-img img{
  height: 360px;
}
.news-cards .news-content-bottom{
  /*left:9%;*/
  transform: translateX(5%);
  width: 90%;
}

  @supports (-webkit-touch-callout: none) {
    .news-cards .swiper-wrapper {
      overflow: visible;
    }
  }
    /*new*/
  /* Для Firefox */
  @-moz-document url-prefix() {
    .news-cards .swiper-wrapper {
      overflow: visible;
    }
  }
}
  