/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 26 2026 | 16:29:02 */
/* TED Law homepage overflow fix */
html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.home {
  position: relative !important;
  width: 100% !important;
  max-width: 100vw !important;
}

body.home main,
body.home article,
body.home .homepage-hero,
body.home .content-section,
body.home .practice-area-cards,
body.home footer {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

body.home .container,
body.home .inner-content {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.home img,
body.home picture,
body.home svg,
body.home iframe {
  max-width: 100% !important;
}

/* Stop Swipers from creating page-width overflow */
body.home .swiper-container,
body.home .result-slider,
body.home .testimonial-slider,
body.home .logo-slider {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.home .swiper-wrapper,
body.home .swiper-slide {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

/* Hero result slider mobile overflow */
body.home .homepage-hero .results,
body.home .homepage-hero .results.mob,
body.home .homepage-hero .result-slider,
body.home .homepage-hero .result {
  max-width: 100% !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  body.home .homepage-hero .result-slider .swiper-slide {
    width: 100% !important;
    flex: 0 0 100% !important;
  }

  body.home .homepage-hero .result {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.home .homepage-hero .result .lines svg {
    max-width: 48% !important;
    height: auto !important;
  }
}

/* Real Client Testimonials only */
body.home .testimonial-section {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.home .testimonial-section .testimonial-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.home .testimonial-section .testimonial-slider {
  height: auto !important;
  min-height: 0 !important;
}

body.home .testimonial-section .swiper-wrapper {
  align-items: flex-start !important;
  height: auto !important;
}

body.home .testimonial-section .swiper-slide {
  height: auto !important;
  min-height: 0 !important;
}

body.home .testimonial-section .swiper-slide .content {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 42px !important;
  box-sizing: border-box !important;
}

body.home .testimonial-section .review,
body.home .testimonial-section .author {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

body.home .testimonial-section .stars {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
}

body.home .testimonial-section .stars svg {
  flex: 0 0 auto !important;
}

/* Tablet testimonials: 2 columns */
@media (max-width: 1064px) and (min-width: 768px) {
  body.home .testimonial-section .swiper-slide {
    width: calc((100% - 24px) / 2) !important;
    flex: 0 0 calc((100% - 24px) / 2) !important;
  }
}

/* Mobile testimonials: 1 column, no huge bottom gap */
@media (max-width: 767px) {
  body.home .testimonial-section .heading {
    text-align: center !important;
  }

  body.home .testimonial-section .swiper-slide {
    width: 100% !important;
    flex: 0 0 100% !important;
    margin-right: 0 !important;
  }

  body.home .testimonial-section .swiper-slide .content {
    height: 580px !important;
    min-height: 0 !important;
    padding: 30px 20px 34px !important;
  }

  body.home .testimonial-section .review {
    font-size: 20px !important;
    line-height: 1.25em !important;
    margin-bottom: 22px !important;
  }

  body.home .testimonial-section hr {
    margin: 18px 0 22px !important;
  }

  body.home .testimonial-section .stars svg {
    width: 28px !important;
    height: 28px !important;
  }

  body.home .testimonial-section .author {
    margin-bottom: 0 !important;
  }
}

/* Google rating and Trustindex review widget under testimonials */
body.home .testimonial-section ~ .rating,
body.home [data-src*="trustindex"],
body.home [class*="ti-widget"],
body.home [class*="ti-reviews"],
body.home [class*="trustindex"] {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.home .testimonial-section ~ .rating {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

/* Award logo sliders */
body.home .logo-slider-container,
body.home .logo-slider-container .swiper-container,
body.home .logo-slider-container .logo-slider {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.home .logo-slider-container .swiper-slide {
  max-width: 180px !important;
}

@media (max-width: 767px) {
  body.home .logo-slider-container .swiper-slide {
    max-width: 120px !important;
  }
}