body {
  background-color: white !important;
  font-family: Inter !important;
}

.hr_between {
  /* between  prctice insigh section and book section   */
  width: 100%;
  border: 0px solid #eaecf0;
  margin-top: 32px;
  margin-bottom: 32px;
}

/* ======================================= */
/*                   SEARCH                */
/* ======================================= */

@media screen and (min-width: 578px) {
  .div_main_mobile {
    width: 100%;
    height: auto;
    background-color: #004e9c;
    background-image: url("/wp-content/themes/dlawyers-child/bul_icons/homepage/homepage_search_background.svg");
    background-size: 100% 500px; /* Stretch width, keep height auto */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: bottom; /* Center the image */
    padding: 0px;
    margin: 0px;
  }
  .div_space_most_bottom {
    height: 65px;
  }
  #div_space_from_top {
    height: 67px;
  }

  .div_titles {
    text-align: center;
  }
  .rated_text {
    color: #fff;
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    color: #9ec7ef;
    height: 33px;
    border: 1px solid #ffffff1a;
    border-radius: 8px;

    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 11px;
    padding-left: 11px;
  }
  .main_title > h1 {
    font-family: Inter !important;
    width: 686px !important;
    color: #fff !important;
    font-size: 60px !important;
    font-weight: 600 !important;
    line-height: 72px !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .main_search_bottom {
    width: 100%;
    /* height:400px; */
    background-color: #004e9c;
    background-image: url("/wp-content/themes/dlawyers-child/bul_icons/homepage/homepage_search_background.svg");
    background-size: cover; /* Adjusts the SVG size */
    background-repeat: repeat-y;
    background-position: center;
    padding: 0px;
    margin: 0px;
  }
  .div_search_fields {
    width: 1019px;
    height: 70px;
    margin: 0 auto;
    background-color: #fff;
    border: 0px;
    border-radius: 12px;
    /* display: flex; */
    /* flex-direction: column; */
    border: 0px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .bul-search-wrapper {
    /* width: 100%; */
    /* max-width: 1100px; */
    /* margin: 30px auto; */
    /* padding: 20px; */
    /* border: 1px solid #ddd; */
    /* border-radius: 8px; */
    background: #fff;
    /* box-sizing: border-box;
  }

  .div_search_fields > span {
    margin-bottom: 8px !important;
  }

  .select2-container .select2-selection--single {
    height: 44px !important;
    border-radius: 10px !important; /* Adjust border radius */
    border: 1px solid #d0d5dd !important; /* Optional: Customize border */
  }

  #select2-your-select2-input_cat-container,
  #select2-your-select2-input_loc-container {
    padding-top: 5px;
    padding-left: 0px;
  }

  #select2-search_loc_list-container {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-bottom: 15px !important;
    color: #565866 !important;
    line-height: 2em;
  }

  #select2-search_cat_list-container {
    padding-top: 5px;
    padding-bottom: 5px !important;
    margin-bottom: 15px !important;
    color: #565866 !important;
    line-height: 2em;
  }

  /* Custom styles for the clear button */
  .select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    cursor: pointer;
    display: none;
    font-size: 18px;
    line-height: 1;
    position: absolute;
    right: 20px;
    top: 55%;
    margin-top: -2px;
    transform: translateY(-50%);
  }

  .select2-results__option {
    display: flex;
    height: 100%;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 10px;
  }

  .select2-container .select2-selection__placeholder {
    display: flex;
    height: 100%;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: -3px;
    color: #667085 !important;
  }

  .select2-container--default.select2-container--open
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
    margin-top: -12px;
  }

  /* Display the clear button when there is a selection */
  .select2-container--default
    .select2-selection--single
    .select
    .select2-selection__rendered {
    line-height: 44px !important;
    margin-top: -12px;
  }

  .select2-container .select2-selection--single {
    height: 44px !important;
  }

  .select2-selection__arrow {
    height: 54px !important;
  }

  .select2-search--dropdown {
    display: block;
    padding: 4px;
  }

  #select2-search_loc_list-container {
    padding-top: 5px !important;
    color: #565866 !important;
    line-height: 2em;
  }

  #select2-search_cat_list-container {
    padding-top: 5px;
    color: #565866 !important;
    line-height: 2em;
  }

  .lawyer_name_search {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    height: 45px;
    width: 320px;
    padding-top: 0px;
    margin-top: 2px;
    padding-left: 10px !important;
  }
  .lawyer_name_search::placeholder {
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #667085;
    /* padding-left: 10px !important; */
  }

  #btn_search {
    background-color: #2d85dc;
    color: white;
    height: 50px;
    width: 154px;
    border: 0px;
    border-radius: 8px;
    margin-left: 16px;
  }

  #your-select2-input_cat {
    width: 246.5px;
    height: 44px;
    margin-right: 5px;
  }

  #your-select2-input_loc {
    width: 246.5px;
    height: 44px;
    margin-right: 5px;
  }

  #div_main_popular_catgories {
    justify-content: center !important;
  }
  .popular {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-family: Inter;
    font-weight: 500;
    line-height: 27px;
    margin-left: 16px;
    justify-content: center;
  }
  .popular_cats {
    margin-left: 16px;
    height: 26px;
  }
  .pop_cat {
    color: #ffff;
    background-color: #004e9c;
    font-size: 14px;
    font-family: Inter;
    font-weight: 500;
    line-height: 20px;
    border: 1px solid #fff;
    border-radius: 100px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    margin-right: 8px;
  }

  .space_up_fields {
    height: 10px;
  }
  .space_bottom_fields {
    height: 10px;
  }
  #html_popular_desktop {
    margin-bottom: 105px;
  }
}

/* =============================== */
/*      Search for  Mobile         */
/* =============================== */

@media screen and (max-width: 578px) {
  .div_main_mobile {
    /* height: 566px; */
    background-color: #004e9c;
    background-image: url("/wp-content/themes/dlawyers-child/bul_icons/homepage/homepage_search_background.svg");
    background-size: 150% 200px; /* Stretch width, keep height auto */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: bottom; /* Center the image */
    padding: 0px;
    margin: 0px;
  }
  .div_space_most_bottom {
    height: 16px;
  }
  #div_space_from_top {
    height: 44px;
  }

  body .main_title > h1 {
    font-family: Inter, sans-serif !important;
    color: #fff !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    line-height: 38px !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: 90% !important;
    max-width: 300px !important; /* limit width to force line break */
    white-space: normal !important; /* allow wrapping */
    word-break: break-word !important;
  }

  #div_main_popular_catgories {
    display: flex !important;
    height: 20px;
    line-height: 2px;
  }

  .popular {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 12px !important;
    font-family: Inter !important;
    font-weight: 500 !important;
    margin-left: 16px !important;
    height: 20px;
  }
  .main_search_upper {
    width: 100%;
    height: auto;
    background-color: #004e9c;
    padding: 0px;
    margin: 0px;
  }
  .div_titles {
    text-align: center;
  }
  .rated_text {
    color: #fff;
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    color: #9ec7ef;
    height: 33px;
    border: 1px solid #ffffff1a;
    border-radius: 8px;

    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .main_search_bottom {
    width: 100%;
    /* height:400px; */
    background-color: #004e9c;
    background-image: url("/wp-content/themes/dlawyers-child/bul_icons/homepage/homepage_search_background.svg");
    background-size: contain; /* Adjusts the SVG size */
    background-repeat: repeat-y;
    background-position: center;
    padding: 0px;
    margin: 0px;
  }
  .div_search_fields {
    width: 91%;
    margin-left: 16px;
    background-color: #fff;
    border: 0px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    border: 0px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .div_search_fields > span {
    margin-bottom: 8px !important;
  }

  .select2-container .select2-selection--single {
    height: 44px !important;
    border-radius: 10px !important; /* Adjust border radius */
    border: 1px solid #d0d5dd !important; /* Optional: Customize border */
  }

  #select2-your-select2-input_cat-container,
  #select2-your-select2-input_loc-container {
    padding-top: 5px;
    padding-left: 0px;
  }

  #select2-search_loc_list-container {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-bottom: 15px !important;
    color: #565866 !important;
    line-height: 2em;
  }

  #select2-search_cat_list-container {
    padding-top: 5px;
    padding-bottom: 5px !important;
    margin-bottom: 15px !important;
    color: #565866 !important;
    line-height: 2em;
  }

  /* Custom styles for the clear button */
  .select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    cursor: pointer;
    display: none;
    font-size: 18px;
    line-height: 1;
    position: absolute;
    right: 20px;
    top: 55%;
    margin-top: -2px;
    transform: translateY(-50%);
  }

  .select2-results__option {
    display: flex;
    height: 100%;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 10px;
  }

  .select2-container .select2-selection__placeholder {
    display: flex;
    height: 100%;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: -3px;
    color: #667085 !important;
  }

  .select2-container--default.select2-container--open
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
    margin-top: -12px;
  }

  /* Display the clear button when there is a selection */
  .select2-container--default
    .select2-selection--single
    .select
    .select2-selection__rendered {
    line-height: 44px !important;
    margin-top: -12px;
  }

  .select2-container .select2-selection--single {
    height: 44px !important;
  }

  .select2-selection__arrow {
    height: 54px !important;
  }

  .select2-search--dropdown {
    display: block;
    padding: 4px;
  }

  #select2-search_loc_list-container {
    padding-top: 5px !important;
    color: #565866 !important;
    line-height: 2em;
  }

  #select2-search_cat_list-container {
    padding-top: 5px;
    color: #565866 !important;
    line-height: 2em;
  }

  .lawyer_name_search {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    height: 44px;
    width: 100%;
    padding-top: 0px;
    margin-top: 0px;
    padding-left: 10px !important;
  }
  .lawyer_name_search::placeholder {
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #667085;
    /* padding-left: 10px !important; */
  }

  #btn_search {
    background-color: #2d85dc;
    color: white;
    height: 50px;
    width: 100%;
    border: 0px;
    border-radius: 8px;
  }

  #your-select2-input_cat {
    width: 100%;
    height: 44px;
    margin-right: 5px;
  }

  #your-select2-input_loc {
    width: 100%;
    height: 44px;
    margin-right: 5px;
  }

  .popular {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-family: Inter;
    font-weight: 500;
    line-height: 20px;
    margin-left: 16px;
  }
  .popular_cats {
    margin-left: 16px;
    height: 26px;
  }
  .pop_cat {
    color: #ffff;
    background-color: #004e9c;
    font-size: 12px;
    font-family: Inter;
    font-weight: 500;
    line-height: 20px;
    border: 1px solid #fff;
    border-radius: 100px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    white-space: nowrap; /* Prevents breaking into a new line */
    word-break: keep-all; /* Ensures the text doesn't break mid-word */
    margin-right: 8px;
  }

  .space_up_fields {
    height: 16px;
  }
  .space_bottom_fields {
    height: 8px;
  }
}

/* ======================================== */
/*            Statistics                    */
/* ======================================== */
@media screen and (min-width: 578px) {
  /* Desktop View  */
  #div_statistics_desktop {
    border: 0px;
    height: 152px !important;
    background-color: #003972;
  }
  .carousel-wrapper {
    display: none;
  }
  #tbl_statistics {
    background: #003972;
    color: white;
    border: 0px;
    height: 152px !important;
    margin: 0 auto;
  }
  .td_row_1 {
    font-size: 48px;
    font-family: Inter;
    line-height: 48px;
    font-weight: 600;
    color: white;
    border: 0px;
    height: 76px !important;
    padding: 0px;
    padding-top: 24px !important;
    padding-bottom: 4px !important;
    width: 200px !important;
  }
  .td_row_2 {
    font-size: 16px;
    font-family: Inter;
    line-height: 24px;
    font-weight: 300;
    border: 0px;
    height: 76px !important;
    padding: 0px;
    padding-bottom: 24px !important;
    padding-top: 4px !important;
    width: 200px !important;
  }
  .td_space_105 {
    width: 105px;
    border: 0px;
  }
  .td_space_162 {
    width: 162px;
    border: 0px;
  }
}
@media screen and (max-width: 578px) {
  /* Mobile View  */

  #div_statistics_desktop {
    display: none;
    background: #003972;
  }
  .carousel-wrapper {
    display: flex;
    width: 100%;
    align-items: center; /* Centers text vertically */
    justify-content: center; /* Centers text horizontally */
    text-align: center;
    height: 152px;
    align-items: center;
    justify-content: center;
    gap: 40px;
    /* margin-top: 250px; */
    background: #003972;
    color: white;
    border: 0px;
  }

  .carousel {
    width: 165px; /* Fixed width to ensure centering */
    overflow: hidden;
    border: 2px solid black;
    position: relative;
    border: 0px;
  }

  .carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    border: 0px;
  }

  .slide {
    /* display: flex; */
    align-items: center; /* Centers text vertically */
    justify-content: center; /* Centers text horizontally */
    text-align: center;
    width: 170px;
    height: 96px;
    align-items: center;
    font-size: 24px;
    background: #003972;
    color: white;
    text-align: center;
    margin-right: 25px;
    /* margin-left: 10px; */
    border: 0px;
  }
  #img_right {
    background-color: #1d4d80;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 10px;
  }
  #img_left {
    background-color: #1d4d80;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 10px;
  }
  .td_row_1 {
    display: flex;
    /* align-items: center; Centers text vertically */
    /* justify-content: center; Centers text horizontally */
    text-align: left;
    width: 147px;
    font-size: 40px;
    font-family: Inter;
    line-height: 48px;
    font-weight: 600;
    color: white;
    border: 0px;
  }
  .td_row_2 {
    display: flex;
    align-items: center; /* Centers text vertically */
    /* justify-content: center; Centers text horizontally */
    text-align: left;
    width: 175px;
    font-size: 14px;
    font-family: Inter;
    line-height: 24px;
    font-weight: 400;
    border: 0px;
  }
}

/* ========================================= */
/* 			            Tabs			               */
/* ========================================= */

/* 			Tabs - Display for Desktop 		*/
/* ---------------------------- */
@media screen and (min-width: 578px) {
  .homepage_find_tabs_mobile {
    display: none;
  }
  .homepage_find_tabs {
    width: 100%;
    height: auto;
    background: #eaf3fc;
    margin: 0 auto; /* center div on window */
    justify-content: center;
    align-items: center;
  }
  .div_tabs_title {
    /* width: 710px; */
    height: 60px;
    line-height: 60px;
    font-family: Inter;
    font-size: 48px;
    font-weight: 600;
    margin: 0 auto; /* center div on window */
    text-align: center;
  }

  .div_tabs {
    width: 674px;
    height: 68px;
    line-height: 68px;
    background-color: white;
    border: 1px solid #2979c8;
    border-radius: 999px;
    text-align: center;
    margin: 0 auto; /* center div on window */
  }
  .span_tab {
    height: 56px;
    line-height: 56px;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    border: 0px solid black;
    display: inline-block;
    cursor: pointer;
    display: inline-flex;
    text-align: center;
  }
  .span_tab:hover {
    height: 56px;
    line-height: 56px;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid #2979c8;
    border-radius: 9999px;
    cursor: pointer;
    /* background-color: white; */
    display: inline-flex;
    text-align: center;
  }

  .td_state_tab {
    padding: 12px 15px;
    width: 25%;
    border: 0px;
  }
  .span_tab.active {
    height: 56px;
    line-height: 56px;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid #2979c8;
    border-radius: 9999px;
    display: inline-flex;
    cursor: pointer;
    background: #2979c8;
    color: white;
  }
  .div_items_list {
    width: 1312px;
    /* height: auto; */
    /* border: 1px solid #2979c8; */
    border-radius: 32px;
    background-color: white;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* 		Tabs -	Display for Mobile 			 */
/* ----------------------------- */
@media screen and (max-width: 578px) {
  .homepage_find_tabs {
    display: none;
  }
  .homepage_find_tabs_mobile {
    width: 100vw; /* 100% of the viewport width */
    max-width: 100%; /* Prevents overflow */
    height: auto;
    display: block !important;
    border: 0px solid red;
    background: #eaf3fc;
    justify-content: center;
    align-items: center;
    /* margin-left: 16px; */
  }
  .elementor-element {
    margin: 0 !important;
    padding: 0 !important;
  }
  .div_tabs_title {
    width: 343px;
    height: 64px;
    line-height: 32px;
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto; /* center div on window */
    text-align: center;
  }

  .td_state_item {
    width: 100%;
    border: 0px;
    padding-left: 0px;
    padding-bottom: 8px;
    padding-top: 8px;
    cursor: pointer;
  }
  #div_select_tabs {
    width: 91%;
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 16px;
  }

  /* Start Dropdown */
  .select_tabs {
    position: relative;
  }
  .select_tabs .selectBtn_tabs {
    background: var(--bg1);
    padding: 10px;
    padding-left: 16px !important;
    box-sizing: border-box;
    border-radius: 3px;
    width: 100%;
    cursor: pointer;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #2979c8;
    color: #fff;
    border-radius: 8px;
  }
  .select_tabs .selectBtn_tabs:after {
    content: "";
    position: absolute;
    top: 45%;
    right: 15px;
    width: 10px;
    height: 10px;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transition: 0.2s ease;
  }
  .select_tabs .selectBtn_tabs.toggle {
    border-radius: 3px 3px 0 0;
  }
  .select_tabs .selectBtn_tabs.toggle:after {
    -webkit-transform: translateY(-50%) rotate(-135deg);
    transform: translateY(-50%) rotate(-135deg);
  }
  .select_tabs .selectDropdown_tabs {
    position: absolute;
    top: 100%;
    width: 100%;
    border-radius: 0 0 3px 3px;
    overflow: hidden;
    background: var(--bg1);
    border-top: 1px solid #eee;
    z-index: 1;
    background: #fff;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transform-origin: top center;
    transform-origin: top center;
    visibility: hidden;
    transition: 0.2s ease;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  }
  .select_tabs .selectDropdown_tabs .option_tabs {
    padding: 10px;
    box-sizing: border-box;
    cursor: pointer;
  }
  .select_tabs .selectDropdown_tabs .option_tabs:hover {
    background: #f8f8f8;
  }
  .select_tabs .selectDropdown_tabs.toggle {
    visibility: visible;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  /*  end dropdown */

  .div_items_list {
    width: 91%;
    display: block !important;
    background-color: #fff;
    border-radius: 16px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .tbl_states_mobile {
    border-collapse: collapse;
    width: 91%;
    height: auto;
    border: 0px;
    margin-top: 32px;
    margin: 0 auto;
    border: 0px solid orange;
  }

  #search_Tab_Table_Input {
    display: flex;
    margin-left: 16px;
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    margin-left: 16px;
    padding-left: 40px;
  }

  #search_tab_img {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%); /* Center the image vertically */
    width: 20px;
    height: 20px;
  }
  .blue_text {
    color: #205e9c;
  }
}

/* ========================================= */
/* 			Practice Areas Insights			         */
/*   see more css in pracitice_insightd.php  */
/* ========================================= */

/* 	Display for Desktop  - 	see more css in pracitice_insightd.php 	  */
/* ----------------------------------------------------------------   */
@media screen and (min-width: 578px) {
  .homepage_insights_mobile {
    display: none;
  }

  .homepage_insights {
    width: 100%;
    height: auto;
    background: white;
    margin: 0 auto; /* center div on window */
    justify-content: center;
    align-items: center;
    margin-bottom: 64px;
  }
  .main_insights_table {
    width: 1344px;
    /* height: 738px; */
    margin: 0 auto; /* center div on window */
    border: 1px solid #d0d5dd;
    border-collapse: separate; /* Change from collapse to separate */
    border-spacing: 0; /* Remove gaps between cells */
    border-radius: 10px; /* Rounded border for table */
    overflow: hidden; /* Ensure corners are applied */
  }
  .div_insights_title {
    width: 710px;
    height: 60px;
    line-height: 60px;
    font-family: Inter;
    font-size: 48px;
    font-weight: 600;
    margin: 0 auto; /* center div on window */
    text-align: center;
    margin-top: 64px;
  }
  .div_insights_subtitle {
    width: 788px;
    height: 28px;
    line-height: 28px;
    font-family: Inter;
    font-size: 18px;
    font-weight: 500;
    margin: 0 auto; /* center div on window */
    text-align: center;
  }

  #main_td_left {
    width: 297px;
    border: 0;
    vertical-align: top;
    padding-top: 29px;
  }
  #main_right_column {
    border: 0px;
    width: 888px;
  }
  .tbl_right_upper {
    border: 0px;
    width: 900px;
  }

  #main_sub_cat_grid_container {
    padding-left: 0px;
  }
  #ul_practices {
    list-style-type: none;
    padding-left: 0px;
    width: 297px !important;
  }

  .td_width {
    width: 650px;
    border: 0px;
  }
  .btn_read_more {
    color: #101828;
    font-family: Inter;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    border: 0px;
    cursor: pointer;
  }

  .btn_sub_read_more {
    color: #2979c8;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    vertical-align: middle;
    border-radius: 8px;
    border: 0px;
    background-color: transparent;
    padding-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 110px;
    height: 36px;
    cursor: pointer;
    text-align: left;
  }
  .btn_sub_read_more::before {
    content: url(/wp-content/themes/dlawyers-child/bul_icons/homepage/arrow_right_blue_only.svg);
    vertical-align: middle;
    width: 20px;
    float: right;
    margin-top: 2px;
  }

  .div_tbl_main_insight {
    overflow-x: auto; /* optional: adds scroll if content overflows */
    width: 1344px !important;
    margin: 0 auto;
  }
  .div_tbl_main_insight table {
    width: 100%; /* make table take full width of its parent */
    table-layout: fixed; /* optional: force columns to fit */
  }

  .li_practices {
    width: 297px;
    height: 34px;
    line-height: 34px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding-left: 16px;
  }
  .li_practices:hover {
    width: 297px;
    height: 34px;
    line-height: 34px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: grey;
    /* text-decoration: underline; */
    /* background: transparent; */
    border: 1px solid #dedede;
    border-radius: 8px;
    padding-left: 15px;
  }
  .li_practices.active {
    width: 297px;
    position: relative;
    padding-right: 20px;
    height: 34px;
    line-height: 34px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: white;
    background: #2d85dc;
    border-radius: 8px;
    border: 0px;
    padding-left: 15px;
  }
  .li_practices.active::after {
    content: url(/wp-content/themes/dlawyers-child/bul_icons/homepage/arrow_right_white.svg);
    vertical-align: middle;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
  }

  .nested-table {
    width: 100%;
    border-collapse: collapse;
  }
  .nested-table td {
    border: 0px;
    /* padding: 10px; */
  }

  #td_category_img {
    width: 250px !important;
    height: 205px !important;
    border-radius: 16px;
    padding: 0px;
    border: 0px;
  }
  #category_img {
    width: 250px;
    height: 205px;
    border-radius: 16px;
  }
  #page_category {
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding-top: 0px;
    border: 0px;
  }
  #page_title {
    font-family: Inter;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    height: 30px;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0px;
  }
  #page_excerpt {
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    border: 0px;
  }
  #page_button {
    padding-bottom: 0px;
  }
  #hr_between_tables {
    margin-bottom: 10px;
    margin-top: 16px;
    margin-bottom: 16px;
    margin-left: 15px;
  }
  .two-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: normal; */
    max-width: 100%; /* Adjust width as needed */
    height: 64px;
    line-height: 32px;
  }
  #td_left_main_insights_table {
    vertical-align: top;
    padding-top: 29px;
    padding-left: 16px;
    border-bottom: 0px;
    width: 297px;
    padding-right: 0px;
  }
  #td_right_main_insights_table {
    vertical-align: top;
    padding-top: 23px;
    border-bottom: 0px;
    padding-right: 84px;
    padding-left: 29px;
  }
  .sub_img_cat {
    width: 125px !important;
    height: 125px !important;
    border-radius: 16px !important;
    padding: 0px;
  }
  .td_sub_cat_img {
    width: 125px !important;
    height: 125px !important;
    border-radius: 16px !important;
    padding-top: 0px;
    border: 0px !important;
    padding: 0px !important;
    margin-right: 10px;
  }
  .td_sub_title {
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    border: 0px !important;
    padding: 0px !important;
  }
  .td_sub_category {
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    color: #667085;
    line-height: 20px;
    border: 0px !important;
    padding: 0px !important;
    margin-left: 10px !important;
    margin-top: 6px !important;
  }
  .td_sub_spacer_10 {
    margin-right: 10px !important;
    border: 0px !important;
  }
  .td_sub_button {
    padding-left: 0px !important;
  }
  #tr_1_td_left_nested_table {
    padding-top: 0px;
    padding-bottom: 16px;
  }
  #tr_1_td_right_nested_table {
    padding-top: 0px;
    padding-bottom: 16px;
  }

  .btn_category_results {
    width: 330px;
    color: white;
    background: #2d85dc;
    cursor: pointer;
    border-radius: 8px;
    border: 0px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    padding: 10px;
    margin-top: 14px;
  }

  .category {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #667085;
  }

  .title {
    font-family: Inter;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    color: #101828;
    margin: 5px 0;
  }

  .read-more {
    color: #2979c8;
    text-decoration: none;
    font-size: 14px;
    font-family: Inter;
    font-weight: 500;
    line-height: 20px;
    display: flex;
    align-items: center;
  }

  .read-more:hover {
    text-decoration: underline;
  }

  .arrow {
    margin-left: 5px;
    font-weight: bold;
  }

  .a_sub_cat_title {
    color: #101828;
  }
}

/* 		Practice Insight - > 	Display for Mobile 		*/
/* ----------------------------------------------- */
@media screen and (max-width: 578px) {
  .homepage_insights {
    display: none;
  }
  .homepage_insights {
    width: 100%;
    height: auto;
    background: white;
    margin: 0 auto; /* center div on window */
    justify-content: center;
    align-items: center;
  }
  .div_insights_title {
    width: 91%;
    margin-left: 16px;
    height: 32px;
    line-height: 32px;
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-top: 48px !important;
  }
  .insight_category_title_mobile {
    width: 91%;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #101828 !important;
  }
  .td_width_mobile {
    padding-left: 0px;
    width: 91%;
    height: 30px;
    border: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .div_insights_subtitle {
    width: 91%;
    margin-left: 16px;
    height: 40px;
    line-height: 20px;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
  }

  /* Start Dropdown */
  .select_practices_mobile {
    position: relative;
  }
  /*
  .select_practices_mobile .selectBtn_practices_mobile {
    background: var(--bg1);
    padding: 10px;
    padding-left: 16px;
    box-sizing: border-box;
    border-radius: 3px;
    border: 1px solid #eaecf0;
    width: 91%;
    margin-left: 16px;
    cursor: pointer;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #fff;
    color: #205e9c;
    border-radius: 8px;
    font-weight: 500;
    font-family: Inter;
    font-size: 20px;
    line-height: 24px;
  }
    */
  .select_practices_mobile .selectBtn_practices_mobile:after {
    content: "";
    position: absolute;
    top: 45%;
    right: 25px;
    width: 12px;
    height: 12px;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid #205e9c;
    border-bottom: 2px solid #205e9c;
    transition: 0.2s ease;
  }
  .select_practices_mobile .selectBtn_practices_mobile.toggle {
    border-radius: 3px 3px 0 0;
  }
  .select_practices_mobile .selectBtn_practices_mobile.toggle:after {
    -webkit-transform: translateY(-50%) rotate(-135deg);
    transform: translateY(-50%) rotate(-135deg);
  }
  .select_practices_mobile .selectDropdown_practices_mobile {
    position: absolute;
    top: 100%;
    border-radius: 0 0 3px 3px;
    overflow: hidden;
    background: var(--bg1);
    border-top: 1px solid #eee;
    z-index: 1;
    background: #fff;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transform-origin: top center;
    transform-origin: top center;
    visibility: hidden;
    transition: 0.2s ease;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  }
  .select_practices_mobile .selectDropdown_practices_mobile .option_practices {
    /* padding: 5px; */
    box-sizing: border-box;
    cursor: pointer;
    margin-left: 16px;
    width: 91%;
  }
  .select_practices_mobile
    .selectDropdown_practices_mobile
    .option_practices:hover {
    background: #f8f8f8;
  }
  .select_practices_mobile .selectDropdown_practices_mobile.toggle {
    visibility: visible;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  /*  end dropdown */

  #td_category_img_mobile,
  #page_category_mobile,
  #page_title_mobile,
  #page_excerpt_mobile_mobile,
  #page_button_mobile {
    padding: 0px;
  }

  #category_img_mobile {
    width: 100%;
    height: 205px;
    border-radius: 16px;
  }
  #page_category_mobile {
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding-top: 0px;
    border: 0px;
  }
  #page_title_mobile {
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 30px;
    height: 30px;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0px;
  }
  #page_excerpt_mobile {
    /* width: 91%; */
    font-family: Inter;
    font-size: 16px;
    font-weight: 300;
    color: #475467;
    line-height: 24px;
    height: 48px;
    border: 0px;
    padding: 0px;
    /* letter-spacing: 2px; */
  }
  #page_button_mobile {
    padding-bottom: 0px;
  }
  #hr_between_tables_mobile {
    border: 1px solid #d0d5dd;
    margin-bottom: 10px;
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .two-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%; /* Adjust width as needed */
    height: 48px;
    line-height: 24px;
  }
  .two-lines-sub {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%; /* Adjust width as needed */
    height: 40px;
    line-height: 24px;
  }

  .btn_read_more {
    color: black;
    font-size: 14px;
    vertical-align: middle;
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    background-color: transparent;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 100%;
    /* margin-left: 16px; */
    height: 36px;
    cursor: pointer;
  }

  .td_sub_category_mobile,
  .td_sub_cat_img_mobile,
  .td_sub_title_mobile,
  .td_sub_button_mobile {
    border: 0px;
    padding: 0px;
  }
  .td_sub_cat_img_mobile {
    width: 125px;
    height: 125px;
    padding: 0px;
  }

  .sub_img_cat {
    width: 125px !important;
    height: 125px !important;
    border-radius: 16px !important;
    padding: 0px;
  }

  .td_sub_category_mobile {
    font-family: Inter;
    font-size: 12px;
    font-weight: 400;
    color: #667085;
    line-height: 18px;
    border: 0px !important;
    padding: 0px !important;
    margin-left: 10px !important;
    margin-top: 6px !important;
  }

  .td_sub_title_mobile {
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    border: 0px !important;
    padding: 0px !important;
  }

  .btn_sub_read_more_mobile {
    color: #2979c8;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    vertical-align: middle;
    border-radius: 8px;
    border: 0px;
    background-color: transparent;
    padding-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 110px;
    height: 36px;
    cursor: pointer;
    text-align: left;
  }
  .btn_sub_read_more_mobile::before {
    content: url(/wp-content/themes/dlawyers-child/bul_icons/homepage/arrow_right_blue_only.svg);
    vertical-align: middle;
    width: 20px;
    float: right;
    margin-top: 2px;
  }
  .td_sub_spacer_10 {
    /* margin-right: 10px !important; */
    border: 0px !important;
    width: 20px;
  }

  .btn_mobile_category_results {
    width: 100% !important;
    /* margin-left: 16px; */
    height: 44px;
    color: white;
    background: #2d85dc;
    cursor: pointer;
    border-radius: 8px;
    border: 0px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    /* padding-left: 0px; */
  }
  .btn_mobile_category_results::before {
    content: url(/wp-content/themes/dlawyers-child/bul_icons/homepage/arrow_right_white.svg);
    vertical-align: middle;
    width: 20px;
    float: right;
    margin-top: 1px;
    margin-right: 20px;
  }
}

/* ========================================= */
/*            Featured                       */
/* ========================================= */
@media screen and (min-width: 578px) {
  h2 {
    font-size: 48px !important;
  }
  h3 {
    font-size: 24px !important;
  }

  /* Desktop View  */
  .hompage_featured {
    width: 100%;
    height: 878px;
    background: white;
    margin: 0 auto; /* center div on window */
    justify-content: center;
    align-items: center;
  }
  .div_featured_main_title {
    width: 710px;
    height: 60px;
    line-height: 60px;
    font-family: Inter;
    font-size: 48px;
    font-weight: 600;
    margin: 0 auto; /* center div on window */
    text-align: center;
  }
  .space_from_left {
    margin-left: 0px !important;
  }
  .featured_container {
    display: flex;
    justify-content: space-between;
    width: 1311px; /* Adjust as needed */
    margin: 0 auto;
    gap: 33px;
  }
  .div_main_featured {
    background: white;
    display: flex;
    width: 1440px;
    margin: 0 auto;
  }
  .column {
    width: 33%; /* 3 columns */
  }

  .featured_title {
    color: #101828;
  }

  .space_above_featured_title {
    height: 64px;
  }
  .box {
    background-color: lightblue;
    padding: 20px;
    margin: 5px 0;
    text-align: center;
    border: 1px solid #000;
    /* padding-bottom:0px; */
    /* margin-bottom:0px; */
  }
  .row_img {
    width: 415px;
    /* height: 325px; */
    border-radius: 16px;
  }
  .row_title {
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    color: #101828;
    line-height: 32px;
    padding-bottom: 0px;
    margin-top: 16px;
    margin-bottom: 4px;
    margin-top: 0px;
    width: 415px;
  }

  .featured_img {
    width: 415px;
    height: 301px !important;
    border-radius: 16px !important;
  }
  #featured_title {
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    color: #101828;
    line-height: 32px;
    padding-bottom: 0px;
  }

  .featured_free_consultation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 22px;
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #2d85dc;
    color: #2d85dc;
    background-color: rgba(32, 94, 156, 0.05); /* #2d85dc with 5% opacity */
    border-radius: 999px;
    float: right;
    text-align: center;
  }

  .inner_tr_title {
    height: 32px;
  }
  #div_btn_all_lawyers {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 64px;
  }
  #btn_view_all_lawyers {
    width: 172px;
    height: 48px;
    color: #344054;
    background: white;
    /* margin: 0 auto; */
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }
  #hr_between_featured {
    display: none;
  }

  .row_address {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    color: #2979c8;
    line-height: 20px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-bottom: 4px;
    margin-top: 0px;
    width: 415px;
  }
  .row_tagline {
    font-family: Inter;
    font-size: 16px;
    font-weight: 300;
    color: #475467;
    line-height: 24px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-bottom: 4px;
    margin-top: 0px;
    border: 0px;
    width: 415px;
  }

  #featured_space_under_title {
    height: 48px;
  }
}

@media screen and (max-width: 578px) {
  /*  Featured - >  MOBILE VIEW   */
  .div_featured_main_title {
    width: 100vw;
    width: 91%;
    height: 32px;
    line-height: 32px;
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto; /* center div on window */
    text-align: center;
  }
  #div_btn_all_lawyers {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
  }
  .featured_container {
    padding: 16px;
  }

  .space_above_featured_title {
    height: 48px;
  }

  .featured_img {
    height: 301px !important;
    border-radius: 16px !important;
    width: 100%;
  }
  .row_img {
    width: 100%;
    height: 301px !important;
    border-radius: 16px;
    /* margin-left: 16px; */
    /* margin-right: 16px; */
  }
  .featured_free_consultation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 22px;
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #2d85dc;
    color: #2d85dc;
    background-color: rgba(32, 94, 156, 0.05); /* #2d85dc with 5% opacity */
    border-radius: 999px;
    float: right;
    /* margin-right: 33px; */
    text-align: center;
  }
  .row_rating {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding-bottom: 0px;
    padding-top: 16px;
    margin-bottom: 0px;
    margin-top: 4px;
    width: 100%;
  }
  .checked {
    color: orange;
  }
  .row_title {
    font-family: Inter;
    font-size: 20px;
    font-weight: 600;
    color: #101828;
    line-height: 30px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 16px;
  }
  .featured_title {
    color: #101828;
  }
  .featured_title:hover {
    color: #2979c8;
  }
  .row_address {
    font-family: Inter;
    font-size: 12px;
    font-weight: 400;
    color: #2979c8;
    line-height: 18px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 4px;
  }
  .row_tagline {
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    color: #101828;
    line-height: 20px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 4px;
    border: 0px;
    width: 91%;
  }

  .one-line-featured {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    width: 100vw;
    width: 91%;
    height: 20px;
    line-height: 20px;
  }

  #btn_view_all_lawyers {
    width: 100vw;
    width: 91%;
    height: 48px;
    color: #344054;
    background: white;
    /* margin: 0 auto; */
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    /* margin-left: 16px; */
    /* margin-right: 16px; */
  }

  #hr_between_featured {
    width: 100vw;
    width: 91%;
    border: 1px solid #eaecf0;
    margin-top: 24px;
    margin-bottom: 24px;
    margin-left: 16px;
  }

  #featured_space_under_title {
    height: 32px;
  }
}

/*====================================== */
/*       latest blogs                   */
/*  ====================================  */

/* 			Display for Desktop 		*/
/* ---------------------------- */
@media screen and (min-width: 578px) {
  #div_blog_mobile {
    display: none;
  }

  .homepage_latest_blogs {
    width: 100%;
    height: auto;
    background: #eaf3fc !important;
    margin: 0 auto; /* center div on window */
    justify-content: center;
    align-items: center;
    padding-bottom: 64px;
  }

  .div_latest_title {
    width: 100%;
    margin: 0 auto;
    /* margin-left: 16px; */
    font-family: Inter;
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    text-align: center;
    padding-top: 48px;
    padding-bottom: 16px;
  }
  .div_latest_subtitle {
    width: 91%;
    /* margin-left: 16px; */
    height: 40px;
    line-height: 30px;
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    margin: 0 auto;
  }

  .div_main_blogs {
    display: inline-flex;
    justify-content: center; /* Center the divs in the middle */
    gap: 24px; /* Adds spacing between divs */
    height: 540px;
    padding: 0 4%; /* Equal left/right spacing */
    flex-wrap: wrap;
    margin-top: 16px;
    width: 100%;
  }
  .box {
    width: 410px !important;
    height: 524px;
    /* flex: 1; */
    text-align: left;
    background-color: #fff;
    min-width: 200px;
    /* max-width: 30%; */
    border-radius: 16px;
    border: 0px;
    padding: 16px;
    padding-bottom: 16px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .td_bottom {
    border-bottom: 0px;
    padding-bottom: 0px;
  }
  .one-line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%; /* Adjust width as needed */
    height: 42px;
    line-height: 32px;
  }
  .two-lines-latest-blogs {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%; /* Adjust width as needed */
    height: 64px;
    line-height: 32px;
  }
  .blogs_title {
    color: #344054;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 6px;
    text-decoration: none;
  }
  .blogs_title :hover {
    color: #2c85dd;
  }

  .three-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%; /* Adjust width as needed */
    height: 72px;
    line-height: 24px;
  }
  .blog_author_date {
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    color: #205e9c;
    line-height: 20px;
    height: 14px;
    padding-bottom: 0px;
    padding-top: 0px;
  }
  .blog_title {
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    color: #101828;
    line-height: 32px;
    padding: 0;
    display: flex; /* ✅ key change */
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .img_arrow_blog_title {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    flex-grow: 1;
    max-width: 100%;
  }

  .blog_excerpt {
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    color: #475467;
    height: 72px;
    padding-bottom: 0px;
    padding-top: 0px;
  }
  #div_btn_all_blogs {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .btn_all_blogs {
    width: 170px;
    height: 48px;
    color: white;
    background: #205e9c;
    margin: 0 auto;
    border-radius: 8px;
    border: 0px;
  }
  .span_blog_tags {
    background: #f9fafb;
    border: 1px solid #eaecf0;
    border-radius: 9999px;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    height: 24px;
    line-height: 20px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
    cursor: pointer;
  }
  #td_blog_img {
    width: 378px;
    height: 240px;
    object-fit: contain;
  }

  .inner_tr_author {
    height: 20px;
  }

  .inner_tr_title {
    height: 32px;
  }
  .inner_tr_excerpt {
    height: 72px;
  }
  .inner_tr_tags {
    height: 24px !important;
  }
  .dot {
    height: 5px;
    width: 5px;
    background-color: #205e9c;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: middle;
  }
  .featured_under_img {
    height: 16px;
  }
}

/* ============================================ */
/* 		   Latest Blogs  -- > 	M O B I L E 	   	*/
/* ============================================ */
@media screen and (max-width: 578px) {
  .homepage_blogs {
    display: none;
  }
  .homepage_latest_blogs {
    width: 100%;
    height: auto;
    background: #eaf3fc !important;
    margin: 0 auto; /* center div on window */
    justify-content: center;
    align-items: center;
  }
  #div_blog_desktop {
    display: none;
  }
  .div_latest_title {
    width: 91%;
    margin-left: 16px;
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    padding-top: 32px;
    padding-bottom: 16px;
  }
  .div_latest_subtitle {
    width: 91%;
    margin-left: 16px;
    height: 40px;
    line-height: 20px;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
  }

  #div_blog_mobile {
    display: block;
  }
  .column_latest {
    width: 100%;
    flex: 1; /* Makes all divs equal width */
    text-align: left;
    background-color: #fff;
    border-radius: 16px;
    border: 0px;
    /* padding:16px; */
    /* margin-left:16px; */
    margin-top: 16px;
  }
  .img_latest {
    width: 100%;
    height: 240px;
    border-radius: 16px !important;
    margin-top: 16px;
  }
  .space_from_left_latest_blog {
    margin-left: 16px;
    width: 91%;
  }
  .blog_mobile_author_date {
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #205e9c;
  }
  .blog_mobile_title {
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #101828;
  }
  .two-lines-latest-blogs {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%; /* Adjust width as needed */
    height: 64px;
    line-height: 32px;
  }
  .clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    flex-grow: 1;
    max-width: 100%;
    padding-left: 15px;
  }

  .blogs_title {
    color: #344054;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 6px;
    text-decoration: none;
  }
  .blogs_title :hover {
    color: #2c85dd;
  }

  .img_arrow_blog_title {
    float: right;
    margin-top: 30px;
  }
  .dot_mobile {
    height: 5px;
    width: 5px;
    background-color: #205e9c;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: middle;
  }
  .three-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%; /* Adjust width as needed */
    height: 72px;
    line-height: 24px;
  }
  .span_blog_tags {
    background: #f9fafb;
    border: 1px solid #eaecf0;
    border-radius: 9999px;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    height: 24px;
    line-height: 20px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
    cursor: pointer;
  }

  #div_btn_all_blogs {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .btn_all_blogs {
    width: 91%;
    height: 48px;
    color: white;
    background: #205e9c;
    border-radius: 8px;
    border: 0px;
    margin-top: 16px;
  }
  .div_under_button {
    height: 32px;
  }
}

/* =================================== */
/*            Book Consultation        */
/* =================================== */

/* 		Book	Display for Desktop 		*/
/* ---------------------------- */
@media screen and (min-width: 578px) {
  .homepage_book_consultation_mobile {
    display: none;
  }
  .homepage_book_consultation {
    width: 1440px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 64px !important;
  }
  .tbl_main_book {
    width: 1280px;
    height: 400px;
    background: #004e9c;
    margin: 0 auto;
    border-collapse: collapse;
    border-style: hidden;
    border-radius: 16px;
  }
  #book_main_title {
    width: 585px; /* include padding width */
    font-family: Inter;
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
    color: white;
    padding-left: 64px;
  }
  #book_main_subtitle {
    width: 585px; /* include padding width */
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    color: white;
    padding-left: 64px;
  }
  .book_img {
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
  }
  #btn_contact {
    width: auto; /* Adjusts width dynamically */
    min-width: 265px;
    height: 48px;
    background-color: white;
    color: #205e9c;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap; /* Prevents text from wrapping */
    line-height: 24px;
    margin-left: 64px;
    border-radius: 8px;
    border: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between icon and text */
    padding: 10px 20px;
    cursor: pointer;
  }
  #btn_contact::before {
    content: "";
    display: inline-block;
    background: url("/wp-content/themes/dlawyers-child/bul_icons/homepage/calendar.svg")
      no-repeat center/contain;
    width: 24px;
    height: 24px;
  }
  .spacer_book_48 {
    height: 48px;
  }
  .spacer_book_20 {
    height: 20px;
  }
}

/* 		Book	-- >  Display for Mobile 		*/
/* ---------------------------- */
@media screen and (max-width: 578px) {
  .homepage_book_consultation {
    display: none;
  }
  .homepage_book_consultation_mobile {
    border-collapse: collapse;
    border-radius: 16px;
    /* width: 91%; */
    height: auto;
    border: 0px;
    margin-top: 32px;
    margin-bottom: 28px;
    margin-left: 16px;
    margin-right: 16px;
    border: 0px;
    background-color: #004e9c;
  }
  #div_img_book_mobile {
    /* width: 91%; */
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    height: 196px;
    margin: 0 auto;
    margin-top: 32px !important;
  }
  #div_img_book_mobile img {
    width: 100%; /* Make image fill width */
    height: 100%; /* Make image fill height */
    object-fit: cover; /* Crop the image to fill the container */
    /* margin-left: 16px; */
    border-top-left-radius: inherit !important;
    border-top-right-radius: inherit !important;
  }
  #div_main_title_book_mobile {
    background-color: #004e9c;
    color: white;
    font-family: Inter;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    margin: 0 auto;
    width: 91%;
    padding-left: 16px;
    border: 0px;
  }
  #div_subtitle_book_mobile {
    background-color: #004e9c;
    color: white;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0 auto;
    width: 91%;
    padding-left: 16px;
    border: 0px;
  }
  #div_btn_book_mobile {
    background-color: #004e9c;
    /* margin: 0 auto; */
    width: 91%;
    padding-left: 16px;
    padding-top: 24px;
    border: 0px;
    padding-bottom: 16px;
    margin-left: 16px;
  }
  #btn_book_mobile {
    width: 95%;
    height: 48px;
    margin: 0 auto;
    background-color: white;
    color: #205e9c;
    border: 0px;
    border-radius: 8px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    vertical-align: middle;
  }
  #btn_book_mobile::before {
    content: "";
    display: inline-block;
    background: url("/wp-content/themes/dlawyers-child/bul_icons/homepage/calendar.svg")
      no-repeat center/contain;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    vertical-align: middle;
    top: -2px;
    position: relative;
  }
}

/* =================================== */
/*            Book Consultation        */
/*  look in bul_css folder for seperate lawyer_register.css becuase of reuse css in homepage and contact us page 
/* =================================== */

@media screen and (max-width: 578px) {
  /** hr between last section homepage and footer */
  .hr_bottom_homepage {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
  }
}
