nav.agency-pagination {
    display: flex;
    gap: 7px;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
}
.team-photos {
    display: flex;
    gap:5px;
}
.agent_prev_logo img {
    width: 100%;
}
.team-photos img {
    width: 50px;
}
.agent_preview_card .card-actions {
    width: 100%;
    display: flex;
    justify-content: end;
}
.agent_prev_row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items:center;
}.range-slider {
  position: relative;
  width: 100%;
}
.trust-values {
    display: flex;
    gap: 10px;
    align-items: center;
}
.range-slider input[type=range] {
  position: absolute;
  left: -3px;
  top: -5px;
  width: 100%;
  pointer-events: none;
  -webkit-appearance: none;
  background: transparent;
}
.range-slider input[type=range]#maxTrust {
    left: 0;
}
.trust-values input[type="number"] {
    padding: 0;
    text-align: center;
}
.agent_badg_list img {
    height: 68px;
    display: block;
}
.agent_score {
    border-radius: 100%;
    width: 45px;
    height: 45px;
    text-align: center;
    justify-content: center;
}
.range-slider input[type=range]::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #0073e6;
  cursor: pointer;
}
.slider-track {
  height: 7px;
  background: #d3d3d3;
  margin: 0;
  border-radius: 3px;
}
.trust-values input {
  width: 50px;
  text-align: center;
}
aside.sidebar {
  position: sticky;
  top: 100px;
  height: 80vh;
  overflow: auto;
}

    /* Sidebar */
    .search-box {
      display: flex;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 9999px; /* pill shape */
      padding: 8px 14px;
      width: 100%;
      background: #fff;
    }
    .top-agencies, .sidebar {
      position: sticky;
      top: 80px;
  }
    .search-box svg {
      flex-shrink: 0;
      margin-right: 8px;
    }
    
    .search-box input {
      border: none;
      outline: none;
      flex: 1;
      font-size: 15px;
      color: #333;
      width:100%;
    }
    
    .search-box input::placeholder {
      color: #aaa;
    }
    .sidebar {
      background: #fff;
      border-radius: 12px;
      padding: 18px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.06);
      display: flex;
      flex-direction: column;
      gap: 22px;
      height: fit-content;
    }
    .filter-group label:has(input[type="checkbox"]:checked) .filter-count{
      background: #e8f0fe;
      color: #0f68d2;
      font-weight: 600;
    border: 0px solid #e8f0fe;
    padding: 4px 12px !important;
    }
    .filter-group h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 10px;
      color:#000;
    }
    /* .filter-group label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
      font-size: 13px;
      cursor: pointer;
    } */
    .filter-group input[type="checkbox"],
    .filter-group input[type="radio"] {
      margin-right: 8px;
    }
    .slider {
      width: 100%;
    }

    /* Main */
    .main-content {
      display: flex;
      flex-direction: column;
      /* gap: 20px; */
    }
    .agency-card {
      background: #fff;
      border-radius: 14px;
      padding: 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      display: flex;
      flex-direction: column;
      gap: 15px;
      position: relative;
    }
   

    /* Right Sidebar */
    .top-agencies {
      background: #fff;
      border-radius: 12px;
      padding: 18px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.06);
      height: fit-content;
    }
    .top-agencies h3 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .top-agencies ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .top-agencies li {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
    }
    .top-agencies a {
      font-size: 12px;
      color: #2563eb;
      text-decoration: none;
      font-weight: 500;
    }

    /* Footer button */
    .browse-more {
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 10px 16px;
      margin: 20px auto;
      display: block;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
      color: #111;
    }

    /* Responsive */
    @media(max-width: 1100px) {
      .container {
        grid-template-columns: 1fr;
      }
      .top-agencies {
        order: -1;
      }
    }
     .agency-container {
      display: flex;
      gap: 20px;
      margin: 20px auto;
      padding: 0 20px;
    }
    
aside.sidebar {
    width: 30%;
}   
aside.top-agencies {
    width: 30%;
}
.filter-group span {
    font-size: 14px;
}
.agency_listing_cards h3 {
    position: relative;
    z-index: 11;
} 
/* preview cards css start */
.agent_preview_card, .agent_prev_logo.agent_prev_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* pushes left and right apart */
    align-items: center;            /* vertically center them */
    width: 100%;
}
.agent_prev_logo {
    flex: 0 0 auto; /* keeps logo on left */
}

.agent_prev_logo_fallback {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    background: linear-gradient(90deg, #0F68D2 0%, #1F2E9A 100%);
    color: #fff;
    border-radius: 100%;
}
.agent_prev_badges {
    flex: 0 0 auto; /* keeps badges on right */
    text-align: right;
}ul.agent_badg_list {
    display: flex;
    gap: 20px;
}.agent_budget, .agent_team_siz {
    border: 1px solid #ccc;
	border-radius: 8px;
    font-size: 12px;
    overflow: hidden;
}.agent_budget_title, .agent_team_title {
    background: linear-gradient(90deg, #0F68D2 0%, #1F2E9A 100%);
    color: #fff;
    font-size: 12px;
    text-align: center;
    padding: 6px 12px;
}.agent_budget_priz, .agent_team_count  {
    font-size: 12px;
    padding: 6px 16px;
    font-weight: 500;
}.agent_prev_logo.agent_prev_row {
    width: 100%;
}
.agent_info_prev {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	text-align: left;
    margin-top: 15px;
}.agent_info_data h3, .agent_info_data p {
    margin-bottom: 8px;
}
.agent_info_data h3{
   font-size: 24px;
} .agent_info_data p {
	font-size: 18px;
 }
 p.prev_info_testi{
	font-size: 14px;
 }.prev_info_loc {
    border: 1px solid #ccc;
    border-radius: 50px;
    text-align: center;
    line-height: 1.5;
    padding: 4px;
}.prev_info_rating {
    padding-top: 12px;
    font-size: 16px;
    color: #000;
}
.checkbox-wrapper {
	display: flex;
	align-items: center;
	font-family: Arial, sans-serif;
	font-size: 16px;
	gap: 8px;
    margin-top: 28px;
  }

  .checkbox-wrapper input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #007bff; /* Blue checkmark */
	cursor: pointer;
  }

  .checkbox-wrapper label {
	cursor: pointer;
  }

  .checkbox-wrapper a {
	color: black;
	text-decoration: underline;
  }

/* Left thumbnails */
.thumbnails {
  display: flex;
  gap: 10px;
}
.thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb.more {
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}
/* preview cards css end */

/* card box css new shortcode start */
.agency_listing_cards:before {
  position: absolute;
  top: 50px;
  left: 0px;
  content: "";
  width: 200px;
  height: 200px;
  background: url(https://seoanalyst.in/seoanalyst/wp-content/uploads/2025/08/card_left_box.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.agency_listing_cards:after {
  position: absolute;
  top: 50px;
  right: 0px;
  content: "";
  width: 172px;
  height: 200px;
  background: url(https://seoanalyst.in/seoanalyst/wp-content/uploads/2025/08/card_right_box.png);
  background-repeat: no-repeat;
  background-size: contain;
}
/* card box css new shortcode end */

.agent_prev_logo {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    overflow: hidden;
}
.mobile_filter {
    display: none;
}
.mobile-only {
    display:none;
}
@media only screen and (max-width:767px) {
    .top-agencies {
        display:none;
    }
    .mobile_filter {
        display: block;
        float: right;
        margin-bottom: 10px;
        width: 100%;
        padding-right: 20px;
        text-align: right;
    }
    .agency-container.position-relative {
        flex-wrap: wrap;
        padding: 0;
    }
    main.main-content {
        width: 100%;
        padding: 10px !important;
    }
    .agent_prev_logo {
        width: 70px;
        height: 70px;
    }
    .agency_listing_cards {
        padding: 10px !important;
    }
   
    .entry-content .container {
        padding: 0;
    }
    aside.sidebar {
        display: block;
        width: 300px;
        position: fixed;
        z-index: 1111;
        height: 100%;
        left: -100%;
        top: 0;
        overflow: auto;
        transition: all 0.3s ease 0.5s;
    }
    .sidebar.active {
        display: block !important;
        left: 0;   
        transition: all 0.3s ease 0.5s;
    }
}
.agency_list_width{
    width:60%;
}