/* Adaptive v2.1.4: only the home testimonials section. */
.am-home-reviews { --review-paper: clamp(240px, 42vh, 390px); padding: 48px 0; }
.am-home-reviews .testimonials-letters__header { margin: 0 0 24px; }
.am-home-reviews .testimonials-letters__title { font-size: clamp(26px, 2.4vw, 40px); line-height: 1.2; margin: 0 0 12px; padding-bottom: 14px; }
.am-home-reviews .testimonials-letters__subtitle { font-size: 16px; line-height: 1.4; margin: 0; }
.am-home-reviews .tl-slider { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 12px; margin: 0; align-items: center; }
.am-home-reviews .tl-slider__track { min-height: 0; grid-column: 2; grid-row: 1; overflow: visible; }
.am-home-reviews .tl-slide { position: static; min-height: 0; opacity: 1; pointer-events: auto; transition: none; margin: 0 0 16px; }
.am-home-reviews .tl-slide[hidden] { display: none !important; }
.am-home-reviews .am-reviews-ready .tl-slide { margin: 0; }
.am-home-reviews .tl-slide__body { grid-template-columns: minmax(0,1fr) minmax(0,30%); align-items: center; gap: 24px; padding: 24px 28px; height: auto; overflow: visible; }
.am-home-reviews .tl-slide__left { min-width: 0; overflow-wrap: anywhere; }
.am-home-reviews .tl-slide__company { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; }
.am-home-reviews .tl-slide__site { margin-bottom: 12px; }
.am-home-reviews .tl-slide__quote { margin: 12px 0; padding-left: 14px; }
.am-home-reviews .tl-slide__quote p { font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
.am-home-reviews .tl-slide__author { margin-bottom: 12px; }
.am-home-reviews .tl-slide__services-label { margin-bottom: 6px; }
.am-home-reviews .tl-slide__tag { padding: 4px 12px; }
.am-home-reviews .tl-slide__right { align-items: center; gap: 6px; min-width: 0; }
.am-home-reviews .tl-slide__letter-wrap { display: block; width: auto; max-width: 100%; background: white; cursor: zoom-in; }
.am-home-reviews .tl-slide__letter-wrap:hover { transform: none; }
.am-home-reviews .tl-slide__letter-img { width: auto; max-width: 100%; height: auto; max-height: var(--review-paper); object-fit: contain; }
.am-home-reviews .tl-slide__open-link { display: inline-flex; align-items: center; min-height: 44px; text-align: center; }
.am-home-reviews .tl-slider__arrow, .am-home-reviews .tl-slider__dots { display: none; }
.am-home-reviews .am-reviews-ready .tl-slider__arrow { display: flex; width: 44px; height: 44px; }
.am-home-reviews .tl-slider__arrow--prev { grid-column: 1; grid-row: 1; }
.am-home-reviews .tl-slider__arrow--next { grid-column: 3; grid-row: 1; }
.am-home-reviews .am-reviews-ready .tl-slider__dots { display: flex; grid-column: 2; grid-row: 2; align-items: center; justify-content: center; gap: 12px; padding: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.am-home-reviews .am-review-progress { width: 110px; height: 6px; accent-color: var(--color-accent); }
.am-home-reviews :is(a,button):focus-visible { outline: 2px solid #087e94; outline-offset: 3px; }
.am-review-dialog { position: fixed; inset: 0; margin: auto; max-width: 94vw; max-height: 94vh; padding: 12px; border: 0; border-radius: 12px; background: white; overflow: auto; }
.am-review-dialog::backdrop { background: rgba(15,35,50,.8); }
.am-review-dialog img { display: block; max-width: 84vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; }
.am-review-dialog button { display: block; margin: 0 0 6px auto; width: 44px; height: 44px; border: 0; background: #e8f4f8; color: #174e63; border-radius: 50%; font-size: 26px; cursor: pointer; }
@media (min-width: 901px) and (max-height: 950px) {
 .am-home-reviews { --review-paper: clamp(180px, 36vh, 300px); padding: 28px 0; }
 .am-home-reviews .testimonials-letters__header { margin-bottom: 18px; }
 .am-home-reviews .testimonials-letters__title { font-size: 32px; }
 .am-home-reviews .tl-slide__body { padding: 18px 24px; gap: 20px; }
 .am-home-reviews .tl-slide__quote p { font-size: 15px; line-height: 1.45; }
}
@media (min-width: 901px) and (max-height: 680px) {
 .am-home-reviews { --review-paper: 180px; padding: 16px 0; }
 .am-home-reviews .testimonials-letters__header { margin-bottom: 10px; }
 .am-home-reviews .testimonials-letters__title { font-size: 28px; padding-bottom: 10px; margin-bottom: 6px; }
 .am-home-reviews .tl-slide__body { padding: 12px 18px; gap: 16px; }
 .am-home-reviews .tl-slide__quote { margin: 8px 0; }
 .am-home-reviews .tl-slide__author { margin-bottom: 8px; }
 .am-home-reviews .tl-slider { gap: 8px; }
}
@media (max-width: 900px) {
 .am-home-reviews { --review-paper: 230px; padding: 28px 0; }
 .am-home-reviews .tl-slider { grid-template-columns: 44px minmax(0,1fr) 44px; }
 .am-home-reviews .tl-slider__track { grid-column: 1 / -1; }
 .am-home-reviews .tl-slider__arrow--prev, .am-home-reviews .tl-slider__arrow--next { grid-row: 2; }
 .am-home-reviews .tl-slide__body { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 16px; }
 .am-home-reviews .tl-slide__right { align-items: center; }
 .am-home-reviews .testimonials-letters__header { margin-bottom: 18px; }
 .am-home-reviews .tl-slide__quote p { font-size: 15px; }
 .am-home-reviews .am-review-progress { width: 70px; }
}
/* Override the generic editorial blockquote skin only inside reviews. */
.am-home-reviews .tl-slide__quote { background: transparent; padding: 4px 0 4px 14px; }
@media (min-width: 901px) and (max-height: 680px) {
 .am-home-reviews { padding: 12px 0; }
 .am-home-reviews .testimonials-letters__header { margin-bottom: 8px; }
 .am-home-reviews .testimonials-letters__title { padding-bottom: 8px; margin-bottom: 4px; }
 .am-home-reviews .tl-slide__body { padding: 10px 18px; }
 .am-home-reviews .tl-slide__site { margin-bottom: 4px; }
 .am-home-reviews .tl-slide__quote { margin: 6px 0; padding-block: 0; }
 .am-home-reviews .tl-slide__quote p { margin-bottom: 4px; }
 .am-home-reviews .tl-slide__author { margin-bottom: 6px; }
 .am-home-reviews .tl-slide__services-label { margin-bottom: 3px; }
}
