/*
Theme Name: Motors Dealership
Theme URI: https://example.com/
Author: OpenAI
Description: Responsive vehicle dealership theme with editable header and footer, vehicle inventory, search, contact inquiries, demo content, and WooCommerce vehicle sales integration.
Version: 3.2.6
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: motors-dealership
*/
:root{--motors-accent:#D4AF37;--motors-dark:#17191d;--motors-muted:#69717d;--motors-border:#e5e7eb;--motors-bg:#f5f6f8}*{box-sizing:border-box}body{margin:0;color:#20242a;background:#fff;font-family:Arial,Helvetica,sans-serif;line-height:1.6}a{color:var(--motors-accent);text-decoration:none}a:hover{opacity:.86}.container{width:min(1200px,92%);margin:auto}.site-topbar{background:#101216;color:#ddd;font-size:13px;padding:8px 0}.topbar-inner,.header-inner,.nav-inner,.footer-grid{display:flex;align-items:center;justify-content:space-between;gap:22px}.site-header{background:var(--motors-dark);color:#fff}.header-inner{min-height:88px;padding:14px 0}.custom-logo{max-height:65px;width:auto}.site-title{font-size:28px;font-weight:800;color:#fff;letter-spacing:1px}.site-description{margin:0;color:#bfc3c9;font-size:12px}.header-contact{font-weight:700;color:#fff}.main-navigation{background:#202329}.main-navigation ul{list-style:none;display:flex;gap:0;margin:0;padding:0}.main-navigation li a{display:block;padding:14px 17px;color:#fff;font-weight:700}.main-navigation li.current-menu-item a,.main-navigation li a:hover{background:var(--motors-accent)}.menu-toggle{display:none;background:var(--motors-accent);border:0;color:#fff;padding:10px 14px}.hero{background:linear-gradient(110deg,rgba(0,0,0,.82),rgba(0,0,0,.22)),url('../images/hero-placeholder.jpg') center/cover no-repeat,#343941;color:#fff;padding:85px 0}.hero h1{font-size:clamp(34px,5vw,58px);line-height:1.08;margin:0 0 18px;max-width:650px}.hero p{font-size:18px;max-width:600px}.button,.button-primary,input[type=submit]{display:inline-block;background:var(--motors-accent);color:#fff;border:0;padding:12px 20px;font-weight:700;border-radius:3px;cursor:pointer}.button-secondary{background:#252a31}.section{padding:48px 0}.section-heading{font-size:30px;margin:0 0 24px;color:#20242a}.vehicle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.vehicle-card{border:1px solid var(--motors-border);background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.05)}.vehicle-card img{display:block;width:100%;height:220px;object-fit:cover;background:#eee}.vehicle-card-body{padding:18px}.vehicle-card h2,.vehicle-card h3{margin:0 0 8px;font-size:20px}.vehicle-price{font-size:24px;font-weight:800;color:var(--motors-accent);margin:12px 0}.vehicle-specs{color:var(--motors-muted);font-size:14px}.search-panel{background:#fff;padding:20px;border-radius:4px;color:#222;max-width:850px;margin-top:25px}.search-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.search-fields input,.search-fields select,.contact-form input,.contact-form textarea{width:100%;padding:12px;border:1px solid #d7dbe0;border-radius:3px}.vehicle-layout-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:32px}.single-vehicle .vehicle-main-image{width:100%;height:auto;max-height:520px;object-fit:cover}.vehicle-gallery{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.vehicle-gallery img{width:100px;height:75px;object-fit:cover}.vehicle-details-panel{padding:24px;border:1px solid var(--motors-border)}.vehicle-details-panel h1{margin-top:0}.site-footer{background:#111419;color:#c5c9cf;padding:42px 0 18px}.site-footer h3{color:#fff;margin-top:0}.footer-grid{align-items:flex-start}.footer-column{flex:1}.footer-bottom{border-top:1px solid #34383f;margin-top:28px;padding-top:16px;font-size:13px}.footer-links{list-style:none;margin:0;padding:0}.footer-links li{margin:7px 0}.content-area{padding:40px 0;min-height:45vh}.notice{padding:14px;background:#f0f5ff;border-left:4px solid #356ac3;margin:15px 0}.woocommerce .products{margin-top:20px}.contact-form{display:grid;gap:12px}.contact-form textarea{min-height:130px}.pagination{margin:30px 0}.pagination a,.pagination span{padding:8px 12px;border:1px solid var(--motors-border);margin-right:5px}@media(max-width:800px){.vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-vehicle{grid-template-columns:1fr}.search-fields{grid-template-columns:repeat(2,1fr)}.footer-grid{flex-wrap:wrap}.main-navigation ul{display:none;flex-direction:column}.main-navigation.is-open ul{display:flex}.menu-toggle{display:inline-block}.topbar-inner{flex-wrap:wrap}.header-inner{flex-wrap:wrap}}@media(max-width:520px){.vehicle-grid{grid-template-columns:1fr}.search-fields{grid-template-columns:1fr}.hero{padding:55px 0}.site-title{font-size:23px}}

/* V1.9: single vehicle pages use the full desktop width and a single-column layout. */
.single-vehicle-page .vehicle-page-container{width:96%;max-width:1600px}
.vehicle-single-full{display:block;width:100%;max-width:none}
.vehicle-single-heading h1{font-size:clamp(30px,4vw,46px);margin:0 0 24px}
.vehicle-photo-section{width:100%;margin-bottom:28px}
.vehicle-single-full .vehicle-main-image{display:block;width:100%;height:auto;max-height:760px;object-fit:contain;background:#f1f2f4}
.vehicle-no-photo{width:100%;min-height:300px;display:flex;align-items:center;justify-content:center;background:#f1f2f4;color:#626a75;font-size:20px;font-weight:700}
.vehicle-single-full .vehicle-gallery{margin-top:14px}
.vehicle-single-full .vehicle-gallery img{width:140px;height:100px;object-fit:cover}
.vehicle-description{font-size:16px;margin:28px 0}
.vehicle-details-full{width:100%;margin:28px 0;padding:26px;background:#f8f9fa}
.vehicle-spec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}
.vehicle-spec-grid>div{padding:14px;background:#fff;border:1px solid var(--motors-border);display:flex;flex-direction:column;gap:4px}
.vehicle-spec-grid strong{color:#69717d;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.vehicle-spec-grid span{font-size:17px;font-weight:700}
.vehicle-contact-full{width:100%;margin:30px 0}
.vehicle-contact-full .contact-form{max-width:900px;grid-template-columns:repeat(2,minmax(0,1fr))}
.vehicle-contact-full .contact-form textarea,.vehicle-contact-full .contact-form input[type=submit]{grid-column:1/-1}
@media(max-width:800px){.vehicle-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-contact-full .contact-form{grid-template-columns:1fr}}
@media(max-width:520px){.vehicle-spec-grid{grid-template-columns:1fr}.single-vehicle-page .vehicle-page-container{width:92%}}


/* V2.2 rebuild: Site Identity logo slider and reliable inventory layouts. */
.site-header{background:var(--motors-header-bg,#000) !important;color:#fff !important}
.site-header .site-title,.site-header .header-contact,.site-header .site-description{color:#fff}
.site-branding .custom-logo-link{display:inline-block;max-width:100%;line-height:0}
.site-branding .custom-logo{height:auto;max-height:none;object-fit:contain}
.vehicle-archive-page .vehicle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.vehicle-card{min-width:0;overflow:hidden;border-radius:3px}
.vehicle-card-image{display:block;background:#f0f1f3}
.vehicle-card-image img{display:block;width:100%;height:230px;object-fit:cover}
.vehicle-card-no-photo{height:230px;display:flex;align-items:center;justify-content:center;background:#e8eaed;color:#5f6670;font-weight:700}
.vehicle-card-body{display:flex;flex-direction:column;align-items:flex-start;min-height:190px}
.vehicle-card-body .button{margin-top:auto}
.vehicle-archive-page .pagination{display:block;margin:30px 0}
.vehicle-archive-page .pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.vehicle-archive-page .pagination a,.vehicle-archive-page .pagination span{display:inline-block;padding:8px 12px;border:1px solid var(--motors-border)}
.single-vehicle-page .vehicle-page-container{width:96%;max-width:1600px}
.single-vehicle-page .vehicle-single-full{display:block;width:100%;max-width:none}
.single-vehicle-page .vehicle-photo-section{width:100%;margin:0 0 26px}
.single-vehicle-page .vehicle-main-image{display:block;width:100%;height:auto;max-height:760px;object-fit:contain;background:#f1f2f4}
.single-vehicle-page .vehicle-no-photo{width:100%;min-height:300px;display:flex;align-items:center;justify-content:center;background:#f1f2f4;color:#626a75;font-size:18px;font-weight:700}
.single-vehicle-page .vehicle-single-heading h1{font-size:clamp(30px,4vw,46px);margin:0 0 18px}
.single-vehicle-page .vehicle-details-full{width:100%;margin:22px 0;padding:26px;background:#f8f9fa}
.single-vehicle-page .vehicle-spec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}
.single-vehicle-page .vehicle-spec-grid>div{padding:14px;background:#fff;border:1px solid var(--motors-border);display:flex;flex-direction:column;gap:4px}
.single-vehicle-page .vehicle-spec-grid strong{color:#69717d;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.single-vehicle-page .vehicle-spec-grid span{font-size:17px;font-weight:700}
.single-vehicle-page .vehicle-description{font-size:16px;margin:28px 0}
.single-vehicle-page .vehicle-contact-full{width:100%;margin:30px 0}
.single-vehicle-page .vehicle-contact-full .contact-form{max-width:900px;grid-template-columns:repeat(2,minmax(0,1fr))}
.single-vehicle-page .vehicle-contact-full .contact-form textarea,.single-vehicle-page .vehicle-contact-full .contact-form button{grid-column:1/-1}
@media(max-width:800px){.vehicle-archive-page .vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-vehicle-page .vehicle-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-vehicle-page .vehicle-contact-full .contact-form{grid-template-columns:1fr}}
@media(max-width:520px){.vehicle-archive-page .vehicle-grid{grid-template-columns:1fr}.single-vehicle-page .vehicle-page-container{width:92%}.single-vehicle-page .vehicle-spec-grid{grid-template-columns:1fr}}


/* V2.3 desktop inventory refresh: clean cards, consistent photo windows and aligned details. */
.inventory-page{background:#f4f6f8;padding:48px 0 64px;}
.inventory-container{width:min(1380px,94%);}
.inventory-page h1{font-size:clamp(32px,3vw,44px);line-height:1.12;margin:0 0 22px;color:#17191d;font-weight:800;}
.inventory-page .search-panel{max-width:none;margin:0 0 30px;padding:18px;background:#fff;border:1px solid #e3e6eb;border-radius:8px;box-shadow:0 4px 18px rgba(20,28,38,.045);}
.inventory-page .search-fields{grid-template-columns:2fr 1fr 1fr auto;gap:12px;}
.inventory-page .search-fields input{min-height:48px;border:1px solid #d9dee5;border-radius:5px;font-size:15px;}
.inventory-page .search-fields .button{min-height:48px;padding:12px 24px;border-radius:5px;white-space:nowrap;}
.vehicle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:stretch;}
.vehicle-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e2e6eb;border-radius:9px;background:#fff;box-shadow:0 5px 20px rgba(22,30,40,.055);transition:transform .18s ease,box-shadow .18s ease;}
.vehicle-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(22,30,40,.11);}
.vehicle-card-image{display:block;position:relative;overflow:hidden;aspect-ratio:16/10;background:#e9edf1;}
.vehicle-card-image img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;transition:transform .25s ease;}
.vehicle-card:hover .vehicle-card-image img{transform:scale(1.025);}
.vehicle-card-no-photo{display:flex;width:100%;height:100%;min-height:190px;align-items:center;justify-content:center;color:#737d89;font-size:15px;font-weight:700;}
.vehicle-card-body{display:flex;flex:1;flex-direction:column;padding:20px 21px 21px;}
.vehicle-card h2,.vehicle-card h3{font-size:20px;line-height:1.3;font-weight:750;margin:0 0 7px;color:#20242a;}
.vehicle-card h3 a{color:#20242a;}.vehicle-card h3 a:hover{color:#D4AF37;}
.vehicle-card .vehicle-price{font-size:25px;line-height:1.2;font-weight:800;color:#D4AF37;margin:5px 0 14px;}
.vehicle-card-specs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px;min-height:34px;}
.vehicle-card-specs span{display:inline-flex;align-items:center;padding:5px 9px;border-radius:4px;background:#f1f3f6;color:#4f5966;font-size:12px;line-height:1.2;font-weight:650;}
.vehicle-card-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:auto;padding:12px 15px;border-radius:5px;background:#222831;color:#fff;font-size:14px;font-weight:750;}
.vehicle-card-button:hover{background:#D4AF37;color:#fff;opacity:1;}.vehicle-card-button span{font-size:19px;line-height:1;}
.inventory-page .pagination{margin:38px 0 0;}.inventory-page .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid #dce1e7;border-radius:5px;background:#fff;color:#333;font-weight:700;}.inventory-page .page-numbers.current{background:#D4AF37;border-color:#D4AF37;color:#fff;}
@media(min-width:1500px){.vehicle-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;}}
@media(max-width:1050px){.vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}.inventory-page .search-fields{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.inventory-page{padding:32px 0 44px;}.inventory-container{width:92%;}.vehicle-grid{grid-template-columns:1fr;gap:18px;}.inventory-page .search-fields{grid-template-columns:1fr;}.vehicle-card-body{padding:17px;}.inventory-page h1{font-size:31px;}}

/* V2.5: Force the individual vehicle detail page into one full-width vertical column.
   This overrides legacy two-column theme rules and third-party layout wrappers. */
body.single-vehicle .single-vehicle-page,
body.single-vehicle .single-vehicle-page .vehicle-page-container,
body.single-vehicle .single-vehicle-page .vehicle-single-full {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-column: 1 / -1 !important;
}
body.single-vehicle .single-vehicle-page .vehicle-page-container {
  padding-left: clamp(16px, 2.5vw, 40px);
  padding-right: clamp(16px, 2.5vw, 40px);
}
body.single-vehicle .single-vehicle-page .vehicle-single-full > section,
body.single-vehicle .single-vehicle-page .vehicle-single-full > header {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  grid-column: 1 / -1 !important;
}
body.single-vehicle .single-vehicle-page .vehicle-details-full,
body.single-vehicle .single-vehicle-page .vehicle-description,
body.single-vehicle .single-vehicle-page .vehicle-contact-full {
  box-sizing: border-box;
}
body.single-vehicle .single-vehicle-page .vehicle-main-image {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 760px !important;
  object-fit: contain !important;
}
@media (min-width: 801px) {
  body.single-vehicle .single-vehicle-page .vehicle-single-full {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  body.single-vehicle .single-vehicle-page .vehicle-single-full > * {
    flex: 0 0 auto !important;
    width: 100% !important;
  }
}


/* V2.6: individual vehicle pages are a full-width, single vertical page. */
body.single-vehicle main.single-vehicle-page,
body.single-vehicle .single-vehicle-page {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 34px 0 56px !important;
  float: none !important;
  clear: both !important;
  overflow: visible !important;
}
body.single-vehicle .single-vehicle-page > .vehicle-page-container,
body.single-vehicle .single-vehicle-page .vehicle-page-container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 clamp(18px, 3vw, 56px) !important;
  float: none !important;
}
body.single-vehicle .single-vehicle-page .vehicle-single-full {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  grid-template-columns: 1fr !important;
}
body.single-vehicle .single-vehicle-page .vehicle-single-full > .vehicle-photo-section,
body.single-vehicle .single-vehicle-page .vehicle-single-full > .vehicle-single-heading,
body.single-vehicle .single-vehicle-page .vehicle-single-full > .vehicle-details-full,
body.single-vehicle .single-vehicle-page .vehicle-single-full > .vehicle-description,
body.single-vehicle .single-vehicle-page .vehicle-single-full > .vehicle-contact-full {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: both !important;
  grid-column: 1 / -1 !important;
}
body.single-vehicle .single-vehicle-page .vehicle-main-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 820px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}
body.single-vehicle .single-vehicle-page .vehicle-single-heading h1 {
  margin: 0 !important;
  font-size: clamp(30px, 3.2vw, 48px) !important;
  line-height: 1.15 !important;
}
body.single-vehicle .single-vehicle-page .vehicle-details-full {
  padding: clamp(20px, 2.5vw, 36px) !important;
}
body.single-vehicle .single-vehicle-page .vehicle-description,
body.single-vehicle .single-vehicle-page .vehicle-contact-full {
  font-size: 16px;
  line-height: 1.7;
}
body.single-vehicle .single-vehicle-page .vehicle-contact-full .contact-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.single-vehicle .single-vehicle-page .vehicle-contact-full .contact-form > * {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
}
@media (max-width: 800px) {
  body.single-vehicle .single-vehicle-page > .vehicle-page-container,
  body.single-vehicle .single-vehicle-page .vehicle-page-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  body.single-vehicle .single-vehicle-page .vehicle-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 520px) {
  body.single-vehicle .single-vehicle-page .vehicle-spec-grid {
    grid-template-columns: 1fr !important;
  }
}


/* V2.8: enforce a true full-page, single-column vehicle detail layout,
   including when another stylesheet adds sidebar/grid rules. */
body.single-vehicle,
body.single-vehicle #page,
body.single-vehicle .site,
body.single-vehicle #content,
body.single-vehicle .site-content,
body.single-vehicle .content-area,
body.single-vehicle main.single-vehicle-page {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
}
body.single-vehicle #secondary,
body.single-vehicle .sidebar,
body.single-vehicle aside.widget-area {
  display: none !important;
}
body.single-vehicle .vehicle-page-container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.single-vehicle .vehicle-single-full {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}
body.single-vehicle .vehicle-single-full > * {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* V2.9: avoid collision with WordPress's body.single-vehicle class.
   Individual vehicle pages must remain a normal full-width document flow. */
body.single-vehicle {
  display: block !important;
  grid-template-columns: none !important;
  grid-auto-flow: row !important;
}
body.single-vehicle > .site-topbar,
body.single-vehicle > .site-header,
body.single-vehicle > .main-navigation,
body.single-vehicle > main.single-vehicle-page,
body.single-vehicle > .site-footer {
  grid-column: auto !important;
  width: 100% !important;
  max-width: none !important;
}

/* v3.2 seamless black and accessible responsive navigation */
:root{--motors-bg:#000;--motors-dark:#000;--motors-muted:#c2c2c2;--motors-border:#363636}
html,body,body .site-topbar,body .site-header,body .main-navigation,body .site-footer,body main,body .content-area,body .section,body .hero{background-color:#000;color:#f5f5f5}
body .hero{background-image:linear-gradient(110deg,#000,#17120a)}
body .section-heading,body .vehicle-card h2,body .vehicle-card h3,body .vehicle-details-panel h1,body .vehicle-details-panel h2,body .vehicle-description h2,body .vehicle-contact-full h2{color:#fff}
body .vehicle-card,body .vehicle-details-full,body .vehicle-details-panel,body .vehicle-spec-grid>div,body .search-panel{background:#111;color:#fff;border-color:#343434}
body .vehicle-spec-grid strong,body .vehicle-specs{color:#bbb}
body .vehicle-no-photo,body .vehicle-single-full .vehicle-main-image{background:#181818;color:#ddd}
body .main-navigation .nav-inner>ul{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0}
body .main-navigation .nav-inner>ul>li{display:block}
body .main-navigation li a{color:var(--motors-nav-text,#fff)}
body .main-navigation li a:hover,body .main-navigation li.current-menu-item>a{color:#000;background:var(--motors-nav-hover,#d4af37)}
body .site-topbar,body .site-header,body .main-navigation{background:var(--motors-header-bg,#000)}
body .site-footer{background:var(--motors-footer-bg,#000);color:var(--motors-footer-text,#ddd)}
body .site-footer a{color:var(--motors-footer-link,#d4af37)}
body .header-inner{min-height:var(--motors-header-height,88px)}
body .site-footer{padding-top:var(--motors-footer-spacing,42px)}
body .menu-toggle{color:#000}
@media(max-width:800px){body .main-navigation .nav-inner>ul{display:none;flex-direction:column;align-items:stretch;width:100%}body .main-navigation.is-open .nav-inner>ul{display:flex}body .main-navigation .nav-inner{display:block}body .menu-toggle{display:inline-block;margin:8px 0}body .main-navigation li a{padding:12px 15px}}
.motors-gallery-admin{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.motors-gallery-admin li{position:relative;border:1px solid #bbb;padding:5px;background:#fff;cursor:move}.motors-gallery-admin img{width:110px;height:85px;object-fit:cover;display:block}.motors-gallery-admin .remove{position:absolute;top:0;right:0;background:#b32d2e;color:white;border:0;cursor:pointer}.motors-gallery-admin li.is-dragging{opacity:.4}

/* v3.2.1 header color consistency: override legacy hardcoded backgrounds. */
html body .site-topbar,html body .site-header,html body .main-navigation{background-color:var(--motors-header-bg,#000) !important;background-image:none !important;}
html body .site-header .header-inner,html body .main-navigation .nav-inner,html body .site-topbar .topbar-inner{background-color:transparent !important;background-image:none !important;}
@media(max-width:800px){html body .main-navigation.is-open{background-color:var(--motors-mobile-bg,var(--motors-header-bg,#000)) !important;}}

/* v3.2.3: readable featured/inventory card text on dark backgrounds. */
html body .vehicle-card .vehicle-card-body,
html body .vehicle-card .vehicle-card-body h2,
html body .vehicle-card .vehicle-card-body h3,
html body .vehicle-card .vehicle-card-body h2 a,
html body .vehicle-card .vehicle-card-body h3 a { color:#fff !important; }
html body .vehicle-card .vehicle-card-body h2 a:hover,
html body .vehicle-card .vehicle-card-body h3 a:hover { color:#d4af37 !important; }
html body .vehicle-card .vehicle-price,
html body .vehicle-card .vehicle-price * { color:#d4af37 !important; }
html body .vehicle-card .vehicle-card-specs span { background:#252525 !important;color:#f0f0f0 !important; }
html body .vehicle-card .vehicle-card-button { background:#d4af37 !important;color:#000 !important; }
html body .vehicle-card .vehicle-card-button:hover { background:#f0cd62 !important;color:#000 !important; }
html body .vehicle-card .vehicle-card-no-photo {background:#1c1c1c;color:#eee;}
html body .vehicle-single-heading h1,
html body .vehicle-description,
html body .vehicle-description p,
html body .vehicle-description h2,
html body .vehicle-details-full,
html body .vehicle-details-full span {color:#fff !important;}

/* v3.2.4: high-contrast vehicle details and specifications on black. */
html body.single-vehicle .single-vehicle-page .vehicle-single-heading h1,
html body.single-vehicle .single-vehicle-page .vehicle-details-full h2,
html body.single-vehicle .single-vehicle-page .vehicle-description h2,
html body.single-vehicle .single-vehicle-page .vehicle-contact-full h2 {color:#fff !important;}
html body.single-vehicle .single-vehicle-page .vehicle-spec-grid > div {background:#161616 !important;border-color:#444 !important;color:#fff !important;}
html body.single-vehicle .single-vehicle-page .vehicle-spec-grid > div strong {color:#d4af37 !important;opacity:1 !important;}
html body.single-vehicle .single-vehicle-page .vehicle-spec-grid > div span {color:#fff !important;opacity:1 !important;}
html body.single-vehicle .single-vehicle-page .vehicle-details-full .vehicle-price,
html body.single-vehicle .single-vehicle-page .vehicle-details-full .vehicle-price * {color:#d4af37 !important;}
html body.single-vehicle .single-vehicle-page .vehicle-description,
html body.single-vehicle .single-vehicle-page .vehicle-description p,
html body.single-vehicle .single-vehicle-page .vehicle-description li,
html body.single-vehicle .single-vehicle-page .vehicle-description strong,
html body.single-vehicle .single-vehicle-page .vehicle-description span,
html body.single-vehicle .single-vehicle-page .vehicle-description td {color:#f5f5f5 !important;opacity:1 !important;}
html body.single-vehicle .single-vehicle-page .vehicle-description a {color:#d4af37 !important;}
html body.single-vehicle .single-vehicle-page .vehicle-description th {color:#d4af37 !important;}
html body.single-vehicle .single-vehicle-page .vehicle-description table {border-color:#444 !important;}

/* Racing typography for the homepage title, including saved page content. */
@font-face {
    font-family: "Barlow Condensed";
    src: url("assets/fonts/barlow-condensed-latin-800-italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 800;
    font-display: swap;
}

#primary > .hero h1,
#primary > .motors-home-editor-content h1 {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-style: italic;
    font-weight: 800;
}
