.spencer-quickfi-grid-card {
    display: flex;
    width: 100%;
    height: 250px;
    border: 1px solid #d2d7dc;
    align-items: stretch;
    flex-direction: column;
    color: #101820;
    background: #ffffff;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.spencer-quickfi-grid-card:hover {
    border-color: #69af2f;
    color: #101820;
    box-shadow: 0 6px 16px rgba(0, 63, 125, 0.14);
    transform: translateY(-2px);
}

.spencer-quickfi-apply {
    display: flex;
    min-height: 52px;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #69af2f;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.3px;
    box-sizing: border-box;
}

.spencer-quickfi-grid-logo {
    display: flex;
    min-height: 160px;
    padding: 22px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-sizing: border-box;
}

.spencer-quickfi-grid-logo img {
    display: block;
    width: 100%;
    max-width: 265px;
    max-height: 105px;
    object-fit: contain;
}

.spencer-quickfi-caption {
    display: flex;
    min-height: 37px;
    padding: 5px 10px;
    align-items: center;
    justify-content: center;
    color: #101820;
    background: #ffffff;
    font-size: 16px;
    font-style: italic;
    line-height: 1.2;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .spencer-quickfi-grid-card {
        height: 230px;
    }

    .spencer-quickfi-apply {
        min-height: 48px;
        font-size: 21px;
    }

    .spencer-quickfi-grid-logo {
        min-height: 145px;
        padding: 18px;
    }

    .spencer-quickfi-caption {
        min-height: 37px;
        font-size: 15px;
    }
}

/* QUICKFI DOUBLE BORDER FIX START */
.spencer-quickfi-grid-card,
.spencer-quickfi-grid-card:hover {
    border: 0 !important;
    box-shadow: none !important;
}

.spencer-quickfi-grid-card:hover {
    transform: none;
}
/* QUICKFI DOUBLE BORDER FIX END */
