.ai-legacy-home { display: none !important; }

body.is-home {
    background: #0b0c10;
}

body.is-home .site-header {
    background: rgba(12, 13, 16, 0.86);
    border-bottom-color: rgba(255,255,255,0.1);
}

body.is-home .logo,
body.is-home .nav-link,
body.is-home .dropdown-toggle {
    color: #f5f5f2;
}

body.is-home .nav-link:hover,
body.is-home .dropdown-toggle:hover {
    background: rgba(255,255,255,0.08);
    color: #d5b46a;
}

.mb-cover {
    position: relative;
    min-height: calc(100vh - 60px);
    overflow: hidden;
    color: #fff;
    background: #08090c;
}

.mb-cover__media,
.mb-cover__shade {
    position: absolute;
    inset: 0;
}

.mb-cover__media {
    background: url('/static/img/home/mercedes-hero-valet.jpg') center / cover no-repeat;
    transform: scale(1.01);
}

.mb-cover__shade {
    background:
        linear-gradient(90deg, rgba(8,9,12,0.94) 0%, rgba(8,9,12,0.72) 42%, rgba(8,9,12,0.24) 72%, rgba(8,9,12,0.58) 100%),
        linear-gradient(180deg, rgba(8,9,12,0.08) 0%, rgba(8,9,12,0.84) 100%);
}

.mb-cover__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 680px) minmax(280px, 360px);
    gap: clamp(22px, 5vw, 68px);
    align-items: end;
    min-height: calc(100vh - 60px);
    padding-top: clamp(70px, 10vh, 110px);
    padding-bottom: clamp(26px, 7vh, 64px);
}

.mb-kicker {
    margin: 0 0 16px;
    color: #d5b46a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mb-cover h1 {
    max-width: 680px;
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(2.45rem, 4.8vw, 5.2rem);
    line-height: 1;
    font-weight: 850;
    color: #fff;
    letter-spacing: 0;
}

.mb-lead {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(245,245,242,0.82);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.7;
}

.mb-search {
    width: min(620px, 100%);
    max-width: none;
    margin: 28px 0 0;
    z-index: 20;
}

.mb-search input {
    height: 56px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}

.mb-search .hero-search-dropdown {
    text-align: left;
    border-radius: 6px;
}

.mb-route-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.mb-route-row a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.mb-route-row a:hover {
    color: #0b0c10;
    background: #d5b46a;
    border-color: #d5b46a;
}

.mb-cover__panel {
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    padding: 20px;
    background: rgba(11,12,16,0.72);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 70px rgba(0,0,0,0.38);
}

.mb-panel-mark {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 850;
}

.mb-cover__panel p {
    margin: 0;
    color: rgba(245,245,242,0.72);
    font-size: 0.9rem;
    line-height: 1.55;
}

.mb-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.mb-panel-grid span {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #f7ead0;
    font-size: 0.82rem;
    font-weight: 750;
}

body.is-home .site-main {
    background:
        radial-gradient(circle at 15% 0%, rgba(213,180,106,0.18), transparent 28%),
        linear-gradient(180deg, #0b0c10 0%, #11151c 42%, #f4f1ea 42.1%, #f8fafc 100%);
}

.mb-editorial-intro .intro-block {
    max-width: none !important;
    padding: 34px clamp(18px, 5vw, 54px) !important;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    text-align: left !important;
}

.mb-editorial-intro .intro-block p {
    max-width: 860px;
    margin: 0;
    color: rgba(245,245,242,0.84) !important;
}

.mb-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.mb-section-head h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(1.5rem, 2.3vw, 2.2rem);
    line-height: 1.12;
}

.mb-scene-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, auto);
    gap: 14px;
}

.mb-scene {
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 18px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
    border: 1px solid rgba(255,255,255,0.12);
    background: #11151c;
}

.mb-scene::before,
.mb-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
}

.mb-scene::before {
    background: var(--mb-img) center / cover no-repeat;
    transition: transform 0.5s ease;
}

.mb-scene::after {
    z-index: -1;
    background: linear-gradient(180deg, rgba(8,9,12,0.06), rgba(8,9,12,0.88));
}

.mb-scene:hover::before {
    transform: scale(1.045);
}

.mb-scene--wide {
    grid-column: span 2;
}

.mb-scene span {
    width: fit-content;
    margin-bottom: 54px;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(213,180,106,0.92);
    color: #101010;
    font-size: 0.72rem;
    font-weight: 850;
}

.mb-scene strong {
    color: #fff;
    font-size: 1.22rem;
    line-height: 1.16;
}

.mb-scene small {
    display: block;
    margin-top: 8px;
    color: rgba(245,245,242,0.78);
    font-size: 0.86rem;
    line-height: 1.42;
}

body.is-home .featured-card,
body.is-home .cta-banner {
    border-radius: 8px !important;
}

body.is-home .featured-card {
    background:
        linear-gradient(90deg, rgba(10,12,16,0.92), rgba(10,12,16,0.62)),
        url('/static/img/home/mercedes-private-lounge.jpg') center / cover !important;
    border: 1px solid rgba(255,255,255,0.12);
}

body.is-home .featured-visual {
    background: rgba(213,180,106,0.18) !important;
}

body.is-home .home-section-title,
body.is-home .team-section h2 {
    color: #111827 !important;
}

body.is-home .mb-scene-section .mb-kicker,
body.is-home .mb-scene-section h2 {
    color: #f8fafc !important;
}

body.is-home .category-card,
body.is-home .article-home-card,
body.is-home .recent-card,
body.is-home .team-card {
    border-radius: 8px !important;
}

body.is-home .cta-banner {
    background:
        linear-gradient(90deg, rgba(10,12,16,0.92), rgba(10,12,16,0.64)),
        url('/static/img/home/mercedes-underground-exit.jpg') center / cover !important;
}

@media (max-width: 980px) {
    .mb-cover__inner {
        grid-template-columns: 1fr;
        align-items: end;
        min-height: 820px;
    }

    .mb-cover__panel {
        max-width: 620px;
    }

    .mb-scene-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .mb-cover__inner {
        min-height: 790px;
        padding-bottom: 22px;
    }

    .mb-cover__shade {
        background: linear-gradient(90deg, rgba(8,9,12,0.94), rgba(8,9,12,0.52)), linear-gradient(180deg, rgba(8,9,12,0.16), rgba(8,9,12,0.9));
    }

    .mb-cover h1 {
        font-size: 2.35rem;
    }

    .mb-search input {
        height: 52px;
        font-size: 0.92rem;
        padding-right: 12px;
    }

    .mb-section-head {
        display: block;
    }

    .mb-scene-board {
        grid-template-columns: 1fr;
    }

    .mb-scene--wide {
        grid-column: span 1;
    }
}
