/* Owner-selected refinements. Hero, family strip, catalogue tabs and consultation background retain their original rules. */
.home-v9.home-approved{--soft-line:#dce1dc;--soft-radius:18px}
.home-approved main .home-section{padding-block:88px}
.home-approved main .home-section h2{font-size:clamp(36px,4.2vw,60px)!important;line-height:1.04!important;letter-spacing:-.01em;max-width:820px}
.home-approved .home-section .section-heading{column-gap:48px;row-gap:12px;margin-bottom:38px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.home-approved .home-section .section-heading>p:last-child{font-size:16px!important;line-height:1.6!important}
.home-approved #applications .t829__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
.home-approved #applications .t-card__col{width:auto!important;margin:0!important;padding:0!important;min-width:0}
.home-approved #applications .t829__content-wrapper{border:1px solid var(--soft-line);border-radius:var(--soft-radius);box-shadow:0 6px 20px #233b2510;background:white;overflow:hidden;height:100%}
.home-approved #applications .t829__textwrapper{padding:24px!important}
.home-approved #applications .t829__imgwrapper{overflow:hidden}
.home-approved #applications .t829__img{transition:transform .5s}
.home-approved #applications .t829__content-wrapper:hover .t829__img{transform:scale(1.025)}
.home-approved #applications .t-card__btn-wrapper{padding:0 24px 24px!important}
.home-approved #models .catalog-grid,.home-approved #equipment .catalog-grid,.home-approved #news .news-grid{gap:20px}
.home-approved .catalog-card,.home-approved .news-card{border:1px solid var(--soft-line)!important;border-radius:14px!important;background:#fff;overflow:hidden;box-shadow:0 5px 18px #1c322608!important}
.home-approved .catalog-card-photo{background:#f6f7f4;border-radius:10px;margin:10px}
.home-approved .catalog-card-copy{padding:18px!important}
.home-approved #equipment{padding-top:80px}
.home-approved #quiz{padding-top:0}
.home-approved .home-quiz{border-radius:18px!important;border-color:#d5ddd4!important;box-shadow:0 12px 36px #1c32260b!important}
.home-approved .home-media-frame{border-radius:14px!important;overflow:hidden;box-shadow:0 6px 22px #12261910}
.home-approved #manufacturer .home-about-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:start}
.home-approved #manufacturer .factory-overview{position:sticky;top:32px;align-self:start}
.home-approved main #partners{padding-block:32px;background:transparent!important}
.home-approved main #partners:before{display:none}
.home-approved main #partners .partner-panel{padding:56px;border-radius:20px;overflow:hidden;min-height:420px;background:linear-gradient(90deg,#14201ef2 0%,#14201ee0 35%,#14201e65 68%,#14201e26 100%),url('/assets/homepage/partner-owner-2026-04-03.webp') center 62%/cover no-repeat}
.home-approved #partners .partner-copy{max-width:640px;position:relative;z-index:1}
.home-approved #partners .partner-copy h2,.home-approved #partners .partner-copy .home-eyebrow{color:#fff!important}
.home-approved #partners .partner-copy .home-section-intro{color:#e5eae4!important;line-height:1.6}
.home-approved .news-card img{transition:transform .4s}
.home-approved .news-card:hover img{transform:scale(1.02)}
.home-approved #faq .home-faq-list{border-radius:16px;background:white;border:1px solid var(--soft-line);padding:10px 24px}
.home-approved #contact .home-contact-form,.home-approved #contact .home-callback{border-radius:16px!important}
.home-approved main .home-section .button.primary-action{box-shadow:none!important;border-radius:7px!important}
.home-approved :is(.catalog-card,.news-card):focus-within{outline:2px solid #486051;outline-offset:3px}
.home-approved [data-soft-enter]{transition:opacity .65s ease,translate .65s cubic-bezier(.2,.7,.2,1)}
.home-approved [data-soft-enter].soft-before{opacity:0;translate:0 24px}
@media(max-width:1100px){.home-approved #applications .t829__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:850px){
 .home-approved .home-section .section-heading{grid-template-columns:1fr;gap:16px;margin-bottom:28px}
 .home-approved #manufacturer .home-about-layout{grid-template-columns:1fr;gap:28px}
 .home-approved #manufacturer .factory-overview{position:static}
 .home-approved main #partners .partner-panel{padding:36px;background-position:65% center}
}
@media(max-width:540px){
 .home-approved main .home-section{padding-block:48px}
 .home-approved #applications .t829__grid{grid-template-columns:1fr!important;gap:20px!important}
 .home-approved #models .catalog-grid,.home-approved #equipment .catalog-grid{gap:12px}
 .home-approved main #partners .partner-panel{padding:32px 24px;background-image:linear-gradient(90deg,#14201edb,#14201ea6),url('/assets/homepage/partner-owner-2026-04-03.webp')}
 .home-approved [data-soft-enter]{transition-duration:.4s}
}
@media(prefers-reduced-motion:reduce){.home-approved [data-soft-enter],.home-approved img{transition:none!important;translate:none!important;opacity:1!important}}
/* Replace the old inset logo card with text directly on the photographic panel. */
.home-approved main #partners .partner-copy{display:block;background:none!important;border:0;box-shadow:none;padding:0;border-radius:0;width:100%;max-width:650px}
.home-approved main #partners .partner-copy:before,.home-approved main #partners .partner-copy:after{display:none!important}
.home-approved #partners .partner-copy h2{margin:16px 0 22px}
.home-approved #partners .partner-copy .home-section-intro{margin:0 0 24px;max-width:530px}
.home-approved #partners .partner-copy .button{display:inline-flex;margin:0;min-height:48px}
/* Keep the partner action in the right column, as selected by the owner. */
@media(min-width:851px){
 .home-approved main #partners .partner-panel{min-height:0;padding:44px 48px}
 .home-approved main #partners .partner-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:56px;row-gap:16px;max-width:none;align-items:center}
 .home-approved #partners .partner-copy .home-eyebrow{grid-column:1;grid-row:1;margin:0}
 .home-approved #partners .partner-copy h2{grid-column:1;grid-row:2;margin:0;max-width:720px}
 .home-approved #partners .partner-copy .home-section-intro{grid-column:1;grid-row:3;margin:0;max-width:650px}
 .home-approved #partners .partner-copy .button{grid-column:2;grid-row:2 / 4;align-self:center;justify-self:end;white-space:nowrap}
}
/* Engine type and running gear remain two distinct visual cues on homepage tabs. */
.home-approved #models .model-tab>svg:first-child{display:block;stroke:var(--brand-accent);color:var(--brand-accent)!important;fill:none}
.home-approved #models .model-tab>svg.running-gear{display:block;width:22px;height:22px;flex:0 0 22px;margin-left:auto;color:#465158!important;stroke:currentColor;fill:none}
@media(max-width:950px){.home-approved #models .model-tab{flex-basis:205px}}
/* Homepage dealer section: one heading, readable city list, aligned map. */
.exact-motomul.home-approved main #dealers.home-dealers-refresh .dealers-heading{margin-bottom:32px;max-width:none}
.exact-motomul.home-approved main #dealers.home-dealers-refresh h2{max-width:none;margin:0 0 14px!important}
.home-dealers-refresh .dealers-lead{font:400 16px/1.5 Roboto,Arial,sans-serif;color:#59656c;margin:0}
.exact-motomul.home-approved #dealers.home-dealers-refresh .home-dealers-grid{grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:40px;align-items:stretch}
.home-dealers-refresh .dealer-locations{min-width:0}
.exact-motomul.home-approved #dealers.home-dealers-refresh h3{font:600 19px/1.4 Roboto,Arial,sans-serif!important;margin:0 0 14px}
.home-dealers-refresh .dealer-office{margin-bottom:28px}
.home-dealers-refresh .dealer-office>a{font:600 17px/1.5 Roboto,Arial,sans-serif;color:#245b85;text-decoration:underline;text-underline-offset:4px}
.home-dealers-refresh .dealer-city-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:0;padding:0;list-style:none;font:400 15px/1.45 Roboto,Arial,sans-serif;color:#434c52}
.home-dealers-refresh .dealer-city-list li{min-width:0}
.home-dealers-refresh .dealer-city-list a{color:#245b85;text-decoration:underline;text-underline-offset:4px;font-weight:500}
.home-dealers-refresh .dealer-delivery-note{font:400 15px/1.5 Roboto,Arial,sans-serif;color:#59656c;margin:24px 0}
.home-dealers-refresh .dealer-contact-line{display:flex;gap:20px;justify-content:space-between;align-items:end;flex-wrap:wrap;border-top:1px solid #d5dbde;padding-top:20px}
.home-dealers-refresh .dealer-contact-line>div{display:grid;gap:8px}
.home-dealers-refresh .dealer-contact-line span{font-size:13px;color:#69747a}
.home-dealers-refresh .dealer-contact-line>div>a{font:600 20px/1.4 Roboto,Arial,sans-serif;color:#394146;white-space:nowrap}
.exact-motomul.home-approved #dealers.home-dealers-refresh .home-dealer-map{display:flex;flex-direction:column;min-width:0;background:#fff;min-height:460px;padding:0;border:1px solid #d5dbde}
.exact-motomul.home-approved #dealers.home-dealers-refresh .home-dealer-map iframe{width:100%;height:100%;min-height:410px;flex:1;border:0;border-radius:0;display:block}
.home-dealers-refresh .home-dealer-map .quiz-hint{font-size:12px;line-height:1.5;margin:0;padding:12px 16px;color:#69747a}
@media(max-width:1100px){.home-dealers-refresh .dealer-city-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.exact-motomul.home-approved #dealers.home-dealers-refresh .home-dealers-grid{grid-template-columns:1fr;gap:28px}.exact-motomul.home-approved #dealers.home-dealers-refresh .home-dealer-map{min-height:360px}.exact-motomul.home-approved #dealers.home-dealers-refresh .home-dealer-map iframe{height:330px;min-height:330px;flex:none}.home-dealers-refresh .dealer-city-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.home-dealers-refresh .dealer-city-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}.exact-motomul.home-approved main #dealers.home-dealers-refresh .dealers-heading{margin-bottom:24px}.home-dealers-refresh .dealer-contact-line{align-items:start;gap:18px}.home-dealers-refresh .dealer-office{margin-bottom:24px}}

/* Owner-supplied origin badge: same right inset as gallery controls. */
.home-v9 #hero .home-gallery .hero-origin-badge{position:absolute;z-index:2;top:16px;right:16px;display:block;width:136px;height:auto;max-width:24%;border-radius:3px;pointer-events:none}
@media(max-width:600px){.home-v9 #hero .home-gallery .hero-origin-badge{top:12px;width:112px;max-width:32%}}

.home-approved #partners .partner-owner-copy>p{margin:0 0 14px;color:#e5eae4!important;font:400 16px/1.6 Roboto,Arial,sans-serif}.home-approved #partners .partner-owner-copy>p:last-child{margin-bottom:0}

/* Homepage actions finish on the gallery image's lower edge (caption is 31px). */
@media(min-width:851px){
.exact-motomul.home-v9.home-approved #hero .home-hero-copy{align-self:stretch;display:flex;flex-direction:column;padding-bottom:31px}
.exact-motomul.home-v9.home-approved #hero .home-actions{margin-top:auto!important}
.exact-motomul.home-v9.home-approved #hero .home-lead{margin-bottom:24px!important}
.exact-motomul.home-v9.home-approved #overview{grid-template-rows:minmax(0,1fr) 31px}
.exact-motomul.home-v9.home-approved #hero .home-presentation-download{min-height:31px;height:31px;box-sizing:border-box}
}

/* Center the partner CTA against the explanatory text below the heading. */
@media(min-width:851px){.home-approved #partners .partner-copy .button{grid-row:3;align-self:center}}
/* Shared consultation layout 2026-11-13 */
/* Shared consultation: title belongs to the copy column, not a separate full-width row. */
.exact-motomul main .home-consult-grid:has(>.unified-consult-copy){align-items:start}
.exact-motomul main .home-consult-grid>.unified-consult-copy{display:block;align-self:start;max-width:none}
.exact-motomul main .home-consult-grid>.unified-consult-copy>.home-eyebrow{margin:0 0 12px}
.exact-motomul main .home-consult-grid>.unified-consult-copy>h2{margin:0 0 24px}
.exact-motomul main .home-consult-grid>.unified-consult-copy>h2>.consult-title-line{display:block}
.exact-motomul main .home-consult-grid>.unified-consult-copy>.home-section-intro{margin:0 0 24px}
.exact-motomul main .home-consult-grid>.unified-consult-copy>.home-checks{margin-top:0;margin-bottom:0}
/* End shared consultation layout */
/* Approved prelaunch text presentation 2026-11-13 */
.home-documents figcaption{padding:10px 12px;font:400 12px/1.5 Roboto,Arial,sans-serif;color:#596064;white-space:normal}.event-completed{display:block;padding:4px 16px;color:#697177;font:500 12px/1.4 Roboto,Arial,sans-serif}
/* Shared hero sizing contract 2026-11-13 */
/* One desktop hero height. Images never participate in calculating panel height. */
@media(min-width:851px){
.exact-motomul{--hero-panel-height:560px}
.exact-motomul.site-polish main .page-intro-panel>.home-hero-grid,.exact-motomul.home-approved #hero>.home-hero-grid{height:var(--hero-panel-height,560px);min-height:var(--hero-panel-height,560px);grid-template-rows:minmax(0,1fr)}
.exact-motomul.site-polish main .page-intro-panel .page-hero-media{position:relative;height:100%;min-height:0;max-height:100%;overflow:hidden}
.exact-motomul.rebuilt-inner.site-polish main .page-intro-panel .app-hero-figure{position:absolute;inset:0;display:flex;flex-direction:column;height:100%;min-height:0;margin:0}
.exact-motomul.rebuilt-inner.site-polish main .page-intro-panel .app-hero-figure>img{display:block;flex:1 1 0;min-height:0;height:0!important;max-height:none!important;width:100%;object-fit:cover}
.exact-motomul.rebuilt-inner.site-polish main .page-intro-panel .app-hero-figure>figcaption{flex:0 0 auto}
}
@media(min-width:851px) and (max-width:1100px){.exact-motomul{--hero-panel-height:640px}}
/* Mobile: text remains natural-height; the photo has its own bounded media frame. */
@media(max-width:850px){
.exact-motomul.rebuilt-inner.site-polish main .application-hero .app-hero-figure{display:block;height:auto}
.exact-motomul.rebuilt-inner.site-polish main .application-hero .app-hero-figure>img{width:100%;height:280px!important;max-height:280px!important;object-fit:cover;border-radius:0}
}
