/* banner start */
.main_banner_i {
  border-bottom: 1px solid #e1e1e8;
}
.banner_desc p {
  font-size: 22px;
  line-height: 30px;
}
/* end */
/* category section start */
.category_list_m .category_items_m a {
  background-color: var(--grey);
  border-radius: 20px;
  padding: 8px 15px 10px;
  color: var(--heading-color);
  display: inline-block;
}
.main_post_sec > div {
  flex: 0 0 70%;
}
.main_post_sec .sidebar_post_m {
  flex: 0 0 30%;
  width: 30%;
  position: sticky;
  top: 65px;
  height: fit-content;
}
@media (max-width: 992px) {
  .category_list_i {
    gap: 10px;
  }
  .post_sec_m article.post_item_m {
    flex: 0 calc(100% - 0px);
  }
  .main_post_sec > div {
    flex: 0 0 55%;
  }
  .main_post_sec .sidebar_post_m {
    flex: 0 0 45%;
    width: 45%;
  }
}
@media (max-width: 767px) {
  .main_post_sec {
    flex-wrap: wrap;
  }
  .main_post_sec > div,
  .main_post_sec .sidebar_post_m {
    flex: 0 calc(100% - 0px);
    width: 100%;
  }
}
/* for post article card */
article.post_item_m {
  flex: 0 calc(50% - 10px);
}
.post_feature_img,
.post_category p {
  margin-bottom: 10px;
}
.post_feature_img img {
  border-radius: 20px;
}
article.post_item_m img { 
  height: 270px;
}
.post_terms_m {
  top: 20px;
  left: 20px;
}
.post_category a {
  background-color: var(--grey);
  color: var(--heading-color);
  padding: 6px 12px 7px;
}
.post_category a:hover {
  background-color: var(--blue-bg);
}
.post_title h3 {
  color: var(--blue);
  font-weight: 500;
}
.post_category p {
  color: var(--heading-color);
  font-weight: 600;
}
.post_exerpts p {
  line-height: 22px;
}
/* side bar */
.side_box_m {
  box-shadow: 0px 5px 20px 0px #7272ff1f;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 20px;
}
.side_box_m p {
  font-weight: 500;
  color: var(--text-color);
}
.post_title h2 svg {
  margin-bottom: -2px;
}
/* side bar end */
/* for sidebar slider start */
.custom-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 250px;
  border-radius: 30px;
}
.custom-slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  will-change: transform;
  width: 100%;
}
.custom-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  justify-content: center;
}
.custom-slide-content {
  position: relative;
  z-index: 2;
  padding: 30px 20px;
}
.custom-dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
  z-index: 5;
}
.custom-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}
.custom-slide-content p,
.custom-slide-content .post_title h3 {
  color: var(--white);
}
.custom-dots span.active {
  opacity: 1;
  background: #000;
}
/* for sidebar slider end */
/* subscribe section start */
.subscribe_form {
  max-width: 650px;
  margin: 0 auto;
}
.subscribe_form .dd-search__group.dd-form-group {
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
/* end */
/* footer start */
.main_footer_i {
  border-top: 1px solid #e1e1e8;
}
.main_footer_i > .logo_bar_m {
  flex: 0 35%;
}
.main_footer_i > .quicks_links_m {
  flex: 0 65%;
}

.link_items_bar .menu-item {
  margin-bottom: 8px;
}
.link_items_bar .menu-item a {
  color: var(--text-color);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.social_items svg {
  margin-bottom: -3px;
}
.social_items a.socails_links {
  background-color: var(--blue);
  padding: 6px 8px;
  display: inline-block;
  border-radius: 6px;
}
.social_items svg {
  fill: var(--white);
}
.link_items_bar .menu-item a:hover,
.link_items_bar li.menu-item.active a,
.link_items_bar h5 {
  color: var(--blue);
}
.copy_right_text p {
  font-weight: 500;
}
@media (max-width: 767px) {
  .main_footer_i {
    flex-wrap: wrap;
  }
  .main_footer_i > .quicks_links_m,
  .main_footer_i > .logo_bar_m {
    flex: 0 100%;
    justify-content: flex-start;
  }
  .logo_bar_m {
    margin-bottom: 50px;
  }
}
/* footer end */

/* about page start */
.about_banner .main_banner_i {
  border-bottom: unset;
}
.product_img_m {
  height: 556px;
}
.our_description_m {
  margin-top: -150px;
  background-color: var(--grey);
  padding-top: 120px;
}
.our_description_m p {
  margin-bottom: 20px;
}
.our_description_i a {
  color: var(--blue);
  text-decoration: underline;
  font-size: 18px;
}
.our_description_i a .btn-icon svg {
  margin-bottom: -6px;
}
.page-id-101 .main_banner_i {
  border-bottom: unset;
}
@media (max-width: 767px) {
  .product_img_m {
    height: auto;
  }
}
/* about page end  */
/* contact page start */
.contact-form-in {
  max-width: 700px;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 5px 25px 0 rgba(114, 114, 255, 0.12);
}
.contact-form-in .form-group {
  flex: 1;
}
.contact-form-in label {
  margin-bottom: 6px;
  font-weight: 300;
  font-size: 15px;
}
.contact-form-in input,
.contact-form-in textarea,
.contact-form-in select{
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
  outline: unset;
} 
.contact-form-in textarea {
  min-height: 120px;
}
@media (max-width: 767px) {
  .contact-form-in {
    padding: 40px 20px;
  }
}
/* end contact page */
