.elementor-1751 .elementor-element.elementor-element-ff6e541{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for shortcode, class: .elementor-element-aa82afd *//* Blog container */
#z-blog {
    max-width: 1600px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
  }
  
  /* Filters */
  .z-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* spacing between search & category */
    justify-content: center;
    align-items: center;
    margin-bottom: 45px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  #z-blog-search, #z-blog-category {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    width: 260px;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #333;
    height: 44px; /* ensures even height for both */
    line-height: normal; /* prevents text cutoff */
    appearance: none; /* removes browser-specific dropdown styles */
  }
  #z-blog-search:focus, #z-blog-category:focus {
    border-color: #007aff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
  }
  
  #z-blog-search:hover,
  #z-blog-category:hover {
    background: #fff;
  }

  #z-blog .z-post-content h2.z-post-title {
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    color: #1a1a1a !important;
    margin: 10px 0;
    transition: color 0.2s ease;
  }
  #z-blog .z-post:hover h2.z-post-title {
    color: #007aff !important;
  }

  /* Adjust dropdown text vertical alignment (fix "cut-off" look) */
  #z-blog-category {
    padding-top: 10px; /* move text a bit down */
    padding-bottom: 10px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23999' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 32px;
  }
  
  /* Grid layout */
  .z-blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
  }
  
  /* Blog card */
  .z-post {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .z-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }
  
  .z-post-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
  
  
  
  /* Content area */
  .z-post-content {
    padding: 18px 22px 25px;
  }
  .z-post-category {
    color: #007aff;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
  }
  .z-post-title {
    font-size: 17px !important;
    margin: 8px 0 10px;
    color: #222;
    line-height: 1.0;
  }
  .z-post-excerpt {
    font-size: 15px;
    color: #555;
    margin-bottom: 14px;
  }
  .z-post-date {
    font-size: 13px;
    color: #999;
  }
  
  /* Responsive tweaks */
  @media (max-width: 768px) {
    .z-blog-posts {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px; /* smaller gap on mobile */
    }
    .z-post {
      margin: 0 auto;
      max-width: 95%; /* keep some side space */
    }
  }
  
  /* Responsive filter layout */
@media (max-width: 600px) {
    .z-blog-filters {
      flex-direction: column;
      gap: 10px;
      padding: 12px;
    }
    #z-blog-search,
    #z-blog-category {
      width: 100%;
    }
  }
  
  /* Make the post title a link */
.z-post-title-link {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.25s ease;
}
.z-post-title-link:hover {
  color: #007aff; /* Intch-style blue hover */
}

/* Intch-style category buttons */
.z-blog-category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 15px;
}

.category-btn {
  padding: 8px 18px;
  border: 1px solid #ddd;
  border-radius: 50px;
  background: #f7f7f7;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* --- Hover: Intch-style blue gradient --- */
.category-btn:hover {
   background: hsla(33, 100%, 53%, 1);

background: linear-gradient(135deg, hsla(33, 100%, 53%, 1) 30%, hsla(58, 100%, 68%, 1) 100%);

background: -moz-linear-gradient(135deg, hsla(33, 100%, 53%, 1) 30%, hsla(58, 100%, 68%, 1) 100%);

background: -webkit-linear-gradient(135deg, hsla(33, 100%, 53%, 1) 30%, hsla(58, 100%, 68%, 1) 100%);

filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#ff930f", endColorstr="#fff95b", GradientType=1 );
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* --- Active: Your green-turquoise gradient --- */
.category-btn.active {
  background: hsla(92, 86%, 53%, 1);

background: linear-gradient(135deg, hsla(92, 86%, 53%, 1) 0%, hsla(111, 51%, 81%, 1) 100%);

background: -moz-linear-gradient(135deg, hsla(92, 86%, 53%, 1) 0%, hsla(111, 51%, 81%, 1) 100%);

background: -webkit-linear-gradient(135deg, hsla(92, 86%, 53%, 1) 0%, hsla(111, 51%, 81%, 1) 100%);

filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#81EE22", endColorstr="#BDE7B6", GradientType=1 );
  
 
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}


/* Mobile layout */
@media (max-width: 600px) {
  .z-blog-category-buttons {
    flex-direction: column;
    gap: 10px;
  }
}/* End custom CSS */