/* Blog Grid Styles */

:root {
  --blog-clr-primary: #6f0c3c;
}

/* BLOG PAGE CUSTOM CSS*/

body:not(.home) .page-id-1297 .row_01_inner .wpb_text_column h1 {
  padding-left: 35px;
}

.post-row .blog_grid .vc_gitem_row .vc_gitem-col {
  padding: 0px;
}

.post-row .blog_grid .vc_grid-item-mini .vc_gitem-animated-block .vc_gitem-zone {
  overflow: visible;
  height: auto;
}

.post-row .blog_grid .vc_grid-item-mini {
  border-radius: 0;
  overflow: visible;
}

/*article before - must be removed*/
.vc-gitem-zone-height-mode-auto:before {
  display: none !important;
}

.blog_grid .vc_grid-item.vc_clearfix.vc_col-sm-4 {
  padding: 15px !important;
}

body .blog_grid .vc_gitem-zone-mini div {
  position: static;
  transform: none;
  margin-bottom: 0;
}

/* article style */
.blog_grid .vc_grid-item-mini.vc_clearfix {
  box-shadow: 0px 4px 57px 0px #00000029;
}

.blog_grid .vc_gitem_row .vc_gitem-col {
  padding: 0px;
}

/* Blog Post Title style*/
.blog_grid .post_title h2 {
  color: #ffffff;
  text-align: left;
  line-height: 30px !important;
  background: var(--blog-clr-primary) url(/wp-content/uploads/2024/11/blog-decoration.svg) no-repeat right !important;
  padding: 30px 70px 30px 30px !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.blog_grid .post_title h2::after {
  content: "";
  all: unset;
}

/*Blog Post title Link style*/
body .blog_grid .post_title a {
  /* font-family: 'Poppins', sans-serif !important;*/
  font-size: 20px;
  font-weight: 700;
  display: block;
  text-transform: none;
  letter-spacing: normal;
}

/*Blog Post title Link hover style*/
body .blog_grid .post_title a:hover {
  text-shadow: 2px 2px 10px #000;
  opacity: 0.7;
}

/*Blog post Date Style */
body .blog_grid .post_date div {
  font-size: 20px;
  font-weight: 600 !important;
  line-height: 32px;
  font-style: revert;
  color: #000000;
  padding-top: 30px;
  padding-bottom: 20px;
  width: 100%;
  /* font-family: 'Poppins', sans-serif !important;*/
}

/* Blog post content style */
body .blog_grid div.post_excerpt {
  /* min-height: 131px; */
  height: auto !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.2px;
  text-align: center;
  position: static;
  padding: 0px 30px !important;
  /* font-family: 'Open Sans', sans-serif !important;*/
}

/*Blog Post Content Paragraph Style*/
body .blog_grid .post_excerpt p {
  display: block;
  font-weight: 400;
  line-height: 27px;
  color: var(--blog-clr-primary);
}

/* Blog Post Button Container Style*/
body .blog_grid div.post_button {
  padding: 20px 0 40px;
}
/* Blog Post Button Style*/

.blog_grid .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern {
  color: #ffffff !important;
  background-color: #6f0c3c !important;
  color: #fff !important;
  padding-block: 23px;
  padding-inline: 30px;
  font-family: "Libre Baskerville", sans-serif;
  border-radius: 0 !important;
  background-image: none !important;
  text-transform: uppercase;
  transition: 0.3s;
}

/* Blog Post Button Hover*/
.blog_grid .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern:hover {
  background-color: #5a5a5c !important;
}

/*  RESPONSIVE  */

@media (max-width: 1500px) {
}

@media (max-width: 1300px) {
  body .blog_grid div.post_excerpt {
    padding: 0px 35px !important;
  }
  .blog_grid .vc_grid.vc_row.vc_grid-gutter-30px .vc_pageable-slide-wrapper {
    margin: 0 30px;
    margin-top: 30px;
  }

  .blog_grid .post_title h2 {
    padding: 30 px;
  }
}

@media (max-width: 1200px) {
  .blog_grid .vc_grid-item.vc_clearfix.vc_col-sm-4 {
    width: 50%;
  }
  body .blog_grid .post_date div {
    padding-top: 20px;
  }

  .blog_grid .post_title h2 {
    padding: 20px 70px 20px 20px !important;
  }

  body .blog_grid .post_title a {
    font-size: 22px;
  }

  body:not(.home) .page-id-1297 .row_01_inner .wpb_text_column h1 {
    line-height: 60px;
    text-align: left;
    padding-left: 60px;
  }
}

@media (max-width: 768px) {
  .blog_grid .post_title h2 {
    padding: 20px !important;
  }
  body .blog_grid .post_title a {
    font-size: 20px;
    line-height: 26px;
  }

  body .blog_grid .post_date div {
    font-size: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  body .blog_grid .post_button a {
    padding: 12px 45px;
  }

  body .blog_grid div.post_button {
    padding: 13px 0 19px;
  }

  .blog_grid .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern {
    padding-block: 17px;
  }

  .blog_grid .vc_grid.vc_row.vc_grid-gutter-30px .vc_pageable-slide-wrapper {
    margin: 0;
  }

  body:not(.home) .page-id-1297 .row_01_inner .wpb_text_column h1 {
    line-height: 60px;
    text-align: left;
    padding-left: 30px;
  }
}

@media (max-width: 767px) {
  .blog_grid .vc_grid-item.vc_clearfix.vc_col-sm-4 {
    width: 100%;
  }

  .blog_grid .post_title h2 {
    background-size: 27% !important;
  }

  body:not(.home) .page-id-1297 .row_01_inner .wpb_text_column h1 {
    line-height: 60px;
    text-align: left;
    padding-left: 15px;
    font-size: 30px;
  }
}

/*BLOG PAGE CUSTOM CSS - END*/

/* Blog Single Header */

.single-post .h1-nobg {
  text-align: center;
  background: var(--blog-clr-primary) url(/wp-content/uploads/2024/11/blog-header-decoration.svg) no-repeat left !important;
  background-size: contain !important;
}

.single-post .h1-nobg h1 {
  font-size: clamp(1.625rem, 0.0744rem + 4.9618vw, 3.25rem) !important;
}

.single-post .sticky-contact {
  top: 30%;
}

@media (min-width: 600px) {
  .single-post .sticky-btn {
    top: 30%;
  }
}

@media (max-width: 768px) {
  .single-post .sidebar-right .vc_row.wpb_row.vc_row-fluid.h1-nobg {
    position: relative;
    top: 32px;
  }
}

.single-post .sidebar-right .vc_row.wpb_row.vc_row-fluid.h1-nobg {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
