/**
 * Proactive maintenance card on magento-maintenance-support.
 *
 * CMS HTML is not a Tailwind scan source. This file owns the card so the
 * heading, body, gold button, and illustration do not depend on utilities
 * that are missing from the built stylesheet. Loaded only from
 * cms_page_view_id_magento-maintenance-support.xml.
 */

.cms-content .tm-proactive {
    isolation: isolate;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1.75rem 1.35rem 1.15rem;
    overflow: hidden;
    border-radius: 1rem;
    background: #0a3d91;
    color: #ffffff;
}

@media (min-width: 900px) {
    .cms-content .tm-proactive {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem 1.25rem;
        padding: 2.15rem 1.25rem 2.15rem 2.35rem;
    }
}

.cms-content .tm-proactive__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.cms-content .tm-proactive__eyebrow {
    margin: 0 0 0.7rem !important;
    color: #d6e4ff !important;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
}

.cms-content .tm-proactive h2.tm-proactive__title {
    margin: 0 0 0.85rem !important;
    color: #ffffff !important;
    font-size: 1.9rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    line-height: 1.22 !important;
}

@media (min-width: 1024px) {
    .cms-content .tm-proactive h2.tm-proactive__title {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
}

.cms-content .tm-proactive p.tm-proactive__body {
    max-width: 44rem;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .cms-content .tm-proactive p.tm-proactive__body {
        font-size: 1.125rem;
    }
}

.cms-content .tm-proactive a.tm-proactive__cta,
.cms-content .tm-proactive a.tm-proactive__cta:hover,
.cms-content .tm-proactive a.tm-proactive__cta:focus,
.cms-content .tm-proactive a.tm-proactive__cta:focus-visible,
.cms-content .tm-proactive a.tm-proactive__cta:active {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 3rem;
    margin: 1.25rem 0 0;
    padding: 0.8rem 1.45rem;
    border: 0;
    border-radius: 999px;
    background: #d4a15f !important;
    background-image: none !important;
    color: #071b33 !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.15s ease;
}

@media (min-width: 900px) {
    .cms-content .tm-proactive a.tm-proactive__cta,
    .cms-content .tm-proactive a.tm-proactive__cta:hover,
    .cms-content .tm-proactive a.tm-proactive__cta:focus,
    .cms-content .tm-proactive a.tm-proactive__cta:focus-visible,
    .cms-content .tm-proactive a.tm-proactive__cta:active {
        width: auto;
    }
}

.cms-content .tm-proactive a.tm-proactive__cta:hover,
.cms-content .tm-proactive a.tm-proactive__cta:focus-visible {
    background: #c8924f !important;
    color: #071b33 !important;
}

.cms-content .tm-proactive a.tm-proactive__cta:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.cms-content .tm-proactive__art {
    flex: 0 0 auto;
    width: min(100%, 220px);
    max-width: 100%;
    margin: 0 auto;
    align-self: center;
    pointer-events: none;
}

@media (min-width: 900px) {
    .cms-content .tm-proactive__art {
        width: 280px;
        margin: 0;
    }
}

.cms-content .tm-proactive__art img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    mix-blend-mode: lighten;
    object-fit: contain;
    object-position: center;
}
