.testimonials-banner{margin-top:var(--hrs-navigation-height,105px);height:clamp(170px,24svh,220px);box-sizing:border-box;position:relative;display:grid;place-items:center;background:linear-gradient(90deg,#27131d85,#27131d60),url('../images/testimonials-banner-v2.png') center 53%/cover no-repeat;padding:24px}.testimonials-banner h1{margin:0;color:#fff;font:600 clamp(28px,3vw,40px)/1.15 Arial,sans-serif;letter-spacing:-.025em;text-align:center}
.testimonials-section{background:#faf9f7;padding:0 0 32px}
.testimonials-intro{padding:30px 0 22px}
.testimonials-intro h2{font-size:28px;margin:0 0 6px}
.testimonials-intro p{margin:0;font-size:15px}
.testimonial-screen{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch;padding:0;box-sizing:border-box}
.testimonial-slot{min-width:0;display:flex;align-items:stretch}
.testimonial-card{background:#fff;border:1px solid #eadfd5;border-radius:12px;box-shadow:0 6px 22px #41201906;overflow:hidden}
.testimonial-author{display:flex;align-items:center;gap:12px;padding:20px 24px 0}
.testimonial-avatar,.avatar-placeholder{width:46px;height:46px;border-radius:50%;object-fit:cover;flex-shrink:0}
.avatar-placeholder{display:grid;place-items:center;background:#b5a79b}
.testimonial-card .card-body{padding:16px 24px 24px}
.testimonial-card .rating{color:#c58f33;font-size:12px;letter-spacing:3px;margin-bottom:10px}
.testimonial-card .card-text{color:#47423f;font-size:15px;line-height:1.7;margin:0;text-align:left!important;text-align-last:auto!important}
.testimonial-upload,.video-thumb-wrapper{position:relative;display:inline-flex;vertical-align:top;align-items:center;justify-content:center;max-width:100%;width:auto;margin:16px 10px 0 0;padding:0;border:1px solid #e8dfd7;border-radius:7px;overflow:hidden;background:#f4f0eb;cursor:zoom-in}
.testimonial-upload img,.video-thumb-wrapper video{display:block;width:auto;max-width:220px;max-height:125px;height:auto;object-fit:contain}
.video-thumb-wrapper{cursor:pointer}.video-thumb-wrapper video{pointer-events:none}
.testimonial-media-action,.video-play-btn{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;color:#64171d;box-shadow:0 2px 8px #0003;font:24px Arial,sans-serif}
.video-play-btn{font-size:11px}.testimonial-upload:hover .testimonial-media-action,.video-thumb-wrapper:hover .video-play-btn{background:#64171d;color:#fff}
.testimonial-upload:focus-visible,.video-thumb-wrapper:focus-visible{outline:3px solid #c58f33;outline-offset:3px}
.testimonials-section .pagination{gap:6px;flex-wrap:wrap;margin:24px 0 0}
.testimonials-section .page-link{border-radius:6px!important;border:1px solid #e4d8cc;color:#64171d;background:#fff;padding:9px 14px}
.testimonials-section .active .page-link,.testimonials-section .page-link:hover{background:#64171d;border-color:#64171d;color:#fff}
dialog.testimonial-lightbox{position:fixed;inset:0;margin:auto;padding:18px;border:0;border-radius:10px;background:#161416;max-width:94vw;max-height:90svh;width:fit-content;height:fit-content;overflow:visible}
.testimonial-lightbox::backdrop{background:#17100de0}
.testimonial-lightbox img,.testimonial-lightbox video{display:block;max-width:86vw;max-height:80svh;width:auto;height:auto;object-fit:contain}
.testimonial-lightbox [hidden]{display:none}
.testimonial-lightbox-close{position:absolute;right:6px;top:6px;width:36px;height:36px;border:0;border-radius:50%;background:#fff;color:#64171d;font:28px Arial,sans-serif;cursor:pointer;z-index:1}
@media(max-width:900px){.testimonials-banner{height:140px}}
@media(max-width:767px){.testimonial-screen{grid-template-columns:1fr;gap:18px}.testimonials-intro{padding-top:26px}.testimonials-intro h2{font-size:25px}.testimonial-upload img,.video-thumb-wrapper video{max-width:180px;max-height:120px}}
/* Restore the original testimonial layout; only the banner is redesigned. */
.testimonials-section{background:#fafafa;padding:48px 0}
.testimonial-card{border:1px solid #e5e5e5;border-radius:8px;overflow:hidden;height:100%;display:flex;flex-direction:column;box-shadow:0 2px 8px rgba(0,0,0,.07);transition:box-shadow .2s}
.testimonial-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.12)}
.testimonial-card .card-body{flex:1;padding:1.5rem}
.testimonial-card .testimonial-author{background:#fff;border-bottom:1px solid #f0f0f0;padding:1rem 1.5rem;display:flex;align-items:center;gap:.75rem}
.testimonial-card .testimonial-author .testimonial-avatar,.testimonial-card .testimonial-author .avatar-placeholder{width:54px;height:54px;border-radius:50%;object-fit:cover;flex-shrink:0}
.testimonial-card .testimonial-author .avatar-placeholder{display:flex;align-items:center;justify-content:center;background:#9e9e9e}
.testimonial-upload{display:block;width:auto;max-width:100%;margin:1rem 0 0;padding:12px;background:#f7f6f3;border:1px solid #eae6df;border-radius:6px;cursor:default}
.testimonial-upload img{display:block;width:auto;height:auto;max-width:100%;max-height:360px;margin:0 auto;object-fit:contain;border-radius:3px}
.testimonial-card .rating{color:#f5a623;letter-spacing:2px;margin-bottom:.75rem;font-size:.9rem}
.testimonial-card .card-text{color:#444;line-height:1.7;font-size:.95rem}
.video-thumb-wrapper{position:relative;display:block;width:38%;max-width:220px;min-width:150px;margin:12px auto 0;padding:0;border:0;border-radius:8px;overflow:hidden;background:#000;cursor:pointer}
.video-thumb-wrapper video{width:100%;max-width:100%;max-height:none;display:block;pointer-events:none}
.video-play-btn{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;background:rgba(100,23,29,.85);color:#fff;font-size:.9rem}
.testimonials-section .pagination{gap:0;margin:1rem 0}
.testimonials-section .page-link{color:#fff;background:#64171d;border-color:#64171d;border-radius:0!important}
.testimonials-section .page-item.active .page-link,.testimonials-section .page-link:hover{background:#daa349;border-color:#daa349}
@media(max-width:900px){.testimonials-banner{height:140px}}
/* Compact media previews and a light gallery frame, matching Achievements. */
.testimonial-upload,.video-thumb-wrapper{display:inline-flex;vertical-align:top;position:relative;width:auto;min-width:0;max-width:100%;margin:16px 10px 0 0;padding:0;background:#faf8f4;border:1px solid #e8dfd7;border-radius:6px;overflow:hidden;cursor:zoom-in}
.testimonial-upload img,.video-thumb-wrapper video{display:block;width:auto;height:auto;max-width:min(220px,100%);max-height:125px;margin:0;object-fit:contain}
.testimonial-media-action{position:absolute;right:8px;bottom:8px;width:30px;height:30px;display:grid;place-items:center;background:#fffef9f5;border:1px solid #e7d8c1;border-radius:4px;color:#64171d;font:24px/1 Arial,sans-serif;box-shadow:0 2px 8px #392b2910}
.video-play-btn{width:32px;height:32px;font-size:11px;background:#64171dc9}
.testimonial-upload:hover .testimonial-media-action,.video-thumb-wrapper:hover .testimonial-media-action{background:#64171d;color:#fff}
dialog.testimonial-lightbox{padding:0;background:#fff;overflow:hidden;max-width:92vw;max-height:90svh;box-shadow:0 20px 90px #0006}
.testimonial-lightbox::backdrop{background:rgba(35,27,25,.55)}
.testimonial-lightbox img,.testimonial-lightbox video{max-width:92vw;max-height:76svh;background:#faf8f4;object-fit:contain}
.testimonial-lightbox-caption{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 20px;color:#64171d;background:#fff;font:14px/1.5 Arial,sans-serif}
.testimonial-lightbox-caption span{font-size:12px;color:#8b7a69}
@media(max-width:600px){.testimonial-upload img,.video-thumb-wrapper video{max-width:180px;max-height:120px}.testimonial-lightbox-caption{gap:12px;padding:12px 16px}}/* Align the introduction with the cards, with a quieter heading hierarchy. */
.testimonials-section{padding-top:30px}
.testimonials-section .testimonials-intro{padding:0;margin:0 0 24px;text-align:left}
.testimonials-section .testimonials-intro h2{font:600 clamp(23px,2vw,29px)/1.25 Arial,sans-serif!important;letter-spacing:-.025em;margin:0 0 8px!important;text-align:left!important}
.testimonials-section .testimonials-intro p{font:400 15px/1.6 Arial,sans-serif;margin:0!important;text-align:left!important;text-align-last:auto!important}
/* Two pairs per page: the opening pair shares its screen with the banner. */
.testimonial-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-content:center;padding-block:20px}
.testimonial-pair>.col-md-6{width:auto;max-width:none;flex:none;padding:0;margin:0!important;min-width:0}
.testimonial-pair .testimonial-card{width:100%;height:auto;align-self:stretch}
.testimonials-section{padding-bottom:24px}
@media(min-width:901px){
 .testimonial-pair{min-height:calc(100svh - var(--hrs-navigation-height,86px) - 100px)}
 .testimonial-pair:first-child{min-height:calc(100svh - var(--hrs-navigation-height,86px) - clamp(170px,24svh,220px) - var(--testimonial-intro-height,70px) - 54px);padding-top:0;padding-bottom:24px}
 .testimonial-pair+.testimonial-pair{padding-top:32px}
}
@media(max-width:767px){.testimonial-pair{grid-template-columns:1fr;gap:18px;padding-block:12px}}
.testimonials-section .pagination{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:0;margin:18px 0 0;list-style:none}
.testimonials-section .pagination .page-link{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:7px 11px;border:1px solid #e4dcd3;border-radius:5px!important;background:#fff;color:#64171d;font:400 14px/1.4 Arial,sans-serif;box-shadow:none;text-decoration:none}
.testimonials-section .pagination .active .page-link{background:#64171d;border-color:#64171d;color:#fff}
.testimonials-section .pagination .page-link:hover{background:#f4eee5;border-color:#c6a46e;color:#64171d}
.testimonials-section .pagination .page-link:focus-visible{outline:2px solid #daa349;outline-offset:3px}
.pagination-gap span{display:block;padding:6px 2px;color:#8a7d70}
.testimonial-read-full{display:inline-block;margin:10px 0 0;padding:0;background:transparent;border:0;color:#64171d;font:500 14px/1.5 Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.testimonial-text-dialog{width:min(640px,92vw);max-height:85svh;margin:auto;padding:28px;border:1px solid #e5dcd0;border-radius:10px;background:#fff;color:#47423f;overflow:auto}
.testimonial-text-dialog::backdrop{background:#231b198c}
.testimonial-text-dialog form{text-align:right;margin:0 0 16px}
.testimonial-text-dialog form button{border:0;background:transparent;color:#64171d;font:28px/1 Arial,sans-serif;cursor:pointer}
.testimonial-text-dialog p{font:400 16px/1.7 Arial,sans-serif;text-align:left;margin:0}
@media(min-width:901px){
 .testimonial-pair:first-child .testimonial-author{padding:12px 18px;gap:10px}
 .testimonial-pair:first-child .testimonial-author .testimonial-avatar,.testimonial-pair:first-child .testimonial-author .avatar-placeholder{width:40px;height:40px}
 .testimonial-pair:first-child .card-body{padding:14px 18px}
 .testimonial-pair:first-child .card-text{font-size:15px;line-height:1.55}
 .testimonial-pair:first-child .rating{margin-bottom:8px;font-size:12px}
 .testimonial-pair:first-child .testimonial-upload img,.testimonial-pair:first-child .video-thumb-wrapper video{max-height:80px;max-width:160px}
 .testimonial-pair:first-child .testimonial-upload,.testimonial-pair:first-child .video-thumb-wrapper{margin-top:10px}
}
