.blog-search {
  position: relative;
}
.blog-search::before {
  content: "";
  position: absolute;
  top: 31%;
  left: 12px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23888" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>') no-repeat center;
  background-size: 16px;
  pointer-events: none;
}


.topic-checkbox {
  appearance: none; 
  background-color: #fff;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topic-item:has(.topic-checkbox:checked) .topic-checkbox {
  background-color: #fff;
  border-color: #fff;
}
.topic-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><polyline points="20 6 9 17 4 12"/></svg>') center/contain no-repeat;
}




@keyframes button-arrow {
  0% { transform: translateX(0); }
  50% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}
.button-lr-all a:hover .group-hover\:animate-button-arrow {
  animation: button-arrow 0.3s ease-in-out;
}
.blog-item-all {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s 
ease;
}
.filter-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.button-lr-all a:hover {
    color: #000 !important;
}
.blog-tags-all-1 h2 {
    font-size: 22px !important;
    line-height: 130%;
    color: #333333 !important;
}
.blog-tags-all-1 h2 a{
    color: #333333 !important;
}
.blog-tags-all-1 h2 a:hover {
    color: #F43C76 !important;
}
.blog-tags-all-content {
    display: flex;
    justify-content: space-between;    
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
   flex-grow:1;
}
.blog-tags-all-content {
    padding: 1.5rem;
}
.blog-tags-all .tag {
	background: #f3f3ef;
    color: #605d5d;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding: 8px 14px;
    text-transform: uppercase;
      border-radius: 0px;
}
.blog-image-all img {
width: 100%;
    /* object-fit: cover; */
    /* aspect-ratio: 1.65; */
    height: 250px;
}
 #hubspot-form-popup  {
    
  }
}
#hubspot-form-popup  {
      background: white;
    width: 500px;
    padding: 40px;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
}
.blog-list-grid-all {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 40px; /* space between items */
  width: 100%;
  box-sizing: border-box;  
  margin-top:30px;
}

/* Make child items look neat */
.blog-list-grid-all > * {
  background: #fff;
  border: 1px solid #b0b0a8;  
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Hover animation */
.blog-list-grid-all > *:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Tablet responsive */
@media (max-width: 1024px) {
  .blog-list-grid-all {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .blog-list-grid-all {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .filter-section {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    flex-direction: column;
}
.topic-dropdown-wrapper {
    width: 100% !important;
}
.blog-search input {
    min-width: 100% !important;
}
.blog-search:before {
    top: 50%;
}
}









.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.topic-filter h4 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}
.topic-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 8px;
  border-radius: 0px;
  width: 220px;
}
.blog-search input {
  padding: 8px 8px 8px 34px !important;
  border: 1px solid #ccc;
  border-radius: 0px;
  min-width: 220px;
}
.pagination {
    display: flex;
    gap: 8px;
    margin-top: 30px;
    justify-content: center;
    margin-bottom: 80px;
}
div#pagination button:hover {
    background: #f3f3ef;
}
.pagination button {
  padding: 6px 14px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
}
.pagination button.active {
    background: #f3f3ef;
    color: #000000;
}
  .blog-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.topic-dropdown-wrapper {
  position: relative;
  width: 260px;
  margin-bottom: 20px;
}

.topic-dropdown-header {
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0px;
}

.topic-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-top: 5px;
  z-index: 10;
  max-height: 320px;
  display: flex;
  flex-direction: column;
}
input.topic-checkbox {
    border-radius: 0 !important;
    height: 18px;
    width: 18px;
    margin-right: 10px;
    border: 1px solid;
}
label.topic-item {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    padding: 8px 4px 8px 16px;
}
.topic-item:has(.topic-checkbox:checked) {
  background-color: #e23067;
  color: #fff;
}
label.topic-item:hover {
    background: #f5f5f5;
}
.topic-scroll {
    padding: 0;
    border-radius: 0 !important;
}
.topic-scroll {
  overflow-y: auto;
  max-height: 260px;
  padding: 0px;
}

.topic-item {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  cursor: pointer;
}

.hidden { display: none; }

.show-more-wrapper {
  text-align: center;
  border-top: 1px solid #eee;
  padding: 8px 0;
}

.show-more-btn {
  background: none;
  border: none;
  color: #e23067;
  font-size: 14px;
  cursor: pointer;
}

.arrow {
  transition: transform 0.3s;
}

.topic-dropdown-header.open .arrow {
  transform: rotate(180deg);
}

.topic-filter h4 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}
.topic-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 8px;
  border-radius: 0px;
  width: 220px;
}
.blog-search input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 0px;
  min-width: 220px;
}