@charset "utf-8";

/* =========================================================
   THE LC GROUP - DOMESTIC TESTIMONIAL CAROUSEL
   Separate from layout.css; follows existing site colours,
   1200px .gridContainer structure and desktop-first breakpoints.
   No Flexbox or third-party carousel library.
   ========================================================= */

.container.domestic-testimonials {
    padding-top: 82px;
    padding-bottom: 80px;
}

.domestic-testimonials .testimonial-heading {
    max-width: 850px;
    margin: 0px auto 40px auto;
}

.domestic-testimonials .testimonial-kicker {
    margin-bottom: 15px;
    color: #00A0DF;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.domestic-testimonials .testimonial-heading h2 {
    color: #062B4D;
    margin-bottom: 17px;
}

.domestic-testimonials .testimonial-heading > p:last-child {
    color: #40586B;
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 0px;
}

.domestic-testimonials .testimonial-carousel,
.domestic-testimonials .testimonial-stage {
    width: 100%;
}

/* Reviews remain fully readable in a vertical list if JS is disabled. */
.domestic-testimonials .testimonial-slide {
    margin-bottom: 22px;
}

.domestic-testimonials .testimonial-slide:last-child { margin-bottom: 0px; }
.domestic-testimonials .testimonial-slide[hidden] { display: none !important; }
.domestic-testimonials .testimonial-carousel.is-ready .testimonial-slide { margin-bottom: 0px; }

.domestic-testimonials .testimonial-review {
    position: relative;
    min-height: 310px;
    margin: 0px;
    padding: 56px 7% 50px 11%;
    border-top: 1px solid #D8E3E9;
    border-right: 1px solid #D8E3E9;
    border-bottom: 1px solid #D8E3E9;
    border-left: 5px solid #00A0DF;
    background-color: #FFFFFF;
}

.domestic-testimonials .testimonial-review:before {
    content: "\201C";
    position: absolute;
    top: 32px;
    left: 3.2%;
    color: #00A0DF;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 100px;
    line-height: 1;
    font-weight: 700;
}

.domestic-testimonials .testimonial-quote {
    margin: 0px 0px 29px 0px;
    padding: 0px;
    border: 0px;
    color: #062B4D;
    font-size: 20px;
    line-height: 31px;
    font-style: normal;
    font-weight: 500;
}

.domestic-testimonials .testimonial-quote p { margin-bottom: 0px; }

/* Slightly more compact type makes the two lengthy original
   testimonials easier to read without shortening their wording. */
.domestic-testimonials .testimonial-slide-long .testimonial-quote {
    font-size: 18px;
    line-height: 29px;
}

.domestic-testimonials .testimonial-credit {
    padding-top: 20px;
    border-top: 1px solid #D8E3E9;
}

.domestic-testimonials .testimonial-name,
.domestic-testimonials .testimonial-place { display: block; }

.domestic-testimonials .testimonial-name {
    color: #062B4D;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}

.domestic-testimonials .testimonial-place {
    margin-top: 3px;
    color: #526B7C;
    font-size: 14px;
    line-height: 20px;
}

/* Carousel controls intentionally use inline-block, not Flexbox. */
.domestic-testimonials .testimonial-controls {
    display: none; /* Revealed by JS when the carousel is initialised. */
    margin-top: 26px;
    text-align: center;
}

.domestic-testimonials .testimonial-carousel.is-ready .testimonial-controls {
    display: block;
}

.domestic-testimonials .testimonial-arrow {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
    padding: 0px;
    vertical-align: middle;
    background-color: #062B4D;
    color: #FFFFFF;
    border: 1px solid #062B4D;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.domestic-testimonials .testimonial-arrow:after {
    content: "";
    position: absolute;
    top: 16px;
    left: 17px;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.domestic-testimonials .testimonial-prev:after { transform: rotate(-135deg); left: 19px; }
.domestic-testimonials .testimonial-next:after { transform: rotate(45deg); left: 15px; }

.domestic-testimonials .testimonial-arrow:hover,
.domestic-testimonials .testimonial-arrow:focus-visible {
    background-color: #00A0DF;
    border-color: #00A0DF;
}

.domestic-testimonials .testimonial-arrow:focus-visible,
.domestic-testimonials .testimonial-dot:focus-visible {
    outline: 2px solid #062B4D;
    outline-offset: 3px;
}

.domestic-testimonials .testimonial-count {
    display: inline-block;
    min-width: 100px;
    vertical-align: middle;
    color: #062B4D;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
}

.domestic-testimonials .testimonial-count-total { color: #708393; font-weight: 500; }

.domestic-testimonials .testimonial-dots {
    display: inline-block;
    margin-left: 28px;
    vertical-align: middle;
}

.domestic-testimonials .testimonial-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin: 0px 4px;
    padding: 0px;
    vertical-align: middle;
    background-color: #B7CEDB;
    border: 0px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .2s ease;
}

.domestic-testimonials .testimonial-dot[aria-pressed="true"],
.domestic-testimonials .testimonial-dot:hover { background-color: #00A0DF; }

/* Existing site responsive breakpoints. */
@media only screen and (max-width: 1200px) {
    .container.domestic-testimonials { padding-top: 70px; padding-bottom: 68px; }
    .domestic-testimonials .testimonial-review { padding: 50px 6% 45px 11%; }
    .domestic-testimonials .testimonial-quote { font-size: 19px; line-height: 30px; }
    .domestic-testimonials .testimonial-slide-long .testimonial-quote { font-size: 18px; line-height: 28px; }
}

@media only screen and (max-width: 800px) {
    .container.domestic-testimonials { padding-top: 58px; padding-bottom: 56px; }
    .domestic-testimonials .testimonial-heading { margin-bottom: 32px; }
    .domestic-testimonials .testimonial-heading > p:last-child { font-size: 16px; line-height: 23px; }
    .domestic-testimonials .testimonial-review { min-height: 280px; padding: 45px 6% 40px 13%; }
    .domestic-testimonials .testimonial-review:before { left: 3.5%; top: 32px; font-size: 77px; }
    .domestic-testimonials .testimonial-quote { font-size: 17px; line-height: 27px; }
    .domestic-testimonials .testimonial-slide-long .testimonial-quote { font-size: 17px; line-height: 27px; }
}

@media only screen and (max-width: 481px) {
    .container.domestic-testimonials { padding-top: 50px; padding-bottom: 48px; }
    .domestic-testimonials .testimonial-heading { margin-bottom: 27px; }
    .domestic-testimonials .testimonial-kicker { font-size: 12px; line-height: 16px; }
    .domestic-testimonials .testimonial-review {
        min-height: 0px;
        padding: 70px 24px 30px 24px;
        border-left-width: 4px;
    }
    .domestic-testimonials .testimonial-review:before { left: 20px; top: 14px; font-size: 74px; }
    .domestic-testimonials .testimonial-quote,
    .domestic-testimonials .testimonial-slide-long .testimonial-quote {
        font-size: 16px;
        line-height: 25px;
    }
    .domestic-testimonials .testimonial-quote { margin-bottom: 24px; }
    .domestic-testimonials .testimonial-credit { padding-top: 17px; }
    .domestic-testimonials .testimonial-name { font-size: 15px; line-height: 21px; }
    .domestic-testimonials .testimonial-place { font-size: 13px; line-height: 19px; }
    .domestic-testimonials .testimonial-controls { margin-top: 20px; }
    .domestic-testimonials .testimonial-dots { display: block; margin: 19px 0px 0px 0px; }
}

@media (prefers-reduced-motion: reduce) {
    .domestic-testimonials .testimonial-arrow,
    .domestic-testimonials .testimonial-dot { transition: none; }
}
