/* ===== Home Page template: "Client Testimonial" slider (page_home.php) ===== */
/* Cream section, wood corner wedge, white review cards, round arrows + dots. */
.ukl-testi{position:relative;isolation:isolate;padding:64px 0 56px;background:linear-gradient(#fcf7ee,#f8edda);overflow:hidden}
.ukl-testi:before{content:"";position:absolute;z-index:-1;top:0;left:0;width:210px;height:250px;background:linear-gradient(rgba(40,20,5,.1),rgba(40,20,5,.2)),url(../images/wood-texture.jpg) center/cover;clip-path:polygon(0 0,100% 0,0 100%)}
.ukl-testi__head{box-sizing:border-box;max-width:1520px;margin:0 auto 40px;padding:0 24px;text-align:center}
.ukl-testi__eyebrow{display:flex;align-items:center;justify-content:center;gap:20px;margin:0 0 14px;color:#9c6a25;font-size:clamp(12px,.9vw,15px);font-weight:600;letter-spacing:.3em;text-transform:uppercase}
.ukl-testi__eyebrow:before,.ukl-testi__eyebrow:after{content:"";width:64px;height:2px;background:#c9a15a}
.ukl-testi__title{margin:0;color:#2a1006;font-size:clamp(36px,3.8vw,64px);font-weight:800;line-height:1.1;letter-spacing:-.025em}
.ukl-testi__title-b{color:#1f6b24}
.ukl-testi__lead{margin:12px 0 0;color:#7a6a58;font-size:clamp(15px,1.15vw,18px)}

/* Reviewer photo row */
.ukl-testi__faces{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin:28px 0 0;padding:0;list-style:none}
.ukl-testi__faces li{margin:0;padding:0;list-style:none}
/* !important: style.css forces padding on every <button>. */
.ukl-testi .ukl-testi__face{display:block;width:52px;height:52px;padding:0 !important;border:0;border-radius:50% !important;background:none !important;cursor:pointer;box-shadow:0 0 0 2px #fff,0 3px 8px rgba(60,30,5,.25);opacity:.9;transition:transform .2s ease,opacity .2s ease,box-shadow .2s ease}
.ukl-testi .ukl-testi__face:hover{opacity:1;transform:scale(1.08)}
.ukl-testi .ukl-testi__face.is-active{opacity:1;box-shadow:0 0 0 3px #fff,0 0 0 6px #b8832f}
.ukl-testi .ukl-testi__face:focus-visible{outline:2px solid #1f6b24;outline-offset:3px}
.ukl-testi__face-img{display:block;width:52px;height:52px;border-radius:50%;object-fit:cover}

/* Slider stage: arrows sit at the left/right edge, centred on the cards. */
.ukl-testi__stage{position:relative}
.ukl-testi .ukl-testi__arrow{position:absolute;top:50%;z-index:5;display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin-top:-28px;padding:0 !important;border:0;border-radius:50% !important;background:#fff !important;color:#2a1006;box-shadow:0 4px 14px rgba(60,30,5,.22);cursor:pointer;transition:transform .2s ease,background .2s ease}
.ukl-testi .ukl-testi__arrow:hover,.ukl-testi .ukl-testi__arrow:focus-visible{background:#f6ead3 !important;transform:scale(1.06)}
.ukl-testi .ukl-testi__arrow:focus-visible{outline:2px solid #1f6b24;outline-offset:2px}
.ukl-testi__arrow--prev{left:36px}
.ukl-testi__arrow--next{right:36px}

/* Slider. Before Slick: show the first three in a row. */
.ukl-testi__list{display:flex;justify-content:center;gap:24px;padding:0 24px}
.ukl-testi__list:not(.slick-initialized) .ukl-testi__item{flex:0 0 min(450px,100%)}
.ukl-testi__list:not(.slick-initialized) .ukl-testi__item:nth-child(n+4){display:none}
.ukl-testi__list.slick-initialized{display:block;padding:0}
/* Cards size to their review and share a vertical centre line: the design's
   staggered look comes from the differing heights (works the same for Slick clones). */
.ukl-testi__list .slick-track{display:flex;align-items:center}
.ukl-testi__list.slick-initialized .ukl-testi__item{box-sizing:border-box;padding:12px;transition:opacity .4s ease}
/* rows:0 → each .ukl-testi__item is itself the .slick-slide. */
.ukl-testi__list .slick-slide:not(.slick-active){opacity:.45}

.ukl-testi__card{position:relative;box-sizing:border-box;display:flex;flex-direction:column;min-height:240px;padding:30px 30px 26px;border-radius:22px;background:#fffdf9;color:#2a1006;box-shadow:0 8px 26px rgba(60,30,5,.1)}
/* Big faint quote mark, top right. */
.ukl-testi__card:after{content:"\201D";position:absolute;top:6px;right:24px;color:#ecdfc6;font-family:Georgia,serif;font-size:96px;font-weight:700;line-height:1;pointer-events:none}
.ukl-testi__stars{display:flex;gap:4px;margin-bottom:16px}
.ukl-testi__stars svg{display:block;fill:none;stroke:#f5b301;stroke-width:1.6;stroke-linejoin:round}
.ukl-testi__stars .is-on svg{fill:#f5b301}
.ukl-testi__text{color:#2a1e14;font-size:17px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}
.ukl-testi__text p{margin:0 0 6px}
.ukl-testi__text p:last-child{margin-bottom:0}
.ukl-testi__card.is-open .ukl-testi__text{display:block;-webkit-line-clamp:unset;overflow:visible}
.ukl-testi .ukl-testi__more{align-self:flex-start;margin-top:8px;padding:0 !important;border:0;background:none !important;color:#1f6b24;font-size:14px;font-weight:700;text-decoration:underline;cursor:pointer}
.ukl-testi .ukl-testi__more:focus-visible{outline:2px solid #1f6b24;outline-offset:2px}
.ukl-testi__author{display:flex;align-items:center;gap:16px;margin-top:auto;padding-top:22px;border-top:1px solid #efe4cf}
.ukl-testi__text + .ukl-testi__more + .ukl-testi__author,.ukl-testi__text + .ukl-testi__author{margin-top:auto}
.ukl-testi__card > .ukl-testi__text{margin-bottom:22px}
.ukl-testi__author strong{display:block;color:#2a1006;font-size:19px;font-weight:700;line-height:1.3}
.ukl-testi__author small{position:relative;display:block;padding-left:20px;color:#6b5a48;font-size:14px;line-height:1.3}
.ukl-testi__author small:before{content:"";position:absolute;left:0;top:50%;width:13px;height:16px;margin-top:-8px;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9922f'><path d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.500a2.500 2.500 0 0 1 0 5z'/></svg>") center/contain no-repeat}
.ukl-testi__avatar{flex:0 0 52px;width:52px;height:52px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff,0 2px 6px rgba(60,30,5,.25)}
.ukl-testi__initials{display:inline-flex;align-items:center;justify-content:center;background:#dce8f8;color:#2f6fc4;font-size:16px;font-weight:700}
.ukl-testi__face-img.ukl-testi__initials{font-size:15px}

/* Pagination dots (Slick builds the list inside .ukl-testi__dots). */
.ukl-testi__dots{margin-top:22px;text-align:center}
.ukl-testi__dots .slick-dots{display:flex;justify-content:center;gap:12px;margin:0;padding:0;list-style:none}
.ukl-testi__dots .slick-dots li{margin:0;padding:0;list-style:none}
.ukl-testi .ukl-testi__dots .slick-dots button{display:block;width:12px;height:12px;padding:0 !important;border:0;border-radius:50% !important;background:#e6d9bf !important;font-size:0;line-height:0;color:transparent;cursor:pointer;transition:background .2s ease,transform .2s ease}
.ukl-testi .ukl-testi__dots .slick-dots .slick-active button{background:#b8832f !important;transform:scale(1.15)}
.ukl-testi .ukl-testi__dots .slick-dots button:focus-visible{outline:2px solid #1f6b24;outline-offset:3px}

@media only screen and (max-width:1100px){
	.ukl-testi{padding:56px 0 48px}
	.ukl-testi:before{width:130px;height:150px}
	.ukl-testi__arrow--prev{left:14px}
	.ukl-testi__arrow--next{right:14px}
}

@media only screen and (max-width:767px){
	.ukl-testi{padding:44px 0 40px}
	.ukl-testi__head{margin-bottom:28px;padding:0 16px}
	.ukl-testi__eyebrow:before,.ukl-testi__eyebrow:after{width:28px}
	.ukl-testi__faces{gap:12px;margin-top:20px}
	.ukl-testi .ukl-testi__face,.ukl-testi__face-img{width:44px;height:44px}
	.ukl-testi__list.slick-initialized .ukl-testi__item{padding:10px 6px}
	.ukl-testi__card{min-height:0;padding:24px 20px 20px}
	.ukl-testi__text{font-size:15px}
	.ukl-testi .ukl-testi__arrow{width:42px;height:42px;margin-top:-21px}
	.ukl-testi__arrow--prev{left:4px}
	.ukl-testi__arrow--next{right:4px}
	.ukl-testi__dots{display:none}
}

/* Tighter dots: Slick gives each <li> a 20px box + margin, which spread the dots out */
.ukl-testi .ukl-testi__dots .slick-dots{gap:0px}
.ukl-testi .ukl-testi__dots .slick-dots li{display:block;width:auto !important;height:auto !important;margin:0 !important;padding:0}
