.th-light .testimony-media {
    background: var(--ocre-20);
}

.testimony-media {
    background: var(--ocre-20);
    padding-top: 32px;
    padding-bottom: 32px;
}

@media screen and (min-width: 992px) {
    .testimony-media {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

.testimony-media--container {
    position: relative;
}

.testimony-media--item {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 992px) {
    .testimony-media--item {
        flex-direction: row-reverse;
        gap: clamp(32px, 9.44vw, 136px);
    }
}

.testimony-media--content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--neutre-60);
}

@media screen and (min-width: 992px) {
    .testimony-media--content {
        padding-top: 76px;
        max-width: 486px;
        width: 100%;
    }
}

.testimony-media--content>p {
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.testimony-media--informations {
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
}

.testimony-media--informations::after {
    content: '';
    display: block;
    -webkit-mask: url("../images/quote.svg") no-repeat center;
    mask: url("../images/quote.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    width: 40px;
    height: 40px;
    background: var(--ocre-100);
    margin: auto 0 auto auto;
}

.th-dark .testimony-media--informations::after,
.th-light .testimony-media--informations::after {
    background: var(--neutre-100);
}

.testimony-media--informations img {
    height: 64px;
    width: 64px !important;
    border-radius: 50%;
    object-fit: cover;
}

.testimony-media--informations p {
    color: var(--neutre-100);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.testimony-media--informations span {
    font-family: var(--roboto);
    color: var(--neutre-40);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

@media screen and (min-width: 992px) {
    .testimony-media--media {
        width: 100%;
        max-width: 592px;
        flex-shrink: 0;
    }
}


.testimony-media--media a {
    position: relative;
}

.testimony-media--media a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 47px;
    width: 47px;
    -webkit-mask: url(../../../../../../themes/apo/resources/images/icons/play-round.svg) no-repeat center;
            mask: url(../../../../../../themes/apo/resources/images/icons/play-round.svg) no-repeat center;
    -webkit-mask-size: contain;
            mask-size: contain;
    background-color: var(--white);
    z-index: 1;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .testimony-media--media a:hover::after {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.testimony-media--media .no-video{
    pointer-events: none;
    cursor: none;
}
.testimony-media--media .no-video::after {
    content: none;
}

.testimony-media--media img {
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

@media screen and (min-width: 992px) {
    .testimony-media--media img {
        height: 410px;
    }
}

.testimony-media--navigation {
    justify-content: center;
    display: flex;
    align-items: center;
    z-index: 9;
    /* background: var(--white); */
    border-radius: 24px;
    gap: 16px;
    margin-top: 32px;
}

.th-light .testimony-media--navigation {
    background: var(--ocre-20);
}

@media screen and (min-width: 992px) {
    .testimony-media--navigation {
        position: absolute;
        left: 16px;
        bottom: 0;
        margin-top: 0;
    }
}

@media screen and (min-width: 992px) {
    .testimony-media.reverse .testimony-media--item {
        flex-direction: row;
    }
}

@media screen and (min-width: 992px) {
    .testimony-media.reverse .testimony-media--navigation {
        left: auto;
        right: 0;
    }
}

/* TESTIMONY IMAGE */
.testimony-image {
    overflow: hidden;
    padding-top: 32px;
    padding-bottom: 32px;
}

@media screen and (min-width: 992px) {
    .testimony-image {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

.th-light .testimony-image {
    background: var(--ocre-20);
}

.testimony-image--container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
}

.testimony-image--title {
    padding: 0 20px;
}

@media screen and (min-width: 768px) {
    .testimony-image--title {
        max-width: 75%;
    }
}

@media screen and (min-width: 1248px) {
    .testimony-image--title {
        padding: 0;
    }
}

.testimony-image--item {
    display: flex;
    flex-direction: column;
}

.testimony-image--item .img {
    display: flex;
    margin-bottom: -10px;
    margin-left: 18px;
    z-index: 2;
}

@media screen and (min-width: 992px) {
    .testimony-image--item .img {
        margin-left: 32px;
        margin-bottom: -32px;
    }
}

.testimony-image--item img {
    width: 54px !important;
    height: 54px;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

@media screen and (min-width: 992px) {
    .testimony-image--item img {
        width: 96px !important;
        height: 96px;
    }
}

.testimony-image--item .content {
    padding: 16px 10px;
    background: var(--ocre-20);
    border: 1px solid var(--ocre-20);
}

@media screen and (min-width: 992px) {
    .testimony-image--item .content {
        padding: 48px 32px;
    }
}

.th-light .testimony-image--item .content {
    border-color: var(--neutre-100);
}

.th-dark .testimony-image--item .content {
    background: none;
    border-color: var(--neutre-100);
}

.testimony-image--item p {
    color: var(--neutre-60);
    font-size: 0.5625rem;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

@media screen and (min-width: 992px) {
    .testimony-image--item p {
        font-size: 1rem;
        font-style: normal;
        line-height: 24px;
    }
}

.testimony-image--item .title {
    color: var(--neutre-100);
    font-family: var(--robotoSlab);
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

@media screen and (min-width: 992px) {
    .testimony-image--item .title {
        font-size: 1.375rem;
        line-height: 28px;
    }
}

.testimony-image--item span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.5625rem;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}

@media screen and (min-width: 992px) {
    .testimony-image--item span {
        margin-bottom: 8px;
        font-size: 1rem;
        line-height: 24px;
    }
}

.testimony-image--slider {
    width: 100%;
}

.testimony-image--navigation {
    display: flex;
    gap: 16px;
    width: 100%;
    order: 9;
    justify-content: center;
}

@media screen and (min-width: 992px) {
    .testimony-image--navigation {
        padding-right: 20px;
        width: auto;
        justify-content: flex-start;
        order: unset;
    }
}

.testimony-image--dots {
    display: flex;
    width: 100%;
    padding: 0 20px;
}

@media screen and (min-width: 1248px) {
    .testimony-image--dots {
        padding: 0;
    }
}

.testimony-image--dots button {
    flex: 1;
    height: 2px;
    background: var(--ocre-60);
    transition: all .4s ease;
}

.th-dark .testimony-image--dots button,
.th-light .testimony-image--dots button {
    background: var(--neutre-40);
}

.testimony-image--dots button.active {
    background: var(--ocre-100);
}

.th-dark .testimony-image--dots button.active,
.th-light .testimony-image--dots button.active {
    background: var(--neutre-100);
}

.testimony-image .owl-stage-outer {
    margin-left: -52px;
}

@media screen and (min-width: 1280px) {
    .testimony-image .owl-stage-outer {
        margin-left: -72px;
        overflow: visible;
    }
}