/* =============================================================
   pxl-testi-horner — Beth Horner & Associates Testimonials
   ============================================================= */

.pxl-testi-horner {
    padding: 52px 0 40px;
    background-color: #f3f5fb;
}

/* ── Header ── */
.pxl-testi-horner--header {
    text-align: center;
    margin-bottom: 32px;
}

.pxl-testi-horner--label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #486ee2;
    margin-bottom: 10px;
}

.pxl-testi-horner--subtitle {
    font-size: 26px;
    font-weight: 700;
    color: #12122a;
    margin: 0;
    line-height: 1.3;
}

/* ── Outer: allows cards to peek at the edges ── */
.pxl-testi-horner--outer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Carousel ── */
.pxl-testi-horner--carousel {
    position: relative;
}

/* ── Viewport: clips overflow ── */
.pxl-testi-horner--viewport {
    overflow: hidden;
    border-radius: 4px;
}

/* ── Track: slides laid out in a single flex row ── */
.pxl-testi-horner--track {
    display: flex;
    gap: 24px;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
}

/* ── Slide: width set by JS ── */
.pxl-testi-horner--slide {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
}

/* ── Card ── */
.pxl-testi-horner--card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px 28px;
    box-shadow: 0 2px 20px rgba(18, 18, 42, 0.07);
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pxl-testi-horner--card:hover {
    box-shadow: 0 8px 40px rgba(72, 110, 226, 0.14);
    transform: translateY(-3px);
}

/* ── Opening quote icon ── */
.pxl-testi-horner--qi {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 52px;
    line-height: 1;
    color: #486ee2;
    margin-bottom: 14px;
    display: block;
    user-select: none;
}

/* ── Quote text ── */
.pxl-testi-horner--text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.75;
    color: #1a1a30;
    margin: 0;
    flex: 1;
}

/* ── Author area ── */
.pxl-testi-horner--author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eceef7;
}

/* ── Initials avatar ── */
.pxl-testi-horner--avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.pxl-testi-horner--info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.pxl-testi-horner--name {
    font-size: 14px;
    font-weight: 700;
    color: #12122a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.pxl-testi-horner--role {
    font-size: 12px;
    color: #888899;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* ── Navigation dots ── */
.pxl-testi-horner--dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 28px !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Full reset: theme button styles commonly override size, bg, border, padding */
.pxl-testi-horner--dot {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border-radius: 50% !important;
    background-color: #9aaae8 !important;
    background-image: none !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    font-size: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background-color 0.25s ease, width 0.25s ease, border-radius 0.25s ease !important;
}

.pxl-testi-horner--dot.is-active {
    background-color: #486ee2 !important;
    width: 26px !important;
    border-radius: 5px !important;
}

.pxl-testi-horner--dot:hover:not(.is-active) {
    background-color: #6e8eec !important;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .pxl-testi-horner {
        padding: 36px 0 28px;
    }
    .pxl-testi-horner--subtitle {
        font-size: 22px;
    }
    .pxl-testi-horner--outer {
        padding: 0 16px;
    }
    .pxl-testi-horner--card {
        padding: 24px 20px 22px;
    }
    .pxl-testi-horner--qi {
        font-size: 44px;
    }
}
