/* Original approved testimonial and moving client-logo styles, 13580. */
#legalplus-home-rotating-references {
      --lp-card: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(253,250,247,0.98) 100%);
      --lp-line: rgba(94, 63, 57, 0.20);
      --lp-line-strong: rgba(94, 63, 57, 0.34);
      --lp-text: #4f3d37;
      --lp-text-soft: #786660;
      --lp-accent: #5e3f39;
      --lp-shadow: 0 18px 44px rgba(60, 38, 32, 0.095);
      font-family: Arial, sans-serif;
      color: var(--lp-text);
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
    }

    #legalplus-home-rotating-references * {
      box-sizing: border-box;
    }

    #legalplus-home-rotating-references .lp-wrap {
      width: min(100%, 1380px);
      margin: 0 auto;
      padding: 0;
    }

    #legalplus-home-rotating-references .lp-card {
      position: relative;
      background: var(--lp-card);
      border: 1px solid rgba(94, 63, 57, 0.30);
      border-radius: 28px;
      box-shadow: var(--lp-shadow);
      padding: 34px 38px 28px;
      overflow: hidden;
    }

    #legalplus-home-rotating-references .lp-card::after {
      content: "";
      position: absolute;
      inset: 1px;
      border: 1px solid rgba(255,255,255,0.75);
      border-radius: 27px;
      pointer-events: none;
    }

    #legalplus-home-rotating-references .lp-stage {
      position: relative;
      width: 100%;
      z-index: 1;
    }

    #legalplus-home-rotating-references .lp-slide {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 100%;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s ease;
      pointer-events: none;
    }

    #legalplus-home-rotating-references .lp-slide.is-active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    #legalplus-home-rotating-references .lp-quote {
      margin: 0;
      padding-left: 26px;
      border-left: 5px solid var(--lp-line-strong);
      font-size: 18px;
      line-height: 1.58;
      color: var(--lp-text);
    }

    #legalplus-home-rotating-references .lp-meta {
      margin-top: 24px;
      padding-top: 18px;
      border-top: 1px solid var(--lp-line);
    }

    #legalplus-home-rotating-references .lp-name {
      margin: 0 0 8px;
      font-size: 24px;
      line-height: 1.2;
      font-weight: 400;
      color: var(--lp-accent);
    }

    #legalplus-home-rotating-references .lp-role {
      margin: 0;
      font-size: 15px;
      line-height: 1.55;
      color: var(--lp-text-soft);
    }

    @media (max-width: 1024px) {
      #legalplus-home-rotating-references .lp-card {
        padding: 28px 28px 24px;
      }

      #legalplus-home-rotating-references .lp-quote {
        font-size: 17px;
      }
    }

    @media (max-width: 767px) {
      #legalplus-home-rotating-references .lp-card {
        padding: 22px 18px 20px;
        border-radius: 22px;
      }

      #legalplus-home-rotating-references .lp-card::after {
        border-radius: 21px;
      }

      #legalplus-home-rotating-references .lp-quote {
        padding-left: 16px;
        border-left-width: 4px;
        font-size: 16px;
        line-height: 1.62;
      }

      #legalplus-home-rotating-references .lp-meta {
        margin-top: 20px;
        padding-top: 14px;
      }

      #legalplus-home-rotating-references .lp-name {
        font-size: 21px;
      }

      #legalplus-home-rotating-references .lp-role {
        font-size: 14px;
      }
    }
#legalplus-logo-slider-template {
      --lp-line: rgba(94, 63, 57, 0.13);
      --lp-text-soft: #786660;
      font-family: Arial, sans-serif;
      width: 100%;
      padding: 0;
    }

    #legalplus-logo-slider-template * {
      box-sizing: border-box;
    }

    #legalplus-logo-slider-template .lp-logo-section {
      position: relative;
      overflow: hidden;
    }

    #legalplus-logo-slider-template .lp-marquee {
      position: relative;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
      mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    }

    #legalplus-logo-slider-template .lp-marquee-track {
      display: flex;
      width: max-content;
      gap: 16px;
      padding: 8px 0 2px;
      animation: lp-logo-marquee 46s linear infinite;
      will-change: transform;
      backface-visibility: hidden;
    }

    #legalplus-logo-slider-template .lp-marquee:hover .lp-marquee-track {
      animation-play-state: paused;
    }

    #legalplus-logo-slider-template .lp-logo-card {
      width: 264px;
      min-height: 118px;
      padding: 14px 16px 13px;
      border-radius: 18px;
      border: 1px solid var(--lp-line);
      background: rgba(255,255,255,0.82);
      box-shadow: 0 10px 24px rgba(60, 38, 32, 0.045);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 12px;
    }

    #legalplus-logo-slider-template .lp-logo-brand {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
      padding: 8px 12px;
      border: 1px solid rgba(94,63,57,0.08);
      border-radius: 14px;
      background: rgba(255,255,255,0.92);
    }

    #legalplus-logo-slider-template .lp-logo-brand img {
      display: block;
      max-width: 100%;
      max-height: 30px;
      width: auto;
      height: auto;
      object-fit: contain;
    }

    #legalplus-logo-slider-template .lp-logo-copy {
      min-height: 58px;
      font-size: 12.5px;
      line-height: 1.45;
      color: var(--lp-text-soft);
      text-align: center;
    }

    @keyframes lp-logo-marquee {
      0% { transform: translate3d(0,0,0); }
      100% { transform: translate3d(calc(-50% - 8px),0,0); }
    }

    @media (max-width: 767px) {
      #legalplus-logo-slider-template .lp-logo-card {
        width: 220px;
        min-height: 108px;
        padding: 13px 14px 12px;
      }

      #legalplus-logo-slider-template .lp-logo-brand {
        min-height: 48px;
      }

      #legalplus-logo-slider-template .lp-logo-brand img {
        max-height: 27px;
      }

      #legalplus-logo-slider-template .lp-logo-copy {
        font-size: 11.6px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      #legalplus-logo-slider-template .lp-marquee-track {
        animation: none;
      }
    }