.mt-home-estimate {
    display: grid;
    grid-template-columns: minmax(0, 850px);
    justify-content: center;
    width: min(1300px, 100%);
    margin: 0 auto 12px;
    padding: 12px 0;
    background: #eef7fb;
    color: #0b4f86;
}

.mt-home-estimate .mt-home-shop-estimate {
    --mt-estimate-fill: #fff3cc;
}

.mt-home-shop-estimate-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 850px;
    margin-inline: auto;
}

.mt-home-estimate .mt-home-estimate-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 48px;
    padding: 8px 16px;
    border: 2px solid rgb(255, 150, 0);
    border-radius: 8px;
    background: #ffc300;
    color: #12324a;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.mt-home-estimate .mt-home-estimate-link:is(:hover, :focus-visible) {
    color: #12324a;
    text-decoration: underline;
}

.mt-home-estimate-link > span:first-child {
    word-break: keep-all;
}

.mt-home-estimate .mt-home-estimate-link:focus-visible {
    outline: 2px solid #0b4f86;
    outline-offset: 2px;
}

/* Match the home header's #under_h gutter on medium desktop widths. */
@media screen and (min-width: 881px) and (max-width: 1366px) {
    .mt-home-estimate {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 640px) {
    .mt-home-estimate {
        grid-template-columns: minmax(0, 1fr);
        padding-block: 10px;
        margin-bottom: 0;
    }

    .mt-home-estimate .mt-home-estimate-link {
        padding-inline: 8px;
        font-size: 13px;
    }

    .mt-home-shop-estimate-links {
        grid-template-columns: minmax(0, 1fr);
    }
}
