/* CSS Document */
.meditations-lib {
    padding: 100px 0 50px;
}

.videos-archive-heading {
  padding: 15px;
  background: #EFEFEF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--5-color, #1A313D);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 18px */
}
.videos-archive-heading h3 {
  margin: 0;
  font-weight: 400;
}
.videos-archive-heading a {
  color: var(--5-color, #1A313D);
}
.videos-archive {
  padding: 15px;
  background: #fff;
}
.videos-filters {}
.videos-filters form {}
.videos-filters form .top {
  display: flex;
  gap: 20px;
  justify-content: start;
  align-items: center;
  margin: 0 0 15px;
}
.videos-filters form .top .btn-layout {
  border-radius: 6px;
  padding: 10px 15px;
}
.videos-filters form .top .btn-layout span:after { content: 'Show'; }
.videos-filters.active form .top .btn-layout span:after { content: 'Hide'; }
.videos-filters form .top input {
  border-radius: 60px;
  max-width: 320px;
  height: 46px;
  font-size: 14px!important;
  color: #777;
  border-color: #777;
}
.videos-filters form .bottom {
  display: none;
  gap: 20px;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 15px;
}
.videos-filters.active form .bottom {
  display: flex;
}
.videos-filters form .bottom label {
  display: block;
  width: 250px;
}
.videos-filters form .bottom label span {
  color: #777;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 187.5% */
  display: block;
  margin: 0 0 10px
}
.videos-filters form .bottom label select {
  font-size: 14px!important;
  height: 46px;
  color: #777;
  border-color: #777;
}
.slider-wrapper {}
.slider-wrapper .slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  margin: 0 -15px;
  color: var(--5-color, #1A313D);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 18px */
}
.slider-wrapper .slider-top h4 {
  margin: 0;
  font-weight: 400;
}
.slider-wrapper .slider-top a {
  color: var(--5-color, #1A313D);
}
.slider-wrapper .slider-top a span {
  padding: 5px;
  border-radius: 5px;
  background: var(--main-color, #E98F2F);
  color: #FFF;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.meditations-lib .f-carousel {
  padding: 0 50px;
  --f-carousel-slide-width: 25%;
  --f-carousel-slide-padding: 0 25px;
  --f-arrow-color: var(--5-color, #1A313D);
  --f-arrow-svg-width: 30px;
  --f-arrow-svg-height: 30px;
}
.meditations-lib .is-horizontal.is-ltr .f-button.is-arrow.is-prev {
    left: var(--f-arrow-pos, -10px)
}
.meditations-lib .is-horizontal.is-ltr .f-button.is-arrow.is-next {
    right: var(--f-arrow-pos, -10px)
}

/* ===== Free Meditations – Cards Grid ===== */
.videos-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}

/* each card is a simple <a> link */
.video-card{
  display:block;
  color:#1e1e1e;
  text-decoration:none;
  text-align: center;
}

/* thumbnail with play overlay */
.video-card .thumb{
  display: block;
  position:relative;
  border-radius: 5px;
  overflow:hidden;
  background: #000;
}
.video-card .thumb img{
  width:100%;
  height:auto;
  aspect-ratio: 4/4;
  object-fit:cover;
  display:block;
  transform:scale(1.001);
  transition:transform .35s ease, filter .35s ease;
}
.video-card .thumb span {
  display: block;
  background: #000;
  color: #fff;
  font-size: 12px;
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  padding: 2px 10px;
  border-radius: 30px;
}

/* hover / focus */
.video-card:hover .thumb img{ transform:scale(1.03); filter:saturate(1.02); }
.video-card:focus-visible{ outline:3px solid #9FBCA6; outline-offset:4px; }

/* text block under the thumbnail */
.video-card .title{
  margin: 10px 0;
  color: #808080;
  text-align: center;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* ===== Load More (simple link styled as pill) ===== */
.videos-load{
  text-align:center;
  margin-top: 50px;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .meditations-lib .f-carousel {
    --f-carousel-slide-width: 33.3333%;
  }
}
@media (max-width: 991px){
  .meditations-lib .f-carousel {
    --f-carousel-slide-width: 50%;
  }
}
@media (max-width: 640px){
  .meditations-lib .f-carousel {
    padding: 0 10px;
    --f-carousel-slide-width: 100%;
    --f-carousel-slide-padding: 0 5px;
    --f-arrow-svg-width: 25px;
    --f-arrow-svg-height: 25px;
  }
  .meditations-lib .is-horizontal.is-ltr .f-button.is-arrow.is-prev {
      left: var(--f-arrow-pos, -20px)
  }
  .meditations-lib .is-horizontal.is-ltr .f-button.is-arrow.is-next {
      right: var(--f-arrow-pos, -20px)
  }
  .videos-filters form .bottom label {
    display: block;
    width: calc(50% - 10px);
  }
}
