.elementor-430 .elementor-element.elementor-element-7e510001{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:stretch;}.elementor-430 .elementor-element.elementor-element-7e510001:not(.elementor-motion-effects-element-type-background), .elementor-430 .elementor-element.elementor-element-7e510001 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F7F7F7;}.elementor-430 .elementor-element.elementor-element-7e510002{--display:flex;}.elementor-430 .elementor-element.elementor-element-7e510002:not(.elementor-motion-effects-element-type-background), .elementor-430 .elementor-element.elementor-element-7e510002 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://macdonaldjoinery.co.uk/wp-content/uploads/2026/07/3050e793ce6b6f24dd0a83dcffc15e2fa3cab326.png");background-repeat:repeat;background-size:auto;}.elementor-430 .elementor-element.elementor-element-7e510003{--display:flex;}.elementor-430 .elementor-element.elementor-element-b2220001{--display:flex;}.elementor-430 .elementor-element.elementor-element-7e510004{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-430 .elementor-element.elementor-element-7e510005{text-align:start;font-family:"Roboto Condensed", Sans-serif;font-size:18px;font-weight:500;font-style:italic;line-height:1.6em;color:#000000;}.elementor-430 .elementor-element.elementor-element-7e510006{text-align:start;font-family:"Roboto", Sans-serif;font-size:16px;font-weight:300;line-height:1.4em;color:#4BC5ED;}.elementor-430 .elementor-element.elementor-element-7e510007{--display:flex;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}.elementor-430 .elementor-element.elementor-element-7e510009{--display:flex;}.elementor-430 .elementor-element.elementor-element-7e510009:not(.elementor-motion-effects-element-type-background), .elementor-430 .elementor-element.elementor-element-7e510009 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://macdonaldjoinery.co.uk/wp-content/uploads/2026/07/3050e793ce6b6f24dd0a83dcffc15e2fa3cab326.png");background-repeat:repeat;background-size:auto;}@media(max-width:1024px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}}@media(max-width:767px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}}/* Start custom CSS for container, class: .elementor-element-7e510001 */.elementor-430 .elementor-element.elementor-element-7e510001 {
  --mj-testimonial-surface: #f7f7f7;
  --mj-testimonial-accent: #4bc5ed;
  position: relative;
  z-index: 0;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(500px, 34.6875vw, 555px);
  padding: clamp(64px, 8.25vw, 132px) clamp(24px, 5vw, 80px);
  background: var(--mj-testimonial-surface);
}

.elementor-430 .elementor-element.elementor-element-7e510001 > .e-con-inner {
  width: min(100%, 1440px);
  max-width: 1440px;
  min-height: 292px;
  margin: 0 auto !important;
  padding: 0 !important;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__content {
  position: relative;
  z-index: 2;
  display: block !important;
  width: 100%;
  min-height: 292px;
  margin: 0;
  padding: 0 !important;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__content > .e-con-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 528px) minmax(320px, 457px);
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1257px);
  max-width: none;
  min-height: 292px;
  margin: 0 auto;
  gap: clamp(48px, 8.75vw, 140px);
  padding: 0 !important;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy {
  display: block !important;
  width: 100%;
  box-sizing: content-box;
  padding: 0 0 0 clamp(0px, calc(632px - 31.875vw), 180px) !important;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100%;
  max-width: none;
  gap: 10px !important;
  padding: 0 !important;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote .elementor-widget-container,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote .elementor-widget-container p {
  width: 100%;
  margin: 0 !important;
  color: #000;
  font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
  font-size: clamp(17px, 1.125vw, 18px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__attribution,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__attribution .elementor-widget-container,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__attribution .elementor-widget-container p {
  width: 100%;
  margin: 0 !important;
  color: var(--mj-testimonial-accent);
  font-family: Roboto, Arial, sans-serif;
  font-size: clamp(15px, 1vw, 16px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__attribution .mj-testimonial-band__author {
  color: #000;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__attribution .mj-testimonial-band__role {
  color: var(--mj-testimonial-accent);
  font-weight: 500;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card {
  display: block !important;
  width: clamp(320px, 28.5625vw, 457px);
  min-height: clamp(230px, 18.125vw, 290px);
  margin-left: 0;
  padding: 0 !important;
  background: #fff;
  box-shadow: 9px 12px 8.55px rgba(0, 0, 0, 0.11);
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card > .e-con-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  max-width: none;
  min-height: clamp(230px, 18.125vw, 290px);
  padding: clamp(34px, 3.125vw, 50px) !important;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo .elementor-widget-container {
  width: clamp(128px, 10.0625vw, 161px);
  height: clamp(128px, 10.0625vw, 161px);
  margin: 0 !important;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__arrow,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__arrow .elementor-widget-container {
  position: absolute;
  z-index: 3;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
  pointer-events: none;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__arrow .elementor-widget-container,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__arrow img {
  width: 100%;
  height: 100%;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__arrow img {
  display: block;
  object-fit: contain;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__arrow--left {
  top: 45.05%;
  left: 10%;
  width: 3.32%;
  aspect-ratio: 53 / 41;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__arrow--right {
  top: 40.54%;
  left: calc(50% + min(41.15vw, 640px));
  width: 6.14%;
  aspect-ratio: 98 / 91;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__dots {
  position: absolute;
  z-index: 1;
  display: block;
  min-height: 0;
  padding: 0 !important;
  pointer-events: none;
  background-image: url("https://macdonaldjoinery.co.uk/wp-content/uploads/2026/07/3050e793ce6b6f24dd0a83dcffc15e2fa3cab326.png");
  background-repeat: repeat;
  background-size: clamp(14px, 1.125vw, 18px) clamp(14px, 1.125vw, 18px);
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__dots > .e-con-inner {
  display: none !important;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__dots--left {
  top: -133px;
  bottom: -132px;
  left: clamp(-70px, -4.375vw, -60px);
  width: calc(clamp(72px, 5.3125vw, 85px) + clamp(56px, 4.5vw, 72px));
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__dots--right {
  top: -140px;
  right: clamp(-100px, -6.25vw, -80px);
  width: clamp(260px, 28.6875vw, 459px);
  height: calc(100% + 140px);
}

@media (max-width: 1024px) {
  .elementor-430 .elementor-element.elementor-element-7e510001 {
    min-height: 0;
    padding-top: clamp(64px, 9.375vw, 96px);
    padding-bottom: clamp(64px, 9.375vw, 96px);
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__content > .e-con-inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    width: min(100%, 900px);
    gap: clamp(40px, 5.8594vw, 60px);
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy {
    box-sizing: border-box;
    padding-left: 0 !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card {
    width: min(100%, 360px);
    margin-left: auto;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__arrow {
    display: none !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card > .e-con-inner {
    min-height: clamp(220px, 28.3203vw, 290px);
  }
}

@media (max-width: 767px) {
  .elementor-430 .elementor-element.elementor-element-7e510001 {
    padding: clamp(52px, 14.359vw, 56px) 24px;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 > .e-con-inner,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__content {
    min-height: 0;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__content > .e-con-inner {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: 0;
    gap: clamp(34px, 9.2308vw, 40px);
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy > .e-con-inner {
    gap: clamp(24px, 7.1795vw, 28px) !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote .elementor-widget-container,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote .elementor-widget-container p {
    font-size: clamp(17px, 4.6154vw, 18px);
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card > .e-con-inner {
    min-height: clamp(210px, 64.1026vw, 250px);
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__dots--left {
    top: -70px;
    bottom: auto;
    left: -42px;
    width: 60px;
    height: 300px;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__dots--right {
    top: auto;
    right: -60px;
    bottom: -180px;
    width: 200px;
    height: 350px;
  }
}



/* layerrelay-shared-style:macdonald-testimonial-hlp-safe-inline:v16:start */
.elementor-430 .elementor-element.elementor-element-7e510001 {
  --mj-testimonial-copy-safe-offset: 0px;
  --mj-testimonial-fluid-gap: clamp(36px, 4vw, 52px);
  --mj-testimonial-side-lane: clamp(60px, 7.8125vw, 80px);
  --mj-testimonial-stack-gap: clamp(34px, 5.3333vw, 48px);
  --mj-testimonial-logo-height: clamp(220px, 28.3203vw, 290px);
  --mj-testimonial-previous-width: clamp(44px, 3.3125vw, 53px);
  --mj-testimonial-previous-height: 44px;
  --mj-testimonial-next-width: clamp(70px, 6.125vw, 98px);
  --mj-testimonial-next-height: clamp(65px, 5.6875vw, 91px);
}

/* Every slide shares one grid cell so the tallest slide reserves the section
   height and the following quote banner never moves during navigation. */
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__content > .e-con-inner {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 1257px);
  max-width: none;
  min-height: 292px;
  margin-inline: auto;
  padding: 0 !important;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__slide {
  grid-area: 1 / 1;
  display: block !important;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__slide > .e-con-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 528px) minmax(320px, 457px);
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  min-height: 292px;
  gap: clamp(48px, 8.75vw, 140px);
  padding: 0 !important;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card {
  min-width: 0;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__placeholder-logo,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__placeholder-logo .elementor-widget-container,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__placeholder-logo p {
  margin: 0 !important;
  color: #1b4959;
  font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-align: center;
}

/* Figma node 3272:57496: previous sits beside the testimonial copy and next
   sits beyond the logo card, both aligned to the content's vertical centre. */
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__controls-widget {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  pointer-events: none;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__controls-widget .elementor-widget-container,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__controls {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #000;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--previous {
  top: var(--mj-testimonial-previous-y, 50%);
  left: 0;
  width: var(--mj-testimonial-previous-width);
  height: var(--mj-testimonial-previous-height);
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--next {
  top: var(--mj-testimonial-next-y, 50%);
  right: 0;
  width: var(--mj-testimonial-next-width);
  height: var(--mj-testimonial-next-height);
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (min-width: 901px) and (max-width: 1439px) {
  .elementor-430 .elementor-element.elementor-element-7e510001 {
    --mj-testimonial-side-lane: clamp(80px, 6.25vw, 90px);
    --mj-testimonial-previous-width: clamp(44px, 3.5vw, 50px);
    --mj-testimonial-next-width: clamp(64px, 5vw, 72px);
    --mj-testimonial-next-height: clamp(60px, 4.6875vw, 68px);
    --padding-bottom: clamp(64px, 9.375vw, 96px) !important;
    padding-bottom: clamp(64px, 9.375vw, 96px) !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__slide > .e-con-inner {
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr) clamp(260px, 28vw, 320px);
    gap: var(--mj-testimonial-fluid-gap);
    padding-inline: var(--mj-testimonial-side-lane) !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy {
    box-sizing: border-box;
    padding-left: 0 !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote .elementor-widget-container,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote .elementor-widget-container p {
    overflow-wrap: anywhere;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--previous {
    left: 0;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--next {
    right: 0;
  }
}

@media (max-width: 900px) {
  .elementor-430 .elementor-element.elementor-element-7e510001 {
    --mj-testimonial-copy-safe-offset: var(--mj-testimonial-side-lane);
    --mj-testimonial-side-lane: clamp(64px, 8vw, 72px);
    --mj-testimonial-previous-width: clamp(44px, 5.5556vw, 50px);
    --mj-testimonial-next-width: clamp(56px, 7.1111vw, 64px);
    --mj-testimonial-next-height: clamp(52px, 6.6667vw, 60px);
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__slide > .e-con-inner {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 720px);
    gap: var(--mj-testimonial-stack-gap);
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy {
    min-width: 0;
    box-sizing: border-box;
    padding-left: var(--mj-testimonial-copy-safe-offset) !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card {
    width: min(calc(100% - var(--mj-testimonial-side-lane)), 360px);
    min-width: 0;
    margin-right: var(--mj-testimonial-side-lane);
    margin-left: auto;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--previous {
    left: 0;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--next {
    right: 0;
  }
}

/* Tablet centres the stacked quote and logo card while both carousel controls share the section midpoint at the outer edges. */
@media (min-width: 768px) and (max-width: 900px) {
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__slide > .e-con-inner {
    justify-items: center;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy {
    width: min(calc(100% - var(--mj-testimonial-side-lane) - var(--mj-testimonial-side-lane)), 640px);
    margin-inline: auto;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy > .e-con-inner {
    align-items: center !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote .elementor-widget-container,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote .elementor-widget-container p,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__attribution,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__attribution .elementor-widget-container,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__attribution .elementor-widget-container p {
    text-align: center !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card {
    width: min(calc(100% - var(--mj-testimonial-side-lane) - var(--mj-testimonial-side-lane)), 360px);
    max-width: 360px;
    margin-inline: auto;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--previous,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--next {
    top: 50% !important;
  }
}

@media (max-width: 767px) {
  .elementor-430 .elementor-element.elementor-element-7e510001 {
    --mj-testimonial-copy-safe-offset: 0px;
    --mj-testimonial-stack-gap: clamp(24px, 6.1538vw, 26px);
    --mj-testimonial-logo-height: clamp(210px, 64.1026vw, 250px);
    --mj-testimonial-mobile-touch-target: clamp(44px, 11.7949vw, 46px);
    --mj-testimonial-mobile-control-gap: clamp(16px, 5.1282vw, 20px);
    --mj-testimonial-mobile-controls-offset: clamp(20px, 6.1538vw, 24px);
    --mj-testimonial-mobile-previous-visual: clamp(30px, 8.7179vw, 34px);
    --padding-top: clamp(36px, 9.2308vw, 40px) !important;
    --padding-bottom: clamp(36px, 9.2308vw, 40px) !important;
    --padding-left: var(--mj-site-inline-gutter) !important;
    --padding-right: var(--mj-site-inline-gutter) !important;
    padding-top: clamp(36px, 9.2308vw, 40px) !important;
    padding-bottom: clamp(36px, 9.2308vw, 40px) !important;
    padding-left: var(--mj-site-inline-gutter) !important;
    padding-right: var(--mj-site-inline-gutter) !important;
  }

  /* Phones use the site's global rail for copy and keep both controls in a
     compact normal-flow row below the reserved testimonial slide area. */
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__content > .e-con-inner {
    row-gap: var(--mj-testimonial-mobile-controls-offset);
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__slide > .e-con-inner {
    width: 100%;
    max-width: none;
    gap: var(--mj-testimonial-stack-gap) !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy > .e-con-inner {
    gap: clamp(14px, 3.8462vw, 16px) !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__logo-card {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__controls-widget {
    position: relative;
    inset: auto;
    grid-area: 2 / 1;
    z-index: 4;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 0;
    margin: 0 !important;
    pointer-events: auto;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__controls-widget .elementor-widget-container,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__controls {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    pointer-events: auto;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--mj-testimonial-mobile-control-gap);
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--previous,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--next {
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    flex: 0 0 var(--mj-testimonial-mobile-touch-target);
    width: var(--mj-testimonial-mobile-touch-target);
    min-width: 44px;
    height: var(--mj-testimonial-mobile-touch-target);
    min-height: 44px;
    transform: none;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--previous img {
    width: var(--mj-testimonial-mobile-previous-visual);
    height: auto;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--next img {
    display: none;
  }

  /* Match the previous control's transparent arrow treatment while retaining
     the next button's direction, label, touch target and focus behaviour. */
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--next::before {
    content: "";
    display: block;
    width: var(--mj-testimonial-mobile-previous-visual);
    aspect-ratio: 53 / 41;
    background: transparent url("https://macdonaldjoinery.co.uk/wp-content/uploads/2026/07/I3090-52585-3089-51563.svg") center / contain no-repeat;
    transform: scaleX(-1);
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__dots {
    display: none !important;
    background-image: none !important;
  }
}

@media (min-width: 1440px) {
  .elementor-430 .elementor-element.elementor-element-7e510001 {
    --padding-bottom: clamp(64px, 8.25vw, 132px) !important;
    padding-bottom: clamp(64px, 8.25vw, 132px) !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__slide > .e-con-inner {
    box-sizing: border-box;
    padding-right: clamp(30px, 2.5vw, 40px) !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__copy {
    box-sizing: content-box;
    padding-left: clamp(60px, 5.5vw, 88px) !important;
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--previous {
    left: calc(7.8125vw - max(0px, (100vw - 1257px) / 2));
  }

  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control--next {
    right: calc(5vw - max(0px, (100vw - 1257px) / 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__slide,
  .elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-carousel__control {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Preserve the approved 18px quote size at the 767/768 boundary. Elementor's
   mobile rule previously ended at 767px and exposed a 17px tablet value. */
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote .elementor-widget-container,
.elementor-430 .elementor-element.elementor-element-7e510001 .mj-testimonial-band__quote .elementor-widget-container p {
  font-size: clamp(18px, 1.953125vw, 20px) !important;
  line-height: 1.6 !important;
}
/* layerrelay-shared-style:macdonald-testimonial-hlp-safe-inline:v16:end *//* End custom CSS */
/* Start custom CSS *//* layerrelay-shared-style:macdonald-home-testimonials-join:v1:start */
body.home .elementor.elementor-29 > .elementor-widget-shortcode:has(.lr-shared-testimonial-band) {
  margin-block-end: 0 !important;
}
/* layerrelay-shared-style:macdonald-home-testimonials-join:v1:end */

/* layerrelay-shared-style:macdonald-testimonial-hlp-tablet-center:v4:start */
@media (min-width: 768px) and (max-width: 1024px) {
  body .elementor .lr-shared-testimonial-band .mj-testimonial-carousel__slide > .e-con-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    width: min(100%, 720px) !important;
    gap: var(--mj-testimonial-stack-gap) !important;
    padding-inline: 0 !important;
  }

  body .elementor .lr-shared-testimonial-band .mj-testimonial-band__copy {
    width: min(100%, clamp(420px, 54.6875vw, 560px)) !important;
    margin-inline: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
  }

  body .elementor .lr-shared-testimonial-band .mj-testimonial-band__copy > .e-con-inner {
    align-items: center !important;
  }

  body .elementor .lr-shared-testimonial-band .mj-testimonial-band__quote,
  body .elementor .lr-shared-testimonial-band .mj-testimonial-band__quote .elementor-widget-container,
  body .elementor .lr-shared-testimonial-band .mj-testimonial-band__quote .elementor-widget-container p,
  body .elementor .lr-shared-testimonial-band .mj-testimonial-band__attribution,
  body .elementor .lr-shared-testimonial-band .mj-testimonial-band__attribution .elementor-widget-container,
  body .elementor .lr-shared-testimonial-band .mj-testimonial-band__attribution .elementor-widget-container p {
    text-align: center !important;
  }

  body .elementor .lr-shared-testimonial-band .mj-testimonial-band__logo-card {
    width: min(calc(100% - var(--mj-testimonial-side-lane) - var(--mj-testimonial-side-lane)), 360px) !important;
    max-width: 360px !important;
    margin-inline: auto !important;
  }

  body .elementor .lr-shared-testimonial-band .mj-testimonial-carousel__control--previous,
  body .elementor .lr-shared-testimonial-band .mj-testimonial-carousel__control--next {
    top: 50% !important;
  }
}
/* layerrelay-shared-style:macdonald-testimonial-hlp-tablet-center:v4:end *//* End custom CSS */