body {
  font-family: Inter;
}

/* === WRAPPER === */

.lawyer-card-mobile {
  /* hide mobile block */
  display: none;
}

.search_results_page_container .bul-search-wrapper {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
  background: #fff; /* optional: match lawyer card */
}
.search_results_page_container .bul-search-box {
  width: 100%;
  max-width: 100%;
  justify-content: flex-start; /* align to the left */
}

/* SEARCH WRAPPER – fixed width, centered */
.bul-search-wrapper {
  width: 100%;
  /* max-width: 1100px; match lawyer-card */
  /* margin: 30px auto; */
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

/* === INPUTS & FIELDS === */
/* Keep page-template rule first */
body.page-template .bul-search-input {
  width: 300px;
  position: relative;
}

/* Place homepage rule after to override */
body.home.page-template .bul-search-input {
  width: 260px;
  position: relative;
}

body.page-template .bul-search-input {
  height: 48px;
  padding: 12px 14px;
  padding-right: 60px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}
body.home.page-template .bul-search-input {
  height: 48px;
  padding: 12px 14px;
  padding-right: 60px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

/* === DROPDOWN LIST === */
.bul-dropdown {
  position: relative;
}

body.page-template .bul-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  list-style: none;
  display: none;
}
body.home.page-template .bul-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  list-style: none;
  display: none;
}

body.page-template .bul-dropdown-list li {
  padding: 10px;
  cursor: pointer;
  font-size: 15px;
}
body.home.page-template .bul-dropdown-list li {
  padding: 10px;
  cursor: pointer;
  font-size: 15px;
}

body.page-template .bul-dropdown-list li:hover,
body.page-template .bul-dropdown-list li.active {
  background-color: #eef5ff;
}

body.home.page-template .bul-dropdown-list li:hover,
body.home.page-template .bul-dropdown-list li.active {
  background-color: #eef5ff;
}

.bul-dropdown-list li {
  /* padding: 8px 12px; */
  /* cursor: pointer; */
}

.bul-dropdown-list li.highlighted {
  background-color: #e6f0ff; /* light blue */
  color: #003366; /* dark text */
  font-weight: 500;
}

/* === BUTTON === */
body.page-template .bul-search-button {
  width: 160px;
  padding: 12px;
  font-size: 16px;
  background-color: #2c85dd;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
body.home.page-template .bul-search-button {
  width: 160px;
  padding: 12px;
  font-size: 16px;
  background-color: #2c85dd;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bul-search-button:hover {
  background-color: #196fbd;
}

.lawyer-card-right .btn-action {
  height: 40px !important;
  line-height: 15px !important;
}

.lawyer-card-right {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 38px;
  flex: 0 0 auto;
  min-width: 140px;
  height: 100%;
  margin-left: 50px;
  padding-right: 50px;
}

/* === ICONS === */

.bul-icon-clear {
  right: 36px;
  font-size: 12px;
  color: black;
  z-index: 2;
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.bul-icon-clear.visible {
  display: block;
}
.bul-icon-chevron {
  right: 10px;
  width: 18px;
  height: 18px;
  z-index: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.spinner-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === LOADING === */
.bul-loading-message {
  font-size: 14px;
  color: #666;
  padding: 4px 8px;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  display: none;
  z-index: 999;
}
.bul-loading-message.active {
  display: block;
}

/* === SEARCH BOX (inner row) === */
.bul-search-box {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.bul-icon-clear {
  display: none;
}
.bul-input-wrapper .bul-icon-clear {
  color: black !important;
  width: 10px;
  height: 10px;
}

.bul-dropdown-list.hidden {
  display: none;
}

.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
}

.spinner::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 5px solid #ddd;
  border-top: 5px solid #0073ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.two-line-limit {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*  ==================================================================================== */
/*  CSS for lawyer-cards since lawyer-cards.php is injected by ajax in search component */

.lawyer-card.styled-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  gap: 20px;
}

.lawyer-card-desktop {
  display: flex;
  flex: 1;
  gap: 20px;
  align-items: flex-start;
}

.lawyer-card-left {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.lawyer-card-left img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.lawyer-card-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  border-right: 1px solid #ccc;
  min-width: 0;
}

.btn-action {
  width: 140px; /* ✅ Set fixed width for uniformity */
  padding: 10px;
  border: 1px solid #0073e6;
  border-radius: 6px;
  text-align: center;
  color: #0073e6;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  background: white;
  transition: background 0.2s ease;
}

.btn-action:hover {
  background: #f2f9ff;
}

.lawyer-badge {
  margin-top: 0px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #000;
  background-color: #f5a623;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  text-transform: uppercase;
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
}

.lawyer-card-content {
  flex-grow: 1;
}
.lawyer-rating {
  margin-top: 90px;
}

.lawyer-name h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px 0;
  word-break: break-word;
}
.lawyer-name > h3 > a {
  color: #000;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px 0;
  word-break: break-word;
}
.lawyer-name > h3 > a:hover {
  color: #2c85dd;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px 0;
  word-break: break-word;
}

.lawyer-title,
.lawyer-phone,
.lawyer-description {
  font-size: 16px;
  margin: 4px 0;
}
.lawyer-phone {
  height: 35px;
}
.lawyer-description {
  height: 60px;
}

.lawyer-meta {
  margin-top: 35px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.lawyer-reviews {
  font-size: 14px;
  color: #666;
}

.free-consult {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center; /* vertical */ /* required for vertical centering */
  text-align: center;
  height: 20px;
  font-size: 13px;
  padding: 5px 10px;
  background-color: #eaf3ff;
  border: 1px solid #2c85dd;
  color: #2c85dd;
  border-radius: 4px;
}

/* =================================  */
/* === REVIEW STARS === */
.lawyer-bottom-row {
  display: flex;
  align-items: center;
  gap: 200px;
  margin-top: 10px;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  line-height: 1;
  width: 200px;
}

.star-rating .reviews-label {
  font-weight: 500;
  color: #667085;
  font-size: 16px;
}

.star-rating .reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: #222;
  font-size: 18px;
  line-height: 28px;
  height: 28px;
}

.star-rating img {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -1px; /* adjust this to fine-tune alignment */
}

.lawyer-free-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 500;
  color: #344054;
  background-color: #eaf3fc;
  border: 1px solid #2c85dd;
  border-radius: 9999px;
  line-height: 1;
  vertical-align: middle;
  box-sizing: border-box;
}

/* === lawyer-card RIGHT BUTTONS === */
.lawyer-card-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  min-width: 140px;
  margin-top: 0px;
}

.lawyer-card-right .btn-action {
  width: 140px;
  height: 40px;
  line-height: 20px;
  padding: 12px 16px;
  border: 1px solid #2c85dd;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  background: white;
  color: #2c85dd;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
}

.lawyer-card-right .btn-action:hover {
  background-color: #f0f8ff;
}

.btn-action {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #2c85dd;
  color: #2c85dd;
  text-decoration: none;
  border-radius: 6px;
  background-color: #fff;
  text-align: center;
  font-weight: 500;
  transition: 0.2s ease;
}

.btn-action:hover {
  background-color: #f0f8ff;
}

/* ================================ */
/* 			pagination  			*/
.bul-pagination {
  display: flex;
  justify-content: center; /* ✅ Center horizontally */
  align-items: center;
  gap: 8px;
  margin: 30px auto 0;
  flex-wrap: wrap;
  max-width: 100%;
  text-align: center;
}
.bul-pagination a.page-link {
  padding: 8px 14px;
  border: 1px solid #2c85dd;
  border-radius: 6px;
  color: #2c85dd;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
  margin: 10px;
}

.pagination-links a.page-link {
  /*first page that load server-side */
  padding: 8px 14px;
  border: 1px solid #2c85dd;
  border-radius: 6px;
  color: #2c85dd;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
  margin: 5px;
}

.bul-pagination a.page-link:hover {
  background-color: #f0f8ff;
}

.pagination-links a.page-link:hover {
  background-color: #f0f8ff;
}

.bul-pagination a.page-link.active {
  background-color: #2c85dd;
  color: white;
  font-weight: 600;
}

.pagination-links a.page-link.active {
  background-color: #2c85dd;
  color: white;
  font-weight: 600;
}

.bul-pagination .dots {
  padding: 6px 10px;
  color: #888;
  font-size: 16px;
}

/* ============================================
            Lawyer Content 
================================================ */
.div_lawyers_content {
  border: 1px solid #ccc;
  border-radius: 10px;
}
.div_lawyers_content p,
.div_lawyers_content span {
  color: #808080 !important;
}

/* ============================================ 
			DYNAMIC FOOTER 
	==========================================  */
.bul-dynamic-footer-container {
  max-width: 1200px; /* Match your cards container width */
  margin: 0 auto;
  /* padding: 30px 20px; */
  /* padding-left: 0px !important; */
}

.bul-dynamic-footer-container h2 {
  font-size: 20px !important;
  font-weight: 500 !important;
  padding-left: 0px !important;
}

.tbl_dynamic_footer {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.tbl_dynamic_footer td,
.tbl_dynamic_footer th {
  text-align: left;
  padding: 10px 12px;
  padding-left: 0px !important;
}

.td_dynamic_footer a {
  font-size: 15px;
  color: #333;
  text-decoration: none;
}

.td_dynamic_footer a:hover {
  text-decoration: underline;
}

.th_dynmic_footer h3 {
  font-size: 20px !important;
  font-weight: 400 !important;
  margin: 10px 0 15px;
  color: #222;
}

#myCitiesBtn.bul_btn_view_hide,
#mycitiesBtn.bul_btn_view_hide,
#myStatesBtn.bul_btn_view_hide,
#mystatesBtn.bul_btn_view_hide,
#mySubCatsBtn.bul_btn_view_hide {
  background-color: #2c85dd !important;
  color: white !important;
  text-align: center !important;
  display: block !important;
  margin: 15px auto !important;
  width: 200px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  border: none !important;
}

/*  ================================================================== */
/* css to make all blocks align to same left position and same width  */
.search_results_page_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.search_results_page_container .bul-results-count,
.search_results_page_container #lawyer-results,
.search_results_page_container #lawyer-pagination,
.search_results_page_container #lawyer-pagination-top,
.search_results_page_container #lawyer-count,
.search_results_page_container .main-breadcrumb,
.search_results_page_container .search-form-wrapper,
.search_results_page_container .tbl_dynamic_footer {
  width: 100%;
  box-sizing: border-box;
}

#lawyer-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 40px 0 !important;
  flex-wrap: wrap !important;
  font-family: Inter, sans-serif !important;
}
#lawyer-pagination-top {
  align-items: flex-end; /* ✅ Align buttons to bottom */
  white-space: nowrap;
  margin-left: auto;
  display: flex !important;
  gap: 6px !important;
}

/* Page links */
#lawyer-pagination .page-link {
  display: inline-block !important;
  min-width: 36px !important;
  padding: 10px 14px !important;
  border: 1px solid #2c85dd !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  color: #2c85dd !important;
  text-align: center !important;
  text-decoration: none !important;
  background: #fff !important;
  transition: all 0.2s ease !important;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05) !important;
}
#lawyer-pagination-top .page-link {
  display: inline-block !important;
  min-width: 36px !important;
  padding: 10px 14px !important;
  border: 1px solid #2c85dd !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  color: #2c85dd !important;
  text-align: center !important;
  text-decoration: none !important;
  background: #fff !important;
  transition: all 0.2s ease !important;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Hover effect */
#lawyer-pagination .page-link:hover {
  background-color: #eaf3ff !important;
}
#lawyer-pagination-top .page-link:hover {
  background-color: #eaf3ff !important;
}

/* Active page */
#lawyer-pagination .page-link.active {
  background-color: #2c85dd !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
#lawyer-pagination-top .page-link.active {
  background-color: #2c85dd !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* Ellipsis (dots) */
#lawyer-pagination .dots {
  padding: 10px 14px !important;
  font-size: 16px !important;
  color: #888 !important;
  border: none !important;
}
#lawyer-pagination-top .dots {
  padding: 10px 14px !important;
  font-size: 16px !important;
  color: #888 !important;
  border: none !important;
}

.search_results_page_container .main-breadcrumb {
  padding: 30px !important;
  padding-top: 20px !important;
  padding-bottom: 30px !important;
  font-size: 14px;
  color: #666;
}
#lawyer-count {
  font-weight: 500;
  margin-bottom: 20px;
  margin-top: 30px;
}

.bul-results-count h1 {
  font-size: 32px !important;
  font-weight: 500 !important;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

#lawyer-count-sub-title {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 10px;
}
#lawyer-count-sub-title.force-block {
  display: block !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

.sub_title_and_numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
}

.sub_title_and_numbers h2.inline-h2 {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  font-size: 22px !important;
  font-weight: 400 !important;
}

.sub_title_and_numbers .result-range-text {
  white-space: nowrap;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
}

#lawyer-count-sub-title > p {
  margin-top: 30px;
}

#lawyer-pagination-top {
  width: 45%;
  max-width: 45%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  white-space: nowrap;
}

#lawyer-pagination-top .pagination-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

#lawyer-pagination-top a.page-link,
#lawyer-pagination-top span.dots {
  padding: 4px 8px;
  font-size: 14px;
  border-radius: 4px;
}

#lawyer-count-lawyer-name {
  /* font-size: 14px; */
  /* font-weight: 400 !important; */
  margin-top: 0px;
  padding-top: 0px;
}

/*  ======================================================== 
 					=== MOBILE LAYOUT Titles & Paginations    === 					
	======================================================= */
@media (max-width: 768px) {
  #lawyer-count-sub-title {
    display: block !important;
  }
  .pagination-links {
    display: block;
    width: 150%;
  }

  #lawyer-count-sub-title > span:first-child h2.inline-h2 {
    font-size: 24px !important;
  }

  .bul-results-count h1 {
    font-size: 24px !important;
  }

  .pagination-links a.page-link:last-child {
    margin-right: 0 !important;
  }
  #lawyer-pagination-top .pagination-links,
  #lawyer-pagination .pagination-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 6px;
  }
  #lawyer-pagination-top .page-link,
  #lawyer-pagination .page-link,
  .pagination-links .page-link {
    padding: 6px 8px !important;
    font-size: 12px !important;
    min-width: 32px !important;
    margin: 0 !important;
    line-height: 2;
  }
  #lawyer-pagination-top,
  #lawyer-pagination-top {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    overflow: visible !important;
    margin: 0 auto;
  }
  #lawyer-pagination-top .pagination-links,
  #lawyer-pagination .pagination-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 4px;
  }

  #lawyer-pagination-top .dots,
  #lawyer-pagination .dots {
    padding: 5px 5px !important;
    font-size: 16px !important;
    color: #888 !important;
    border: none !important;
  }
}

/*  ======================================================== 
 					=== MOBILE LAYOUT SEARCH COMPONENT    === 					
	======================================================= */
@media screen and (max-width: 768px) {
  /* Fix the SEARCH FIELDS on Mobile */
  .bul-search-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .bul-search-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .bul-search-box .bul-dropdown,
  .bul-search-box .bul-input-wrapper,
  .bul-search-box .bul-search-button-wrapper,
  .bul-search-box .bul-search-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.page-template .bul-search-input,
  body.home.page-template .bul-search-input {
    width: 100%;
  }

  .bul-dropdown-input {
    width: 100% !important;
  }

  .bul-dropdown-list,
  .bul-loading-message {
    width: 100% !important;
  }

  #bul-search-button {
    font-size: 18px;
    padding: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .lawyer-card.styled-card {
    flex-direction: column;
    padding: 15px;
    gap: 20px;
  }

  .lawyer-card-left {
    width: 80px;
  }

  .lawyer-card-left img {
    width: 80px;
    height: 80px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  .lawyer-badge {
    margin-top: 0px;
    width: 80px;
    font-size: 12px;
    padding: 6px 4px;
    padding-top: 0px !important;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }

  .lawyer-card-center {
    flex: 1;
    padding: 0;
    border: none;
  }

  /* Hide the empty bottom row if no rating or free consultation */
  .lawyer-bottom-row {
    display: none;
  }

  .lawyer-name h3 {
    font-size: 20px;
  }

  .lawyer-title,
  .lawyer-phone,
  .lawyer-description {
    font-size: 14px;
  }

  .lawyer-card-right {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .lawyer-card-right .btn-action {
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 10px 5px;
  }
}

/*  =================================  */
/* === MOBILE: Lawyer card layout === */
/*  ================================= */
@media (max-width: 768px) {
  .lawyer-card-desktop {
    display: none;
  }

  .lawyer-card-mobile {
    display: block;
  }
  .lawyer-card-left {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px; /* or whatever spacing you want between them */
  }

  .lawyer_img,
  .lawyer_details {
    display: inline-block; /* or block — doesn't matter inside flex */
    vertical-align: top;
  }

  .lawyer-card-left img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }

  .lawyer-badge {
    width: 120px;
  }

  .lawyer-name {
    font-size: 16px;
  }

  .lawyer-phone img {
    width: 20px;
    height: 20px;
  }

  .reviews-score img {
    width: 10px;
    height: 10px;
  }
  .reviews-score span {
    font-size: 12px;
  }
  .star-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: -5px;
    margin-bottom: 4px;
  }

  .star-rating .reviews-label {
    font-weight: 500;
    color: #667085;
    font-size: 14px;
  }

  .lawyer-free-consult {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 500;
    color: #344054;
    background-color: #eaf3fc;
    border: 1px solid #2c85dd;
    border-radius: 9999px;
    line-height: 1;
    vertical-align: middle;
    box-sizing: border-box;
  }

  .lawyer-description {
    height: 60px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .btn-action {
    width: 100px;
    display: inline-block;
    padding: 10px 1px;
    border: 1px solid #2c85dd;
    color: #2c85dd;
    text-decoration: none;
    border-radius: 6px;
    background-color: #fff;
    text-align: center;
    font-weight: 500;
    transition: 0.2s ease;
    font-size: 14px;
  }
}
