/* Extend the existing road texture to packages without obscuring dark closing sections. */
body.single-product,
body.single-product .wp-site-blocks,
body.single-product main,
body.single-product .mte-experience-details {
  background: #f6f1e8 url('mt-paper-road.jpg') center top / cover fixed !important;
}
body.single-product .mt-product-section:not(.mte-shared-info-section) { background-color: transparent !important; }
body.single-product .mte-experience-closing { background: #151515 !important; }
@media(max-width:781px) {
  body.single-product, body.single-product .wp-site-blocks,
  body.single-product main, body.single-product .mte-experience-details { background-attachment: scroll !important; }
}

/* Consistent icon ink and optical size. The supplied car has generous transparent margins. */
body.single-product .mte-activity-icon img { filter: brightness(0) !important; opacity: 1 !important; object-fit: contain; }
body.single-product .mte-activity-icon img[src*='motor-valley-car'] { width: 72px !important; height: 32px !important; object-fit: cover !important; }
.mte-pillars .mte-pillar-icon[src*='motor-valley-car'] { width: 120px !important; height: 64px !important; object-fit: cover !important; }
body.home .mte-intro > .mte-kicker, body.home .mte-intro > h2 { text-align: center !important; }
body.home .mte-intro > h2 { width: 100%; max-width: none; font-size: clamp(36px, 5.1vw, 78px); }
@media(min-width:901px) { body.home .mte-intro > h2 { white-space: nowrap; } }
body.home .mte-pillars > header { text-align: center !important; }
body.home .mte-experience > header { display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 0; }
body.home .mte-experience > header > p:last-child { margin: 24px auto 0 !important; max-width: 760px; }
body.home .mte-experience > header h2 { text-align: center; }
body.home .mte-experience-grid img[src*='cooking-class-hd'] { object-position: 50% 54%; }
body.single-product .mtr-why-book, body.single-product .mtr-why-book h2,
body.single-product .mtr-why-book h3, body.single-product .mtr-why-book p,
body.single-product .mtr-why-book .mt-info-card * { color: #171819 !important; }
body.single-product .mtr-why-book .mt-info-card { background: #fffdf8 !important; }
.mtr-shared-footer { box-sizing: border-box; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 35px; background: #131313 !important; color: #eee6db !important; padding: 50px 7vw !important; font-family: Inter, Arial, sans-serif; font-size: 12px; line-height: 1.65; }
.mtr-shared-footer img { display: block; width: 235px !important; height: auto !important; max-width: 100%; background: transparent !important; }
.mtr-shared-footer p { margin: 12px 0 !important; font-size: 12px !important; color: #eee6db !important; }
.mtr-shared-footer a { color: #d8b996 !important; text-decoration: none; }
.mtr-shared-footer > div:last-child { text-align: right; }
@media(max-width:900px) { .mtr-shared-footer { grid-template-columns: 1fr; } .mtr-shared-footer > div:last-child { text-align: left; } }
/* English calendar, US display, ISO submission. */
.mtr-date-us { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #c7b9a7; background: #fffdf8; color: #171819; font: 16px Inter,Arial,sans-serif; }
#ui-datepicker-div { display: none; z-index: 100000 !important; width: 300px; padding: 16px; border: 1px solid #c7b9a7; background: #fffdf8; color: #171819; box-shadow: 0 12px 35px rgba(0,0,0,.2); font: 14px/1.4 Inter,Arial,sans-serif; }
#ui-datepicker-div .ui-datepicker-header { position: relative; padding: 8px 32px; }
#ui-datepicker-div .ui-datepicker-title { text-align: center; font-weight: 600; }
#ui-datepicker-div .ui-datepicker-prev, #ui-datepicker-div .ui-datepicker-next { position: absolute; top: 8px; cursor: pointer; font-size: 11px; color: #8b1724; }
#ui-datepicker-div .ui-datepicker-prev { left: 0; } #ui-datepicker-div .ui-datepicker-next { right: 0; }
#ui-datepicker-div table { width: 100%; border-collapse: collapse; margin: 8px 0 0; }
#ui-datepicker-div th { font-size: 11px; padding: 7px 1px; color: #62584d; }
#ui-datepicker-div td { padding: 2px; text-align: center; }
#ui-datepicker-div td a, #ui-datepicker-div td span { display: block; padding: 7px 4px; border: 1px solid transparent; text-decoration: none; color: #171819; }
#ui-datepicker-div .ui-state-disabled { opacity: .35; }
#ui-datepicker-div .ui-state-active { background: #171819; color: #fff; }
#ui-datepicker-div .ui-state-highlight { border-color: #c09a77; }
#ui-datepicker-div td a:hover, #ui-datepicker-div td a:focus { background: #eee4d5; color: #171819; }

/* Home alignment and open pillar layout. */
body.home .mte-site-header { align-items: center !important; }
body.home .mte-site-header nav, body.home #mte-responsive-navigation { display: flex; align-items: center !important; }
body.home .mte-site-header nav ul { align-items: center !important; margin-block: 0 !important; }
body.home .mte-site-header nav a { display: inline-flex; align-items: center; margin-block: 0 !important; line-height: 1.2 !important; }
body.home .mte-intro > .mte-lead { text-align: center; margin-left: auto; margin-right: auto; }
body.home .mte-facts, body.home .mte-facts > div { border: 0 !important; background: transparent !important; }
body.home .mte-facts > div { padding: 26px 20px 10px; text-align: center; }
body.home .mte-facts strong { font-weight: 700 !important; text-align: center; }
body.home .mte-pillars > header .mte-kicker { width: 100%; text-align: center !important; }
body.home .mte-pillars .mte-pillar-icon[src*='motor-valley-car'] { width: 94px !important; height: 64px !important; }
body.home .mte-pillar-grid h3 { font-weight: 700 !important; text-align: center; }
@media(max-width:900px) { body.home .mte-site-header nav { display: none; } body.home .mte-site-header nav.mte-menu-open { display: flex; } }

body.home .mte-pillars > header .mte-kicker { max-width: none !important; margin-left: auto !important; margin-right: auto !important; }
