.bps-wrap{
  position: relative;
  width: 100%;
}

.bps-slider-area{
  position: relative;
}

.bps-swiper{
  overflow: hidden;
}

.bps-swiper .swiper-wrapper{
  align-items: stretch;
}

.bps-swiper .swiper-slide{
  height: auto;
}

.bps-card{
  background: var(--bps-card-bg, #fff);
  border-radius: var(--bps-card-radius, 18px);
  overflow: hidden;
  box-shadow: var(--bps-card-shadow, 0 10px 30px rgba(0,0,0,0.08));
  border: var(--bps-card-border-width, 0px) solid var(--bps-card-border-color, transparent);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bps-thumb{
  display: block;
  background: var(--bps-image-bg, #f5f5f5);
  overflow: hidden;
}

.bps-thumb img{
  width: 100%;
  height: var(--bps-image-height, 220px);
  object-fit: var(--bps-image-fit, cover);
  border-radius: var(--bps-image-radius, 14px);
  display: block;
  background: var(--bps-image-bg, #f5f5f5);
}

.bps-body{
  padding: var(--bps-card-padding, 16px);
  text-align: var(--bps-text-align, right);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.bps-title{
  margin: 0 0 10px;
  font-family: var(--bps-title-font, inherit);
  font-size: var(--bps-title-size, 18px);
  line-height: 1.7;
  font-weight: var(--bps-title-weight, 700);
  color: var(--bps-title-color, #151515);
  display: -webkit-box;
  -webkit-line-clamp: var(--bps-title-lines, 2);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bps-title a{
  color: var(--bps-title-color, #151515);
  text-decoration: none;
}

.bps-title a:hover{
  color: var(--bps-title-color, #151515);
  text-decoration: none;
}

.bps-wrap[style*="--bps-title-lines:0"] .bps-title{
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

.bps-excerpt{
  margin: 0;
  color: var(--bps-excerpt-color, #4f4f4f);
  font-size: var(--bps-excerpt-size, 14px);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: var(--bps-excerpt-lines, 3);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bps-wrap[style*="--bps-excerpt-lines:0"] .bps-excerpt{
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

.bps-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--bps-arrow-size, 46px);
  height: var(--bps-arrow-size, 46px);
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: var(--bps-arrow-bg, #fff);
  color: var(--bps-arrow-color, #111);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  transition: all .2s ease;
  padding: 0;
  z-index: 20;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
}

.bps-prev{
  left: var(--bps-arrow-offset, -18px);
}

.bps-next{
  right: var(--bps-arrow-offset, -18px);
}

.bps-arrow:hover{
  transform: translateY(-50%) scale(1.04);
}

.bps-arrow:focus{
  outline: none;
}

.bps-arrow.swiper-button-disabled,
.bps-arrow.bps-disabled{
  opacity: .4;
  cursor: not-allowed;
  transform: translateY(-50%);
}

@media (max-width: 1024px){
  .bps-prev{
    left: 6px;
  }

  .bps-next{
    right: 6px;
  }
}

@media (max-width: 767px){
  .bps-arrow{
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .bps-body{
    padding: var(--bps-card-padding, 14px);
  }

  .bps-prev{
    left: 4px;
  }

  .bps-next{
    right: 4px;
  }
}
/* Ensure no frame around the whole slider (some themes add border/shadow to swiper containers) */
.bps-wrap,
.bps-wrap .bps-slider-area,
.bps-wrap .bps-swiper,
.bps-wrap .swiper,
.bps-wrap .swiper-wrapper{
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
}
.bps-wrap,
.bps-wrap * {
  box-sizing: border-box;
}

.bps-wrap {
  width: 100%;
  max-width: 100%;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.bps-slider-area {
  position: relative;
  width: 100%;
}

.bps-swiper {
  width: 100%;
  overflow: hidden;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.bps-swiper .swiper-wrapper {
  align-items: stretch;
}

.bps-swiper .swiper-slide {
  height: auto;
}

.bps-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bps-card-bg, #fff);
  border-radius: var(--bps-card-radius, 18px);
  padding: var(--bps-card-padding, 16px);
  border: var(--bps-card-border-width, 0px) solid var(--bps-card-border-color, transparent);
  box-shadow: var(--bps-card-shadow, 0 10px 30px rgba(0,0,0,0.08));
  text-align: var(--bps-text-align, right);
}

.bps-thumb {
  display: block !important;
  width: 100% !important;
  height: var(--bps-image-height, 220px) !important;
  border-radius: var(--bps-image-radius, 14px) !important;
  overflow: hidden !important;
  background: var(--bps-image-bg, #f5f5f5);
  flex-shrink: 0;
}

.bps-thumb img,
.bps-card .bps-thumb img,
.wpb_wrapper .bps-thumb img,
.vc_element .bps-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  object-fit: var(--bps-image-fit, cover) !important;
  object-position: center center !important;
  border-radius: inherit !important;
}

.bps-body {
  width: 100%;
}

.bps-title {
  margin: 14px 0 10px;
  font-family: var(--bps-title-font, inherit);
  font-size: var(--bps-title-size, 18px);
  font-weight: var(--bps-title-weight, 700);
  color: var(--bps-title-color, #151515);
  line-height: 1.7;
}

.bps-title a {
  color: inherit;
  text-decoration: none;
}

.bps-excerpt {
  margin: 0;
  font-size: var(--bps-excerpt-size, 14px);
  color: var(--bps-excerpt-color, #4f4f4f);
  line-height: 1.9;
}

/************************ ************/
.bps-excerpt  {
  font-family: iranyekanBakh;
  font-weight: 500!important;
   text-align: justify;
}
.bps-thumb-fallback img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: var(--bps-image-fit, cover) !important;
  object-position: center center !important;
}
