/* Testimonials — About Us mock cards + Swiper carousel */

.df-testimonials {
    box-sizing: border-box;
    width: calc(100% - var(--df-container-gutter) - var(--df-container-gutter));
    max-width: var(--df-container-width);
    margin-inline: auto;
    padding: 80px 0 120px
}

.df-testimonials__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 56px
}

.df-testimonials__heading {
    margin: 0;
    font-family: var(--df-font-heading);
    font-weight: 400;
    line-height: 1.15
}

.df-testimonials__heading-spacer {
    flex: 1
}

.df-testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex: 0 0 auto
}

.df-testimonials__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #232323;
    cursor: pointer;
    line-height: 0
}

.df-testimonials__nav:hover,
.df-testimonials__nav:focus-visible {
    color: #a107c0
}

.df-testimonials__nav:disabled {
    opacity: .28;
    cursor: default
}

.df-testimonials__nav:focus-visible {
    outline: 2px solid #a107c0;
    outline-offset: 2px
}

.df-testimonials__swiper {
    overflow: hidden;
    padding: 4px 0 12px
}

.df-testimonials__card {
    box-sizing: border-box;
    height: auto;
    padding: 19px;
    border: 1px solid #e8e0ed;
    background: #fbfafd;
    border-radius: 16px;
    transition: border-color 600ms ease
}

.df-testimonials__card:hover {
    border-color: #b73bd5
}

.df-testimonials__person {
    display: flex;
    gap: 14px;
    margin-bottom: 24px
}

.df-testimonials__person img {
    width: 26%;
    height: auto;
    aspect-ratio: 1 / 1.04;
    object-fit: cover;
    align-self: start;
    border-radius: 0 18px 0 18px;
    border: 0
}

.df-testimonials__meta h3 {
    margin: 0;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.45
}

.df-testimonials__meta p {
    margin: 0;
    font-size: 16px;
    color: #847e99;
    line-height: 26px
}

.df-testimonials__meta span {
    display: block;
    margin-top: 12px;
    font-size: 16px
}

.df-testimonials__quote {
    margin: 0;
    font-size: 18px;
    line-height: 30px
}

@media (max-width: 1100px) {
    .df-testimonials__meta h3 {
        font-size: 18px
    }

    .df-testimonials__meta p,
    .df-testimonials__meta span {
        font-size: 12px
    }

    .df-testimonials__quote {
        font-size: 15px;
        line-height: 25px
    }
}

@media (max-width: 900px) {
    .df-testimonials {
        padding: 70px 0
    }

    .df-testimonials__header {
        margin-bottom: 32px
    }

    .df-testimonials__person img {
        border-radius: 0 16px 0 16px
    }

    .df-testimonials__meta h3 {
        font-size: 21px
    }
}

@media (max-width: 700px) {
    .df-testimonials__header {
        align-items: flex-start
    }

    .df-testimonials__controls {
        gap: 10px
    }
}
