/* Global module - Testimonials */
.el-testimonials-head {
    max-width: 640px;
    margin: 0 auto clamp(40px, 4vw, 64px);
    text-align: center;
}

.el-testimonials-title {
    margin: 0 0 16px;
    color: var(--el-color-heading);
}

.el-testimonials-text {
    margin: 0;
    font-size: 19px;
    color: var(--el-color-muted);
    max-width: 600px;
    margin-inline: auto;
}

/* Carousel: native scroll with snap, 3 / 2 / 1 cards per view. Arrows added by JS when it overflows. */
.el-testimonials-list {
    --el-per-view: 3;
    --el-gap: clamp(20px, 2.6vw, 50px);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--el-per-view) - 1) * var(--el-gap)) / var(--el-per-view));
    gap: var(--el-gap);
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.el-testimonials-list::-webkit-scrollbar {
    display: none;
}

.el-testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.el-testimonials-nav[hidden] {
    display: none;
}

.el-testimonials-nav button {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid var(--el-color-blue-dark);
    border-radius: 50%;
    background: transparent;
    color: var(--el-color-blue-dark);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}

.el-testimonials-nav button::before {
    content: "";
    display: block;
    width: 20px;
    height: 12px;
    margin: auto;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M0 6h18M13 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M0 6h18M13 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.el-testimonials-prev::before {
    transform: scaleX(-1);
}

.el-testimonials-nav button:hover:not(:disabled),
.el-testimonials-nav button:focus-visible {
    background: var(--el-color-blue-dark);
    color: var(--el-color-white);
}

.el-testimonials-nav button:disabled {
    opacity: 0.3;
    cursor: default;
}

.el-testimonial {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 2.6vw, 48px) clamp(24px, 2.6vw, 50px) clamp(28px, 2.4vw, 40px);
    border-radius: 28px;
    background: var(--el-color-light);
}

.el-testimonial-quote {
    flex-grow: 1;
    margin: 0 0 40px;
}

.el-testimonial-quote::before {
    content: "\201C";
    display: block;
    height: 0.55em;
    margin-bottom: 24px;
    font-family: var(--el-font-heading);
    font-size: 96px;
    line-height: 1;
    color: var(--el-color-orange);
}

.el-testimonial-quote p {
    margin: 0;
    font-size: clamp(19px, 1.35vw, 26px);
    line-height: 1.45;
    color: #2c3a45;
    max-width: 394px;
}

.el-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid #cfd8df;
}

.el-testimonial-photo {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

/* No photo: the person's initials in a round badge, same size as the photo. */
.el-testimonial-initials {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--el-color-navy);
    color: var(--el-color-white);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.el-testimonial-author p {
    margin: 0;
    line-height: 1.3;
}

.el-testimonial-name {
    display: block;
    font-size: 19px;
    color: var(--el-color-navy);
}

.el-testimonial-role {
    display: block;
    font-size: 18px;
    color: #8a96a1;
    max-width: 320px;
}

/* LinkedIn icon, at the end of the author row. */
.el-testimonial-linkedin {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--el-color-navy);
    color: var(--el-color-white);
    transition: background-color 0.2s ease;
}

.el-testimonial-linkedin:hover,
.el-testimonial-linkedin:focus-visible {
    background: var(--el-color-orange);
}

/* Highlights card: navy, after the quotes (design: "38 programmes", "Qantas", "BUILD 2025"). */
.el-testimonial.is-highlights {
    background: #10293a;
    color: var(--el-color-white);
}

.el-highlights-label {
    align-self: flex-start;
    margin-bottom: clamp(20px, calc(20px + 12 * (100vw - 1280px) / 640), 32px);
    padding: 4px 14px;
    border-radius: 999px;
    background: #d9a032;
    font-size: 15px;
    font-weight: 500;
    color: var(--el-color-navy);
}

.el-highlights {
    margin: 0;
    padding: 0;
    list-style: none;
}

.el-highlights li + li {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.el-highlights h3 {
    margin: 0 0 6px;
    color: var(--el-color-white);
}

.el-highlights h3.is-gold {
    color: #e5bd62;
}

.el-highlights p {
    margin: 0;
    font-size: clamp(16px, calc(16px + 2 * (100vw - 1280px) / 640), 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 1199px) {
    .el-testimonials-list {
        --el-per-view: 2;
    }
}

@media (max-width: 767px) {
    .el-testimonials-list {
        --el-per-view: 1.12;
        --el-gap: 16px;
    }
}

@media (min-width: 1600px) {
    .el-testimonials-list {
        margin-inline: -76px;
    }
}
