/*!
 * Motorphilia site restyle — v1.1.0 (2026-11-14; v1.1 = new header, section 12)
 * Brings motorphilia.com in line with the Match Maker (/matchmaker/) look.
 * Everything is scoped to body.mp-restyle (added by mu-plugins/mp-restyle.php).
 * Styling only, except one header button the PHP adds while the restyle is on.
 * /deposit (PayPal) and /matchmaker/ never get the body class.
 */

/* ---------- 1. Tokens (copied from Match Maker :root) ---------- */
body.mp-restyle {
  --mp-red: #e84738;
  --mp-red-dark: #c9372b;
  --mp-red-soft: #fdecea;
  --mp-ink: #1a1a1a;
  --mp-muted: #5a5856;
  --mp-line: #e6e2dc;
  --mp-bg: #f3efe9;
  --mp-paper: #ffffff;
  --mp-banner: #161616;
  --mp-banner-text: #f8e08e;
  --mp-track: #e0dbd4;
  --mp-seg: #e8e4de;
  --mp-shadow: 0 8px 28px rgba(22, 22, 22, 0.07);
  --mp-shadow-btn: 0 8px 18px rgba(232, 71, 56, 0.28);
  --mp-radius: 18px;
  --mp-radius-card: 14px;
  --mp-radius-input: 12px;
  --mp-tap: 52px;
  --mp-font: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mp-display: "Antic Slab", "Palatino Linotype", Palatino, serif;

  /* Re-point Avada's own Global Options variables so Avada rules follow suit */
  --primary_color: var(--mp-red);
  --link_color: var(--mp-red-dark);
  --link_color-8a: rgba(201, 55, 43, 0.8);
  --bg_color: var(--mp-bg);
  --content_bg_color: var(--mp-bg);
  --body_typography-font-family: var(--mp-font);
  --body_typography-font-size: 17px;
  --body_typography-color: var(--mp-ink);
  --h1_typography-color: var(--mp-ink);
  --h2_typography-color: var(--mp-ink);
  --h3_typography-color: var(--mp-ink);
  --h4_typography-color: var(--mp-ink);
  --nav_typography-color: var(--mp-ink);
  --menu_hover_first_color: var(--mp-red);
  --menu_sub_bg_color: var(--mp-paper);
  --menu_sub_sep_color: var(--mp-line);
  --menu_sub_color: var(--mp-ink);
  --button_gradient_top_color: var(--mp-red);
  --button_gradient_bottom_color: var(--mp-red);
  --button_gradient_top_color_hover: var(--mp-red-dark);
  --button_gradient_bottom_color_hover: var(--mp-red-dark);
  --button_accent_color: #fff;
  --button_accent_hover_color: #fff;
  --button_border_color: transparent;
  --button_border_hover_color: transparent;
  --button_typography-font-weight: 700;
  --button_typography-letter-spacing: 0.02em;
  --button_text_transform: none;
  --button_font_size: 16px;
  --button-border-radius-top-left: 999px;
  --button-border-radius-top-right: 999px;
  --button-border-radius-bottom-right: 999px;
  --button-border-radius-bottom-left: 999px;
  --form_bg_color: #fff;
  --form_border_color: var(--mp-line);
  --form_border_radius: 12px;
  --form_text_color: var(--mp-ink);
  --form_text_size: 16px;
  --awb-alert-border-top-left-radius-default: 12px;
  --awb-alert-border-top-right-radius-default: 12px;
  --awb-alert-border-bottom-right-radius-default: 12px;
  --awb-alert-border-bottom-left-radius-default: 12px;
  --testimonial_bg_color: var(--mp-paper);
  --grid_separator_color: var(--mp-line);
  --sep_color: var(--mp-line);
  --title_border_color: var(--mp-line);
  --pagination_border_radius: 999px;

  background: var(--mp-bg);
  color: var(--mp-ink);
  font-family: var(--mp-font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 2. Page shell & section spacing ---------- */
body.mp-restyle #boxed-wrapper,
body.mp-restyle #wrapper,
body.mp-restyle #main,
body.mp-restyle .fusion-fullwidth.fullwidth-box {
  background-color: var(--mp-bg) !important;
}
body.mp-restyle #main {
  padding-top: 24px;
  padding-bottom: 48px;
  padding-left: 16px;
  padding-right: 16px;
}
body.mp-restyle #main .post-content,
body.mp-restyle #main .post-content p,
body.mp-restyle #main .post-content li {
  font-family: var(--mp-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--mp-ink);
}
body.mp-restyle #main .post-content p { margin: 0 0 16px; }
body.mp-restyle #main .post-content a:not(.fusion-button):not(.su-button):not(.btn):not(.pt-cv-href-thumbnail) {
  color: var(--mp-red-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
body.mp-restyle #main .post-content a:not(.fusion-button):not(.su-button):not(.btn):hover { color: var(--mp-ink); }

/* Page/post body as one paper card (Match Maker "step" card) — not the home page */
body.mp-restyle:not(.home) #content > .post > .post-content,
body.mp-restyle:not(.home) #content > .page > .post-content {
  background: var(--mp-paper);
  border-radius: var(--mp-radius);
  box-shadow: var(--mp-shadow);
  padding: 22px 18px 8px;
}
/* Long-form posts: comfortable reading column like the form's 640px stage */
body.mp-restyle.single-post #content { float: none; margin: 0 auto; max-width: 760px; width: 100%; }

/* Embedded video / sliders get the card radius */
body.mp-restyle #main .post-content iframe,
body.mp-restyle #main .post-content .wp-block-embed__wrapper,
body.mp-restyle #main .post-content .metaslider,
body.mp-restyle #main .post-content .wp-block-image img,
body.mp-restyle #main .post-content figure img {
  border-radius: var(--mp-radius-card);
}
body.mp-restyle #main .post-content .wp-block-embed,
body.mp-restyle #main .post-content .video-shortcode { margin: 8px 0 24px; }
body.mp-restyle #main .post-content .video-shortcode iframe,
body.mp-restyle #main .post-content .wp-block-embed iframe { box-shadow: var(--mp-shadow); }
body.mp-restyle #main .post-content .metaslider { overflow: hidden; box-shadow: var(--mp-shadow); margin: 8px 0 24px; }

/* ---------- 3. Typography ---------- */
body.mp-restyle h1, body.mp-restyle h2, body.mp-restyle h3,
body.mp-restyle h4, body.mp-restyle h5, body.mp-restyle h6 {
  font-family: var(--mp-display);
  font-weight: 400;
  color: var(--mp-ink);
  line-height: 1.2;
  letter-spacing: 0;
}
body.mp-restyle #main .post-content h1 { font-size: clamp(2rem, 7vw, 2.7rem); margin: 0 0 12px; }
body.mp-restyle #main .post-content h2 { font-size: clamp(1.55rem, 5.5vw, 2rem); margin: 28px 0 10px; }
body.mp-restyle #main .post-content h3 { font-size: clamp(1.25rem, 4.2vw, 1.5rem); margin: 24px 0 8px; }
body.mp-restyle #main .post-content h4 { font-size: 1.15rem; margin: 20px 0 8px; }
body.mp-restyle #main .post-content > h2:first-child,
body.mp-restyle #main .post-content > h3:first-child { margin-top: 0; }

/* Section labels that the editor set as "large" / "medium" paragraphs */
body.mp-restyle #main .post-content p.has-large-font-size {
  font-family: var(--mp-display);
  font-size: clamp(1.55rem, 5.5vw, 2rem) !important;
  line-height: 1.2;
  margin: 40px 0 16px;
  text-align: center;
}
body.mp-restyle #main .post-content p.has-large-font-size:empty { margin: 0; }
body.mp-restyle #main .post-content p.has-medium-font-size { font-size: 1.1rem !important; line-height: 1.55; }

/* Page title bar = Match Maker heading block */
body.mp-restyle .fusion-page-title-bar {
  --page_title_bg_color: var(--mp-bg);
  --page_title_border_color: transparent;
  --page_title_color: var(--mp-ink);
  --page_title_subheader_color: var(--mp-muted);
  background-color: var(--mp-bg) !important;
  border-color: transparent !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 28px 16px 4px !important;
}
body.mp-restyle .fusion-page-title-bar h1,
body.mp-restyle .fusion-page-title-bar .entry-title {
  font-family: var(--mp-display) !important;
  font-weight: 400 !important;
  font-size: clamp(2rem, 7vw, 2.7rem) !important;
  line-height: 1.2 !important;
  color: var(--mp-ink) !important;
  margin: 0 0 6px !important;
}
body.mp-restyle .fusion-page-title-bar .fusion-breadcrumbs,
body.mp-restyle .fusion-page-title-bar .fusion-breadcrumbs a,
body.mp-restyle .fusion-page-title-bar .fusion-breadcrumbs span,
body.mp-restyle .fusion-page-title-bar .fusion-breadcrumbs li {
  font-family: var(--mp-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mp-muted) !important;
}
body.mp-restyle .fusion-page-title-bar .fusion-breadcrumbs a:hover { color: var(--mp-red) !important; }

/* ---------- 4. Header & navigation ---------- */
body.mp-restyle .fusion-header-wrapper,
body.mp-restyle .fusion-header,
body.mp-restyle .fusion-secondary-main-menu,
body.mp-restyle .fusion-header-sticky-height {
  background-color: var(--mp-bg) !important;
  --header_bg_color: var(--mp-bg);
  --mobile_header_bg_color: var(--mp-bg);
}
body.mp-restyle .fusion-header { border-bottom: 1px solid var(--mp-line) !important; }
body.mp-restyle .fusion-main-menu > ul > li:not(.fusion-main-menu-search):not(.fusion-middle-logo-menu-logo) > a,
body.mp-restyle .fusion-main-menu > ul > li > a .menu-text {
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 0.02em !important;
  color: var(--mp-ink) !important;
}
body.mp-restyle .fusion-main-menu > ul > li > a { position: relative; }
/* Active/hover item: a short red pill under the label, like the progress bar */
body.mp-restyle .fusion-main-menu > ul > li:not(.fusion-middle-logo-menu-logo):not(.fusion-main-menu-search) > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(50% - 22px);
  width: 0;
  height: 4px;
  border-radius: 99px;
  background: var(--mp-red);
  transform: translateX(-50%);
  transition: width .25s ease !important;
  transition-property: width !important;
}
body.mp-restyle .fusion-main-menu > ul > li.current-menu-item:not(.fusion-middle-logo-menu-logo):not(.fusion-main-menu-search) > a::after,
body.mp-restyle .fusion-main-menu > ul > li.current-menu-ancestor:not(.fusion-middle-logo-menu-logo):not(.fusion-main-menu-search) > a::after,
body.mp-restyle .fusion-main-menu > ul > li.current-menu-parent:not(.fusion-middle-logo-menu-logo):not(.fusion-main-menu-search) > a::after,
body.mp-restyle .fusion-main-menu > ul > li:not(.fusion-middle-logo-menu-logo):not(.fusion-main-menu-search) > a:hover::after,
body.mp-restyle .fusion-main-menu > ul > li:not(.fusion-middle-logo-menu-logo):not(.fusion-main-menu-search) > a:focus-visible::after { width: 28px; }
body.mp-restyle .fusion-main-menu > ul > li.current-menu-item > a .menu-text,
body.mp-restyle .fusion-main-menu > ul > li > a:hover .menu-text { color: var(--mp-ink) !important; }
/* Support phone = ghost pill (Match Maker .btn-ghost) — same text, same tel: link */
body.mp-restyle .fusion-main-menu > ul > li#menu-item-384 > a .menu-text {
  border: 1px solid var(--mp-line);
  background: var(--mp-paper);
  border-radius: 999px;
  display: inline-block;
  min-width: 150px;
  padding: 7px 16px;
  font-size: 13px !important;
  line-height: 1.25;
  text-align: center;
}
body.mp-restyle .fusion-main-menu > ul > li#menu-item-384 > a::after { display: none; }
body.mp-restyle .fusion-main-menu > ul > li#menu-item-384 > a:hover .menu-text { border-color: var(--mp-red); }
/* Dropdowns = Match Maker choice cards */
body.mp-restyle .fusion-main-menu .sub-menu {
  background: var(--mp-paper) !important;
  border: 1px solid var(--mp-line) !important;
  border-top: 0 !important;
  border-radius: var(--mp-radius-card) !important;
  box-shadow: var(--mp-shadow) !important;
  padding: 8px !important;
  overflow: hidden;
}
body.mp-restyle .fusion-main-menu .sub-menu li a {
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: var(--mp-ink) !important;
  border: 0 !important;
  border-radius: 10px;
  padding: 10px 14px !important;
  background: transparent !important;
}
body.mp-restyle .fusion-main-menu .sub-menu li a:hover,
body.mp-restyle .fusion-main-menu .sub-menu li.current-menu-item > a { background: var(--mp-red-soft) !important; }
/* Match Maker entry in the Cars dropdown stands out (existing item 391, same text/link) */
body.mp-restyle .fusion-main-menu .sub-menu li#menu-item-391 > a,
body.mp-restyle .fusion-main-menu .sub-menu li > a[href*="/matchmaker"] {
  background: var(--mp-red) !important;
  color: #fff !important;
  border-radius: 999px;
  text-align: center;
  margin-bottom: 4px;
  box-shadow: var(--mp-shadow-btn);
}
body.mp-restyle .fusion-main-menu .sub-menu li#menu-item-391 > a:hover { background: var(--mp-red-dark) !important; }
body.mp-restyle .fusion-main-menu .fusion-main-menu-icon,
body.mp-restyle .fusion-main-menu .fusion-main-menu-icon::before { color: var(--mp-ink) !important; }

/* Mobile menu */
body.mp-restyle .fusion-mobile-menu-icons a,
body.mp-restyle .fusion-mobile-menu-icons a::before,
body.mp-restyle .fusion-icon.awb-icon-bars::before { color: var(--mp-ink) !important; }
body.mp-restyle .fusion-mobile-menu-icons a.fusion-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--mp-line);
  border-radius: 12px;
  background: var(--mp-paper);
  font-size: 18px;
}
body.mp-restyle .fusion-mobile-nav-holder > ul {
  background: var(--mp-paper) !important;
  border: 1px solid var(--mp-line) !important;
  border-radius: var(--mp-radius-card);
  box-shadow: var(--mp-shadow);
  overflow: hidden;
  margin-top: 10px !important;
}
body.mp-restyle .fusion-mobile-nav-holder li,
body.mp-restyle .fusion-mobile-nav-holder li a {
  background: transparent !important;
  border-color: var(--mp-line) !important;
}
body.mp-restyle .fusion-mobile-nav-holder li a {
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: var(--mp-ink) !important;
  min-height: 48px;
  line-height: 48px !important;
  height: auto !important;
}
body.mp-restyle .fusion-mobile-nav-holder li.current-menu-item > a,
body.mp-restyle .fusion-mobile-nav-holder li a:hover { background: var(--mp-red-soft) !important; }
body.mp-restyle .fusion-mobile-nav-holder li > a[href*="/matchmaker"] { color: var(--mp-red-dark) !important; }

/* ---------- 5. Buttons (Match Maker .btn / .btn-primary / .btn-ghost) ---------- */
body.mp-restyle .fusion-button,
body.mp-restyle a.fusion-button,
body.mp-restyle #main #comment-submit,
body.mp-restyle .comment-form input[type="submit"],
body.mp-restyle .wpcf7-form input[type="submit"],
body.mp-restyle .wpcf7-submit {
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  min-height: var(--mp-tap);
  padding: 0 26px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--mp-red) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: var(--mp-shadow-btn) !important;
  line-height: var(--mp-tap) !important;
  transition: background .15s, transform .15s, box-shadow .15s;
}
body.mp-restyle .fusion-button .fusion-button-text { color: #fff !important; font-weight: 700 !important; }
body.mp-restyle .fusion-button:hover,
body.mp-restyle #main #comment-submit:hover,
body.mp-restyle .wpcf7-submit:hover { background: var(--mp-red-dark) !important; }
body.mp-restyle .fusion-button:active,
body.mp-restyle .wpcf7-submit:active { transform: translateY(1px); }
body.mp-restyle .fusion-button:focus-visible,
body.mp-restyle .wpcf7-submit:focus-visible,
body.mp-restyle .su-button:focus-visible,
body.mp-restyle .pt-cv-readmore:focus-visible { outline: 2px solid var(--mp-ink) !important; outline-offset: 2px; }

/* Home hero slider buttons: Match Maker CTA stays red, the others become white ghost pills */
body.mp-restyle #sliders-container .fusion-button:not([href*="/matchmaker"]) {
  background: rgba(255,255,255,0.94) !important;
  color: var(--mp-ink) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18) !important;
}
body.mp-restyle #sliders-container .fusion-button:not([href*="/matchmaker"]) .fusion-button-text { color: var(--mp-ink) !important; }
body.mp-restyle #sliders-container .fusion-button:not([href*="/matchmaker"]):hover { background: #fff !important; }
body.mp-restyle #sliders-container .fusion-title-sc-wrapper { border-radius: 12px; }
body.mp-restyle #sliders-container .fusion-title-heading { font-family: var(--mp-display) !important; font-weight: 400 !important; }

/* Home quick-action row (Shortcodes Ultimate buttons): override their inline colours */
body.mp-restyle #main .su-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 8px; }
body.mp-restyle #main .su-row > .su-column { float: none; margin: 0 !important; flex: 1 1 100%; width: auto !important; }
body.mp-restyle #main a.su-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  min-height: var(--mp-tap);
  border-radius: 999px !important;
  border: 1px solid var(--mp-line) !important;
  background: var(--mp-paper) !important;
  color: var(--mp-ink) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: background .15s, border-color .15s, transform .15s;
}
body.mp-restyle #main a.su-button span {
  display: block !important;
  padding: 0 22px !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: var(--mp-tap) !important;
  letter-spacing: 0.02em;
  text-shadow: none !important;
  border-radius: 999px !important;
}
body.mp-restyle #main a.su-button:hover { border-color: var(--mp-red) !important; }
body.mp-restyle #main a.su-button[href*="/matchmaker"] {
  background: var(--mp-red) !important;
  border-color: var(--mp-red) !important;
  color: #fff !important;
  box-shadow: var(--mp-shadow-btn) !important;
}
body.mp-restyle #main a.su-button[href*="/matchmaker"]:hover { background: var(--mp-red-dark) !important; }
body.mp-restyle #main a.su-button:active { transform: translateY(1px); }

/* ---------- 6. Cards: home blog grid, Two Cents grid, testimonials, cars columns ---------- */
body.mp-restyle .fusion-blog-layout-grid .fusion-post-wrapper {
  background: var(--mp-paper) !important;
  border: 1px solid transparent !important;
  border-radius: var(--mp-radius-card) !important;
  box-shadow: var(--mp-shadow) !important;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
body.mp-restyle .fusion-blog-layout-grid .fusion-post-wrapper:hover { border-color: var(--mp-red) !important; }
body.mp-restyle .fusion-blog-layout-grid .fusion-post-content-wrapper { padding: 20px 20px 16px !important; }
body.mp-restyle .fusion-blog-layout-grid .blog-shortcode-post-title,
body.mp-restyle .fusion-blog-layout-grid .entry-title {
  font-family: var(--mp-display) !important;
  font-size: 1.3rem !important;
  line-height: 1.25 !important;
  margin: 0 0 8px !important;
}
body.mp-restyle .fusion-blog-layout-grid .entry-title a { color: var(--mp-ink) !important; text-decoration: none !important; font-weight: 400 !important; }
body.mp-restyle .fusion-blog-layout-grid .entry-title a:hover { color: var(--mp-red-dark) !important; }
body.mp-restyle .fusion-blog-layout-grid .fusion-post-content-container p { color: var(--mp-muted) !important; font-size: 15px !important; margin: 0 !important; }

/* Two Cents (Content Views) */
body.mp-restyle .pt-cv-view .pt-cv-page { display: flex; flex-wrap: wrap; }
body.mp-restyle .pt-cv-view .pt-cv-page::before,
body.mp-restyle .pt-cv-view .pt-cv-page::after { display: none; }
body.mp-restyle .pt-cv-view .pt-cv-content-item { float: none; display: flex; margin-bottom: 16px; }
body.mp-restyle .pt-cv-view .pt-cv-content-item > .pt-cv-ifield { flex: 1 1 auto; height: auto !important; align-self: stretch; }
body.mp-restyle .pt-cv-view .pt-cv-ifield {
  background: var(--mp-paper);
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-card);
  box-shadow: var(--mp-shadow);
  padding: 16px;
  overflow: hidden;
  transition: border-color .15s;
}
body.mp-restyle .pt-cv-view .pt-cv-ifield:hover { border-color: var(--mp-red); }
body.mp-restyle .pt-cv-view .pt-cv-thumbnail,
body.mp-restyle .pt-cv-view .pt-cv-href-thumbnail img { border-radius: 10px; }
body.mp-restyle .pt-cv-view .pt-cv-title,
body.mp-restyle .pt-cv-view .pt-cv-title a {
  font-family: var(--mp-display) !important;
  font-weight: 400 !important;
  font-size: 1.2rem !important;
  line-height: 1.25 !important;
  color: var(--mp-ink) !important;
  text-decoration: none !important;
}
body.mp-restyle .pt-cv-view .pt-cv-content { color: var(--mp-muted); font-size: 15px; }
body.mp-restyle .pt-cv-view .pt-cv-readmore.btn {
  display: inline-flex !important;
  align-items: center;
  min-height: 40px;
  padding: 0 16px !important;
  margin-top: 8px;
  border-radius: 999px !important;
  border: 1px solid var(--mp-line) !important;
  background: #fff !important;
  color: var(--mp-ink) !important;
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
body.mp-restyle .pt-cv-view .pt-cv-readmore.btn:hover { border-color: var(--mp-red) !important; background: var(--mp-red-soft) !important; }
body.mp-restyle .pt-cv-pagination .active > a,
body.mp-restyle .pt-cv-pagination a { border-radius: 999px !important; }
body.mp-restyle .pt-cv-pagination .active > a { background: var(--mp-red) !important; border-color: var(--mp-red) !important; }

/* Testimonials (the plugin wraps them in a grey box) */
body.mp-restyle #main .post-content div:has(> .testimonial_rotator_wrap) { background: transparent !important; }
body.mp-restyle .testimonial_rotator_wrap {
  background: var(--mp-paper) !important;
  border-radius: var(--mp-radius) !important;
  box-shadow: var(--mp-shadow) !important;
  padding: 18px 16px !important;
  border: 0 !important;
}
body.mp-restyle .testimonial_rotator_slide_title { font-family: var(--mp-display) !important; font-size: 1.35rem !important; color: var(--mp-ink) !important; }
body.mp-restyle .testimonial_rotator_stars .fa,
body.mp-restyle .testimonial_rotator_star { color: var(--mp-red) !important; }
body.mp-restyle .testimonial_rotator_img img { border-radius: var(--mp-radius-card); }
body.mp-restyle .testimonial_rotator_nav .testimonial_rotator_prev,
body.mp-restyle .testimonial_rotator_nav .testimonial_rotator_next { color: var(--mp-ink) !important; }

/* /cars/ two-column intro = two Match Maker cards */
body.mp-restyle #main .post-content .wp-block-columns { gap: 12px; margin: 0 0 24px; }
body.mp-restyle.page-id-6 #main .post-content .wp-block-columns > .wp-block-column {
  background: var(--mp-bg);
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-card);
  padding: 16px 16px 4px;
}

/* ---------- 7. Forms (Contact Form 7 + comments) — Match Maker inputs ---------- */
body.mp-restyle .wpcf7 { max-width: 640px; margin: 8px auto 0; }
body.mp-restyle .wpcf7-form p { margin: 0 0 14px !important; }
body.mp-restyle .wpcf7-form label,
body.mp-restyle .comment-form label {
  display: block;
  font-family: var(--mp-font);
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--mp-muted) !important;
  line-height: 1.4;
}
body.mp-restyle .wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; text-transform: none; letter-spacing: 0; }
body.mp-restyle .wpcf7-form input[type="text"],
body.mp-restyle .wpcf7-form input[type="email"],
body.mp-restyle .wpcf7-form input[type="tel"],
body.mp-restyle .wpcf7-form input[type="number"],
body.mp-restyle .wpcf7-form input[type="url"],
body.mp-restyle .wpcf7-form textarea,
body.mp-restyle .wpcf7-form select,
body.mp-restyle .comment-form input[type="text"],
body.mp-restyle .comment-form input[type="email"],
body.mp-restyle .comment-form input[type="url"],
body.mp-restyle .comment-form textarea {
  width: 100% !important;
  box-sizing: border-box;
  min-height: var(--mp-tap) !important;
  height: auto !important;
  padding: 14px !important;
  border: 1px solid var(--mp-line) !important;
  border-radius: var(--mp-radius-input) !important;
  background: #fff !important;
  color: var(--mp-ink) !important;
  font-family: var(--mp-font) !important;
  font-size: 16px !important; /* no iOS zoom */
  text-transform: none;
  letter-spacing: 0;
  outline: none;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
body.mp-restyle .wpcf7-form textarea,
body.mp-restyle .comment-form textarea { min-height: 110px !important; resize: vertical; line-height: 1.45 !important; }
body.mp-restyle .wpcf7-form input:focus,
body.mp-restyle .wpcf7-form textarea:focus,
body.mp-restyle .wpcf7-form select:focus,
body.mp-restyle .comment-form input:focus,
body.mp-restyle .comment-form textarea:focus {
  border-color: var(--mp-ink) !important;
  box-shadow: 0 0 0 3px rgba(26,26,26,0.08) !important;
}
body.mp-restyle .wpcf7-form .wpcf7-not-valid { border-color: #b00020 !important; }
body.mp-restyle .wpcf7-not-valid-tip { color: #b00020 !important; font-size: 14px; font-weight: 700; margin-top: 6px; text-transform: none; letter-spacing: 0; }
body.mp-restyle .wpcf7-form input[type="submit"],
body.mp-restyle .wpcf7-submit { width: 100%; letter-spacing: 0.08em !important; text-transform: uppercase !important; }
body.mp-restyle .wpcf7-response-output,
body.mp-restyle .wpcf7 .fusion-alert {
  border-radius: 12px !important;
  border: 1px solid var(--mp-line) !important;
  border-left: 4px solid var(--mp-red) !important;
  background: #fff !important;
  color: var(--mp-ink) !important;
  font-size: 15px;
  text-transform: none !important;
}
body.mp-restyle .wpcf7 .wpcf7-spinner { display: block; margin: 10px auto 0; }
body.mp-restyle .comment-respond,
body.mp-restyle #respond {
  background: var(--mp-paper);
  border-radius: var(--mp-radius);
  box-shadow: var(--mp-shadow);
  padding: 20px 18px;
  margin-top: 24px;
}
body.mp-restyle #main #comment-submit { width: 100%; }

/* ---------- 8. Single post furniture ---------- */
body.mp-restyle .single-navigation a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--mp-line); border-radius: 999px; background: #fff;
  color: var(--mp-ink) !important; font-weight: 700; font-size: 14px; text-decoration: none;
}
body.mp-restyle .single-navigation a:hover { border-color: var(--mp-red); }
body.mp-restyle .single-navigation { border: 0 !important; margin-bottom: 16px; }
body.mp-restyle .fusion-meta-info {
  border-color: var(--mp-line) !important;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mp-muted);
}
body.mp-restyle .fusion-meta-info a { color: var(--mp-muted) !important; }
body.mp-restyle .fusion-sharing-box {
  background: var(--mp-paper) !important;
  border-radius: var(--mp-radius-card);
  box-shadow: var(--mp-shadow);
  padding: 16px 18px !important;
}
body.mp-restyle .fusion-sharing-box h4 { font-family: var(--mp-display) !important; font-size: 1.15rem !important; color: var(--mp-ink) !important; }
body.mp-restyle .fusion-sharing-box .fusion-social-network-icon { color: var(--mp-ink) !important; }
body.mp-restyle .fusion-sharing-box .fusion-social-network-icon:hover { color: var(--mp-red) !important; }
body.mp-restyle .related-posts .fusion-carousel-item-wrapper,
body.mp-restyle .related-posts .fusion-image-wrapper { border-radius: var(--mp-radius-card); overflow: hidden; }
body.mp-restyle .related-posts .title-heading-left,
body.mp-restyle .related-posts h3 { font-family: var(--mp-display) !important; }
body.mp-restyle #main .post-content ul.wp-block-list { padding-left: 1.2em; }
body.mp-restyle #main .post-content ul.wp-block-list li::marker { color: var(--mp-red); }
body.mp-restyle #main .post-content blockquote {
  background: var(--mp-paper); border-left: 4px solid var(--mp-red); border-radius: 12px; padding: 12px 16px; margin: 16px 0;
}
/* Reading-progress bar on posts (Match Maker .progress-track); pure CSS, only where supported */
@supports (animation-timeline: scroll()) {
  body.mp-restyle.single-post::before {
    content: "";
    position: fixed;
    z-index: 100000;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--mp-red);
    border-radius: 0 99px 99px 0;
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: mp-read linear both;
    animation-timeline: scroll(root block);
    pointer-events: none;
  }
  body.mp-restyle.single-post.admin-bar::before { top: 46px; }
  @media (min-width: 783px) { body.mp-restyle.single-post.admin-bar::before { top: 32px; } }
  @keyframes mp-read { to { transform: scaleX(1); } }
}

/* FAQ: question paragraphs (a number + one <strong>) read like Match Maker step titles */
body.mp-restyle.page-id-163 #main .post-content > p:has(> strong:only-child) {
  font-family: var(--mp-display);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 26px 0 6px;
  padding-top: 18px;
  border-top: 1px solid var(--mp-line);
}
body.mp-restyle.page-id-163 #main .post-content > p:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
body.mp-restyle.page-id-163 #main .post-content > p:has(> strong:only-child) > strong { font-weight: 400; }

/* About: portrait keeps the card radius */
body.mp-restyle.page-id-10 #main .post-content .wp-block-image img { box-shadow: var(--mp-shadow); }

/* ---------- 9. Footer ---------- */
body.mp-restyle .fusion-footer-widget-area {
  --footer_bg_color: var(--mp-banner);
  --footer_border_size: 0px;
  --footer_border_color: transparent;
  --footer_text_color: #cfcac3;
  --footer_link_color: #fff;
  --footer_link_color_hover: var(--mp-red);
  background-color: var(--mp-banner) !important;
  border-top: 0 !important;
}
/* No widgets placed in the footer columns today: collapse the empty dark band */
body.mp-restyle .fusion-footer-widget-area:not(:has(.widget, section, aside, img, a, p)) { display: none; }
body.mp-restyle .fusion-footer-copyright-area {
  --copyright_bg_color: var(--mp-banner);
  --copyright_border_color: #2a2a2a;
  background-color: var(--mp-banner) !important;
  border-top: 4px solid var(--mp-red) !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
body.mp-restyle .fusion-copyright-notice,
body.mp-restyle .fusion-copyright-notice div {
  font-family: var(--mp-font) !important;
  font-size: 13px !important;
  color: #cfcac3 !important;
  line-height: 1.6;
}
body.mp-restyle .fusion-copyright-notice a { color: #fff !important; font-weight: 700; }
body.mp-restyle .fusion-copyright-notice a:hover { color: var(--mp-banner-text) !important; }
body.mp-restyle .fusion-social-links-footer .fusion-social-network-icon { color: #cfcac3 !important; font-size: 18px !important; }
body.mp-restyle .fusion-social-links-footer .fusion-social-network-icon:hover { color: var(--mp-red) !important; }
body.mp-restyle .to-top-container #toTop {
  background: var(--mp-red) !important;
  color: #fff !important;
  border-radius: 999px 999px 0 0 !important;
}
body.mp-restyle .to-top-container #toTop:hover { background: var(--mp-red-dark) !important; }

/* ---------- 10. Search overlay ---------- */
body.mp-restyle .fusion-search-form .s,
body.mp-restyle .searchform .s {
  border: 1px solid var(--mp-line) !important;
  border-radius: 999px !important;
  min-height: 44px;
  padding-left: 16px !important;
  font-size: 16px !important;
  background: #fff !important;
}

/* ---------- 11. Larger screens ---------- */
@media (min-width: 640px) {
  body.mp-restyle #main .su-row > .su-column { flex: 1 1 0; }
  body.mp-restyle:not(.home) #content > .post > .post-content,
  body.mp-restyle:not(.home) #content > .page > .post-content { padding: 32px 36px 16px; }
  body.mp-restyle .wpcf7-form input[type="submit"],
  body.mp-restyle .wpcf7-submit,
  body.mp-restyle #main #comment-submit { width: auto; min-width: 260px; }
  body.mp-restyle .testimonial_rotator_wrap { padding: 24px 28px !important; }
}
@media (min-width: 800px) {
  body.mp-restyle #main { padding-top: 32px; padding-bottom: 64px; padding-left: 30px; padding-right: 30px; }
  body.mp-restyle #main .post-content p.has-large-font-size { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  body.mp-restyle *, body.mp-restyle *::before, body.mp-restyle *::after { transition: none !important; }
  body.mp-restyle.single-post::before { display: none; }
}

/* ==========================================================================
   12. Header v1.1: one clean bar (added 2026-11-14)
   Logo left (larger), compact links right, one red "Start the Match Maker"
   pill (li.mp-hdr-cta, appended by mp-restyle.php only while the restyle is on).
   Avada header v7 "middle logo" markup is unchanged; this only re-lays it out.
   Avada's mobile header takes over at 800px and below (side_header_break_point).
   Rollback of just the header: delete this section 12 block.
   ========================================================================== */
body.mp-restyle { --mp-hdr-logo-w: 280px; --mp-hdr-logo-h: 175px; }

/* The 2x retina logo file is square with transparent padding, so on retina
   screens the logo used to shrink to ~150x90. object-fit:cover on a fixed
   250:156 box makes the 1x and 2x files render the same, edge to edge. */
body.mp-restyle .fusion-header .fusion-standard-logo,
body.mp-restyle .fusion-header .fusion-sticky-logo {
  object-fit: cover;
  object-position: 50% 50%;
}

/* CTA in the mobile menu list (Avada copies the menu into it) */
body.mp-restyle .fusion-mobile-nav-holder li.mp-hdr-cta > a {
  color: var(--mp-red-dark) !important;
  background: var(--mp-red-soft) !important;
}

@media (min-width: 801px) {
  body.mp-restyle .fusion-header-v7 .fusion-header { padding-left: 30px !important; padding-right: 30px !important; }
  body.mp-restyle .fusion-header-v7 .fusion-main-menu {
    float: none !important;
    width: 100% !important;
    overflow: visible !important;
  }
  body.mp-restyle #menu-main-nav.fusion-middle-logo-ul {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    column-gap: 4px;
    width: 100%;
    margin: 0 !important;
    padding: 12px 0 !important;
    float: none !important;
  }
  body.mp-restyle #menu-main-nav.fusion-middle-logo-ul > li {
    float: none !important;
    flex: 0 0 auto;
    padding: 0 !important;
    margin: 0 !important;
  }
  /* Logo first, pushes everything else right */
  body.mp-restyle #menu-main-nav > li.fusion-middle-logo-menu-logo {
    order: -1;
    margin: 0 auto 0 0 !important;
    padding: 0 24px 0 0 !important;
    width: auto !important;
    line-height: 0;
  }
  body.mp-restyle #menu-main-nav > li.fusion-middle-logo-menu-logo .fusion-logo-link { display: block; line-height: 0; }
  body.mp-restyle #menu-main-nav > li.fusion-middle-logo-menu-logo .fusion-standard-logo {
    width: var(--mp-hdr-logo-w) !important;
    height: var(--mp-hdr-logo-h) !important;
    max-height: none !important;
    max-width: none !important;
  }
  /* Not needed above the fold on desktop: Home (the logo goes home),
     Text Us (the phone link covers call/text), search (still in the mobile menu) */
  body.mp-restyle #menu-main-nav > li#menu-item-24,
  body.mp-restyle #menu-main-nav > li#menu-item-385,
  body.mp-restyle #menu-main-nav > li.fusion-main-menu-search { display: none !important; }

  /* Text links: compact row */
  body.mp-restyle #menu-main-nav > li:not(.fusion-middle-logo-menu-logo) > a {
    display: flex !important;
    align-items: center;
    height: 56px !important;
    line-height: 1.15 !important;
    padding: 0 14px !important;
    margin: 0 !important;
    white-space: nowrap;
  }
  body.mp-restyle #menu-main-nav > li:not(.fusion-middle-logo-menu-logo) > a::after { bottom: 6px !important; }
  /* "Two Cents" / "Industry Notes from the Owner": a long label wraps to two short lines */
  body.mp-restyle #menu-main-nav > li#menu-item-187 > a { white-space: normal; }
  body.mp-restyle #menu-main-nav > li#menu-item-187 > a .menu-text { display: block; max-width: 130px; text-align: center; }

  /* Phone: small two-line "Call or text / (430) 247-2588", no pill.
     Same tel: link; the original label stays for screen readers. */
  body.mp-restyle #menu-main-nav > li#menu-item-384 { order: 20; margin-left: 10px !important; }
  body.mp-restyle #menu-main-nav > li#menu-item-384 > a { padding: 0 12px 0 14px !important; border-left: 1px solid var(--mp-line); height: 44px !important; }
  body.mp-restyle #menu-main-nav > li#menu-item-384 > a .menu-text {
    border: 0 !important;
    background: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 0 !important;
    line-height: 1.15 !important;
    text-align: left !important;
    white-space: nowrap !important;
    flex: none;
    min-width: max-content !important;
  }
  body.mp-restyle #menu-main-nav > li#menu-item-384 > a .menu-text::before {
    content: "Call or text";
    content: "Call or text" / "";
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mp-muted);
  }
  body.mp-restyle #menu-main-nav > li#menu-item-384 > a .menu-text::after {
    content: "(430) 247-2588";
    content: "(430) 247-2588" / "";
    display: block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--mp-ink);
  }
  body.mp-restyle #menu-main-nav > li#menu-item-384 > a:hover .menu-text::after { color: var(--mp-red-dark); }

  /* The call to action: solid red pill */
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta { order: 30; margin-left: 6px !important; }
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta > a {
    height: 48px !important;
    padding: 0 24px !important;
    border-radius: 999px;
    background: var(--mp-red) !important;
    box-shadow: var(--mp-shadow-btn);
    transition: background-color .2s ease, transform .1s ease;
  }
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta > a .menu-text { color: #fff !important; font-size: 16px !important; }
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta > a::after { display: none !important; }
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta > a:hover,
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta > a:focus-visible { background: var(--mp-red-dark) !important; }
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta > a:hover .menu-text { color: #fff !important; }
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta > a:active { transform: translateY(1px); }
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta > a:focus-visible { outline: 2px solid var(--mp-ink); outline-offset: 2px; }

  /* Dropdowns open right under their label; the last one opens leftward so it never clips */
  body.mp-restyle #menu-main-nav > li.fusion-dropdown-menu { position: relative; }
  body.mp-restyle #menu-main-nav > li.fusion-dropdown-menu > .sub-menu { top: 100% !important; margin-top: 0 !important; z-index: 100; }
  body.mp-restyle #menu-main-nav > li#menu-item-12 > .sub-menu { left: auto !important; right: 0 !important; }
  body.mp-restyle .fusion-header,
  body.mp-restyle .fusion-header .fusion-row,
  body.mp-restyle .fusion-header-wrapper { overflow: visible !important; }

  /* Sticky header (if it is ever switched on): same bar, smaller logo */
  body.mp-restyle .fusion-is-sticky #menu-main-nav.fusion-middle-logo-ul { padding: 6px 0 !important; }
  body.mp-restyle .fusion-is-sticky #menu-main-nav > li.fusion-middle-logo-menu-logo .fusion-sticky-logo,
  body.mp-restyle .fusion-is-sticky #menu-main-nav > li.fusion-middle-logo-menu-logo .fusion-standard-logo {
    width: 144px !important;
    height: 90px !important;
  }
}

/* Small laptops / tablet landscape (801-1099px): same bar, tighter */
@media (min-width: 801px) and (max-width: 1099px) {
  body.mp-restyle { --mp-hdr-logo-w: 208px; --mp-hdr-logo-h: 130px; }
  body.mp-restyle .fusion-header-v7 .fusion-header { padding-left: 20px !important; padding-right: 20px !important; }
  body.mp-restyle #menu-main-nav > li.fusion-middle-logo-menu-logo { padding-right: 12px !important; }
  body.mp-restyle #menu-main-nav > li:not(.fusion-middle-logo-menu-logo) > a { padding: 0 9px !important; }
  body.mp-restyle #menu-main-nav > li#menu-item-384 { margin-left: 4px !important; }
  body.mp-restyle #menu-main-nav > li#menu-item-384 > a .menu-text::after { font-size: 15px; }
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta > a { padding: 0 16px !important; height: 44px !important; }
  body.mp-restyle #menu-main-nav > li.mp-hdr-cta > a .menu-text { font-size: 15px !important; }
}
/* 801-919px: drop the phone link from the bar so nothing wraps (it stays in the mobile menu and footer) */
@media (min-width: 801px) and (max-width: 919px) {
  body.mp-restyle #menu-main-nav > li#menu-item-384 { display: none !important; }
}

/* Phones and tablets (800px and below): Avada's own mobile header and menu.
   Bigger, sharp logo (the standard file has a 2x version; the mobile file is 1x only). */
@media (max-width: 800px) {
  body.mp-restyle .fusion-header-v7 .fusion-header { padding-top: 14px !important; padding-bottom: 14px !important; }
  body.mp-restyle .fusion-header .fusion-middle-logo-menu-logo .fusion-mobile-logo { display: none !important; }
  body.mp-restyle .fusion-header .fusion-middle-logo-menu-logo .fusion-standard-logo {
    display: block !important;
    width: 192px !important;
    height: 120px !important;
    max-height: none !important;
    max-width: none !important;
  }
  body.mp-restyle .fusion-header .fusion-middle-logo-menu-logo { margin: 0 !important; }
  /* centre the menu button on the logo */
  body.mp-restyle .fusion-header .fusion-mobile-menu-icons { margin-top: 38px !important; }
}
@media (max-width: 420px) {
  body.mp-restyle .fusion-header .fusion-middle-logo-menu-logo .fusion-standard-logo { width: 176px !important; height: 110px !important; }
  body.mp-restyle .fusion-header .fusion-mobile-menu-icons { margin-top: 33px !important; }
}

/* ==========================================================================
   13. Mobile home banner v1.2 (added 2026-11-14)
   Phones only (<=800px = Avada side_header_break_point). The home page Avada
   slider (#sliders-container, slider 18) becomes ONE still slide that sits
   calmly under the v1.1 header: first slide only ("Specs to Order!" /
   Contact Us), no dots or arrows, no rotation (paused by the small inline
   script mp-restyle.php prints; the CSS below also pins slide 1 on its own
   in case the script never runs), sans-serif type matching the header nav,
   a light bottom gradient instead of dark boxes, ~380px tall, and the empty
   cream gap above the "Matchmaker Survey" button removed.
   Tablet/desktop (>800px) are untouched. Rollback: delete this section and
   the mp_restyle_banner_script() block in mp-restyle.php.
   ========================================================================== */
@media (max-width: 800px) {
  /* Height: container, flexslider, slides and photo all ~380px (Avada sets inline px heights by JS) */
  body.mp-restyle.home #sliders-container .fusion-slider-container,
  body.mp-restyle.home #sliders-container .tfs-slider,
  body.mp-restyle.home #sliders-container .tfs-slider .slides,
  body.mp-restyle.home #sliders-container .tfs-slider .slides > li,
  body.mp-restyle.home #sliders-container .tfs-slider .background,
  body.mp-restyle.home #sliders-container .tfs-slider .mobile_video_image {
    height: 380px !important;
    min-height: 0 !important;
    max-height: 380px !important;
  }
  /* No parallax / fixed positioning on phones (Avada already skips it on mobile; this makes sure) */
  body.mp-restyle.home #sliders-container .tfs-slider {
    position: relative !important;
    left: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
    visibility: visible !important;
  }
  body.mp-restyle.home #sliders-container .tfs-slider .background {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: 40% 55% !important;
    transform: none !important;
  }

  /* One still slide: pin slide 1, hide the other two, the dots and the arrows */
  body.mp-restyle.home #sliders-container .tfs-slider .slides > li:first-child {
    display: block !important;
    opacity: 1 !important;
    z-index: 2 !important;
    visibility: visible !important;
  }
  body.mp-restyle.home #sliders-container .tfs-slider .slides > li:not(:first-child),
  body.mp-restyle.home #sliders-container .tfs-slider .flex-control-nav,
  body.mp-restyle.home #sliders-container .tfs-slider .flex-direction-nav,
  body.mp-restyle.home #sliders-container .fusion-slider-loading { display: none !important; }

  /* Light gradient at the bottom (drawn by the content block itself, below) so the top of the
     photo reads clearly and the white text still has contrast; replaces the dark boxes */

  /* Content block: bottom-left, full width, no boxes */
  body.mp-restyle.home #sliders-container .slide-content-container {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 96px 20px 22px !important;
    background: linear-gradient(to bottom, rgba(16,16,16,0) 0%, rgba(16,16,16,0.5) 40%, rgba(16,16,16,0.78) 100%) !important;
    transform: none !important;
    z-index: 3 !important;
    box-sizing: border-box;
  }
  body.mp-restyle.home #sliders-container .slide-content-container .slide-content {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  body.mp-restyle.home #sliders-container .slide-content .heading,
  body.mp-restyle.home #sliders-container .slide-content .caption { margin: 0 !important; padding: 0 !important; }
  body.mp-restyle.home #sliders-container .slide-content .fusion-title-sc-wrapper {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  body.mp-restyle.home #sliders-container .slide-content .fusion-title {
    margin: 0 !important;
    --awb-font-size: inherit !important;
  }

  /* Headline: header nav font (PT Sans), smaller and bold */
  body.mp-restyle.home #sliders-container .slide-content .heading .fusion-title-heading {
    font-family: var(--mp-font) !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    color: #fff !important;
    text-shadow: 0 1px 10px rgba(0,0,0,0.35) !important;
    margin: 0 0 6px !important;
  }
  /* Body line: same font, 16px, clamped to 2 lines */
  body.mp-restyle.home #sliders-container .slide-content .caption .fusion-title-heading {
    font-family: var(--mp-font) !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: rgba(255,255,255,0.94) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4) !important;
    margin: 0 !important;
    max-height: calc(1.4em * 2) !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
  }

  /* Button: compact white pill under the text, nothing near it */
  body.mp-restyle.home #sliders-container .slide-content .buttons {
    margin: 14px 0 0 !important;
    padding: 0 !important;
    position: static !important;
    display: block !important;
  }
  body.mp-restyle.home #sliders-container .slide-content .buttons > div,
  body.mp-restyle.home #sliders-container .slide-content .buttons .fusion-button-wrapper { float: none !important; margin: 0 !important; padding: 0 !important; display: inline-block !important; }
  body.mp-restyle.home #sliders-container .slide-content .fusion-button {
    min-height: 44px !important;
    padding: 0 22px !important;
    font-size: 15px !important;
    line-height: 44px !important;
    margin: 0 !important;
  }

  /* Remove the empty cream gap between the banner and the "Matchmaker Survey" button:
     Avada's empty page title bar (92px) + the stray empty <p> + extra top padding */
  body.mp-restyle.home .avada-page-titlebar-wrapper { display: none !important; }
  body.mp-restyle.home #main { padding-top: 20px !important; }
  body.mp-restyle.home #main .post-content > p.wp-block-paragraph:first-child:empty { display: none !important; margin: 0 !important; }
  body.mp-restyle.home #main .post-content > .fusion-fullwidth:first-of-type .su-row { margin-top: 0 !important; }
}
@media (max-width: 800px) and (prefers-reduced-motion: reduce) {
  body.mp-restyle.home #sliders-container .tfs-slider .slides > li { transition: none !important; }
}

/* ==========================================================================
   14. Home button row v1.2 (added 2026-11-14)
   The Shortcodes Ultimate row under the banner ("Matchmaker Survey",
   "See how financing works" + "Skip to the application" sharing the middle
   column, "Make a Deposit"). Fixes the overlap Aaron reported: the old
   mp-cta.php scale(1.12) plus two buttons stacked in one 1/3 column.
   The column wrappers are flattened (display: contents) so every button is
   its own grid cell: same height, same font, 16px gap, no transforms.
   Works with 3 or 4 buttons and does not rely on mp-cta.php at all.
   Phones <=600px: one stacked column. 601-1099px: two columns. >=1100px: one row.
   ========================================================================== */
body.mp-restyle.home #main .post-content .su-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 8px auto 8px !important;
  padding: 0 !important;
}
body.mp-restyle.home #main .post-content .su-row::before,
body.mp-restyle.home #main .post-content .su-row::after,
body.mp-restyle.home #main .post-content .su-row > .su-column::before,
body.mp-restyle.home #main .post-content .su-row > .su-column::after,
body.mp-restyle.home #main .post-content .su-row .su-column-inner::before,
body.mp-restyle.home #main .post-content .su-row .su-column-inner::after { content: none !important; display: none !important; } /* clearfix pseudos would become grid cells */
body.mp-restyle.home #main .post-content .su-row > .su-column,
body.mp-restyle.home #main .post-content .su-row > .su-column > .su-column-inner { display: contents !important; }
body.mp-restyle.home #main .post-content .su-row .su-button-center {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-width: 0;
}
body.mp-restyle.home #main .post-content .su-row a.su-button,
body.mp-restyle.home #main .post-content .su-row a.su-button[href*="/credit-application"],
body.mp-restyle.home #main .post-content .su-row a.su-button[href*="#apply"] {
  width: 100% !important;
  max-width: none !important;
  min-height: var(--mp-tap) !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
}
/* Every non-Match-Maker button: the restyle white pill (also overrides any red/black from mp-cta.php) */
body.mp-restyle.home #main .post-content .su-row a.su-button:not([href*="/matchmaker"]),
body.mp-restyle.home #main .post-content .su-row a.su-button:not([href*="/matchmaker"]) span {
  background: var(--mp-paper) !important;
  color: var(--mp-ink) !important;
}
body.mp-restyle.home #main .post-content .su-row a.su-button:not([href*="/matchmaker"]) {
  border: 1px solid var(--mp-line) !important;
  box-shadow: none !important;
}
body.mp-restyle.home #main .post-content .su-row a.su-button:not([href*="/matchmaker"]):hover,
body.mp-restyle.home #main .post-content .su-row a.su-button:not([href*="/matchmaker"]):hover span {
  background: var(--mp-paper) !important;
  border-color: var(--mp-red) !important;
}
body.mp-restyle.home #main .post-content .su-row a.su-button span {
  display: block !important;
  width: 100%;
  padding: 10px 18px !important;
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em;
  text-align: center !important;
  white-space: normal !important;
  background: transparent;
  border: 0 !important;
  text-shadow: none !important;
}
body.mp-restyle.home #main .post-content .su-row a.su-button[href*="/matchmaker"] span { color: #fff !important; background: transparent !important; }
@media (min-width: 601px) {
  body.mp-restyle.home #main .post-content .su-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; gap: 16px; }
}
@media (min-width: 1100px) {
  body.mp-restyle.home #main .post-content .su-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    max-width: 1100px;
  }
}
