.written-testimony {
    padding: 3rem 1rem
}

@media(min-width: 990px) {
    .written-testimony {
        padding: 5rem 2rem
    }
}

.written-testimony__container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

@media(min-width: 768px) {
    .written-testimony__container {
        gap: 3rem
    }
}

.written-testimony .written-testimony__title {
    font-size: 1.75rem;
    line-height: 2rem;
    font-weight: 600
}

@media(min-width: 768px) {
    .written-testimony .written-testimony__title {
        font-size: 2.375rem;
        line-height: 3rem
    }
}

.written-testimony__content {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative
}

.written-testimony__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: min-height .5s ease-in-out;
    box-sizing: border-box
}

.written-testimony__item {
    width: 100%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    transition: opacity .5s ease-in-out;
    pointer-events: none
}

@media(min-width: 991px) {
    .written-testimony__item {
        flex-direction: row
    }
}

.written-testimony__item[data-slider-active=true] {
    opacity: 1;
    position: relative;
    pointer-events: auto
}

.written-testimony__image {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    max-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    border-radius: .5rem;
    flex-shrink: 0
}

@media(min-width: 991px) {
    .written-testimony__image {
        width: 425px;
        min-width: 425px;
        max-width: 425px
    }
}

.written-testimony__image img {
    border-radius: .5rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.written-testimony__blockquote {
    border-radius: .5rem;
    padding: 6rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1
}

@media(min-width: 768px) {
    .written-testimony__blockquote {
        padding: 2rem 2rem 2rem 5.25rem
    }
}

.written-testimony__blockquote.quotes-white::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2231%22%20height%3D%2223%22%20viewBox%3D%220%200%2031%2023%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M29.1999%204.57764e-05V5.12005H28.6399C24.7999%205.12005%2022.8799%207.28005%2022.8799%2010.4V10.72C23.3599%2010.56%2023.9199%2010.48%2024.4799%2010.48C27.6799%2010.48%2030.2399%2013.04%2030.2399%2016.48C30.2399%2019.84%2027.5999%2022.56%2024.0799%2022.56C18.6399%2022.56%2016.6399%2017.2%2016.6399%2012.72C16.6399%205.20005%2020.6399%204.57764e-05%2028.3199%204.57764e-05H29.1999ZM12.4799%204.57764e-05V5.12005H11.9199C8.15986%205.12005%206.23986%207.28005%206.23986%2010.4V10.72C6.71986%2010.56%207.27986%2010.48%207.83986%2010.48C11.0399%2010.48%2013.5199%2013.04%2013.5199%2016.48C13.5199%2019.84%2010.9599%2022.56%207.43986%2022.56C1.99986%2022.56%20-0.000136733%2017.2%20-0.000136733%2012.72C-0.000136733%205.20005%203.99986%204.57764e-05%2011.6799%204.57764e-05H12.4799Z%22%20fill%3D%22white%22/%3E%3C/svg%3E")
}

.written-testimony__blockquote.quotes-navy::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2231%22%20height%3D%2223%22%20viewBox%3D%220%200%2031%2023%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M29.1999%204.57764e-05V5.12005H28.6399C24.7999%205.12005%2022.8799%207.28005%2022.8799%2010.4V10.72C23.3599%2010.56%2023.9199%2010.48%2024.4799%2010.48C27.6799%2010.48%2030.2399%2013.04%2030.2399%2016.48C30.2399%2019.84%2027.5999%2022.56%2024.0799%2022.56C18.6399%2022.56%2016.6399%2017.2%2016.6399%2012.72C16.6399%205.20005%2020.6399%204.57764e-05%2028.3199%204.57764e-05H29.1999ZM12.4799%204.57764e-05V5.12005H11.9199C8.15986%205.12005%206.23986%207.28005%206.23986%2010.4V10.72C6.71986%2010.56%207.27986%2010.48%207.83986%2010.48C11.0399%2010.48%2013.5199%2013.04%2013.5199%2016.48C13.5199%2019.84%2010.9599%2022.56%207.43986%2022.56C1.99986%2022.56%20-0.000136733%2017.2%20-0.000136733%2012.72C-0.000136733%205.20005%203.99986%204.57764e-05%2011.6799%204.57764e-05H12.4799Z%22%20fill%3D%22%23010741%22/%3E%3C/svg%3E")
}

.written-testimony__blockquote::before {
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: auto;
    top: 2rem;
    display: block;
    width: 2.25rem;
    height: 2.25rem
}

@media(min-width: 768px) {
    .written-testimony__blockquote::before {
        left: 2.25rem;
        top: auto
    }
}

.written-testimony__testimonial {
    flex: 1 1 auto;
    display: flex;
    align-items: center
}

.written-testimony__testimonial p {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 500;
    font-style: normal;
    position: relative;
    z-index: 1
}

@media(min-width: 768px) {
    .written-testimony__testimonial p {
        font-size: 1.5rem;
        line-height: 2rem
    }
}

.written-testimony__footer {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding-top: 1.5rem;
    margin: 0
}

.written-testimony p.written-testimony__name {
    display: block;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    font-style: normal
}

.written-testimony p.written-testimony__job {
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 500;
    font-style: normal
}

@media(min-width: 768px) {
    .written-testimony p.written-testimony__job {
        line-height: 1.75rem
    }
}

.written-testimony button.written-testimony__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #001f3f;
    border-radius: 100px
}

.written-testimony button.written-testimony__button.controls-white {
    background-color: #fff;
    border: 1.5px solid #fff
}

.written-testimony button.written-testimony__button.controls-white.written-testimony__button--prev::before {
    content: "";
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2210%22%20height%3D%2217%22%20viewBox%3D%220%200%2010%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M8.5%2016L1%208.5L8.5%201%22%20stroke%3D%22%232501C3%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
    position: relative;
    display: block;
    width: 1.5rem;
    height: 1.5rem
}

.written-testimony button.written-testimony__button.controls-white.written-testimony__button--prev:hover::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2210%22%20height%3D%2217%22%20viewBox%3D%220%200%2010%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M8.5%2016L1%208.5L8.5%201%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E")
}

.written-testimony button.written-testimony__button.controls-white.written-testimony__button--next::before {
    content: "";
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2210%22%20height%3D%2217%22%20viewBox%3D%220%200%2010%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201L8.5%208.5L1%2016%22%20stroke%3D%22%232501C3%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
    position: relative;
    display: block;
    width: 1.5rem;
    height: 1.5rem
}

.written-testimony button.written-testimony__button.controls-white.written-testimony__button--next:hover::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2210%22%20height%3D%2217%22%20viewBox%3D%220%200%2010%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201L8.5%208.5L1%2016%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E")
}

.written-testimony button.written-testimony__button.controls-blue {
    background-color: #2501c3;
    border: 1.5px solid #2501c3
}

.written-testimony button.written-testimony__button.controls-blue.written-testimony__button--prev::before {
    content: "";
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2210%22%20height%3D%2217%22%20viewBox%3D%220%200%2010%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M8.5%2016L1%208.5L8.5%201%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
    position: relative;
    display: block;
    width: 1.5rem;
    height: 1.5rem
}

.written-testimony button.written-testimony__button.controls-blue.written-testimony__button--prev:hover::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2210%22%20height%3D%2217%22%20viewBox%3D%220%200%2010%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M8.5%2016L1%208.5L8.5%201%22%20stroke%3D%22%232501C3%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E")
}

.written-testimony button.written-testimony__button.controls-blue.written-testimony__button--next::before {
    content: "";
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2210%22%20height%3D%2217%22%20viewBox%3D%220%200%2010%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201L8.5%208.5L1%2016%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
    position: relative;
    display: block;
    width: 1.5rem;
    height: 1.5rem
}

.written-testimony button.written-testimony__button.controls-blue.written-testimony__button--next:hover::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2210%22%20height%3D%2217%22%20viewBox%3D%220%200%2010%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201L8.5%208.5L1%2016%22%20stroke%3D%22%232501C3%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E")
}

.written-testimony button.written-testimony__button:hover {
    background-color: rgba(0, 0, 0, 0)
}

.written-testimony .written-testimony__controls {
    position: relative;
    display: flex;
    gap: 12px;
    z-index: 30;
    pointer-events: none;
    margin-top: 1.5rem
}

.written-testimony .written-testimony__controls button {
    pointer-events: auto
}

.written-testimony [data-slider-animating]~.written-testimony__controls button,
.written-testimony [data-slider-animating]+.written-testimony__controls button {
    opacity: .6;
    cursor: default;
    transform: none !important
}