/* Common Styles */
.clr{
  width: 100%;
  clear: both;
}
.cg-clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.cg-bloag-loading-div {
    float: none;
    position: absolute;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
    top: 50px;
    font-size: 16px;
}
.cg-search-message {
    text-align: center;
}
.cg-search-message img {
    max-width: 250px;
    margin-top: 100px;
}

/* Case Study Blog Styles */
#cg-case-study-wrapper #cg-case-study-header {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

#cg-case-study-wrapper .cg-blog-filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
  width: calc(33.33% - 14px);
}

#cg-case-study-wrapper .cg-blog-filter-item label {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

#cg-case-study-wrapper #cg-case-study-header input,
#cg-case-study-wrapper #cg-case-study-header select {
  padding: 10px 12px;
  border: 1px solid #D0E0EE;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

#cg-case-study-wrapper #cg-case-study-header input:focus,
#cg-case-study-wrapper #cg-case-study-header select:focus {
  border-color: #2ea3f2; /* Divi blue highlight */
  outline: none;
}
#cg-case-study-wrapper #cg-case-study-header .cg-input-group{
  position: relative;
  width: 100%;
}
#cg-case-study-wrapper #cg-case-study-header .cg-input-group #cg-filter-search{
  width: 100%;
  padding-left: 40px;
}
#cg-case-study-wrapper #cg-case-study-header .cg-input-group img{
  position: absolute;
  left: 10px;
  top: 10px;
}
#cg-case-study-wrapper #cg-case-study-results{
  position: relative;
}
#cg-case-study-wrapper .custom-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#cg-case-study-wrapper .custom-blog-grid article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
}

#cg-case-study-wrapper .custom-blog-grid article:hover {
  transform: translateY(-5px);
}
#cg-case-study-wrapper .custom-blog-grid article:hover .entry-title {
  color: #44B6E8;
}

#cg-case-study-wrapper .custom-blog-grid .et_pb_image_container img {
  width: 100%;
  height: auto;
  display: block;
}

#cg-case-study-wrapper .custom-blog-grid h2.entry-title {
    font-size: 20px;
    margin: 15px 20px;
    padding-bottom: 0px;
    font-weight: bold;
}
#cg-case-study-wrapper .custom-blog-grid h2.entry-title a{
  float: left;
}

#cg-case-study-wrapper .custom-blog-grid .post-bottom-content {
    padding: 0 20px 15px;
    width: 100%;
    /*display: flex;
    justify-content: space-between;
    align-items: flex-end;
    */
}
#cg-case-study-wrapper .custom-blog-grid .post-bottom-content .cg-post-more-link img{
  float: left;
}

#cg-case-study-wrapper .cg-custom-pagination{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
#cg-case-study-wrapper .cg-ajax-get-post-button {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border-radius: 5px;
  color: #0073e6;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  color: #6E747A;
  font-size: 16px;
}
#cg-case-study-wrapper .cg-ajax-get-post-button.current:hover{
  color: #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#cg-case-study-wrapper .cg-ajax-get-post-button.current {
  font-weight: bold;
  font-size: 20px;
  color: #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#cg-case-study-wrapper .cg-ajax-get-post-button.cg-next-btn,
#cg-case-study-wrapper .cg-ajax-get-post-button.cg-prev-btn{
  border: 1px solid #FBB647;
  color: #FBB647;
}
/* #cg-case-study-wrapper .custom-blog-grid .post-content-inner{
    width: calc(100% - 45px);
} */
#cg-case-study-wrapper .custom-blog-grid .post-categories .post-categorie{
    background-color: #E6F7F7;
    padding: 0px 10px;
    border-radius: 20px;
    color: #11ABB1;
    font-size: 12px;
    font-weight: 400;
    word-break: break-word;
    white-space: nowrap;
    margin-bottom: 5px;
    margin-right: 5px;
    float: left;
    display: block;
}
#cg-case-study-wrapper .custom-blog-grid .cg-post-more-link {
  display: inline-block;
  margin-bottom: 5px;
  color: #0073e6;
  font-weight: 600;
  text-decoration: none;
  width: 28px;
}

#cg-case-study-wrapper .custom-blog-grid .cg-post-more-link:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  #cg-case-study-wrapper .custom-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #cg-case-study-wrapper .custom-blog-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 550px) {
  #cg-case-study-wrapper .cg-blog-filter-item {
    width: 100%;
  }
}


/* Featured Blog Style*/
#cg-custom-featured-blog-wrapper{
  position: relative;
  margin-bottom: 50px;
}
#cg-custom-featured-blog-wrapper .cg-cust-blog-header{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
#cg-custom-featured-blog-wrapper .cg-blog-title .cg-cust-blog-header{
  padding-bottom: 0px;
}

#cg-custom-featured-blog-wrapper .cg-blog-filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
  width: calc(35% - 15px);
}

#cg-custom-featured-blog-wrapper .cg-cust-blog-header input{
  padding: 10px 12px;
  border: 1px solid #D0E0EE;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.2s ease;
}
#cg-custom-featured-blog-wrapper .cg-cust-blog-header .cg-input-group{
  position: relative;
  width: 100%;
}
#cg-custom-featured-blog-wrapper .cg-cust-blog-header .cg-input-group #cg-blog-filter-search{
  width: 100%;
  padding-left: 40px;
}
#cg-custom-featured-blog-wrapper .cg-cust-blog-header .cg-input-group img{
  position: absolute;
  left: 10px;
  top: 10px;
}

#cg-cust-featured-blog-results article{
  float: left;  
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
#cg-cust-featured-blog-results article:hover {
  transform: translateY(-5px);
}
#cg-cust-featured-blog-results article:hover .entry-title {
  color: #44B6E8;
}

#cg-cust-featured-blog-results article.cg-feature-post-first {
  width: 65%;
  margin-right: 15px;
}
#cg-cust-featured-blog-results article.cg-feature-post {
  width: calc(35% - 15px);
  margin-bottom: 10px;
  /* height: 86px; */
}
#cg-cust-featured-blog-results article.cg-feature-post-first .post-content-inner{
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to bottom, #ffffff00, #000000);
}
#cg-cust-featured-blog-results article.cg-feature-post-first .post-content-inner .entry-title{
    padding: 20px 0px;
    font-size: 32px;
    font-weight: 400;
}
#cg-cust-featured-blog-results article.cg-feature-post-first .cg-pb_image_container::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}
#cg-cust-featured-blog-results article.cg-feature-post-first .cg-pb_image_container img{
    float: left;
    width: 100%;
}

#cg-cust-featured-blog-results article.cg-feature-post .post-categories{
  display: none;
}
#cg-cust-featured-blog-results article.cg-feature-post .cg-pb_image_container{
    width: 36%;
    float: left;
}
#cg-cust-featured-blog-results article.cg-feature-post .cg-pb_image_container img{
  float: left;
}
#cg-cust-featured-blog-results article.cg-feature-post .post-content-inner{
    width: calc(64% - 0px);
    float: left;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: space-evenly;
    margin: 0px;
    padding: 10px;
}
#cg-cust-featured-blog-results .post-categories .post-categorie{
    background-color: #11ABB1;
    padding: 5px 15px;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 400;
    word-break: break-word;
    white-space: nowrap;
    margin-bottom: 5px;
    margin-right: 5px;
    float: left;
    display: block;
}
#cg-cust-featured-blog-results article.cg-feature-post-first .entry-title{
  color: #FFFFFF;
}
#cg-cust-featured-blog-results article.cg-feature-post-first .cg-post-date{
  color: #FFFFFF;
}
#cg-cust-featured-blog-results article .cg-calender-icon{
    float: left;
    margin-top: 3px;
    margin-right: 5px;
}
#cg-cust-featured-blog-results article.cg-feature-post-first .cg-calender-icon{
  margin-top: 0px;
}
#cg-cust-featured-blog-results article.cg-feature-post .entry-title{
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 992px) {
  #cg-cust-featured-blog-results article.cg-feature-post-first {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 10px;
  }
  #cg-cust-featured-blog-results article.cg-feature-post {
    width: 100%;
  }
}







#cg-custom-blog-post-wrapper{
  position: relative;
}
#cg-custom-blog-post-wrapper .cg-cust-blog-post-header{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
#cg-custom-blog-post-wrapper .cg-blog-title .cg-cust-blog-post-header{
  padding-bottom: 0px;
}

#cg-custom-blog-post-wrapper .cg-blog-filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
  width: calc(35% - 15px);
}

#cg-custom-blog-post-wrapper .cg-cust-blog-post-header input{
  padding: 10px 12px;
  border: 1px solid #D0E0EE;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.2s ease;
}
#cg-custom-blog-post-wrapper .cg-cust-blog-post-header .cg-input-group{
  position: relative;
  width: 100%;
}
#cg-custom-blog-post-wrapper .cg-cust-blog-post-header .cg-input-group #cg-blog-filter-search{
  width: 100%;
  padding-left: 40px;
}
#cg-custom-blog-post-wrapper .cg-cust-blog-post-header .cg-input-group img{
  position: absolute;
  left: 10px;
  top: 10px;
}
#cg-custom-blog-post-wrapper .cg-cust-blog-post-header{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
#cg-custom-blog-post-wrapper .cg-blog-title .cg-cust-blog-post-header{
  padding-bottom: 0px;
}
#cg-cust-blog-post-results{
  width: 65%;
  margin-right: 15px;
  float: left;
  min-height: 10px;
}

#cg-cust-blog-post-results article{
  float: left;  
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
}
#cg-cust-blog-post-results article:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#cg-cust-blog-post-results article:hover .entry-title {
  color: #44B6E8;
}
#cg-cust-blog-post-results article.cg-feature-post {
  width: 100%;
  margin-bottom: 20px;
}
#cg-cust-blog-post-results article.cg-feature-post .entry-title{
    font-size: 20px;
    font-weight: 600;
    padding: 10px 0px 20px;
}
#cg-cust-blog-post-results article.cg-feature-post .cg-pb_image_container{
    width: 50%;
    float: left;
    margin-right: 10px;
}
#cg-cust-blog-post-results article.cg-feature-post .cg-pb_image_container img{
  float: left;
  width: 100%;
}
#cg-cust-blog-post-results article.cg-feature-post .post-content-inner{
    width: calc(50% - 10px);
    float: left;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    padding: 15px;
    margin-top: 10px;
    justify-content: space-between;
}
#cg-cust-blog-post-results .post-categories .post-categorie{
    background-color: #E6F7F7;
    color: #11ABB1;
    padding: 0px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 400;
    word-break: break-word;
    white-space: nowrap;
    margin-bottom: 5px;
    margin-right: 5px;
    float: left;
    display: block;
}
#cg-cust-blog-post-results article .cg-calender-icon{
    float: left;
    margin-top: 3px;
    margin-right: 5px;
}
#cg-custom-blog-post-wrapper .cg-custom-pagination{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}
#cg-custom-blog-post-wrapper .cg-ajax-get-post-button {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border-radius: 5px;
  color: #0073e6;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  color: #6E747A;
  font-size: 16px;
}
#cg-custom-blog-post-wrapper .cg-ajax-get-post-button:hover{
  color: #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#cg-custom-blog-post-wrapper .cg-ajax-get-post-button.current {
  font-weight: bold;
  font-size: 20px;
  color: #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#cg-custom-blog-post-wrapper .cg-ajax-get-post-button.cg-next-btn,
#cg-custom-blog-post-wrapper .cg-ajax-get-post-button.cg-prev-btn{
  border: 1px solid #FBB647;
  color: #FBB647;
}



#cg-cust-blog-post-categories{
  width: calc(35% - 15px);
  float: left;
  background: #F1F6FC;
  padding: 20px;
  border-radius: 6px;
}
#cg-cust-blog-post-categories .cg-category-title{
  color: #00255B;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: bold;
}

#cg-cust-blog-post-categories .cg-category-list, 
#cg-cust-blog-post-categories .cg-subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
#cg-cust-blog-post-categories .cg-category-list li {
    margin-bottom: 10px;
    list-style: none;
    background: #FFF;
    border-radius: 5px;
}

#cg-cust-blog-post-categories .cg-category-link {
    display: block;
    color: #1A1A1A;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

#cg-cust-blog-post-categories .cg-category-link:hover,
#cg-cust-blog-post-categories .cg-category-link.active {
    color: #44B6E8;
}

#cg-cust-blog-post-categories .cg-subcategory-list {
    margin-left: 15px;
    margin-top: 5px;
}


@media (max-width: 992px) {
  #cg-cust-blog-post-results{
    width: 100%;
    margin-right: 0px;
  }
  #cg-cust-blog-post-categories{
    width: 100%;
  }
}