/* Mitsubishi homepage redesign: isolated visual layer */
.mi-page {
    --mi-ink: #171812;
    --mi-muted: #656958;
    --mi-paper: #fbfaf4;
    --mi-panel: #f0eddf;
    --mi-line: #d8d1b9;
    --mi-green: #65712b;
    --mi-red: #b7362f;
    --mi-gold: #c39438;
    --mi-blue: #315d78;
    color: var(--mi-ink);
    background: #fbfaf4;
}
.mi-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--mi-line); background: linear-gradient(90deg, rgba(251,250,244,0.95), rgba(240,237,223,0.82)), repeating-linear-gradient(135deg, rgba(101,113,43,0.08) 0 1px, transparent 1px 24px); }
.mi-hero .container { padding-top: 34px; padding-bottom: 30px; }
.mi-control { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr); gap: 28px; align-items: stretch; }
.mi-console { min-height: 536px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; border: 1px solid #cfc6a7; background: linear-gradient(145deg, #fffdf5 0%, #ebe5cf 100%); box-shadow: 0 18px 50px rgba(45,42,30,0.12); }
.mi-kicker { display: inline-flex; width: max-content; max-width: 100%; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid rgba(183,54,47,0.35); color: #8d2924; background: rgba(183,54,47,0.08); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.mi-console h1 { margin: 18px 0 14px; max-width: 680px; font-size: clamp(2.1rem, 4vw, 4.15rem); line-height: 0.98; font-weight: 900; letter-spacing: 0; color: #1d1b14; }
.mi-lead { max-width: 640px; margin: 0 0 22px; color: #555848; font-size: 1.02rem; line-height: 1.65; }
.mi-search { position: relative; max-width: 620px; z-index: 20; }
.mi-search input { width: 100%; height: 58px; border: 1px solid #bdb38f; background: #fffef9; color: var(--mi-ink); padding: 0 18px 0 52px; font-size: 1rem; font-weight: 650; outline: none; box-shadow: inset 0 0 0 3px rgba(101,113,43,0.06); }
.mi-search input:focus { border-color: var(--mi-red); box-shadow: 0 0 0 4px rgba(183,54,47,0.11); }
.mi-search-mark { position: absolute; left: 18px; top: 17px; font-size: 1.05rem; color: var(--mi-red); }
.mi-search .hero-search-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; display: none; max-height: 330px; overflow: auto; background: #fffef9; border: 1px solid #bdb38f; box-shadow: 0 18px 38px rgba(45,42,30,0.18); z-index: 80; }
.mi-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.mi-route { min-height: 98px; padding: 14px; border: 1px solid rgba(101,113,43,0.24); background: rgba(255,255,255,0.52); color: inherit; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.mi-route:hover { transform: translateY(-2px); border-color: var(--mi-red); background: #fffef9; }
.mi-route b { font-size: 1rem; line-height: 1.2; }
.mi-route span { color: var(--mi-muted); font-size: 0.82rem; line-height: 1.35; }
.mi-note { margin-top: 24px; padding: 14px 16px; border-left: 4px solid var(--mi-red); background: rgba(255,255,255,0.58); color: #57513e; font-size: 0.9rem; line-height: 1.5; }
.mi-photo-map { display: grid; grid-template-columns: 1.12fr 0.88fr 0.88fr; grid-template-rows: 1fr 1fr 0.86fr; gap: 12px; min-height: 536px; }
.mi-photo { position: relative; overflow: hidden; min-height: 148px; background: #ddd6bf; border: 1px solid rgba(45,42,30,0.18); text-decoration: none; color: #fff; isolation: isolate; }
.mi-photo:first-child { grid-column: 1; grid-row: 1 / span 2; }
.mi-photo:nth-child(2) { grid-column: 2; grid-row: 1; } .mi-photo:nth-child(3) { grid-column: 3; grid-row: 1; } .mi-photo:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; } .mi-photo:nth-child(5) { grid-column: 2; grid-row: 3; } .mi-photo:nth-child(6) { grid-column: 3; grid-row: 3; }
.mi-photo img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; display: block; filter: saturate(0.94) contrast(1.05); transition: transform 0.45s ease; }
.mi-photo:hover img { transform: scale(1.045); }
.mi-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.68)); z-index: 1; }
.mi-photo span { position: absolute; left: 14px; right: 14px; bottom: 13px; z-index: 2; font-weight: 850; line-height: 1.18; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
.mi-band { padding: 48px 0; }
.mi-band.alt { background: #f0eddf; border-top: 1px solid var(--mi-line); border-bottom: 1px solid var(--mi-line); }
.mi-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.mi-section-head h2 { margin: 0; font-size: clamp(1.55rem, 2.4vw, 2.4rem); line-height: 1.1; }
.mi-section-head p { margin: 0; max-width: 560px; color: var(--mi-muted); line-height: 1.55; }
.mi-scenarios { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 12px; }
.mi-scenario { position: relative; min-height: 250px; padding: 18px; border: 1px solid rgba(45,42,30,0.16); background: #fffef9; overflow: hidden; color: inherit; text-decoration: none; display: flex; flex-direction: column; justify-content: end; }
.mi-scenario.tall { min-height: 338px; }
.mi-scenario img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.78; }
.mi-scenario::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,250,244,0.05), rgba(251,250,244,0.95)); }
.mi-scenario b, .mi-scenario span { position: relative; z-index: 1; }
.mi-scenario b { font-size: 1.25rem; line-height: 1.15; }
.mi-scenario span { margin-top: 7px; color: #504b3b; line-height: 1.38; }
.mi-model-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mi-model { min-height: 118px; padding: 14px; border: 1px solid rgba(45,42,30,0.16); background: #fffef9; text-decoration: none; color: inherit; display: flex; flex-direction: column; justify-content: space-between; }
.mi-model:nth-child(1), .mi-model:nth-child(4), .mi-model:nth-child(9) { grid-column: span 2; background: #e9e3c9; }
.mi-model:nth-child(2), .mi-model:nth-child(7) { background: #f3dfd8; }
.mi-model strong { font-size: 1.05rem; line-height: 1.1; }
.mi-model small { color: var(--mi-muted); line-height: 1.3; }
.mi-band-editorial { background: linear-gradient(180deg, #fbfaf4 0%, #f5f1e4 100%); }
.mi-dynamic-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr); gap: 14px; align-items: stretch; }
.mi-featured-card, .mi-list-panel { border: 1px solid rgba(45,42,30,0.17); background: #fffef9; color: inherit; box-shadow: 0 10px 28px rgba(45,42,30,0.07); }
.mi-featured-card { min-height: 336px; display: grid; grid-template-columns: minmax(0, 1fr) 132px; text-decoration: none; overflow: hidden; }
.mi-featured-copy { padding: 26px; display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.mi-badge { display: inline-block; width: max-content; max-width: 100%; padding: 6px 9px; background: #efe3c4; color: #7b5220; font-size: 0.75rem; font-weight: 850; text-transform: uppercase; }
.mi-featured-copy h3 { margin: 16px 0 10px; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.14; overflow-wrap: anywhere; }
.mi-featured-copy p { margin: 0 0 18px; color: var(--mi-muted); line-height: 1.5; overflow-wrap: anywhere; }
.mi-featured-copy strong { color: #8d2924; }
.mi-featured-visual { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--mi-red), #7f2c27); color: #fff; font-size: 3rem; }
.mi-list-panel { padding: 18px; min-width: 0; }
.mi-list-panel h3 { margin: 0 0 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0; }
.recent-scroll { display: grid; grid-template-columns: 1fr; gap: 9px; }
.recent-card { display: block; padding: 12px 14px; border: 1px solid rgba(45,42,30,0.12); background: #fbfaf4; color: inherit; text-decoration: none; min-height: 54px; overflow-wrap: anywhere; }
.recent-card:hover, .article-home-card:hover { border-color: rgba(183,54,47,0.36); background: #fffef9; }
.mi-band-library { background: #e9e3d0; }
.articles-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.article-home-card { display: flex; min-height: 128px; padding: 14px; border: 1px solid rgba(45,42,30,0.14); background: #fbfaf4; color: inherit; text-decoration: none; flex-direction: column; justify-content: space-between; overflow-wrap: anywhere; }
.article-home-card .article-title, .article-home-card b { font-weight: 850; line-height: 1.24; }
.article-home-card .article-desc, .article-home-card span, .article-home-card small { color: var(--mi-muted); line-height: 1.36; }
.mi-actions { display: flex; justify-content: center; margin-top: 18px; }
.btn-outline { border-radius: 0; border-color: #bdb38f; background: #fffef9; color: var(--mi-ink); }
.mi-band-principle { padding-top: 34px; }
.mi-team-note { position: relative; padding: 24px 28px 24px 34px; border: 1px solid rgba(45,42,30,0.16); background: linear-gradient(135deg, #fffef9, #ebe5cf); color: #4f4a39; line-height: 1.64; font-size: 1.02rem; }
.mi-team-note::before { content: ''; position: absolute; left: 16px; top: 22px; bottom: 22px; width: 4px; background: var(--mi-red); }
@media (max-width: 980px) { .mi-control, .mi-dynamic-grid { grid-template-columns: 1fr; } .mi-console, .mi-photo-map { min-height: auto; } .mi-photo-map { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; } .mi-photo:first-child, .mi-photo:nth-child(2), .mi-photo:nth-child(3), .mi-photo:nth-child(4), .mi-photo:nth-child(5), .mi-photo:nth-child(6) { grid-row: auto; grid-column: span 1; } .mi-routes, .mi-scenarios { grid-template-columns: 1fr 1fr; } .mi-model-grid, .articles-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mi-model:nth-child(n) { grid-column: auto; } }
@media (max-width: 640px) { .mi-hero .container { padding-top: 22px; } .mi-console { padding: 20px; min-height: 0; } .mi-console h1 { font-size: 2.05rem; } .mi-routes, .mi-photo-map, .mi-scenarios, .mi-model-grid, .articles-home-grid { grid-template-columns: 1fr; } .mi-section-head { display: block; } .mi-section-head h2 { margin-bottom: 8px; } .mi-featured-card { grid-template-columns: 1fr; min-height: auto; } .mi-featured-visual { min-height: 96px; } .mi-kicker { font-size: 0.72rem; } }


/* Hyundai-like single photo hero */
.mi-hero-photo {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    background: #191713;
    border-bottom: 1px solid rgba(216,209,185,0.22);
}
.mi-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 660px;
    object-fit: cover;
    object-position: 72% center;
    filter: saturate(0.96) contrast(1.06);
}
.mi-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20,18,14,0.93) 0%, rgba(20,18,14,0.78) 34%, rgba(20,18,14,0.22) 64%, rgba(20,18,14,0.66) 100%),
        linear-gradient(180deg, rgba(20,18,14,0.20), rgba(20,18,14,0.86));
}
.mi-hero-photo-inner {
    position: relative;
    z-index: 2;
    min-height: 660px;
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(320px, 430px);
    gap: clamp(28px, 7vw, 110px);
    align-items: end;
    padding-top: 64px;
    padding-bottom: 42px;
}
.mi-hero-copy {
    align-self: center;
    color: #fff8e8;
}
.mi-photo-kicker {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 14px;
    padding: 7px 11px;
    border: 1px solid rgba(255,248,232,0.22);
    background: rgba(255,248,232,0.12);
    color: #fff8e8;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}
.mi-hero-copy h1 {
    margin: 0 0 16px;
    max-width: 620px;
    color: #fff8e8;
    font-size: clamp(2.45rem, 5vw, 5rem);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 14px 42px rgba(0,0,0,0.42);
}
.mi-photo-lead {
    max-width: 590px;
    margin: 0 0 24px;
    color: rgba(255,248,232,0.88);
    font-size: 1.05rem;
    line-height: 1.62;
}
.mi-photo-search {
    position: relative;
    z-index: 12;
    max-width: 560px;
    margin-bottom: 16px;
}
.mi-photo-search input {
    width: 100%;
    height: 58px;
    border: 1px solid rgba(255,248,232,0.28);
    background: rgba(255,255,255,0.94);
    color: #251d17;
    padding: 0 18px 0 52px;
    font-size: 1rem;
    font-weight: 650;
    outline: none;
    box-shadow: 0 18px 48px rgba(0,0,0,0.20);
}
.mi-photo-search input:focus {
    border-color: #d94b3f;
    box-shadow: 0 0 0 4px rgba(217,75,63,0.18), 0 18px 48px rgba(0,0,0,0.20);
}
.mi-photo-search-mark {
    position: absolute;
    left: 18px;
    top: 17px;
    color: #b7362f;
    font-size: 1.05rem;
}
.mi-photo-search .hero-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    max-height: 360px;
    overflow: auto;
    background: #fffdf7;
    border: 1px solid rgba(255,248,232,0.30);
    box-shadow: 0 22px 60px rgba(0,0,0,0.28);
    z-index: 40;
}
.mi-hero-disclaimer {
    max-width: 560px;
    padding: 12px 15px;
    border-left: 4px solid #d94b3f;
    background: rgba(20,18,14,0.42);
    color: rgba(255,248,232,0.82);
    font-size: 0.88rem;
    line-height: 1.48;
    backdrop-filter: blur(12px);
}
.mi-hero-route-panel {
    align-self: end;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(255,248,232,0.18);
    background: rgba(20,18,14,0.42);
    backdrop-filter: blur(14px);
    box-shadow: 0 26px 70px rgba(0,0,0,0.26);
}
.mi-hero-route-panel a {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 46px;
    padding: 10px 12px;
    color: #fff8e8;
    text-decoration: none;
    border: 1px solid rgba(255,248,232,0.14);
    background: rgba(255,255,255,0.09);
}
.mi-hero-route-panel a:hover {
    background: rgba(255,248,232,0.94);
    color: #251d17;
    border-color: rgba(217,75,63,0.62);
}
.mi-hero-route-panel strong {
    font-size: 0.98rem;
    line-height: 1.1;
}
.mi-hero-route-panel span {
    color: rgba(255,248,232,0.74);
    font-size: 0.82rem;
    line-height: 1.28;
}
.mi-hero-route-panel a:hover span { color: #5b4d3a; }
@media (max-width: 980px) {
    .mi-hero-photo,
    .mi-hero-bg,
    .mi-hero-photo-inner { min-height: 720px; }
    .mi-hero-photo-inner {
        grid-template-columns: 1fr;
        align-items: end;
        gap: 22px;
    }
    .mi-hero-copy { align-self: end; }
    .mi-hero-route-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mi-hero-route-panel a {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
@media (max-width: 640px) {
    .mi-hero-photo,
    .mi-hero-bg,
    .mi-hero-photo-inner { min-height: 760px; }
    .mi-hero-bg { object-position: 70% center; }
    .mi-hero-shade {
        background:
            linear-gradient(90deg, rgba(20,18,14,0.90), rgba(20,18,14,0.56)),
            linear-gradient(180deg, rgba(20,18,14,0.20), rgba(20,18,14,0.92));
    }
    .mi-hero-photo-inner {
        padding-top: 34px;
        padding-bottom: 26px;
    }
    .mi-hero-copy h1 { font-size: 2.18rem; }
    .mi-photo-lead { font-size: 0.96rem; }
    .mi-photo-kicker { font-size: 0.7rem; }
    .mi-hero-route-panel { grid-template-columns: 1fr; padding: 12px; }
}
/* Dark continuation after the photo hero */
.mi-page.site-main,
main.mi-page {
    background: #171512 !important;
    color: #fff8e8 !important;
}
main.mi-page .mi-band {
    position: relative !important;
    overflow: hidden !important;
    padding: 58px 0 !important;
    background: #171512 !important;
    border-top: 1px solid rgba(255,248,232,0.08) !important;
    border-bottom: 0 !important;
}
main.mi-page .mi-band::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 16% 18%, rgba(183,54,47,0.18), transparent 30%),
        radial-gradient(circle at 86% 20%, rgba(101,113,43,0.18), transparent 32%),
        linear-gradient(180deg, rgba(255,248,232,0.03), transparent 48%) !important;
}
main.mi-page .mi-band > .container {
    position: relative !important;
    z-index: 1 !important;
}
main.mi-page .mi-band.alt,
main.mi-page .mi-band-library {
    background: #201c17 !important;
    border-top: 1px solid rgba(255,248,232,0.10) !important;
    border-bottom: 1px solid rgba(255,248,232,0.08) !important;
}
main.mi-page .mi-band-editorial {
    background:
        linear-gradient(90deg, rgba(20,18,14,0.92), rgba(20,18,14,0.68)),
        url('/static/img/home/mitsubishi-diagnostics.jpg') center/cover no-repeat !important;
}
main.mi-page .mi-band-library {
    background:
        linear-gradient(90deg, rgba(23,21,18,0.94), rgba(23,21,18,0.76)),
        url('/static/img/home/mitsubishi-workbench.jpg') center/cover no-repeat !important;
}
main.mi-page .mi-band-principle {
    background:
        linear-gradient(90deg, rgba(20,18,14,0.92), rgba(20,18,14,0.70)),
        url('/static/img/home/mitsubishi-road-test.jpg') center/cover no-repeat !important;
    padding-top: 44px !important;
}
main.mi-page .mi-section-head {
    align-items: end !important;
    margin-bottom: 26px !important;
}
main.mi-page .mi-section-head h2 {
    color: #fff8e8 !important;
    font-size: clamp(1.85rem, 3vw, 3rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-shadow: 0 12px 34px rgba(0,0,0,0.28) !important;
}
main.mi-page .mi-section-head p {
    color: rgba(255,248,232,0.76) !important;
    font-size: 1rem !important;
    line-height: 1.58 !important;
}
main.mi-page .mi-scenarios {
    grid-template-columns: 1.15fr 0.9fr 1.05fr !important;
    gap: 14px !important;
}
main.mi-page .mi-scenario {
    min-height: 330px !important;
    padding: 22px !important;
    color: #fff8e8 !important;
    border: 1px solid rgba(255,248,232,0.16) !important;
    background: rgba(255,255,255,0.06) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,0.26) !important;
}
main.mi-page .mi-scenario.tall {
    min-height: 410px !important;
}
main.mi-page .mi-scenario img {
    opacity: 1 !important;
    filter: saturate(0.96) contrast(1.05) !important;
    transition: transform 0.45s ease !important;
}
main.mi-page .mi-scenario:hover img {
    transform: scale(1.045) !important;
}
main.mi-page .mi-scenario::after {
    background:
        linear-gradient(180deg, rgba(20,18,14,0.04), rgba(20,18,14,0.82) 72%, rgba(20,18,14,0.94)),
        linear-gradient(90deg, rgba(20,18,14,0.46), rgba(20,18,14,0.12)) !important;
}
main.mi-page .mi-scenario b {
    color: #fff8e8 !important;
    max-width: 430px !important;
    font-size: 1.38rem !important;
    line-height: 1.12 !important;
    text-shadow: 0 12px 30px rgba(0,0,0,0.42) !important;
}
main.mi-page .mi-scenario span {
    color: rgba(255,248,232,0.78) !important;
    max-width: 390px !important;
    font-weight: 650 !important;
}
main.mi-page .mi-model-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
}
main.mi-page .mi-model {
    position: relative !important;
    min-height: 150px !important;
    padding: 16px !important;
    overflow: hidden !important;
    color: #fff8e8 !important;
    border: 1px solid rgba(255,248,232,0.15) !important;
    background: rgba(255,255,255,0.07) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.20) !important;
}
main.mi-page .mi-model:nth-child(1),
main.mi-page .mi-model:nth-child(4),
main.mi-page .mi-model:nth-child(9) {
    grid-column: span 2 !important;
}
main.mi-page .mi-model::before,
main.mi-page .mi-model::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
}
main.mi-page .mi-model::before {
    opacity: 0.44 !important;
    background: url('/static/img/home/mitsubishi-road-test.jpg') center/cover no-repeat !important;
    transition: transform 0.45s ease, opacity 0.25s ease !important;
}
main.mi-page .mi-model:nth-child(2)::before,
main.mi-page .mi-model:nth-child(5)::before,
main.mi-page .mi-model:nth-child(8)::before { background-image: url('/static/img/home/mitsubishi-cabin-check.jpg') !important; }
main.mi-page .mi-model:nth-child(3)::before,
main.mi-page .mi-model:nth-child(6)::before { background-image: url('/static/img/home/mitsubishi-service-lift.jpg') !important; }
main.mi-page .mi-model:nth-child(4)::before,
main.mi-page .mi-model:nth-child(7)::before { background-image: url('/static/img/home/mitsubishi-engine-bay.jpg') !important; }
main.mi-page .mi-model:nth-child(10)::before { background-image: url('/static/img/home/mitsubishi-parts-specialist.jpg') !important; }
main.mi-page .mi-model::after {
    background: linear-gradient(180deg, rgba(20,18,14,0.10), rgba(20,18,14,0.88)), linear-gradient(90deg, rgba(20,18,14,0.62), rgba(20,18,14,0.18)) !important;
}
main.mi-page .mi-model:hover::before {
    transform: scale(1.06) !important;
    opacity: 0.60 !important;
}
main.mi-page .mi-model strong,
main.mi-page .mi-model small {
    position: relative !important;
    z-index: 1 !important;
}
main.mi-page .mi-model strong {
    color: #fff8e8 !important;
    font-size: 1.15rem !important;
    text-shadow: 0 10px 24px rgba(0,0,0,0.42) !important;
}
main.mi-page .mi-model small {
    color: rgba(255,248,232,0.76) !important;
    font-weight: 650 !important;
}
main.mi-page .mi-dynamic-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr) !important;
    gap: 16px !important;
}
main.mi-page .mi-featured-card,
main.mi-page .mi-list-panel {
    border: 1px solid rgba(255,248,232,0.16) !important;
    background: rgba(20,18,14,0.58) !important;
    color: #fff8e8 !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28) !important;
}
main.mi-page .mi-featured-card {
    position: relative !important;
    min-height: 360px !important;
    grid-template-columns: minmax(0, 1fr) 160px !important;
}
main.mi-page .mi-featured-card::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(20,18,14,0.94), rgba(20,18,14,0.58)),
        url('/static/img/home/mitsubishi-diagnostics.jpg') center/cover no-repeat !important;
    opacity: 0.84 !important;
}
main.mi-page .mi-featured-copy,
main.mi-page .mi-featured-visual {
    position: relative !important;
    z-index: 1 !important;
}
main.mi-page .mi-badge,
main.mi-page .recent-badge,
main.mi-page .article-home-tag,
main.mi-page .recent-cat {
    border-radius: 999px !important;
    background: rgba(217,75,63,0.86) !important;
    color: #fff8e8 !important;
    font-weight: 850 !important;
}
main.mi-page .mi-featured-copy h3,
main.mi-page .article-home-title,
main.mi-page .recent-title {
    color: #fff8e8 !important;
}
main.mi-page .mi-featured-copy p,
main.mi-page .article-home-desc {
    color: rgba(255,248,232,0.76) !important;
}
main.mi-page .mi-featured-copy strong {
    color: #ffd8b0 !important;
}
main.mi-page .mi-featured-visual {
    background: rgba(255,248,232,0.12) !important;
    color: #fff8e8 !important;
    border-left: 1px solid rgba(255,248,232,0.13) !important;
}
main.mi-page .mi-list-panel h3 {
    color: #fff8e8 !important;
}
main.mi-page .recent-card,
main.mi-page .article-home-card {
    border: 1px solid rgba(255,248,232,0.14) !important;
    background: rgba(255,255,255,0.08) !important;
    color: #fff8e8 !important;
    box-shadow: none !important;
}
main.mi-page .recent-card:hover,
main.mi-page .article-home-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(217,75,63,0.55) !important;
    background: rgba(255,255,255,0.13) !important;
}
main.mi-page .articles-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}
main.mi-page .article-home-card {
    min-height: 150px !important;
    padding: 16px !important;
    backdrop-filter: blur(10px) !important;
}
main.mi-page .btn-outline {
    min-height: 44px !important;
    padding: 0 18px !important;
    border: 1px solid rgba(255,248,232,0.22) !important;
    background: rgba(255,248,232,0.12) !important;
    color: #fff8e8 !important;
    backdrop-filter: blur(10px) !important;
}
main.mi-page .btn-outline:hover {
    background: #fff8e8 !important;
    color: #251d17 !important;
}
main.mi-page .mi-team-note {
    max-width: 980px !important;
    margin: 0 auto !important;
    padding: 28px 34px 28px 42px !important;
    border: 1px solid rgba(255,248,232,0.18) !important;
    background: rgba(20,18,14,0.56) !important;
    color: rgba(255,248,232,0.84) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,0.24) !important;
}
main.mi-page .mi-team-note::before {
    background: #d94b3f !important;
}
@media (max-width: 980px) {
    main.mi-page .mi-scenarios,
    main.mi-page .mi-dynamic-grid { grid-template-columns: 1fr !important; }
    main.mi-page .mi-model-grid,
    main.mi-page .articles-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    main.mi-page .mi-model:nth-child(n) { grid-column: auto !important; }
}
@media (max-width: 640px) {
    main.mi-page .mi-band { padding: 42px 0 !important; }
    main.mi-page .mi-section-head { display: block !important; }
    main.mi-page .mi-model-grid,
    main.mi-page .articles-home-grid { grid-template-columns: 1fr !important; }
    main.mi-page .mi-featured-card { grid-template-columns: 1fr !important; min-height: auto !important; }
    main.mi-page .mi-featured-visual { min-height: 90px !important; border-left: 0 !important; border-top: 1px solid rgba(255,248,232,0.13) !important; }
}

/* Final copy and related-topics polish */
.mi-hero-copy h1 .mi-hero-brand {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    margin-bottom: 4px !important;
    font-size: 1.08em !important;
}
.mi-hero-copy h1 .mi-hero-title-rest {
    display: block !important;
    max-width: 560px !important;
}
.mi-hero-bg {
    object-position: 82% center !important;
}
.mi-hero-photo-inner {
    grid-template-columns: minmax(0, 560px) minmax(320px, 430px) !important;
    gap: clamp(28px, 9vw, 140px) !important;
}
.mi-photo-lead {
    max-width: 540px !important;
}
main.mi-page .mi-list-panel {
    display: flex !important;
    flex-direction: column !important;
    min-height: 360px !important;
}
main.mi-page .mi-list-panel h3 {
    margin-bottom: 14px !important;
    font-size: 1.05rem !important;
    text-transform: none !important;
    font-weight: 900 !important;
}
main.mi-page .recent-scroll,
main.mi-page .mi-list-panel .recent-scroll {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    overflow: visible !important;
    overflow-x: visible !important;
    padding: 0 !important;
    scroll-snap-type: none !important;
    flex: 1 1 auto !important;
}
main.mi-page .recent-scroll::-webkit-scrollbar {
    display: none !important;
}
main.mi-page .recent-card,
main.mi-page .mi-list-panel .recent-card {
    flex: none !important;
    min-height: 0 !important;
    padding: 13px 14px !important;
    display: grid !important;
    gap: 6px !important;
    scroll-snap-align: unset !important;
}
main.mi-page .recent-badge {
    width: max-content !important;
    margin: 0 !important;
    padding: 3px 8px !important;
    font-size: 0.64rem !important;
}
main.mi-page .recent-title {
    font-size: 0.92rem !important;
    line-height: 1.32 !important;
    -webkit-line-clamp: 2 !important;
}
main.mi-page .recent-cat {
    width: max-content !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding: 3px 8px !important;
    color: rgba(255,248,232,0.82) !important;
    background: rgba(255,248,232,0.12) !important;
}
@media (max-width: 980px) {
    .mi-hero-bg { object-position: 74% center !important; }
    .mi-hero-photo-inner { grid-template-columns: 1fr !important; }
    .mi-hero-copy h1 .mi-hero-title-rest { max-width: 620px !important; }
}
@media (max-width: 640px) {
    .mi-hero-bg { object-position: 70% center !important; }
    .mi-hero-copy h1 .mi-hero-brand { font-size: 1em !important; }
    .mi-hero-copy h1 .mi-hero-title-rest { max-width: 100% !important; }
}
