/* ==========================================================================
   REX'S AUTO SALES · SiteFLEX REDESIGN · REXS-01 · v1.2 (13 Nov 2026)
   v1.2: About Us page content (§13)
   v1.1: page banners (§12), popular-vehicles-sections padding (§09)
   ADD TO: DESIGN > Custom CSS, at the END of any existing rules.

   Based on the RS site layout (rexsautosales.com), with a cleaner design:
   charcoal / black bands kept, logo red (#EA011F) added as the accent.

   SCOPE
   - Every custom block (header, homepage blocks, footer) has the root
     class "cw-rexs", and every rule for them starts with ".cw-rexs".
   - Sections 03, 06 and 09 restyle SiteFLEX modules (navigation, Inventory
     Search, SEO named links). Those modules print OUTSIDE our blocks, so
     their rules are scoped to the module's own class instead. They only
     change the look; module markup, links and scripts stay untouched.
   - No CSS variables, no :has(). Bootstrap 5 does the grid.
   - !important only where a Bootstrap utility on the module already uses
     !important (noted inline).

   FONTS: set DESIGN > Fonts to Montserrat (headings) + Open Sans (body),
   the same fonts as the RS site. The stacks below fall back to Arial.

   CONTENTS
   00 Base                    06 Inventory Search module (skin)
   01 Buttons + headings      07 Featured vehicles (head + View All)
   02 Header: promo + lots    08 About + credit panel
   03 Navigation (module)     09 Popular links (module skin) + body styles
   04 Hero                    10 Footer
   05 Search band heading     12 Page banners (internal pages)
                              13 About Us page content
                              11 Reduced motion
   ========================================================================== */

/* REXS START */

/* 00 BASE ----------------------------------------------------------------- */
.cw-rexs {
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.cw-rexs h1,
.cw-rexs h2,
.cw-rexs h3 {
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color: inherit;
}

.cw-rexs p { margin: 0; }
.cw-rexs a { text-decoration: none; }
.cw-rexs img { max-width: 100%; height: auto; }

.cw-rexs a:focus-visible,
.cw-rexs button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* 01 BUTTONS + SECTION HEADINGS ------------------------------------------- */
.cw-rexs .cw-rexs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border: 2px solid #ea011f;
  border-radius: 0;
  background: #ea011f;               /* white text 4.6:1 */
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.cw-rexs .cw-rexs-btn i { font-size: 12px; transition: transform .2s ease; }

.cw-rexs .cw-rexs-btn:hover,
.cw-rexs .cw-rexs-btn:focus-visible {
  border-color: #c8001a;
  background: #c8001a;
  color: #ffffff;
}

.cw-rexs .cw-rexs-btn:hover i,
.cw-rexs .cw-rexs-btn:focus-visible i { transform: translateX(3px); }

/* Outline: on photos and dark bands */
.cw-rexs .cw-rexs-btn--ghost {
  border-color: rgba(255, 255, 255, .8);
  background: transparent;
}

.cw-rexs .cw-rexs-btn--ghost:hover,
.cw-rexs .cw-rexs-btn--ghost:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #141414;
}

/* Dark: on white bands (the RS "View All" button) */
.cw-rexs .cw-rexs-btn--dark {
  border-color: #262626;
  background: #262626;
}

.cw-rexs .cw-rexs-btn--dark:hover,
.cw-rexs .cw-rexs-btn--dark:focus-visible {
  border-color: #ea011f;
  background: #ea011f;
}

/* White: on the red credit panel */
.cw-rexs .cw-rexs-btn--white {
  border-color: #ffffff;
  background: #ffffff;
  color: #141414;
}

.cw-rexs .cw-rexs-btn--white:hover,
.cw-rexs .cw-rexs-btn--white:focus-visible {
  border-color: #141414;
  background: #141414;
  color: #ffffff;
}

/* RS heading style (uppercase, wide letter-spacing), a little heavier,
   with a short red rule underneath */
.cw-rexs .cw-rexs-eyebrow {
  margin-bottom: 10px;
  color: #ff4d5e;                    /* 4.7:1 on #262626 */
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-title {
  font-size: clamp(24px, 1.2rem + 1.4vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 18px;
  background: #ea011f;
}

/* 02 HEADER: PROMO STRIP + LOCATION BAND (DESIGN > Header) ----------------- */
.cw-rexs.cw-rexs-header { background: #262626; }

.cw-rexs .cw-rexs-promo {
  padding: 9px 0;
  background: #ea011f;
  font-size: 14px;
  line-height: 1.4;
}

.cw-rexs .cw-rexs-promo__text i { margin-right: 6px; }

.cw-rexs .cw-rexs-promo__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.cw-rexs .cw-rexs-promo__link:hover,
.cw-rexs .cw-rexs-promo__link:focus-visible { border-bottom-color: #ffffff; color: #ffffff; }

.cw-rexs .cw-rexs-locbar {
  padding: 26px 0;
  background: #393939;                /* RS header colour */
}

.cw-rexs .cw-rexs-logo { display: inline-block; line-height: 0; }

.cw-rexs .cw-rexs-logo img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

.cw-rexs .cw-rexs-loc { text-align: center; }

.cw-rexs .cw-rexs-loc__name {
  margin-bottom: 8px;
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-loc__addr {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #d6d6d6;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-loc__addr i { margin-top: 3px; color: #ff4d5e; }

.cw-rexs .cw-rexs-loc__addr:hover,
.cw-rexs .cw-rexs-loc__addr:focus-visible { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }

.cw-rexs .cw-rexs-loc__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease;
}

.cw-rexs .cw-rexs-loc__phone i { font-size: 14px; color: #ff4d5e; transition: color .2s ease; }

.cw-rexs .cw-rexs-loc__phone:hover,
.cw-rexs .cw-rexs-loc__phone:focus-visible {
  border-color: #ea011f;
  background: #ea011f;
  color: #ffffff;
}

.cw-rexs .cw-rexs-loc__phone:hover i,
.cw-rexs .cw-rexs-loc__phone:focus-visible i { color: #ffffff; }

@media (max-width: 991.98px) {
  .cw-rexs .cw-rexs-locbar { padding: 20px 0 22px; }
  .cw-rexs .cw-rexs-logo img { max-width: 240px; }
}

@media (max-width: 575.98px) {
  .cw-rexs .cw-rexs-promo { font-size: 13px; }
  .cw-rexs .cw-rexs-loc__name { font-size: 12px; letter-spacing: .06em; }
  .cw-rexs .cw-rexs-loc__addr { font-size: 12px; letter-spacing: 0; }
  .cw-rexs .cw-rexs-loc__addr i { display: none; }
  .cw-rexs .cw-rexs-loc__addr span { text-align: center; }
  .cw-rexs .cw-rexs-loc__phone { width: 100%; padding: 0 8px; font-size: 15px; }
}

/* 03 NAVIGATION (SiteFLEX navigation module, site-wide) --------------------
   Not inside .cw-rexs: the module prints its own <nav>. Menu items,
   dropdowns, counts and the mobile toggle stay managed by the menu editor.
   Black bar, centred uppercase links, red rule under the current item.
   ------------------------------------------------------------------------- */
header.header .navbar {
  padding: 0;
  border-top: 1px solid #333333;
  background-color: #141414 !important;   /* overrides Bootstrap .bg-primary (!important utility) */
  background-image: none;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

/* The logo already sits in the location band */
header.header .navbar .navbar-brand { display: none; }

header.header .navbar .navbar-nav .nav-link {
  position: relative;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s ease;
}

header.header .navbar .navbar-nav .nav-link:hover,
header.header .navbar .navbar-nav .nav-link:focus-visible,
header.header .navbar .navbar-nav .nav-link.show { color: #ffffff; }

header.header .navbar :focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -4px;
  box-shadow: none;
}

header.header .navbar .dropdown-menu {
  min-width: 250px;
  margin-top: 0;
  padding: 8px 0;
  border: 0;
  border-top: 2px solid #ea011f;
  border-radius: 0;
  background: #1f1f1f;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .7);
}

header.header .navbar .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 20px;
  color: #e6e6e6;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  transition: background-color .2s ease, color .2s ease;
}

header.header .navbar .dropdown-item:hover,
header.header .navbar .dropdown-item:focus-visible,
header.header .navbar .dropdown-item.active {
  background: #ea011f;
  color: #ffffff;
}

header.header .navbar .dropdown-menu .badge {
  min-width: 26px;
  padding: 3px 6px;
  border-radius: 0;
  background: #333333;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
}

/* "(current)" text: hidden visually, still read by screen readers */
header.header .navbar .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 992px) {
  header.header .navbar .navbar-collapse { justify-content: center; }

  header.header .navbar .navbar-nav > .nav-item > .nav-link {
    padding: 18px 22px;
  }

  /* Red rule under the hovered / current item (::after is the caret) */
  header.header .navbar .navbar-nav > .nav-item > .nav-link::before {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 10px;
    left: 22px;
    height: 2px;
    background: #ea011f;
    transform: scaleX(0);
    transition: transform .25s ease;
  }

  header.header .navbar .navbar-nav > .nav-item > .nav-link:hover::before,
  header.header .navbar .navbar-nav > .nav-item > .nav-link.show::before,
  header.header .navbar .navbar-nav > .nav-item.active > .nav-link::before,
  header.header .navbar .navbar-nav > .nav-item > .nav-link.active::before { transform: scaleX(1); }
}

@media (max-width: 991.98px) {
  header.header .navbar > .container { justify-content: center; }

  header.header .navbar .navbar-toggler {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
  }

  header.header .navbar .navbar-toggler .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 2px 0;
    background: #ffffff;
  }

  header.header .navbar .navbar-collapse { border-top: 1px solid #333333; }

  header.header .navbar .navbar-nav > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 4px;
    border-bottom: 1px solid #2a2a2a;
  }

  header.header .navbar .dropdown-menu {
    margin: 0 0 8px;
    border-top: 0;
    border-left: 2px solid #ea011f;
    box-shadow: none;
  }
}

/* 04 HERO (homepage Block A) ---------------------------------------------- */
.cw-rexs.cw-rexs-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 62vh, 640px);
  padding: 80px 0;
  overflow: hidden;
  background: #141414;               /* shows while the photo loads */
}

.cw-rexs .cw-rexs-hero__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

/* Darkens the left side behind the text; the car stays bright */
.cw-rexs .cw-rexs-hero__shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, .9) 0%, rgba(20, 20, 20, .7) 38%, rgba(20, 20, 20, .15) 70%, rgba(20, 20, 20, 0) 100%),
    linear-gradient(0deg, rgba(20, 20, 20, .55) 0%, rgba(20, 20, 20, 0) 35%);
}

.cw-rexs .cw-rexs-hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
}

.cw-rexs .cw-rexs-hero__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid #ea011f;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-hero__title {
  font-size: clamp(32px, 1.2rem + 3.6vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-hero__title span { display: block; color: #ff4d5e; }

.cw-rexs .cw-rexs-hero__lead {
  max-width: 520px;
  margin-top: 20px;
  color: #e6e6e6;
  font-size: clamp(16px, .95rem + .3vw, 19px);
  line-height: 1.6;
}

.cw-rexs .cw-rexs-hero__actions { margin-top: 32px; }

@media (max-width: 767.98px) {
  /* Phones: photo across the top, text below it on the dark background */
  .cw-rexs.cw-rexs-hero {
    align-items: flex-end;
    min-height: 0;
    padding: 250px 0 48px;
  }

  .cw-rexs .cw-rexs-hero__img {
    height: 300px;
    object-position: 62% 60%;
  }

  .cw-rexs .cw-rexs-hero__shade {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0, rgba(20, 20, 20, 0) 150px, #141414 300px);
  }

  .cw-rexs .cw-rexs-hero__actions .cw-rexs-btn { width: 100%; }
}

/* 05 SEARCH BAND HEADING (end of Block A) --------------------------------- */
.cw-rexs.cw-rexs-searchhead {
  padding: 56px 0 8px;
  background: #262626;
  text-align: center;
}

.cw-rexs.cw-rexs-searchhead .cw-rexs-rule { margin-right: auto; margin-left: auto; }

/* 06 INVENTORY SEARCH (SiteFLEX module, directly after Block A) -------------
   Module markup: section.inventory-search-module > .container >
   .form__wrapper > .search__input (label.form-label + select.form-select)
   × fields + a.btn. Selects, options, Make → Model script and the search
   link are untouched.
   ------------------------------------------------------------------------- */
section.inventory-search-module {
  margin: 0 !important;              /* overrides .my-4 (!important utility) */
  padding: 28px 0 64px;
  background: #262626;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

section.inventory-search-module .form__wrapper {
  display: grid !important;          /* overrides .d-flex (!important utility) */
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(190px, .9fr);
  gap: 16px 18px;
  align-items: end;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

section.inventory-search-module .form__wrapper > * {
  flex: none;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

section.inventory-search-module .form-label {
  display: block;
  margin: 0 0 6px;
  color: #cfcfcf;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

section.inventory-search-module .form-select {
  width: 100%;
  height: 52px;
  padding: 0 40px 0 16px;
  border: 1px solid #ffffff;
  border-radius: 0;
  background-color: #ffffff;
  box-shadow: none;
  color: #1f1f1f;
  font-size: 16px;                   /* 16px stops iOS zooming into the field */
  cursor: pointer;
}

section.inventory-search-module .form-select:focus {
  border-color: #ea011f;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(234, 1, 31, .45);
}

section.inventory-search-module .form-select:disabled {
  background-color: #e3e3e3;
  color: #555555;
  cursor: not-allowed;
  opacity: 1;
}

section.inventory-search-module .form__wrapper > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border: 2px solid #ea011f;
  border-radius: 0;
  background: #ea011f;
  box-shadow: none;
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease;
}

section.inventory-search-module .form__wrapper > .btn:hover,
section.inventory-search-module .form__wrapper > .btn:focus-visible {
  border-color: #c8001a;
  background: #c8001a;
  color: #ffffff;
}

section.inventory-search-module .form__wrapper > .btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  section.inventory-search-module .form__wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section.inventory-search-module .form__wrapper > .btn { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
  section.inventory-search-module { padding: 20px 0 48px; }
  section.inventory-search-module .form__wrapper { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* 07 FEATURED VEHICLES (Block B heading, Block C "View All") --------------- */
.cw-rexs.cw-rexs-featured-head {
  padding: 72px 0 36px;
  background: #ffffff;
  color: #1f1f1f;
  text-align: center;
}

.cw-rexs.cw-rexs-featured-head .cw-rexs-eyebrow { color: #c8001a; }   /* 6:1 on white */
.cw-rexs.cw-rexs-featured-head .cw-rexs-rule { margin-right: auto; margin-left: auto; }

.cw-rexs .cw-rexs-featured-foot {
  padding: 36px 0 76px;
  background: #ffffff;
  text-align: center;
}

@media (max-width: 575.98px) {
  .cw-rexs.cw-rexs-featured-head { padding: 52px 0 28px; }
  .cw-rexs .cw-rexs-featured-foot { padding: 28px 0 56px; }
}

/* 08 ABOUT + CREDIT PANEL (Block C) --------------------------------------- */
.cw-rexs .cw-rexs-about {
  padding: 84px 0;
  background: #262626;
}

/* Red panel: replaces the "Ask About Our Credit Approval" image */
.cw-rexs .cw-rexs-credit {
  position: relative;
  padding: 44px 40px;
  overflow: hidden;
  background: #ea011f;
}

.cw-rexs .cw-rexs-credit__icon {
  position: absolute;
  right: -18px;
  bottom: -30px;
  color: rgba(255, 255, 255, .12);
  font-size: 180px;
  line-height: 1;
  pointer-events: none;
}

.cw-rexs .cw-rexs-credit__label {
  position: relative;
  margin-bottom: 10px;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-credit__title {
  position: relative;
  font-size: clamp(26px, 1.2rem + 1.6vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-credit__text {
  position: relative;
  margin-top: 16px;
  font-size: 16px;
}

.cw-rexs .cw-rexs-credit__actions { position: relative; margin-top: 28px; }

.cw-rexs .cw-rexs-credit__call {
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.cw-rexs .cw-rexs-credit__call:hover,
.cw-rexs .cw-rexs-credit__call:focus-visible { border-bottom-color: #ffffff; color: #ffffff; }

.cw-rexs .cw-rexs-about__text p {
  color: #d6d6d6;                    /* 10:1 on #262626 */
  font-size: 16px;
  line-height: 1.75;
}

.cw-rexs .cw-rexs-about__text p + p { margin-top: 14px; }
.cw-rexs .cw-rexs-about .cw-rexs-rule { margin-bottom: 24px; }

.cw-rexs .cw-rexs-checks { margin: 26px 0 30px; }

.cw-rexs .cw-rexs-checks li > span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #3a3a3a;
  background: #1f1f1f;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.cw-rexs .cw-rexs-checks i { flex: none; color: #ff4d5e; }

@media (max-width: 575.98px) {
  .cw-rexs .cw-rexs-about { padding: 56px 0; }
  .cw-rexs .cw-rexs-credit { padding: 34px 24px; }
  .cw-rexs .cw-rexs-about__actions .cw-rexs-btn { width: 100%; }
}

/* 09 POPULAR LINKS ----------------------------------------------------------
   A) SEO named-links module (Popular Body Styles / Makes / Make Models),
      if SiteFLEX offers it: live counts, so it stays the first choice.
      Selectors match the RS module (.seonamedlinks-module); check them
      against the SiteFLEX output.
   B) Fallback: Block D, custom body-style tiles (no counts).
   ------------------------------------------------------------------------- */
.seonamedlinks-standard { padding: 56px 0 8px; background: #000000; }
.seonamedlinks-standard:last-of-type { padding-bottom: 64px; }

.seonamedlinks-module .section-title {
  margin-bottom: 24px;
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 1rem + 1vw, 26px);
  font-weight: 600;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.seonamedlinks-module ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
}

.seonamedlinks-module ul a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #2e2e2e;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
  transition: border-color .2s ease, background-color .2s ease;
}

.seonamedlinks-module ul a .count { color: #a8a8a8; font-size: 12px; }

.seonamedlinks-module ul a:hover,
.seonamedlinks-module ul a:focus-visible {
  border-color: #ea011f;
  background: #1a1a1a;
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .seonamedlinks-module ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .seonamedlinks-module ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* SiteFLEX popular vehicles module: space above it (13 Nov 2026).
   !important: requested, to beat the module's own padding rule. */
.popular-vehicles-sections { padding-top: 5rem !important; }

/* B) Body-style tiles (Block D) */
.cw-rexs.cw-rexs-styles {
  padding: 72px 0 80px;
  background: #000000;
  text-align: center;
}

.cw-rexs.cw-rexs-styles .cw-rexs-rule { margin: 18px auto 36px; }

.cw-rexs .cw-rexs-style {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  min-height: 60px;
  padding: 12px 18px;
  border: 1px solid #2e2e2e;
  background: #111111;
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
  transition: border-color .2s ease, background-color .2s ease;
}

.cw-rexs .cw-rexs-style i { color: #ff4d5e; font-size: 12px; transition: transform .2s ease; }

.cw-rexs .cw-rexs-style:hover,
.cw-rexs .cw-rexs-style:focus-visible {
  border-color: #ea011f;
  background: #1a1a1a;
  color: #ffffff;
}

.cw-rexs .cw-rexs-style:hover i,
.cw-rexs .cw-rexs-style:focus-visible i { transform: translateX(3px); }

/* 10 FOOTER (DESIGN > Footer) --------------------------------------------- */
.cw-rexs.cw-rexs-footer {
  background: #1b1b1b;
  color: #bdbdbd;                    /* 9:1 on #1b1b1b */
  font-size: 15px;
}

.cw-rexs .cw-rexs-footer__main { padding-top: 64px; padding-bottom: 56px; }

.cw-rexs .cw-rexs-footer__logo img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
}

.cw-rexs .cw-rexs-footer__about { max-width: 34ch; margin: 18px 0 22px; }

.cw-rexs .cw-rexs-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #3d3d3d;
  color: #ffffff;
  font-size: 17px;
  transition: background-color .2s ease, border-color .2s ease;
}

.cw-rexs .cw-rexs-footer__social a:hover,
.cw-rexs .cw-rexs-footer__social a:focus-visible { border-color: #ea011f; background: #ea011f; color: #ffffff; }

.cw-rexs .cw-rexs-footer__title {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ea011f;
  display: inline-block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-footer__links { margin: 0; padding: 0; list-style: none; }

.cw-rexs .cw-rexs-footer__links a {
  display: inline-block;
  padding: 5px 0;
  color: #bdbdbd;
  transition: color .2s ease;
}

.cw-rexs .cw-rexs-footer__links a:hover,
.cw-rexs .cw-rexs-footer__links a:focus-visible { color: #ffffff; }

.cw-rexs .cw-rexs-footer__lot + .cw-rexs-footer__lot { margin-top: 22px; }

.cw-rexs .cw-rexs-footer__lot-name {
  margin-bottom: 4px;
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-footer__lot address { margin: 0 0 4px; font-style: normal; line-height: 1.55; }

.cw-rexs .cw-rexs-footer__lot a { color: #ffffff; font-weight: 600; }
.cw-rexs .cw-rexs-footer__lot a:hover,
.cw-rexs .cw-rexs-footer__lot a:focus-visible { color: #ff4d5e; }

.cw-rexs .cw-rexs-footer__lot i { width: 18px; color: #ff4d5e; }

/* {businesshours} output: .business-hours > .bh-title + ul.opening-hours */
.cw-rexs .cw-rexs-footer__hours .bh-title { display: none; }   /* the column has its own title */
.cw-rexs .cw-rexs-footer__hours ul { margin: 0; padding: 0; list-style: none; }

.cw-rexs .cw-rexs-footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid #2c2c2c;
  font-size: 14px;
}

.cw-rexs .cw-rexs-footer__hours li span {
  float: none !important;            /* the hours widget floats the time with !important */
  color: #ffffff;
  text-align: right;
}

.cw-rexs .cw-rexs-footer__hours li.today,
.cw-rexs .cw-rexs-footer__hours li.today span { color: #ff4d5e; font-weight: 600; }

@media (max-width: 575.98px) {
  .cw-rexs .cw-rexs-footer__main { padding-top: 48px; padding-bottom: 40px; }
}

/* 12 PAGE BANNERS (REXS-05, top of each internal page) ---------------------
   Loan Application, Value My Trade, Shopping Request, About Us, Contact Us.
   Not used on inventory pages. Same photo and shade as the homepage hero,
   shorter, with a breadcrumb and a red rule along the bottom.
   ------------------------------------------------------------------------- */
.cw-rexs.cw-rexs-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(280px, 34vw, 380px);
  padding: 56px 0;
  overflow: hidden;
  border-bottom: 3px solid #ea011f;
  background: #141414;               /* shows while the photo loads */
}

.cw-rexs .cw-rexs-banner__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}

.cw-rexs .cw-rexs-banner__shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 20, 20, .94) 0%, rgba(20, 20, 20, .8) 45%, rgba(20, 20, 20, .45) 75%, rgba(20, 20, 20, .3) 100%);
}

.cw-rexs .cw-rexs-banner__body {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Breadcrumb */
.cw-rexs .cw-rexs-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: #bdbdbd;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: #ff4d5e;
}

.cw-rexs .cw-rexs-crumbs a { color: #ffffff; }

.cw-rexs .cw-rexs-crumbs a:hover,
.cw-rexs .cw-rexs-crumbs a:focus-visible { color: #ff4d5e; }

.cw-rexs .cw-rexs-banner__title {
  font-size: clamp(30px, 1.1rem + 2.8vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-banner__lead {
  max-width: 560px;
  margin-top: 14px;
  color: #e6e6e6;
  font-size: clamp(16px, .95rem + .25vw, 18px);
  line-height: 1.6;
}

.cw-rexs .cw-rexs-banner__actions { margin-top: 26px; }

/* Smaller call buttons than the hero's */
.cw-rexs .cw-rexs-banner__actions .cw-rexs-btn {
  min-height: 46px;
  padding: 0 22px;
}

@media (max-width: 767.98px) {
  .cw-rexs.cw-rexs-banner {
    min-height: 0;
    padding: 44px 0 40px;
  }

  /* Text runs full width on phones: even shade */
  .cw-rexs .cw-rexs-banner__shade { background: rgba(20, 20, 20, .82); }
}

@media (max-width: 575.98px) {
  .cw-rexs .cw-rexs-banner__actions .cw-rexs-btn { width: 100%; }
}

/* 13 ABOUT US PAGE (REXS-06, under Banner 4) -------------------------------
   White band for easy reading of the long story; dark "Visit us" panel
   that stays in view on desktop.
   ------------------------------------------------------------------------- */
.cw-rexs.cw-rexs-aboutpage {
  padding: clamp(56px, 7vw, 96px) 0;
  background: #ffffff;
  color: #1f1f1f;
}

.cw-rexs.cw-rexs-aboutpage .cw-rexs-eyebrow { color: #c8001a; }   /* 6:1 on white */
.cw-rexs.cw-rexs-aboutpage .cw-rexs-rule { margin-bottom: 28px; }

.cw-rexs .cw-rexs-aboutpage__text { max-width: 72ch; }

.cw-rexs .cw-rexs-aboutpage__text p {
  color: #444444;                    /* 9.7:1 on white */
  font-size: 17px;
  line-height: 1.8;
}

.cw-rexs .cw-rexs-aboutpage__text p + p,
.cw-rexs .cw-rexs-aboutpage__text blockquote + p { margin-top: 18px; }

.cw-rexs .cw-rexs-aboutpage__text .cw-rexs-aboutpage__lead {
  color: #1f1f1f;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(19px, 1rem + .5vw, 23px);
  font-weight: 600;
  line-height: 1.5;
}

.cw-rexs .cw-rexs-aboutpage__quote {
  margin: 30px 0;
  padding: 18px 0 18px 24px;
  border-left: 4px solid #ea011f;
}

.cw-rexs .cw-rexs-aboutpage__text .cw-rexs-aboutpage__quote p {
  color: #1f1f1f;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 1.05rem + .7vw, 26px);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Checkpoints on white */
.cw-rexs .cw-rexs-checks--light { margin: 36px 0 0; }

.cw-rexs .cw-rexs-checks--light li > span {
  border-color: #e3e3e3;
  background: #f5f5f5;
  color: #1f1f1f;
}

.cw-rexs .cw-rexs-checks--light i { color: #c8001a; }

/* Visit us panel */
.cw-rexs .cw-rexs-visit {
  padding: 32px 28px;
  border-top: 4px solid #ea011f;
  background: #262626;
  color: #d6d6d6;
}

.cw-rexs .cw-rexs-visit__title {
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-visit__lot {
  padding-bottom: 18px;
  border-bottom: 1px solid #3a3a3a;
}

.cw-rexs .cw-rexs-visit__lot + .cw-rexs-visit__lot { padding-top: 18px; }

.cw-rexs .cw-rexs-visit__name {
  margin-bottom: 4px;
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cw-rexs .cw-rexs-visit__lot address {
  margin: 0 0 8px;
  font-size: 15px;
  font-style: normal;
  line-height: 1.55;
}

.cw-rexs .cw-rexs-visit__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
}

.cw-rexs .cw-rexs-visit__phone i { color: #ff4d5e; font-size: 14px; }

.cw-rexs .cw-rexs-visit__phone:hover,
.cw-rexs .cw-rexs-visit__phone:focus-visible { color: #ff4d5e; }

.cw-rexs .cw-rexs-visit__actions { margin-top: 24px; }

@media (min-width: 992px) {
  .cw-rexs .cw-rexs-visit {
    position: sticky;
    top: 24px;
  }
}

/* 11 REDUCED MOTION -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .cw-rexs *,
  header.header .navbar *,
  section.inventory-search-module *,
  .seonamedlinks-module * { transition: none !important; }
}

/* REXS END */

	/* Default footer modificationss */
	.footer {
		padding-top: 0
	}

	footer>.container {
		display: none
	}