.industries-hero-row .vc_row.vc_inner {
    display: flex;
    align-items: center;
}

.industries-hero-row .vc_row.vc_inner > .wpb_column {
    float: none;
}

.industries-hero-row .text-center {
    text-align: center;
}

.text-center {
    text-align: center;
}

.background-check-hero {
    background-color: #002d24 !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: auto 100% !important;
}

.background-checks-hero-text {
    text-align: right !important;
}
.background-checks-hero-text h1 {
    color: #ffffff;
    font-size: 72px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0 0 25px 0;
    text-shadow: 3px 3px 0 #799a05;
    text-align: right !important;
}
.background-checks-hero-text h3 {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
    text-align: right !important;
}

.background-checks {
    text-align: left !important;
}
.background-checks h1 {
    color: #ffffff;
    font-size: 72px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0 0 25px 0;
    text-shadow: 3px 3px 0 #799a05;
    text-align: left !important;
}
.background-checks h3 {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
    text-align: left !important;
}

.equal-height-row {
    display: flex;
    align-items: stretch;
}
.equal-height-row > .wpb_column {
    display: flex;
}

.widget-sidebar-responsiveness {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
}
.widget-sidebar-responsiveness h1,
.widget-sidebar-responsiveness h2,
.widget-sidebar-responsiveness p {
    color: #172b3f !important;
}

.widget-sidebar-lender-solutions-sidebar .lender-solutions-menu {
    background: #002d20;
    border-radius: 7px;
    padding: 22px 16px 12px;
    overflow: hidden;
    position: relative;
}
.widget-sidebar-lender-solutions-sidebar .lender-solutions-menu::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1.2px);
    background-size: 6px 6px;
    -webkit-mask-image: linear-gradient(220deg, #000 0%, #000 40%, transparent 50%, transparent 100%);
    mask-image: linear-gradient(220deg, #000 0%, #000 40%, transparent 50%, transparent 100%);
    pointer-events: none;
}
.widget-sidebar-lender-solutions-sidebar .lender-solutions-menu > * {
    position: relative;
    z-index: 1;
}
.widget-sidebar-lender-solutions-sidebar .lender-solutions-menu h3 {
    margin: 0;
    padding: 0;
    color: #8fbd00;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}
.widget-sidebar-lender-solutions-sidebar .lender-title-line {
    width: 52px;
    height: 2px;
    margin-top: 10px;
    margin-bottom: 7px;
    background-color: #8fbd00;
}
.widget-sidebar-lender-solutions-sidebar .lender-solution-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5px 20px 0;
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 2px solid #789d00;
}
.widget-sidebar-lender-solutions-sidebar .lender-solution-item:last-child {
    border-bottom: none;
}
.widget-sidebar-lender-solutions-sidebar .lender-solution-item:hover {
    color: #8fbd00 !important;
}
.widget-sidebar-lender-solutions-sidebar .lender-arrow {
    width: 14px;
    height: 14px;
    border-top: 2px solid #8fbd00;
    border-right: 2px solid #8fbd00;
    transform: rotate(45deg);
    margin-right: 15px;
    flex-shrink: 0;
}

/* ==========================================================
   CUSTOMERS SAY CAROUSEL
   ========================================================== */


/* ----------------------------------------------------------
   SECTION
---------------------------------------------------------- */

.customers-say-section {
    position: relative;
    overflow: hidden;
    background-color: #073b2b;
}

.customers-say-section .vc_column-inner {
    padding-top: 0 !important;
}


/* ----------------------------------------------------------
   MAIN CAROUSEL

   Increased vertical spacing for longer testimonials
---------------------------------------------------------- */

.customers-say-carousel {
    --side-offset: 390px;
    --far-offset: 760px;

    position: relative;

    width: 100%;
    max-width: 1400px;

    min-height: 480px;

    margin: 0 auto;

    padding-top: 60px;
    padding-right: 90px;
    padding-bottom: 85px;
    padding-left: 90px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    outline: none;
}


/* ----------------------------------------------------------
   TRACK

   Increased from the earlier 285px
   to give the testimonial cards more vertical room.
---------------------------------------------------------- */

.customers-say-track {
    position: relative;

    width: 100%;
    height: 350px;

    overflow: visible;
}


/* ----------------------------------------------------------
   ALL TESTIMONIAL CARDS

   IMPORTANT:
   Every card keeps the SAME actual width and typography.

   The side cards become visually smaller using scale().
   This prevents the text from re-wrapping while sliding.
---------------------------------------------------------- */

.customers-say-card {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 425px;
    min-height: 265px;

    padding: 27px 28px 25px;

    box-sizing: border-box;

    background: rgba(23, 84, 63, 0.98);

    border: 1px solid #799a05;
    border-radius: 9px;

    color: #ffffff;

    opacity: 0;

    pointer-events: none;

    transform:
        translate(-50%, -50%)
        scale(0.55);

    z-index: 0;

    transition:
        transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.35s ease;

    will-change: transform, opacity;
}


/* ----------------------------------------------------------
   FAR LEFT
---------------------------------------------------------- */

.customers-say-card.is-far-prev {
    opacity: 0;

    transform:
        translate(
            calc(-50% - var(--far-offset)),
            -50%
        )
        scale(0.50);

    z-index: 0;
}


/* ----------------------------------------------------------
   LEFT / PREVIOUS CARD
---------------------------------------------------------- */

.customers-say-card.is-prev {
    opacity: 0.88;

    pointer-events: auto;

    transform:
        translate(
            calc(-50% - var(--side-offset)),
            -50%
        )
        scale(0.59);

    z-index: 2;
}


/* ----------------------------------------------------------
   ACTIVE / CENTER CARD
---------------------------------------------------------- */

.customers-say-card.is-active {
    opacity: 1;

    pointer-events: auto;

    transform:
        translate(-50%, -50%)
        scale(1);

    z-index: 4;
}


/* ----------------------------------------------------------
   RIGHT / NEXT CARD
---------------------------------------------------------- */

.customers-say-card.is-next {
    opacity: 0.88;

    pointer-events: auto;

    transform:
        translate(
            calc(-50% + var(--side-offset)),
            -50%
        )
        scale(0.59);

    z-index: 2;
}


/* ----------------------------------------------------------
   FAR RIGHT
---------------------------------------------------------- */

.customers-say-card.is-far-next {
    opacity: 0;

    transform:
        translate(
            calc(-50% + var(--far-offset)),
            -50%
        )
        scale(0.50);

    z-index: 0;
}


/* ----------------------------------------------------------
   QUOTATION MARK
---------------------------------------------------------- */

.customers-say-quote {
    height: 35px;

    margin-bottom: 12px;

    color: #8baa00;

    font-family: Georgia, serif;
    font-size: 65px;
    font-weight: 700;
    line-height: 45px;
}


/* ----------------------------------------------------------
   TESTIMONIAL TEXT

   Fixed size = no reflow when card becomes active.
---------------------------------------------------------- */

.customers-say-text {
    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}


/* ----------------------------------------------------------
   GREEN DIVIDER
---------------------------------------------------------- */

.customers-say-line {
    width: 100%;
    height: 1px;

    margin: 14px 0 11px;

    background-color: #799a05;
}


/* ----------------------------------------------------------
   COMPANY / PERSON NAME
---------------------------------------------------------- */

.customers-say-company {
    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}


/* ----------------------------------------------------------
   ARROWS
---------------------------------------------------------- */

.customers-say-arrow {
    -webkit-appearance: none;
    appearance: none;

    position: absolute;

    top: 50%;

    width: 38px;
    height: 38px;

    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    background: transparent;

    border: 3px solid #8bcf00;
    border-radius: 50%;

    box-shadow: none;

    color: #8bcf00;

    font-size: 20px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    z-index: 20;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.customers-say-arrow:hover {
    background-color: #8bcf00;
    color: #073b2b;
}

.customers-say-arrow:focus {
    outline: none;
}


/* LEFT ARROW */

.customers-say-prev {
    left: 25px;
}


/* RIGHT ARROW */

.customers-say-next {
    right: 25px;
}


/* ----------------------------------------------------------
   PAGINATION DOTS
---------------------------------------------------------- */

.customers-say-dots {
    position: absolute;

    left: 50%;
    bottom: 23px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    z-index: 20;
}

.customers-say-dot {
    -webkit-appearance: none;
    appearance: none;

    width: 8px;
    height: 8px;
    min-width: 8px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    box-shadow: none;

    background-color: #75848a;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.customers-say-dot:hover {
    transform: scale(1.15);
}

.customers-say-dot.is-active {
    background-color: #799a05;

    transform: scale(1.15);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .customers-say-carousel {
        --side-offset: 315px;
        --far-offset: 610px;

        min-height: 460px;

        padding-top: 55px;
        padding-right: 60px;
        padding-bottom: 80px;
        padding-left: 60px;
    }

    .customers-say-track {
        height: 335px;
    }

}


/* ==========================================================
   CUSTOMERS SAY CAROUSEL - MOBILE
   One active card in normal flow: no clipped testimonials.
   Desktop transforms and 3-card layout remain unchanged.
   ========================================================== */

@media only screen and (max-width: 767px) {

    .customers-say-section {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .customers-say-section .vc_column-inner,
    .customers-say-section .wpb_wrapper {
        height: auto !important;
        max-height: none !important;
    }

    .customers-say-carousel {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        padding: 35px 46px 28px !important;
        overflow: visible !important;
    }

    .customers-say-track {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .customers-say-card {
        display: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
    }

    .customers-say-card.is-active {
        display: block !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 auto !important;
        padding: 23px 18px 25px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        pointer-events: auto !important;
    }

    .customers-say-text {
        font-size: 14px !important;
        line-height: 1.55 !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    .customers-say-company {
        font-size: 17px !important;
        line-height: 1.4 !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    .customers-say-quote {
        height: 32px !important;
        margin-bottom: 12px !important;
        font-size: 55px !important;
        line-height: 40px !important;
    }

    .customers-say-arrow {
        position: absolute !important;
        top: 50% !important;
        width: 34px !important;
        height: 34px !important;
        transform: translateY(-50%) !important;
        z-index: 20 !important;
    }

    .customers-say-prev { left: 5px !important; }
    .customers-say-next { right: 5px !important; }

    .customers-say-dots {
        display: flex !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 22px auto 0 !important;
        padding: 0 !important;
        transform: none !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        row-gap: 10px !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================
   INDUSTRIES WE SERVE - MOBILE LAYOUT
   Classes: industries-hero-row on main row;
            industries-mobile-heading on WPBakery Text Block.
   Inline 128px H1 styles are overridden ONLY on small screens.
   ========================================================== */
@media only screen and (max-width: 767px) {

    /* Remove oversized hero height and vertical space on mobile. */
    .industries-hero-row {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        padding-top: 30px !important;
        padding-bottom: 40px !important;
        box-sizing: border-box !important;
        background-position: center center !important;
    }

    /* Stockholm can wrap WPBakery columns in additional row containers. */
    .industries-hero-row > .full_section_inner,
    .industries-hero-row > .section_inner,
    .industries-hero-row > .section_inner > .section_inner_margin,
    .industries-hero-row .vc_row.vc_inner,
    .industries-hero-row .equal-height-row {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    .industries-hero-row > .wpb_column,
    .industries-hero-row > .vc_column_container,
    .industries-hero-row > .full_section_inner > .wpb_column,
    .industries-hero-row > .full_section_inner > .vc_column_container,
    .industries-hero-row > .section_inner > .section_inner_margin > .wpb_column,
    .industries-hero-row .vc_row.vc_inner > .wpb_column,
    .industries-hero-row .equal-height-row > .wpb_column {
        display: block !important;
        float: none !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    .industries-hero-row .vc_row.vc_inner {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .industries-hero-row .vc_column-inner {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Targets ONLY the Text Block containing the hero title. */
    .industries-hero-row .industries-mobile-heading,
    .industries-mobile-heading,
    .industries-mobile-heading .wpb_wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin-top: 0 !important;
        box-sizing: border-box !important;
    }

    .industries-hero-row .industries-mobile-heading h1,
    .industries-mobile-heading h1 {
        font-size: clamp(36px, 9vw, 46px) !important;
        line-height: 1.12 !important;
        letter-spacing: -1px !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .industries-mobile-heading h1:first-child {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .industries-mobile-heading h1:nth-child(2) {
        margin-top: 0 !important;
        margin-bottom: 18px !important;
    }

    /* Subtitle must NOT inherit the H1 font sizing. */
    .industries-hero-row .industries-mobile-heading h2,
    .industries-mobile-heading h2 {
        font-size: 18px !important;
        line-height: 1.5 !important;
        font-weight: 400 !important;
        max-width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 24px !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }

    /* Stack the hero CTAs without clipping. */
    .industries-hero-row a.qbutton {
        display: block !important;
        width: 100% !important;
        max-width: 360px !important;
        min-width: 0 !important;
        margin: 8px 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* Keep the white Responsiveness sidebar within the viewport. */
    .industries-hero-row .widget-sidebar-responsiveness,
    .widget-sidebar-responsiveness {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 18px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .widget-sidebar-responsiveness .widget,
    .widget-sidebar-responsiveness .textwidget,
    .widget-sidebar-responsiveness .wpb_wrapper {
        width: 100%;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .widget-sidebar-responsiveness img,
    .widget-sidebar-responsiveness svg {
        max-width: 100% !important;
        height: auto !important;
    }

    .widget-sidebar-responsiveness h1,
    .widget-sidebar-responsiveness h2,
    .widget-sidebar-responsiveness h3,
    .widget-sidebar-responsiveness p {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    /* Lender Solutions menu when used in the same page. */
    .widget-sidebar-lender-solutions-sidebar,
    .widget-sidebar-lender-solutions-sidebar .lender-solutions-menu {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .widget-sidebar-lender-solutions-sidebar .lender-solution-item {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 12px;
        box-sizing: border-box;
    }

    .widget-sidebar-lender-solutions-sidebar .lender-solution-item span:first-child {
        min-width: 0;
        overflow-wrap: break-word;
    }

    .widget-sidebar-lender-solutions-sidebar .lender-arrow {
        flex-shrink: 0;
    }
}

@media only screen and (max-width: 375px) {
    .industries-hero-row .industries-mobile-heading h1,
    .industries-mobile-heading h1 {
        font-size: 34px !important;
    }
}