/* Diamond C financing - isolated banner styling */

.st-dc-finance {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    clear: both;
    margin: 16px 0;
    padding: 18px 22px;
    background: #eaf1f8;
    border: 1px solid #d3deea;
    border-left: 6px solid #005596;
    border-radius: 8px;
    color: #18324b;
    overflow-wrap: anywhere;
}

.st-dc-finance-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.st-dc-finance-copy {
    flex: 1 1 230px;
    min-width: 0;
}

.st-dc-finance h3 {
    color: #005596 !important;
    font-size: 21px !important;
    line-height: 1.3 !important;
    font-weight: 750 !important;
    margin: 0 0 10px !important;
}

.st-dc-finance p {
    color: #18324b !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin: 7px 0 !important;
}

.st-dc-finance .st-dc-finance-phone {
    font-weight: 700 !important;
    color: #005596 !important;
}

.st-dc-finance a {
    color: #005596 !important;
    font-weight: 700 !important;
}

.st-dc-finance img {
    display: block;
    width: 95px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.st-dc-finance-link {
    display: inline-block;
    margin-top: 7px;
}

/* Keep the banner inside its listing or Elementor column. */
.row.my-2 .st-dc-finance {
    max-width: 100%;
}

#more-info .st-dc-finance {
    width: 100%;
    flex-basis: 100%;
}

@media (max-width: 767px) {
    .st-dc-finance {
        padding: 14px;
        margin: 12px 0;
    }

    .st-dc-finance h3 {
        font-size: 18px !important;
    }

    .st-dc-finance p {
        font-size: 14px !important;
    }

    .st-dc-finance img {
        width: 75px;
    }
}

/* ST_TRANSAX_SINGLE_FINANCE_OFF_V2 */
body.single-inventory .elementor-location-single .fitow-payment-calculator,
body.single-inventory .elementor-location-single .transax-open-financing-form {
    display: none !important;
}
body.single-inventory .elementor-location-single:not(.manufacturer-diamondc-trailers)
.elementor-element-27efd4d {
    display: none !important;
}
body.single-inventory #st-dc-finance-single {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex: 0 0 auto;
}
