.ct-testimony-block {
    width: 100%;
    margin: 0 auto;
}

.ct-testimony__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
    width: 100%;
}

.ct-slide {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1;
}

.ct-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
}

.ct-slide__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #000;
    border-radius: 12px;
    padding: 40px;
}

.ct-slide__content {
    display: flex;
    flex-direction: column;
}

.ct-slide__quote-wrap {
    margin-bottom: 24px;
}

/* Rich text resetting for quote */
.ct-slide__quote h1,
.ct-slide__quote h2,
.ct-slide__quote h3,
.ct-slide__quote h4,
.ct-slide__quote h5,
.ct-slide__quote h6,
.ct-slide__quote p {
    margin: 0 0 24px 0;
    line-height: 1.15;
}

.ct-slide__quote p:last-child,
.ct-slide__quote h2:last-child {
    margin-bottom: 0;
}

.ct-slide__citation {
    margin-top: 18px;
    margin-bottom: 20px;
}

.ct-slide__nav {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.ct-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: #d0e9f3;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 120ms ease, background-color 160ms ease;
    padding: 0;
}

.ct-nav-btn img {
    width: 10px;
    height: auto;
    display: block;
}

.ct-nav-btn:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .ct-slide__grid { padding: 25px; !important }
}