img.popular-articles-image {
  position: relative;
  min-height: 360px !important;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}
.pop-auth-cont {
    display: flex;
    gap: 10px;
}
h3.popular-articles-title {
  color: #ffff;
}
a.popular-articles {
  position: relative;
}

.popular-post-wrp {
  display: flex;
  align-items: stretch;
}

/* LEFT – slider */
.popular_posts {
  flex: 1;
  overflow: hidden;
  flex: 0 78%;
}

/* RIGHT – fixed form */
.popular-post-right-form {
  flex: 0 24.5%;
  flex-shrink: 0;
  background-color: #F89C1D;
  padding: 20px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  position: relative;
  border-radius: 8px;
  padding-top: 70px;

}
h3#hs_cos_wrapper_form_933519441_title {
  margin: 0 !important;
}
.hs_cos_wrapper_type_form .hs-button.primary.large {
  /* padding-left: 10px ! IMPORTANT; */
  margin-left: 0px;
}

.popular-post-right-form-hdg>h5 {
  font-size: 24px;
  line-height: 32px;
  color: #ffff;
  margin: 0;

}

h3#hs_cos_wrapper_form_870508779_title {
  display: none;
}

input.hs-button.primary.large {
  margin-top: 0;
}

input[type="submit"] {
  background: #FFFFFF;
  border-radius: 5px;
}

input[type="submit"] {
  background: #FFFFFF !important;
  border-radius: 5px !IMPORTANT;
  border: none !IMPORTANT;
  color: #000 !IMPORTANT;
  padding: 10px 15px !IMPORTANT;
  width: fit-content;
  position: absolute;
  bottom: 10%;
  text-transform: capitalize !important;
}
.popular-articles-meta {
  display: flex;
  align-items: center;
  gap: 5px;
}

img.popular-articles-author-img {
  width: 35px;
}

span.popular-articles-author {
  font-size: 14px;
}

span.popular-articles-date {
  font-size: 14px;
}
.popular-articles-author-details {
  display: flex;
  align-items: center;
/*   flex:0 90%; */
  gap: 5px;
}


.popular-post-otr {
  background: #F7FAFF;
  padding: 60px 0;
}

.popular-post-sec-hdg>h2 {
  margin: 0;
  margin-bottom: 20px;
  color: #000;
}
h3.popular-articles-title {
  margin: 8px 0 !important;
}
.popular-articles-author-imag {
  /*     flex: 0 8%; */
}
img.popular-articles-image {
  height: 380px !important;
}
a.popular-articles {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px; /* matches image radius */
}

/* Gradient overlay */
a.popular-articles::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(217, 217, 217, 0) 0%,
    #000000 79.36%
  );

  z-index: 1;
  pointer-events: none;
}

/* Image stays below overlay */
img.popular-articles-image {
  display: block;
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

/* Content above overlay */
.popular-articles-content {
  position: absolute;
  bottom: 3%;
  padding: 20px;
  z-index: 2;
  color: #fff;
}


a.popular-articles.slick-slide {
  /*     padding-right: 25px; */
}

.popular .slick-list {
  overflow: visible; /* allows big card to breathe */
}

/* .popular .slick-track {
display: flex;
gap: 24px; /* spacing between cards */
} */

a.popular-articles {
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.popular .slick-list {
  overflow: hidden !important; /* prevent 3rd card peeking */
}


/* .popular .slick-track {
display: flex;
gap: 24px;
} */

a.popular-articles {
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

a.popular-articles {
  transition: width 0.45s ease;
}
/* ---------------------------------------------------------------------------- */
.popular_posts-content.slick-slide.slick-current.slick-active>a {
  /*     max-width: 600px;
  width: 100%; */
}

.popular_posts-content.slick-slide >a {
  /*     max-width: 300px;
  width: 100%; */
  transition: all .3s ease;
  margin-right: 20px; 
}
.popular-post-sec-wrapper-crd {
  position: relative;
}
.popular-post-sec-hdg {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.popular-arrows {
  display: flex;
  gap: 14px;
}
.popular-post-sec-wrapper-crd button.popular-prev.slick-arrow {
  background-color: #652D90;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 20px;
  background-size: 8px 10px !important;
  border-color: #000 !important;
  border-radius: 50%;
  height: 30px;
  position: unset;
  width: 30px;
  z-index: 9;
  background-image: url(https://www.flowforma.com/hubfs/left-arrow-white.svg);
}

.popular-post-sec-wrapper-crd button.popular-next.slick-arrow {
  background-color: #652D90;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 20px;
  background-size: 8px 10px !important;
  border-color: #000 !important;
  border-radius: 50%;
  height: 30px;
  position: unset;
  width: 30px;
  z-index: 9;
  background-image: url(https://www.flowforma.com/hubfs/right-arrow-white.svg);
}

.popular-post-sec-wrapper-crd .slick-arrow:before {
  line-height: 0 !Important;
  font-size: 0 !important;
}
.popular-articles-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  line-height: 1.4;
  max-height: calc(1.4em * 2);
}
.popular-articles-author-details {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 90%;
}
.popular .slick-slide.slick-current.slick-active 
.popular-articles-author-details {
/*   max-width: 100%; */
/*   width: 100%; */
  gap: 10px;
}
.popular .slick-slide.slick-current.slick-active 
.popular-articles-date {
  display: flex;
  align-items: center;
  gap: 4px;
}
.popular .slick-slide .popular-articles-date {
  display: none;
}
.popular-post-right-form .hs_error_rollup {
  display: none !important;
}
.popular-post-right-form form.hs-form .hs-form-field ul.inputs-list {
  font-size: 10px !important;
  line-height: 1.5;
  padding-left: 5px !IMPORTANT;
  color:#000;
}
.popular-post-sec-wrapper-crd 
button.slick-arrow.slick-disabled {
  opacity: 0.3;        
  pointer-events: none;   
  cursor: default;
} 

@media (max-width: 1024px) {
  .popular_posts-content.slick-slide >a {
    margin-right:0 !important;
  }
  .popular-post-wrp {
    flex-direction: column;
    gap: 20px;
  }

  .popular_posts {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .popular-post-right-form {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .popular_posts-content {
    margin: 0 10px;
}
  .popular-articles-content {
    padding: 16px;
  }
  h3.popular-articles-title {
    font-size: 18px;
    line-height: 26px;
  }
  .popular_posts-content.slick-slide > a {
    margin-right: 0;
  }
  .popular-post-right-form {
    padding-top: 20px;
    min-height: 360px;
  }
  .popular-post-sec-wrapper-crd button.popular-prev.slick-arrow {
    left: 72%;
  }
  .popular-post-sec-wrapper-crd button.popular-next.slick-arrow {
    left: 82%;
  }
  .pop-auth-cont {
    flex: 0 100%;
}

.popular-articles-meta {
    flex-wrap: wrap;
    gap: 10px;
}
}


