/*
 * /financing, legacy map.home: the hero, the intro and the dealer tiles.
 */

.mm-financing-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.mm-financing {
    padding: 3rem 0 4rem;
}

.mm-financing__heading {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.mm-financing__intro {
    max-width: 52rem;
    margin: 0 0 2.5rem;
    line-height: 1.7;
    color: #333;
}

.mm-financing__dealers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0 0 2.5rem;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .mm-financing__dealers {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .mm-financing__dealers {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.mm-financing-dealer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    text-align: center;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.mm-financing-dealer__logo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin-bottom: 0.75rem;
}

.mm-financing-dealer__name {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.mm-financing-dealer__term,
.mm-financing-dealer__note {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    color: #333;
}

.mm-financing-dealer__note {
    font-size: 0.875rem;
    color: #555;
}

.mm-financing-dealer__cta {
    margin-top: auto;
    padding-top: 0.5rem;
}

.mm-financing__footnote {
    font-size: 0.875rem;
    color: #555;
}
