/* S15 Reviews (#reviews). Owner: S14 agent (S14 + S15). Only what Elementor controls cannot do. */
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-container{position:relative;height:auto!important;min-height:0!important;display:flex}
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-container>.trx-addons-testimonials-content-wrapper{flex:1 1 auto;height:auto!important}
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-content-wrapper{position:relative;display:flex;flex-direction:column;
  border-radius:18px;box-shadow:0 18px 40px -32px rgba(0,17,36,.4);transition:transform .3s ease,box-shadow .3s ease}
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-content-wrapper:hover{transform:translateY(-4px);box-shadow:0 24px 46px -28px rgba(0,17,36,.45)}
/* Google G mark, top right of every card (official four colour mark) */
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-content-wrapper::after{content:"";position:absolute;top:28px;right:26px;width:22px;height:22px;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E")}
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials__rating-wrapper{order:-1;margin:0 0 16px}
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-text-wrapper{order:1;margin:0 0 22px}
/* Footer (avatar, name, town) pinned to the bottom so every card lines up */
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials__img-info{order:2;margin-top:auto;width:100%;align-self:stretch;padding-top:18px;border-top:1px solid #EEEEE8;display:flex;align-items:center}
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-img-wrapper{flex:none}
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-img-wrapper img{border-radius:50%;display:block}
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-person-name{margin:0 0 3px;font-weight:600}
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-company{margin:0;color:#000000}
/* A1: modern outline location pin with an inner dot (matches the S07 pins), orange #CF4700 */
body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-company::before{content:"";display:inline-block;width:15px;height:15px;margin-right:1px;border-radius:0;
  transform:none;background:#CF4700;vertical-align:-2px;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s-7-6-7-12a7 7 0 0 1 14 0c0 6-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9.5' r='2.6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s-7-6-7-12a7 7 0 0 1 14 0c0 6-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9.5' r='2.6'/%3E%3C/svg%3E") center/contain no-repeat}
@media (prefers-reduced-motion:reduce){body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-content-wrapper{transition:none}
  body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-content-wrapper:hover{transform:none}}
/* Fix r1: equal review lines in every row at every width. The text width is capped per range so the line
   count stays fixed (4 lines on desktop, 3 on tablet) whether the page content is 1100 or 1290 wide. */
@media (min-width:1280px) and (max-width:1439px){
  body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-content-wrapper{padding-left:20px;padding-right:20px}
  body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-text-wrapper{max-width:236px;text-wrap:balance}
  body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-text-wrapper,
  body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-text-wrapper p{font-size:15px}
}
/* Tablet and small laptop: 2 columns (4 columns are too narrow below 1280), 3 balanced lines in every card */
@media (min-width:768px) and (max-width:1279px){
  body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-grid>.trx-addons-grid-item-wrap{width:50%;max-width:50%;flex:0 0 50%}
  body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-text-wrapper{max-width:380px;text-wrap:balance}
  body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-text-wrapper,
  body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-text-wrapper p{font-size:15px}
}

/* Fix r1: the centred title broke "What Homeowners / Say After The Final / Walkthrough" from 768 up; balance gives
   "What Homeowners / Say After The / Final Walkthrough" at every width (same as phones). */
body.page-id-5703 #reviews .elementor-element-840f9ae .elementor-heading-title{text-wrap:balance}

/* Fix a2: small phones (360 to 389). 3 lines in every review card and the title on 3 lines, not 4 with a lone "What". */
@media (max-width:389px){
  body.page-id-5703 #reviews .lz-reviews .trx-addons-testimonials-content-wrapper{padding-left:20px;padding-right:20px}
  body.page-id-5703 #reviews .lz-reviews .trx-addons-testimonials-text-wrapper,
  body.page-id-5703 #reviews .lz-reviews .trx-addons-testimonials-text-wrapper p{font-size:15px}
  body.page-id-5703 #reviews .elementor-element-840f9ae .elementor-heading-title{font-size:33px;text-wrap:balance}
}

/* Fix r1 tablets (768 to 1279): the review text uses the full card width. The 380px cap left an empty band on the right
   of every card from 1024 up; pretty wrapping keeps the last lines from ending on one word. */
@media (min-width:768px) and (max-width:1279px){
  body.page-id-5703 .lz-s15 .lz-reviews .trx-addons-testimonials-text-wrapper{max-width:none;text-wrap:pretty}
}
/* Fix r1 phones (up to 767): the 8 cards were stacked into a 2,550 to 2,800px column (about 4 screens). They now sit in
   one swipeable row that snaps card by card; the next card peeks in from the right so the row reads as swipeable.
   The row runs edge to edge and its first card lines up with the 20px page gutter. */
@media (max-width:767px){
  body.page-id-5703 #reviews .lz-reviews .trx-addons-testimonials-grid{flex-wrap:nowrap;gap:12px;overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;scroll-padding-inline:20px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;
    width:auto;margin:-12px -20px -40px!important;padding:12px 20px 40px}
  body.page-id-5703 #reviews .lz-reviews .trx-addons-testimonials-grid::-webkit-scrollbar{display:none}
  body.page-id-5703 #reviews .lz-reviews .trx-addons-testimonials-grid>.trx-addons-grid-item-wrap{flex:0 0 min(86%,340px);width:auto;max-width:none;margin:0;scroll-snap-align:start}
  body.page-id-5703 #reviews .lz-reviews .trx-addons-testimonials-grid>.trx-addons-grid-item-wrap:last-child{scroll-snap-align:end}
  body.page-id-5703 #reviews .lz-reviews .trx-addons-testimonials-content-wrapper:hover{transform:none}
  body.page-id-5703 #reviews .lz-reviews .trx-addons-testimonials-text-wrapper{text-wrap:balance}
}
/* Fix r1 under 360: the title keeps 3 lines (33px gave 5: "What / Homeowners / Say After / The Final / Walkthrough")
   and "Join Our Happy Homeowners" stays on one line. */
@media (max-width:359px){
  body.page-id-5703 #reviews .elementor-element-840f9ae .elementor-heading-title{font-size:29px}
  body.page-id-5703 #reviews .lz-cta .elementor-button{font-size:16px;padding-left:16px;padding-right:16px}
}
