.clr{
  clear: both;
}
.cg-clearfix::after {
    content: "";
    display: table;
    clear: both;
}
#divi-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.divi-filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
  width: calc(33.33% - 14px);
}

.divi-filter-item label {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

#divi-blog-filters input,
#divi-blog-filters select {
  padding: 10px 12px;
  border: 1px solid #D0E0EE;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

#divi-blog-filters input:focus,
#divi-blog-filters select:focus {
  border-color: #2ea3f2; /* Divi blue highlight */
  outline: none;
}
#divi-blog-filters .cg-input-group{
  position: relative;
  width: 100%;
}
#divi-blog-filters .cg-input-group #cg-filter-search{
  width: 100%;
  padding-left: 40px;
}
#divi-blog-filters .cg-input-group img{
  position: absolute;
  left: 10px;
  top: 10px;
}

.cg-bloag-loading-div {
    float: none;
    position: absolute;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
    top: 115px;
    font-size: 16px;
}
.cg-search-message {
    text-align: center;
}
.cg-search-message img {
    max-width: 250px;
    margin-top: 100px;
}

#cg-divi-blog-results{
  position: relative;
}
.custom-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.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;
}

.custom-blog-grid article:hover {
  transform: translateY(-5px);
}
.custom-blog-grid article:hover .entry-title {
  color: #44B6E8;
}

.custom-blog-grid .et_pb_image_container img {
  width: 100%;
  height: auto;
  display: block;
}

.custom-blog-grid h2.entry-title {
    font-size: 20px;
    margin: 15px 20px;
    padding-bottom: 0px;
    font-weight: bold;
}
.custom-blog-grid h2.entry-title a{
  float: left;
}

.custom-blog-grid .post-bottom-content {
    padding: 0 20px 15px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: flex-end;
}
.custom-blog-grid .post-bottom-content .cg-post-more-link img{
  float: left;
}

.cg-custom-pagination{
    display: flex;
    justify-content: center;
}
.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-ajax-get-post-button.current {
  font-weight: bold;
  font-size: 20px;
  color: #000000;
}
.cg-ajax-get-post-button.cg-next-btn,
.cg-ajax-get-post-button.cg-prev-btn{
  border: 1px solid #FBB647;
  color: #FBB647;
}
.custom-blog-grid .post-content-inner{
    width: calc(100% - 45px);
}
.custom-blog-grid .post-categories .post-categorie{
    background-color: #E6F7F7;
    padding: 5px 15px;
    border-radius: 15px;
    color: #11ABB1;
    font-size: 15px;
    font-weight: 400;
    word-break: break-word;
    white-space: nowrap;
    margin-bottom: 5px;
    margin-right: 5px;
    float: left;
    display: block;
}
.custom-blog-grid .cg-post-more-link {
  display: inline-block;
  margin-bottom: 5px;
  color: #0073e6;
  font-weight: 600;
  text-decoration: none;
  width: 28px;
}

.custom-blog-grid .cg-post-more-link:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .custom-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .custom-blog-grid {
    grid-template-columns: 1fr;
  }
}
