/* Offset: mgi-site-layout.css (#new-home-root .mgi-site-main > .ec-v2 > main) */

/* mgi-site-layout.css força img { height: auto } — quebra object-cover no hero */
#new-home-root .mgi-site-main .ec-v2 .ec-v2-split-hero__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ec-v2-split-hero__image {
    position: relative;
    min-height: 220px;
    max-height: 280px;
}

@media (min-width: 768px) {
    .ec-v2-split-hero {
        align-items: stretch;
    }

    .ec-v2-split-hero__image {
        min-height: 320px;
        max-height: none;
    }
}

.ec-v2 .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

.ec-v2 .ec-v2-icon-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Tailwind (bg-surface, text-on-surface) carrega depois — usar escopo #new-home-root */
#new-home-root .mgi-site-main .ec-v2 .ec-v2-quote {
    cursor: default;
    background-color: #ffffff;
    border-left: 4px solid #71130d;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#new-home-root .mgi-site-main .ec-v2 .ec-v2-quote .ec-v2-quote__text {
    color: #1a1c1c;
    transition: color 0.3s ease;
}

#new-home-root .mgi-site-main .ec-v2 .ec-v2-quote .ec-v2-quote__author {
    color: #455a64;
    transition: color 0.3s ease;
}

#new-home-root .mgi-site-main .ec-v2 .ec-v2-quote:hover {
    background-color: #71130d !important;
    border-left-color: #ffffff !important;
    box-shadow: 0 12px 32px rgba(113, 19, 13, 0.22);
}

#new-home-root .mgi-site-main .ec-v2 .ec-v2-quote:hover .ec-v2-quote__text,
#new-home-root .mgi-site-main .ec-v2 .ec-v2-quote:hover .ec-v2-quote__author {
    color: #ffffff !important;
}

.ec-v2-sidebar-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ec-v2-sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 28, 28, 0.08);
}

.ec-v2-cta-btn {
    transition: background-color 0.3s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.ec-v2-cta-btn:hover {
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .ec-v2-split-hero__image {
        min-height: 220px;
        max-height: 260px;
    }
}
