/*------------------------------------------------------------------
Blog Carousel
-------------------------------------------------------------------*/
.oew-carousel {
  margin: 0;

  .swiper-container,
  .swiper {
    width: 95%;

    &.has-dots {
      padding-bottom: 10px;
    }
  }

  .oew-carousel-slide {
    padding: 0 15px;
    text-align: center;
  }

  .oew-carousel-entry-media img {
    width: 100%;
  }

  .oew-carousel-entry-details {
    background-color: #f5f5f5;
    padding: 15px;
  }

  .entry-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 10px;
    text-transform: capitalize;
  }

  .meta {
    display: block;
    font-size: 12px;
    margin: 0 0 8px;
    padding: 0;

    li {
      float: none;
      padding: 0;
      display: inline-block;
      margin-right: 12px;
      letter-spacing: 0.6px;
      text-transform: lowercase;

      i {
        color: #13aff0;
        font-size: 12px;
      }

      &:last-child {
        margin-right: 0;
      }

      &:after {
        display: none;
      }
    }
  }

  p {
    margin: 0 0 10px;

    &:last-child {
      margin: 0;
    }
  }

  .readmore-btn {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;

    a {
      display: inline-block;
      padding-bottom: 3px;
      border-bottom: 1px solid;
      letter-spacing: 1px;
    }
  }

  .oew-swiper-buttons {
    background-image: none;
    outline: none;
    margin-top: 0;
    width: 40px;
    top: calc(50% - (40px/2));
    text-align: center;

    &::after {
      content: none;
    }

    svg {
      width: 20px;
    }

    &,
    svg {
      height: 40px;
      -webkit-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
      transition: all 0.3s ease;
    }
  }

  .swiper-button-next {
    right: 0;
  }

  .swiper-button-prev {
    left: 0;
  }

  .swiper-pagination {
    position: static;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  .swiper-pagination-bullet {
    background: #ccc;
    margin: 0 4px;
    height: 8px;
    width: 8px;
    opacity: 1;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
  }

  .swiper-pagination-bullet-active {
    background: #000;
  }
}

/* RTL */
body.rtl {
  .oew-carousel {
    .meta li {
      margin-left: 12px;
      margin-right: 0;

      &:last-child {
        margin-left: 0;
      }
    }

    .swiper-button-next {
      right: auto;
      left: 0;
    }

    .swiper-button-prev {
      left: auto;
      right: 0;
    }
  }
}

.oew-carousel-blog .post-badge {
  position: absolute;
  top: 0;
  background: #69727d;
  color: #fff;
  font-size: 12px;
  padding: 0.6em 1.2em;
  line-height: 1;
  font-weight: 400;
  margin: 20px;
  border-radius: 999px;
}
