/* Custom Header - Contact Bar & Logo */
.header .navbar-nav .nav-link {
  font-weight: normal;
  text-transform: uppercase;
  font-size: .85rem !important; /* last-resort: overrides Bootstrap's own nav-link font-size rule, which loads after this and is otherwise more specific */
}

.navbar-dark .navbar-brand:focus,
.navbar-dark .navbar-brand:hover {
  color: #000099;
}

.header .navbar .active > .nav-link,
.navbar .nav-link:hover {
  color: #000099;
}

header .navbar .dropdown-item {
  text-transform: uppercase;
  font-size: .9rem;
  font-weight: normal !important;
}

.header .navbar .dropdown-menu {
  border-color: rgba(0, 0, 153, .15);
}

.header .navbar-toggler {
  border-color: rgba(0, 0, 153, .3);
}

.cw-header {
  background-color: var(--header-primary, #ffffff);
}

.cw-header-contact :focus {
  box-shadow: none;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.cw-header-logo :focus {
  box-shadow: none;
  outline: 2px solid #000099;
  outline-offset: 2px;
}

.cw-header-logo img {
  width: 140px;
      display: none !important;

}

.cw-header-contact {
  font-size: .9rem;
  background-color: #000099;
  color: var(--header-text, #ffffff);
}

.cw-header-contact a {
  color: inherit;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.cw-header-contact a:hover {
  opacity: .85;
}

.cw-header-contact .fa {
  display: inline-block;
  vertical-align: middle;
  padding-right: .25rem;
  color: var(--color-theme-secondary, #ffffff);
}

.cw-header .cw-address:before {
  font-family: FontAwesome;
  vertical-align: middle;
  content: "\f3c5";
  padding-right: .5rem;
  color: var(--color-theme-secondary, #ffffff);
}

.cw-header .cw-phone:before {
  font-family: FontAwesome;
  vertical-align: middle;
  content: "\f2a0";
  padding-right: .5rem;
  color: var(--color-theme-secondary, #ffffff);
}

.cw-header-tagline {
  font-weight: 700;
  letter-spacing: .02em;
}

.cw-header-info .cw-phone,
.cw-header-info .cw-address {
  margin: 0 .5rem;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .cw-header-logo img {
    width: 160px;
        display: none !important;

  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .cw-header-logo img {
    width: 190px;
    display: none !important;
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-header .cw-header-logo {
    position: absolute;
    z-index: 1040;
    top: 11px;
  }

  nav.navbar .container {
    min-height: 140px;
  }

  .header.has-cart .collapse.justify-content-center,
  .header .navbar-collapse.justify-content-center {
    -webkit-box-pack: flex-end !important;
    -ms-flex-pack: flex-end !important;
    justify-content: flex-end !important;
  }

  .header .navbar-nav:not(.navbar-cart) {
    /* set pixels to logo width (or more) */
    max-width: calc(100% - 155px);
    justify-content: center;
  }

  .cw-header-logo img {
    width: 150px;
    display: none !important;
  }

  .cw-header-info .cw-phone,
  .cw-header-info .cw-address {
    margin: 0 0 0 1rem;
  }

  .cw-header-info .cw-phone:first-child {
    margin-left: 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Custom Hero - Homepage */
/* Mobile/tablet: flat dark-blue scrim over the photo, left-aligned text. The */
/* curved-divider look only appears at >=992, where there's room for it - see */
/* the large-devices block below. */
.cw-hero {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: left;
  background-color: #020d3d;
  background-image: -webkit-linear-gradient(rgba(2, 13, 61, 0.542), rgba(2, 13, 61, 0.304)), url('https://cdn05.carsforsale.com/7ef4216deceb02918dcfd4b9ebb1c02d/7ef4216deceb02918dcfd4b9ebb1c02d.jpg?width=1920&height=1440&format=&sig=7170a405fe4f4281');
  background-image: linear-gradient(rgba(2, 13, 61, 0.533), rgba(2, 13, 61, 0.294)), url('https://cdn05.carsforsale.com/7ef4216deceb02918dcfd4b9ebb1c02d/7ef4216deceb02918dcfd4b9ebb1c02d.jpg?width=1920&height=1440&format=&sig=7170a405fe4f4281');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cw-hero-overlay {
  display: none;
}

.cw-hero-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem 0;
}

/* Eyebrow: the location, styled like the reference's small accent-bar label. */
/* Text is white per direct request (also resolves the earlier #000099-on-navy */
/* contrast problem this comment used to document - #000099 only computed to */
/* ~2.45:1 against this overlay, well under the WCAG 4.5:1 floor for text this */
/* size, but white obviously clears that easily). The accent bar itself isn't */
/* text, so it uses the literal primary brand blue with no contrast concern. */
.cw-hero-eyebrow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: .6rem;
}

.cw-hero-eyebrow-bar {
  display: inline-block;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 4px;
  height: 1.3rem;
  margin-right: .6rem;
  background-color: #000099;
}

.cw-hero-eyebrow-text {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* Name: stacked onto two lines ("Jacobs" / "Ford") by constraining the block's */
/* width rather than a hard line break, since {dealername} is one token - the */
/* max-width is tuned per breakpoint so it wraps after the first word without */
/* wrapping mid-word. */
.cw-hero-title {
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .cw-hero {
    min-height: 300px;
  }

  .cw-hero-title {
    font-size: 1.5rem;
  }

  .cw-hero-eyebrow-text {
    font-size: 1.05rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .cw-hero {
    min-height: 360px;
  }

  .cw-hero-title {
    font-size: 1.9rem;
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-hero {
    min-height: 515px;
    /* A light dark-navy tint sits over the FULL photo (not just the left panel) */
    /* so nav text and anything else overlaid on the brighter right side stays */
    /* legible - kept fairly low so the vehicle still reads as bright/prominent, */
    /* per the reference's "right side stays brighter" note. */
    background-image: -webkit-linear-gradient(rgba(2, 13, 61, .28), rgba(2, 13, 61, .28)), url('https://cdn05.carsforsale.com/7ef4216deceb02918dcfd4b9ebb1c02d/7ef4216deceb02918dcfd4b9ebb1c02d.jpg?width=1920&height=1440&format=&sig=7170a405fe4f4281');
    background-image: linear-gradient(rgba(2, 13, 61, .28), rgba(2, 13, 61, .28)), url('https://cdn05.carsforsale.com/7ef4216deceb02918dcfd4b9ebb1c02d/7ef4216deceb02918dcfd4b9ebb1c02d.jpg?width=1920&height=1440&format=&sig=7170a405fe4f4281');
    background-position: center;
  }

  /* Flat side panel (v2) - was previously an SVG traced into a curved */
  /* silhouette that pinched inward at the vertical middle; replaced with a */
  /* plain flat-edged rectangle per direct request. No SVG needed anymore, */
  /* just a solid-color box. The decorative glow-dot/arc-line overlay */
  /* (`.cw-hero-decor`) that used to sit in front of it has been removed */
  /* entirely, also per direct request. */
  .cw-hero-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 35%;
    z-index: 0;
    /* background-color: rgba(2, 13, 61, .93); */
  }

  .cw-hero-content {
    max-width: 500px;
    /* Extra top padding specifically to clear the fixed/overlaid nav, sized for */
    /* the crest logo's ~140px-tall nav bar. */
    padding: 5rem 0 3rem 1.5rem;
  }

  .cw-hero-title {
     font-size: 1.4rem;
  }

  .cw-hero-eyebrow-text {
    font-size: 1.1rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .cw-hero {
    min-height: 650px;
  }

  .cw-hero-title {

    font-size: 1.8rem;
  }
}

/* Custom Homepage - Inventory Search Half-Overlaps the Hero */
/* Targets the module's own stable id="module_{guid}" attribute rather than a */
/* custom CssClass - this module type doesn't render the CssClass field set on */
/* the WebpageModule (confirmed: saved server-side, absent from the live DOM), */
/* so the auto id is the only reliable hook. This id is specific to the */
/* homepage's one InventorySearch instance, not a reusable class. */
/* Now overlaps at every breakpoint, not just desktop - the overlap amount is */
/* intentionally modest on mobile/tablet (the card there is much taller, since */
/* the fields stack into multiple rows, so a big pull-up would swallow the hero */
/* text entirely) and grows at the wider breakpoints where the card is a single */
/* flat row and the hero itself is taller. */
#module_50e186e7-fc03-4524-aa5d-3181d1ffc2aa {
  position: relative;
  z-index: 5;
  margin-top: -30px !important;
}

#module_50e186e7-fc03-4524-aa5d-3181d1ffc2aa .form__wrapper {
  background-color: #ffffff;
  -webkit-box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  #module_50e186e7-fc03-4524-aa5d-3181d1ffc2aa {
    margin-top: -35px !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  #module_50e186e7-fc03-4524-aa5d-3181d1ffc2aa {
    margin-top: -45px !important;
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  #module_50e186e7-fc03-4524-aa5d-3181d1ffc2aa {
    margin-top: -70px !important;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  #module_50e186e7-fc03-4524-aa5d-3181d1ffc2aa {
    margin-top: -85px !important;
  }
}

/* Custom Header Overlay - Nav Floats Over Page Content (site-wide) */
/* Applied identically on every page, not just the homepage - the homepage's */
/* header/nav is the "master" design and every other page now matches it */
/* exactly, per explicit instruction (including the transparent-over-content */
/* look before scrolling, even on pages with no dark hero photo behind it). */
/* `.container-fluid` is the class every page's own top-level wrapper section */
/* carries in common - `page-{slug}` is the OTHER class on that same element, */
/* but it's unique per page, so it can't be what a shared selector keys off of. */
/* Mobile/tablet base: the Header module's own color slot (--header-primary) is */
/* "transparent" so the desktop overlay below can show through it - pin an */
/* explicit solid navbar here so mobile doesn't inherit that transparency. */
/* Selectors below repeat .container-fluid to out-specificity the platform's */
/* own same-!important .header .navbar / .bg-primary rules rather than rely on */
/* load order. */
.container-fluid.container-fluid .navbar {
  background-color: #000099 !important;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
}

.container-fluid .navbar-toggler {
  border-color: rgba(255, 255, 255, .4);
}

.container-fluid.container-fluid .navbar .dropdown-menu {
  background-color: #000099 !important;
  border-color: rgba(255, 255, 255, .2);
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .container-fluid .header-container {
    position: relative;
  }

  .container-fluid .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
  }

  .container-fluid.container-fluid .navbar {
    background-color: transparent !important;
  }

  .container-fluid .cw-header-logo {
    padding: .5rem 1rem;
    left: 15px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Custom Header - Fixed Nav & Scroll-Activated Background (site-wide) */
/* The .cw-nav-scrolled class is toggled on <body> by the GlobalJS scroll listener */
/* (BodyEndContent) once the page scrolls past a small threshold. Native */
/* position:sticky does not work here - the platform sets overflow-x:clip on */
/* <body>, which breaks sticky in every browser - so this pins the nav with */
/* position:fixed instead, driven by the same scroll class. Every page's nav is */
/* already position:absolute (out of flow) even before scrolling, same as the */
/* block above, so there is no flow height to compensate for on any page - an */
/* earlier version of this file needed a margin-bottom fix for pages where the */
/* nav was still in normal flow, that's no longer the case anywhere now. */
/* !important + a doubled class: has to beat our own same-file */
/* .container-fluid .navbar{position:absolute} rule, not just the platform's */
/* rules, so specificity/order alone isn't reliable here. */
/* Deliberately scoped to >=992 only (see that block below) - once the nav */
/* collapses into the hamburger toggle, there's no fixed/scroll animation at */
/* all; the nav just stays in normal flow like the rest of the page. */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  body.cw-nav-scrolled.cw-nav-scrolled .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 140px;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  }

  /* Reintroduced slight translucency per direct request (#000099d6 = ~84% */
  /* opacity) - an earlier pass had made this fully opaque everywhere because */
  /* translucency on pages with no dark hero photo behind this region let */
  /* scrolled page content bleed through visibly. That risk still applies here; */
  /* if content-bleed-through resurfaces on a non-hero page, this is the rule */
  /* to revisit. */
  body.cw-nav-scrolled.cw-nav-scrolled .navbar {
    background-color: #000099d6 !important;
  }

  /* Logo pins alongside the fixed nav instead of scrolling away with the rest */
  /* of .cw-header, on every page. No transition here on purpose - it should */
  /* snap into place with the nav, not visibly slide/shrink into position. Left */
  /* is a percentage (not a fixed px value) so it scales proportionally at any */
  /* viewport width instead of sitting flush against the true screen edge. */
  /* Deliberately no width override on the image - it stays the same size as */
  /* the unscrolled state, only its position/pinning changes. */
  body.cw-nav-scrolled .cw-header-logo {
    position: fixed;
    top: 0px;
    left: 15%;
    z-index: 1001;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Custom Section Title - Reusable Eyebrow + Heading */
/* A compact, centered section header: small blue eyebrow (accent bar + label), */
/* a bold dark heading, and a short blue divider underneath. Reusable wherever a */
/* section of the site needs a clean modern lead-in above it (used first here to */
/* introduce the homepage's full Inventory grid). Sits on the page's normal */
/* light background, so the brand blue is used directly - no contrast */
/* substitution needed here like the hero required. */
.cw-section-title {
  padding: 2rem 0 .5rem;
  text-align: center;
}

.cw-section-title-eyebrow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: .5rem;
}

.cw-section-title-bar {
  display: inline-block;
  width: 4px;
  height: 1rem;
  margin-right: .6rem;
  background-color: #000099;
}

.cw-section-title-eyebrow span:last-child {
  color: #000099;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cw-section-title-heading {
  margin: 0;
  color: #0a1233;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.cw-section-title-divider {
  width: 60px;
  height: 3px;
  margin: 1rem auto 0;
  background-color: #000099;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .cw-section-title-heading {
    font-size: 1.75rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .cw-section-title-heading {
    font-size: 2rem;
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-section-title {
    padding: 2.5rem 0 .5rem;
  }

  .cw-section-title-heading {
    font-size: 2.25rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .cw-section-title-heading {
    font-size: 2.5rem;
  }
}

/* Custom Popular Vehicles - Modern Tabs */
/* Restyles the platform's own Popular Vehicles module (Popular Makes / Popular */
/* Make Models / Popular Bodystyles - class names and structure are the */
/* platform's, confirmed against the live DOM, not invented) from 3 stacked */
/* lists into a tabbed panel. The click behavior lives in the site's one */
/* GlobalJS BodyEndContent script as plain JS (CodeYourOwn/Header <script> tags */
/* are inert in this Blazor Server app - GlobalJS is the only place a real */
/* click handler can run), not the jQuery version this was adapted from. The */
/* link grid inside each panel (.row > .col-*) is already Bootstrap, supplied by */
/* the module itself - only the tab chrome around it is custom here. Mobile is */
/* a plain stacked accordion (no absolute positioning); the 3-across tab-bar */
/* look only switches on at >=768 where there's room for equal-width tabs, */
/* using percentage left/width instead of the original's hardcoded per-tab */
/* pixel offsets (which required a different magic number per nth-of-type and */
/* another full set at the next breakpoint). */
.popular-vehicles-sections {
  margin: 35px auto 2.5rem;
}

.popular-vehicles-section {
  margin-bottom: .75rem !important;
  border: 1px solid #e5e7eb;
  border-radius: .5rem;
  overflow: hidden;
}

.popular-vehicles-section-heading {
  cursor: pointer;
  margin: 0;
  padding: .85rem 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #000099;
  background-color: #eef1ff;
  -webkit-transition: background-color .2s ease, color .2s ease;
  transition: background-color .2s ease, color .2s ease;
}

.popular-vehicles-section-heading:after {
  font-family: FontAwesome;
  content: "\f0d7";
  font-weight: 400;
  margin-left: .5rem;
}

.popular-vehicles-section-heading.selected {
  background-color: #000099;
  color: #ffffff;
}

.popular-vehicles-section-heading.selected:after {
  content: "\f0d8";
}

.popular-vehicles-section-panel {
  display: none;
  margin: 0;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
}

.popular-vehicles-section-heading.selected ~ .popular-vehicles-section-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.popular-vehicle-link {
  display: block;
  color: #0a1233;
  text-decoration: none;
  padding: .35rem 0;
  -webkit-transition: color .15s ease;
  transition: color .15s ease;
}

.popular-vehicle-link:hover {
  color: #000099;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .popular-vehicles-sections {
    position: relative;
    padding-top: 52px;
  }

  .popular-vehicles-section {
    margin-bottom: 0 !important;
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .popular-vehicles-section-heading {
    position: absolute;
    top: 0;
    height: 52px;
    justify-content: center;
    border-radius: .5rem .5rem 0 0;
  }

  .popular-vehicles-section:nth-of-type(1) .popular-vehicles-section-heading {
    left: 0;
    width: 33.333%;
  }

  .popular-vehicles-section:nth-of-type(2) .popular-vehicles-section-heading {
    left: 33.333%;
    width: 33.333%;
  }

  .popular-vehicles-section:nth-of-type(3) .popular-vehicles-section-heading {
    left: 66.666%;
    width: 33.334%;
  }

  .popular-vehicles-section-panel {
    margin-left: -24px;
    margin-right: -24px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0 .5rem .5rem .5rem;
    -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Custom Inventory Card - CTA Hover Text Color */
/* The platform's own .inventory-cta .btn:hover rule sets its hover text color */
/* from var(--inventory-text), which resolves to the site's stale dark-gray */
/* "Text" color property (#3a3732) - overridden here to white. Doubled .btn */
/* class bumps specificity to beat the platform's !important rule, since it's */
/* also 2 classes and load order alone isn't reliable (see */
/* reference_tenantsite_custom_css_specificity). */
.inventory-cta .btn.btn:hover {
  color: #fff !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Custom Footer - White text on navy. */
.footer {
  padding-top: 0;
}

footer > .container {
  display: none;
}

.cw-footer {
  padding: 3rem 0 1.5rem;
  background-color: #020d3d;
  color: #ffffff;
}

.cw-footer a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: color .2s ease;
  transition: color .2s ease;
}

.cw-footer a:hover,
.cw-footer a:focus-visible {
  color: #ffffff;
}

.cw-footer h5 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cw-footer .cw-address,
.cw-footer .cw-phone {
  position: relative;
  line-height: 1.5;
  font-size: 1rem;
}

.cw-footer .cw-address:before,
.cw-footer .cw-phone:before {
  font-family: FontAwesome;
  content: "\f3c5";
  padding-right: .5rem;
  color: #ffffff;
}

.cw-footer .cw-phone:before {
  content: "\f2a0";
}

.cw-footer .business-hours .bh-title,
.cw-footer .business-hours .today {
  color: #ffffff;
}

/* White accent remains visible against the navy background. */
.cw-footer .business-hours .bh-title {
  border-left-color: #ffffff;
}

.cw-footer .cw-footerMenu a {
  display: block;
  margin-bottom: .65rem;
  font-weight: 400;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}

.cw-footer .cw-social a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: .5rem;
  border: 1px solid #ffffff;
  border-radius: 50%;
  font-size: 18px;
  -webkit-transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.cw-footer .cw-social a:hover,
.cw-footer .cw-social a:focus-visible {
  background-color: #000099;
  border-color: #ffffff;
  color: #ffffff;
}

.cw-footer-map {
  overflow: hidden;
  border-radius: .5rem;
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.cw-footer-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  /* Splits "Useful Links" into 2 columns instead of one long vertical list - */
  /* CSS multi-column layout, not a markup change, since the footer's own */
  /* Source HTML is just a flat run of <a> tags with no wrapper list to turn */
  /* into a grid. break-inside:avoid (set on the links themselves, above) */
  /* keeps a single link from visually splitting across the column break. */
  .cw-footer .cw-footerMenu {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 1.5rem;
    -moz-column-gap: 1.5rem;
    column-gap: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .cw-footer-map iframe {
    height: 260px;
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-footer {
    padding: 4rem 0 2rem;
  }

  .cw-footer-map iframe {
    height: 300px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}


.cw-footer a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* Keep platform text colors and today/visited/hover states white in this footer. */
.cw-footer,
.cw-footer *,
.cw-footer *::before,
.cw-footer *::after {
  color: #ffffff !important;
}

.cw-footer a:hover,
.cw-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* Custom Interior Page Hero - Image + Overlay + Title, Nav Layered On Top */
/* Gives every internal page (About Us, Contact Us, Loan Application, Cars For */
/* Sale) the same hero treatment as the homepage: a large background photo, a */
/* dark navy overlay (same #020d3d family used by the homepage hero and the */
/* footer) for text contrast, and the site-wide transparent nav floating on */
/* top of it, exactly like the homepage hero. Content padding-top only grows */
/* at >=992 to clear the nav - below that breakpoint the nav is in normal flow */
/* (per the site-wide header/nav rules), so there's nothing to clear. Reuses */
/* the homepage hero's own uploaded photo rather than sourcing a new one, for */
/* visual consistency between the homepage and every interior page. */
/* Reverted back to this single-photo version after a brief masonry-grid */
/* experiment here turned out to be a misread of where the user actually */
/* wanted the masonry treatment (the About Us "Our Story" photo section, not */
/* this page-title area) - see that component further down for the masonry. */
.cw-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  background-color: #020d3d;
  background-size: cover;
  background-position: 0% 71%;
  background-repeat: no-repeat;
}

.cw-page-hero:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: -webkit-linear-gradient(rgba(2, 13, 61, .55), rgba(2, 13, 61, .88));
  background-image: linear-gradient(rgba(2, 13, 61, .55), rgba(2, 13, 61, .88));
}

.cw-page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem 0 1.5rem;
}

.cw-page-hero-title {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.15;
  text-transform: uppercase;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .cw-page-hero {
    min-height: 180px;
  }

  .cw-page-hero-title {
    font-size: 1.75rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .cw-page-hero {
    min-height: 220px;
  }

  .cw-page-hero-title {
    font-size: 2rem;
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-page-hero {
    min-height: 280px;
  }

  .cw-page-hero-content {
    /* Generous top clearance - the transparent nav (absolute, ~140px tall, on */
    /* top of a ~39px contact bar) floats directly over this hero's own top */
    /* edge at this breakpoint, same as it does on the homepage. */
    padding: 10rem 0 2rem;
  }

  .cw-page-hero-title {
    font-size: 2.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .cw-page-hero {
    min-height: 320px;
  }

  .cw-page-hero-title {
    font-size: 2.75rem;
  }
}

/* Custom VDP Page - Header Exception (no transparency, no scroll-fixed nav) */
/* The site-wide "nav floats transparently over content, pins fixed on scroll" */
/* treatment (established for every other page) breaks down on the platform's */
/* own Vehicle Detail Page template ("page-inventory-details"): unlike the */
/* other interior pages, it has no hero photo/module behind the header at all */
/* - it's not a WebpageModule this site controls, so it can't get the same */
/* dark-overlay + generous top-clearance fix the other interior pages got. A */
/* transparent white-text nav here rendered invisible against the plain page */
/* background, and the absolutely-positioned nav/logo overlapped the vehicle */
/* title/breadcrumb directly beneath them. Per explicit request, this one page */
/* type opts out of all three: plain, solid, always-in-normal-flow header - */
/* never absolute, never transparent, never pinned/fixed on scroll. Doubled */
/* .page-inventory-details class matches this file's established specificity- */
/* bump pattern, needed here to beat the site-wide same-file rules it's */
/* overriding, not just the platform's own rules. */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .container-fluid.page-inventory-details.page-inventory-details .navbar {
    position: static !important;
    background-color: #000099 !important;
  }

  body.cw-nav-scrolled .container-fluid.page-inventory-details.page-inventory-details .navbar {
    position: static !important;
    top: auto !important;
    height: auto !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
  }

  body.cw-nav-scrolled .page-inventory-details.page-inventory-details .cw-header-logo {
    position: absolute !important;
    top: 11px !important;
    left: 15px !important;
  }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Custom About Us - Our Story (Family History) */
/* Replaces the generic placeholder TextWithMedia block with the dealer's real */
/* history copy (reproduced word-for-word from jacobsford.com/about-us) next */
/* to an editorial masonry photo grid (large photo / two small photos side by */
/* side / another large photo) - flush corners with a soft rounded card look */
/* consistent with the rest of this section's white-card surface (not the */
/* full-bleed edge-to-edge treatment used for the page-title hero grid). All */
/* four <img> tags currently point at the same placeholder dealership photo */
/* (only one confirmed real photo available) - swap each of the four src */
/* attributes independently whenever more are available. Lead-in now reuses */
/* the homepage's own `.cw-section-title` eyebrow+heading+divider component */
/* (left-aligned here via the `.cw-about-story-content` descendant scope, */
/* same pattern the "Why Buy" section below uses) instead of the standalone */
/* year-stat treatment it replaces, so the two content columns on this page */
/* match. Pull-quote treatment kept from the previous version. No words */
/* changed from the source. Below 992px the photos stack above/below the */
/* text - reordered (via flex `order`, DOM stays the same for reading/screen- */
/* reader order) so the text column shows first and the photos follow, and */
/* top-aligned the tile crop through the 768px breakpoint's shorter tile */
/* heights so people's heads aren't cut off before the tiles get tall enough */
/* (at 992px+) for centered cropping to keep full heads in frame. */
.cw-about-story {
  padding: 3rem 0;
  background-color: #ffffff;
}

.cw-about-story-media {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}

.cw-about-story-content {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}

.cw-about-story-media .cw-about-tile img {
  -o-object-position: 0% 34%;
  object-position: 0% 34%;
}

.cw-about-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: .625rem;
}

.cw-about-tile {
  position: relative;
  overflow: hidden;
  border-radius: .5rem;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.cw-about-tile img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.cw-about-tile-large {
  grid-column: 1 / -1;
  height: 180px;
}

.cw-about-tile-small {
  height: 130px;
}

.cw-about-story-content .cw-section-title {
  padding: 0 0 .5rem;
  text-align: left;
}

.cw-about-story-content .cw-section-title-eyebrow {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.cw-about-story-content .cw-section-title-divider {
  margin: 1rem 0 0;
}

.cw-about-story-text {
  margin-top: 1.25rem;
  color: #3a3732;
  font-size: 1rem;
  line-height: 1.7;
}

.cw-about-story-quote {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  border-left: 4px solid #000099;
  color: #0a1233;
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.5;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .cw-about-masonry {
    grid-template-columns: 1fr 1fr;
  }

  .cw-about-tile-large {
    height: 210px;
  }

  .cw-about-tile-small {
    height: 150px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .cw-about-tile-large {
    height: 240px;
  }

  .cw-about-tile-small {
    height: 170px;
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-about-story {
    padding: 4.5rem 0;
  }

  .cw-about-story-media {
    margin-top: 0;
    margin-bottom: 0;
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
  }

  .cw-about-story-content {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
  }

  .cw-about-story-media .cw-about-tile img {
    -o-object-position: center;
    object-position: center;
  }

  .cw-about-tile-large {
    height: 260px;
  }

  .cw-about-tile-small {
    height: 180px;
  }

  .cw-about-story-text {
    font-size: 1.05rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .cw-about-tile-large {
    height: 290px;
  }

  .cw-about-tile-small {
    height: 200px;
  }
}

/* Custom About Us - Why Buy Section */
/* Content moved here from the standalone "Why Buy" page (retired). Redesigned */
/* (v2) to fit the rest of the About page better: reuses the homepage's own */
/* `.cw-section-title` eyebrow+heading component for the lead-in (same as the */
/* Staff section directly below it) instead of a plain <h2>, and turns the */
/* "reasons to buy" bullet list into an icon+text feature list (accent-circle */
/* icons in the site's brand blue, FontAwesome content-injected like the Staff */
/* cards' phone/email icons) instead of a plain <ul> so it reads as a designed */
/* section rather than a wall of text. Redesigned again (v3) to add a photo */
/* column to the right of the title+intro text, mirroring "Our Story"'s own */
/* media/content row directly above it (same markup pattern: Bootstrap */
/* `row align-items-center` + `col-12 col-lg-6`). The `.cw-section-title` */
/* component is centered by default everywhere else it's used (Staff */
/* section, homepage); left-aligned here only via the `.cw-about-whybuy-content` */
/* descendant scope, since it now sits in a half-width column next to the */
/* photo instead of spanning the full section. Pulled the intro's closing */
/* "Whatever you need..." paragraph out of the text column (v4) into its own */
/* full-width solid-blue callout banner below the title+photo row, instead of */
/* it just being the last of four paragraphs. Simplified (v5) from a 3-photo */
/* masonry grid (reusing "Our Story"'s `.cw-about-masonry` classes) down to a */
/* single photo - `.cw-about-whybuy-photo` reuses the generic `.cw-about-tile` */
/* rounded-card/shadow/object-fit treatment (still shared with "Our Story"), */
/* just with its own taller single-image height steps instead of the masonry */
/* grid's large/small tile heights. */
.cw-about-whybuy {
  padding: 3rem 0;
  background-color: #ffffff;
}

.cw-about-whybuy-content .cw-section-title {
  padding: 0 0 .5rem;
  text-align: left;
}

.cw-about-whybuy-content .cw-section-title-eyebrow {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.cw-about-whybuy-content .cw-section-title-divider {
  margin: 1rem 0 0;
}

.cw-about-whybuy-media {
  margin-bottom: 2rem;
}

.cw-about-whybuy-photo {
  height: 260px;
}

.cw-about-whybuy-intro p {
  margin-bottom: 1rem;
  color: #3a3732;
  font-size: 1rem;
  line-height: 1.7;
}

.cw-about-whybuy-banner {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  border-radius: .5rem;
  background-color: #000099;
  text-align: center;
}

.cw-about-whybuy-banner p {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cw-about-whybuy-subheading {
  margin: 2.5rem 0 1.5rem;
  color: #0a1233;
  font-weight: 800;
  font-size: 1.2rem;
  text-align: center;
}

.cw-about-whybuy-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cw-about-whybuy-feature {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}

.cw-about-whybuy-feature-icon {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 153, .1);
  color: #000099;
  font-size: 1.1rem;
}

.cw-about-whybuy-icon-car:before {
  font-family: FontAwesome;
  content: "\f1b9";
}

.cw-about-whybuy-icon-star:before {
  font-family: FontAwesome;
  content: "\f005";
}

.cw-about-whybuy-icon-wrench:before {
  font-family: FontAwesome;
  content: "\f0ad";
}

.cw-about-whybuy-icon-clock:before {
  font-family: FontAwesome;
  content: "\f017";
}

.cw-about-whybuy-icon-shield:before {
  font-family: FontAwesome;
  content: "\f132";
}

.cw-about-whybuy-icon-home:before {
  font-family: FontAwesome;
  content: "\f015";
}

.cw-about-whybuy-icon-truck:before {
  font-family: FontAwesome;
  content: "\f0d1";
}

.cw-about-whybuy-feature p {
  margin: 0;
  color: #3a3732;
  font-size: .95rem;
  line-height: 1.6;
}

.cw-about-whybuy-cta {
  margin-top: 2.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1rem;
}

.cw-about-whybuy-cta a {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: .375rem;
  background-color: #000099;
  color: #ffffff;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  -webkit-transition: background-color .2s ease;
  transition: background-color .2s ease;
}

.cw-about-whybuy-cta a:hover {
  background-color: #021ea8;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .cw-about-whybuy-photo {
    height: 300px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .cw-about-whybuy-features {
    grid-template-columns: 1fr 1fr;
  }

  .cw-about-whybuy-photo {
    height: 340px;
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-about-whybuy {
    padding: 4.5rem 0;
  }

  .cw-about-whybuy-media {
    margin-bottom: 0;
  }

  .cw-about-whybuy-photo {
    height: 380px;
  }

  .cw-about-whybuy-banner {
    padding: 2rem 3rem;
  }

  .cw-about-whybuy-banner p {
    font-size: 1.15rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .cw-about-whybuy-photo {
    height: 420px;
  }
}

/* Custom About Us - Testimonials Carousel */
/* Sits directly above the Staff section on the About Us page. Reviews */
/* reproduced verbatim (including source typos/quirks) from the dealer's */
/* Google Business listing - do not paraphrase when rotating reviews later. */
/* Reuses the homepage's own `.cw-section-title` eyebrow+heading+divider */
/* component for the lead-in, same as "Our Story" and "Why Buy" above it. */
/* Navigation is pure CSS (hidden radio inputs + `label[for]` triggers + `~` */
/* sibling selectors) since RawCode `<script>` tags never execute on this */
/* platform (Blazor Server) - same checkbox/radio-hack technique as the */
/* site's existing CSS-only Read More toggle. Each slide carries its own */
/* prev/next arrow labels (pointing at its specific neighboring radio IDs, */
/* wrapping around at the ends) since a single static prev/next pair can't */
/* target "whichever radio is currently checked, offset by one" in pure CSS; */
/* the dot row lives once, outside the slides, since dots just toggle their */
/* own radio directly regardless of which slide is active. Only one slide */
/* renders at a time (display:none/block), so the carousel's height is just */
/* whatever the current slide needs - no fixed/guessed height required. */
/* Redesigned (v2) to show 3 testimonial cards per slide instead of 1 - each */
/* `.cw-testimonial-slide` now wraps a `.cw-testimonial-grid` of 3 */
/* `.cw-testimonial-card`s (1-col through mobile/tablet, 3-col only at */
/* >=992px - skipping a 2-col tablet step on purpose, since 3 cards in 2 */
/* columns leaves an awkward lone card on its own row). With 6 reviews that's 2 */
/* slides. Card height still follows its own text length (no forced */
/* equal-height/clamping), so which 6 reviews get featured (v3: swapped out */
/* the original pick's extremes - a 1-sentence review and several */
/* multi-paragraph ones - for 6 reviews within a tighter ~45-80 word band) */
/* matters more for visual consistency than any CSS trick would. */
.cw-testimonials {
  padding: 3rem 0;
  background-color: #ffffff;
}

.cw-testimonial-carousel {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.cw-testimonial-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cw-testimonial-slide {
  display: none;
}

.cw-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cw-testimonial-card {
  padding: 1.75rem 1.5rem;
  text-align: center;
  background-color: #f3f3f3;
  border-radius: .75rem;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.cw-testimonial-stars {
  margin-bottom: 1rem;
  color: #f4b400;
  font-size: 1rem;
  letter-spacing: .2em;
}

.cw-testimonial-text {
  margin: 0;
  color: #3a3732;
  font-size: .9rem;
  font-style: italic;
  line-height: 1.65;
}

.cw-testimonial-author {
  margin-top: 1.25rem;
  color: #0a1233;
  font-weight: 800;
  font-size: .95rem;
}

.cw-testimonial-source {
  margin-top: .25rem;
  color: #000099;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cw-testimonial-arrows {
  margin-top: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 1rem;
}

.cw-testimonial-arrow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: #ffffff;
  color: #000099;
  font-size: 1rem;
  cursor: pointer;
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  -webkit-transition: background-color .2s ease, color .2s ease;
  transition: background-color .2s ease, color .2s ease;
}

.cw-testimonial-arrow:hover {
  background-color: #000099;
  color: #ffffff;
}

.cw-testimonial-dots {
  margin-top: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: .5rem;
}

.cw-testimonial-dot {
  display: inline-block;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background-color: #d8d2c4;
  cursor: pointer;
  -webkit-transition: background-color .2s ease;
  transition: background-color .2s ease;
}

.cw-testimonial-cta {
  margin-top: 2rem;
  text-align: center;
}

.cw-testimonial-cta a {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: .375rem;
  background-color: #000099;
  color: #ffffff;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  -webkit-transition: background-color .2s ease;
  transition: background-color .2s ease;
}

.cw-testimonial-cta a:hover {
  background-color: #021ea8;
}

#cw-t1:checked ~ .cw-testimonial-track .cw-testimonial-slide-1,
#cw-t2:checked ~ .cw-testimonial-track .cw-testimonial-slide-2 {
  display: block;
}

#cw-t1:checked ~ .cw-testimonial-dots label[for="cw-t1"],
#cw-t2:checked ~ .cw-testimonial-dots label[for="cw-t2"] {
  background-color: #000099;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .cw-testimonial-text {
    font-size: .95rem;
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-testimonials {
    padding: 4.5rem 0;
  }

  .cw-testimonial-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.75rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Custom About Us - Staff Section */
/* Sits directly below "Our Story" on the About Us page. Content (names, */
/* roles, phone/email, Jacob Owens's bio) and photos pulled from */
/* jacobsford.com/our-team - Brad/Dustin/Will/Jennifer have contact info on */
/* the real site with no stated titles except Jennifer's (Service Advisor); */
/* Jacob's card has no phone/email on the real site either, just his bio, so */
/* his card shows the bio in place of contact info instead of leaving it */
/* empty. Reuses the homepage's own `.cw-section-title` eyebrow+heading */
/* component for the section header, for consistency. */
.cw-staff {
  padding: 3rem 0;
  background-color: #f3f3f3;
}

.cw-staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.cw-staff-card {
  text-align: center;
}

.cw-staff-photo {
  overflow: hidden;
  border-radius: .5rem;
  margin-bottom: 1rem;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.cw-staff-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  -o-object-fit: cover;
  object-fit: cover;
}

.cw-staff-name {
  margin: 0;
  color: #0a1233;
  font-weight: 800;
  font-size: 1.15rem;
}

.cw-staff-role {
  margin-top: .35rem;
  color: #000099;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cw-staff-contact {
  margin-top: .75rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: .25rem;
}

.cw-staff-contact a {
  color: #3a3732;
  font-size: .9rem;
  text-decoration: none;
  -webkit-transition: color .2s ease;
  transition: color .2s ease;
}

.cw-staff-contact a:hover {
  color: #000099;
}

.cw-staff-phone:before {
  font-family: FontAwesome;
  content: "\f095";
  padding-right: .4rem;
  color: #000099;
}

.cw-staff-email:before {
  font-family: FontAwesome;
  content: "\f0e0";
  padding-right: .4rem;
  color: #000099;
}

.cw-staff-bio {
  margin-top: .75rem;
  color: #3a3732;
  font-size: .9rem;
  line-height: 1.6;
  text-align: left;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .cw-staff-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-staff {
    padding: 4.5rem 0;
  }

  .cw-staff-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Custom Generic Page Content - Reusable Text/List/CTA Block */
/* Shared content component for the secondary pages pulled from */
/* jacobsford.com (Specials, Finance Center, Employment, Sell Us Your Car, */
/* Service Center, Parts Center) - a readable text column with optional */
/* subheadings, a bullet list, and blue CTA buttons, matching the */
/* established brand blue/white look rather than inventing a new style per */
/* page. Dropped the inner column's max-width (v2) - it read as too narrow/ */
/* constrained against the rest of the site, which doesn't cap text width */
/* this tightly anywhere else; `.container` (Bootstrap) already keeps the */
/* line length reasonable. Each page's main title now reuses the homepage's */
/* `.cw-section-title` eyebrow+heading+divider component (the same one */
/* "Our Story"/"Why Buy"/Staff use on the About page) instead of a plain */
/* <h2> - this is the standard title treatment for every content section */
/* site-wide going forward, not just this component. Left-aligned here (v3) */
/* via the `.cw-page-content` descendant scope - `.cw-section-title` is */
/* centered by default everywhere else it's used, but reads better flush */
/* left against this component's own left-aligned paragraph text. Any */
/* *additional* in-page subheadings (e.g. Sell Us Your Car's) are `<h3>`s, */
/* styled below - kept as a separate element/selector from */
/* `.cw-section-title-heading` (also an `<h2>`) specifically so the two */
/* never compete on specificity. */
.cw-page-content {
  padding: 3rem 0;
  background-color: #ffffff;
}

.cw-page-content .cw-section-title {
  padding: 0 0 .5rem;
  text-align: left;
}

.cw-page-content .cw-section-title-eyebrow {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.cw-page-content .cw-section-title-divider {
  margin: 1rem 0 0;
}

.cw-page-content h3 {
  margin: 2rem 0 1rem;
  color: #0a1233;
  font-weight: 800;
  font-size: 1.4rem;
}

.cw-page-content h3:first-child {
  margin-top: 0;
}

.cw-page-content p {
  margin-bottom: 1rem;
  color: #3a3732;
  font-size: 1rem;
  line-height: 1.7;
}

.cw-page-content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: #3a3732;
  font-size: 1rem;
  line-height: 1.7;
}

.cw-page-content ul li {
  margin-bottom: .5rem;
}

.cw-page-content-cta {
  margin-top: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1rem;
}

.cw-page-content-cta a {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: .375rem;
  background-color: #000099;
  color: #ffffff;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  -webkit-transition: background-color .2s ease;
  transition: background-color .2s ease;
}

.cw-page-content-cta a:hover {
  background-color: #021ea8;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-page-content {
    padding: 4.5rem 0;
  }

  .cw-page-content h3 {
    font-size: 1.6rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Custom Contact Us - Full-Width Map */
/* Sits at the bottom of the Contact Us page, below the business info block. */
/* Deliberately full-bleed (no `.container` wrapper) so it spans the entire */
/* page width rather than being capped like the rest of the site's content - */
/* per explicit request. Same embed URL as the footer map (pinned to the */
/* business's actual Google Place ID, not geocoded from the address string). */
.cw-contact-map {
  width: 100%;
}

.cw-contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .cw-contact-map iframe {
    height: 400px;
  }
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {
  .cw-contact-map iframe {
    height: 480px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
