/* Neutralize the Dealer.com CMS wrapper so sections go full-bleed
   (same override used on kia-dealer-daly-city.htm) */
.container-max-md {
  max-width: 100% !important;
}

@media (min-width: 1200px) {
  .pl-xl-8,
  .px-xl-8 {
    padding-left: 0 !important;
  }

  .pr-xl-8,
  .px-xl-8 {
    padding-right: 0 !important;
  }
}

@media (min-width: 992px) {
  .pl-lg-6,
  .px-lg-6 {
    padding-left: 0 !important;
  }

  .pr-lg-6,
  .px-lg-6 {
    padding-right: 0 !important;
  }
}

@media (min-width: 768px) {
  .p-md-5 {
    padding: 0 !important;
  }
}

.p-4 {
  padding: 0 !important;
}

/* Page chrome + localized sections. The model-content sections below use the
   Sorento digital-* system loaded from dealer-model-page.pages.dev/style.css */
html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: #ffffff;
  color: #05141f;
  font-family: inherit;
  line-height: 1.65;
}

a {
  color: #05141f;
}

a:hover {
  color: #10283a;
}

/* Split hero + stat bar — ported from the Kia dealer city page, scoped */
.sm-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: #05141f;
  overflow: hidden;
}

.sm-hero .sm-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://pictures.dealer.com/s/serramontekia/1234/679ba865868144c08c8e470dd42fab36.jpg");
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
}

.sm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 20, 31, 0.92) 0%,
    rgba(5, 20, 31, 0.72) 38%,
    rgba(5, 20, 31, 0.34) 70%,
    rgba(5, 20, 31, 0.1) 100%
  );
  z-index: 1;
}

.sm-hero .sm-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 64px;
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.sm-hero .sm-hero-crumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

.sm-hero .sm-hero-crumb a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.sm-hero .sm-hero-crumb a:hover {
  color: #ffffff;
}

.sm-hero .sm-hero-crumb span {
  color: #ffffff;
}

.sm-hero .sm-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}

.sm-hero .sm-hero-h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 22px;
}

.sm-hero .sm-hero-sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 300;
}

.sm-hero .sm-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sm-hero .btn-white,
.sm-hero .btn-outline-white {
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.sm-hero .btn-white {
  background: #ffffff;
  color: #05141f;
  border: 2px solid #ffffff;
}

.sm-hero .btn-white:hover {
  background: #e0e0e0;
  color: #05141f;
}

.sm-hero .btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.sm-hero .btn-outline-white:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.sm-hero .sm-hero-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 28px 0 0;
  padding: 0;
  max-width: 620px;
}

.sm-hero .sm-hero-trust li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
  font-weight: 500;
}

.sm-hero .sm-hero-trust li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
  font-weight: 700;
}

.sm-statbar {
  background: #05141f;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sm-statbar .stat-item {
  padding: 26px 28px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sm-statbar .stat-item:last-child {
  border-right: none;
}

.sm-statbar .stat-num {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 5px;
}

.sm-statbar .stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .sm-hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  .sm-hero .sm-hero-bg {
    position: relative;
    order: -1;
    height: 320px;
  }

  .sm-hero::before {
    display: none;
  }

  .sm-hero .sm-hero-left {
    padding: 56px 20px;
    max-width: none;
  }

  .sm-hero .sm-hero-sub {
    max-width: none;
  }

  .sm-statbar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sm-hero .sm-hero-trust {
    grid-template-columns: 1fr;
  }

  .sm-statbar {
    grid-template-columns: 1fr;
  }

  .sm-hero .sm-hero-btns {
    flex-direction: column;
  }

  .sm-hero .sm-hero-btns .btn-white,
  .sm-hero .sm-hero-btns .btn-outline-white {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

.sm-note {
  margin: 18px 0 0;
  color: #59656d;
  font-size: 14px;
  max-width: 860px;
}

/* Current offers / deals cards (real lease data sourced from Serramonte Kia specials) */
.sm-deals {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.sm-deal-card {
  flex: 0 1 380px;
  border: 1px solid #e2e6e9;
  background: #ffffff;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.sm-deal-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #59656d;
  margin-bottom: 8px;
}

.sm-deal-name {
  font-size: 22px;
  font-weight: 800;
  color: #05141f;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}

.sm-deal-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.sm-deal-amount {
  font-size: 42px;
  font-weight: 900;
  color: #05141f;
  letter-spacing: -1.5px;
  line-height: 1;
}

.sm-deal-per {
  font-size: 15px;
  color: #59656d;
  font-weight: 600;
}

.sm-deal-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.sm-deal-term {
  font-size: 12.5px;
  font-weight: 600;
  color: #05141f;
  background: #f4f6f7;
  border: 1px solid #e2e6e9;
  padding: 6px 10px;
}

.sm-deal-details {
  border-top: 1px solid #e2e6e9;
  padding-top: 14px;
  margin-bottom: 16px;
}

.sm-deal-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}

.sm-deal-key {
  color: #59656d;
}

.sm-deal-val {
  color: #05141f;
  font-weight: 700;
}

.sm-deal-vin {
  font-size: 12px;
  color: #8a949b;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.sm-deal-cta {
  align-self: flex-start;
  margin-top: auto;
  display: inline-block;
  background: #05141f;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 26px;
}

.sm-deal-cta:hover {
  background: #10283a;
  color: #ffffff;
}

/* New/Used shop links inside each trim card */
.sm-trim-shop {
  margin-top: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sm-trim-shop a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 11px 10px;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s;
}

.sm-trim-shop a.new {
  background: #05141f;
  color: #ffffff;
}

.sm-trim-shop a.new:hover {
  background: #10283a;
  color: #ffffff;
}

/* Photo gallery — static grid with caption overlays (uses local imagery) */
.sm-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .sm-gallery {
    grid-template-columns: 1fr;
  }
}

.sm-gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #05141f;
}

.sm-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sm-gallery figure:hover img {
  transform: scale(1.05);
}

.sm-gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #ffffff;
  background: linear-gradient(transparent, rgba(5, 20, 31, 0.88));
}

/* FAQ accordion — ported from Kia dealer city page (chevron, single-open) */
.sm-faq {
  max-width: 900px;
  margin: 0 auto;
}

.sm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #e2e6e9;
}

.sm-faq-item {
  border-bottom: 1px solid #e2e6e9;
}

.sm-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 19px;
  font-weight: 700;
  color: #05141f;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  letter-spacing: -0.2px;
}

.sm-faq-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #05141f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #05141f;
  transition: transform 0.3s;
}

.sm-faq-item.open .sm-faq-arrow {
  transform: rotate(180deg);
}

.sm-faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
  padding: 0;
}

.sm-faq-item.open .sm-faq-a {
  max-height: 720px;
  padding-bottom: 24px;
}

.sm-faq-a p {
  font-size: 17px;
  color: #59656d;
  line-height: 1.75;
  font-weight: 300;
  max-width: 820px;
  margin: 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid #d7dde1;
  background: #ffffff;
}

.comparison-primary-grid {
  margin: 1rem 0 0;
}

.comparison-primary-grid + .comparison-primary-grid {
  margin-top: 2rem;
}

.comparison-card-block,
.comparison-note-block {
  margin: 2rem 0 0;
}

.comparison-card-block h3,
.comparison-note-block h3 {
  margin: 0 0 1rem;
  color: #05141f;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.comparison-card {
  padding: 28px 24px 26px;
  border-right: 1px solid #d7dde1;
  border-bottom: 1px solid #d7dde1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.comparison-card-title {
  color: #05141f;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.comparison-card-head {
  min-height: 96px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.comparison-card-head.has-media {
  position: relative;
  padding-right: 144px;
}

.comparison-card-media {
  width: 128px;
  max-width: 34vw;
  height: auto;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.comparison-card-head.has-media .comparison-card-media {
  position: absolute;
  top: -2px;
  right: 0;
  width: 120px;
  max-width: none;
}

.comparison-card-divider {
  border-top: 1px solid #d7dde1;
  margin: 1.5rem 0 0.5rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 1.1rem 0;
  align-items: start;
}

.comparison-row + .comparison-row {
  border-top: 1px solid #d7dde1;
}

.comparison-label {
  color: #05141f;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

.comparison-value {
  color: #1f2a33;
  font-size: 0.98rem;
  line-height: 1.65;
}

.comparison-mobile-table-wrap {
  display: none;
}

.comparison-mobile-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}

.comparison-mobile-table th,
.comparison-mobile-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d7dde1;
  color: #1f2a33;
  line-height: 1.55;
}

.comparison-mobile-table thead th,
.comparison-mobile-table tbody th {
  color: #05141f;
  font-weight: 800;
}

.comparison-mobile-table thead th {
  border-bottom: 2px solid #05141f;
  white-space: nowrap;
}

.comparison-mobile-table tbody th {
  min-width: 150px;
}

.comparison-note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid #d7dde1;
  background: #fff;
}

.comparison-note {
  padding: 24px;
  border-right: 1px solid #d7dde1;
  border-bottom: 1px solid #d7dde1;
  background: #fff;
}

.comparison-note h4 {
  margin: 0 0 0.75rem;
  color: #05141f;
  font-size: 1.05rem;
  font-weight: 800;
}

.comparison-note p {
  margin: 0;
  color: #1f2a33;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Dealer "Getting Here" + map section — ported from the Kia dealer city page, scoped */
.sm-locate {
  background: #f4f6f7;
  border-top: 1px solid #e2e6e9;
  border-bottom: 1px solid #e2e6e9;
  padding: 64px 5%;
}

.sm-locate .sm-locate-inner {
  max-width: none;
  margin: 0;
}

.sm-locate .sm-locate-lead {
  font-size: 17px;
  color: #59656d;
  line-height: 1.7;
  max-width: 820px;
  margin: 1.5rem auto 40px;
  text-align: center;
}

.sm-locate .location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 3px;
  align-items: start;
}

.sm-locate .location-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}

.sm-locate .location-card,
.sm-locate .map-card,
.sm-locate .hours-card {
  background: #ffffff;
  padding: 30px 28px;
}

.sm-locate .location-card h3,
.sm-locate .hours-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  line-height: 1.15;
  color: #05141f;
}

.sm-locate .location-card p,
.sm-locate .hours-card p {
  font-size: 15.5px;
  color: #59656d;
  line-height: 1.7;
  margin: 0 0 4px;
  font-weight: 400;
}

.sm-locate .location-stack {
  display: grid;
  gap: 3px;
}

.sm-locate .map-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sm-locate .map-embed {
  flex: 1;
  min-height: 380px;
}

.sm-locate .map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

.sm-locate .map-cta {
  padding: 20px 24px 24px;
}

.sm-locate .btn-black {
  display: inline-block;
  background: #05141f;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 26px;
}

.sm-locate .btn-black:hover {
  background: #10283a;
  color: #ffffff;
}

.sm-locate .hours-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm-locate .hours-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 15.5px;
  color: #59656d;
}

.sm-locate .hours-row strong {
  color: #05141f;
}

@media (max-width: 1024px) {
  .sm-locate .location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sm-locate {
    padding: 44px 16px;
  }

  .sm-locate .sm-locate-inner {
    width: 100%;
    max-width: 100%;
  }

  .sm-locate .sm-locate-lead {
    font-size: 15.5px;
    line-height: 1.65;
    margin: 1rem auto 24px;
    text-align: left;
  }

  .sm-locate .location-grid,
  .sm-locate .location-cards,
  .sm-locate .location-stack {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .sm-locate .location-card,
  .sm-locate .map-card,
  .sm-locate .hours-card {
    width: 100%;
    min-width: 0;
    padding: 22px 18px;
    box-sizing: border-box;
  }

  .sm-locate .location-card h3,
  .sm-locate .hours-card h3 {
    font-size: 18px;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .sm-locate .location-card p,
  .sm-locate .hours-card p,
  .sm-locate .location-card a {
    font-size: 14.5px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .sm-locate .map-card {
    padding: 0;
  }

  .sm-locate .map-embed,
  .sm-locate .map-embed iframe {
    min-height: 260px;
  }

  .sm-locate .map-cta {
    padding: 16px;
  }

  .sm-locate .btn-black {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 14px 16px;
    white-space: normal;
  }
}

@media (min-width: 1025px) {
  .sm-locate .location-grid {
    align-items: stretch;
  }

  .sm-locate .location-cards,
  .sm-locate .location-stack {
    height: 100%;
  }

  .sm-locate .location-cards {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .sm-locate .location-stack {
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .sm-locate .location-card,
  .sm-locate .map-card {
    height: 100%;
  }
}

/* ===== digital-* model-page system (inlined from dealer-model-page.pages.dev/style.css) ===== */
/* Reconciled for this page: card hovers no longer invert to a black background; #000/#333 unified to Kia Midnight Black #05141F. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
}

.digital-container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.digital-section {
  padding: 4rem 0;
}

.digital-section:nth-child(even) {
  background-color: #f8f8f8;
}

h1 {
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-weight: 300;
  letter-spacing: 2px;
}

h2 {
  font-size: 2.5rem !important;
  text-align: center;
  color: #05141f;
  font-weight: 300;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #05141f;
  font-weight: 400;
}

@media (max-width: 768px) {
  .digital-content-text {
    order: 2;
    font-size: 18px;
  }

  .digital-content-image {
    order: 1;
  }

  .digital-content-grid .digital-content-image {
    order: 1 !important;
  }

  .digital-content-grid .digital-content-text {
    order: 2 !important;
  }

  p {
    font-size: 18px !important;
  }

  li {
    font-size: 18px !important;
  }

  .digital-trim-content ul li {
    font-size: 18px !important;
  }

  .digital-trim-price-label {
    font-size: 18px !important;
  }

  .digital-content-image img {
    height: 250px !important;
  }

  .digital-section {
    padding: 2rem 0;
  }

  .digital-cta-button,
  .digital-cta-button-outline {
    display: block;
    margin: 0.5rem auto !important;
    width: 90%;
    text-align: center;
    font-size: 16px !important;
  }
}

.digital-trims-container {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  scrollbar-width: none;
  cursor: grab;
}

.digital-trims-container::-webkit-scrollbar {
  display: none;
}

.digital-trims-grid {
  display: flex;
  gap: 2rem;
  transition: transform 0.3s ease;
  padding: 0 2rem;
  width: max-content;
}

.digital-trims-grid.sm-trims-center {
  width: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .digital-trims-grid {
    padding: 0 calc(50vw - 600px);
  }
}

.digital-trim-card {
  background: white;
  border-radius: 0;
  transition: all 0.3s ease;
  flex: 0 0 280px;
  width: 280px;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
}

@media (min-width: 768px) {
  .digital-trim-card {
    flex: 0 0 340px;
    width: 340px;
  }
}

.digital-trim-card:hover {
  border-color: #05141f;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.digital-trim-header {
  padding: 1.5rem 1.5rem 0;
  text-align: center;
}

.digital-trim-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.digital-trim-price {
  font-size: 1.8rem;
  color: #05141f;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.digital-trim-price-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.digital-trim-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center center;
  background: #f6f7f8;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .digital-trim-image {
    height: 150px;
  }
}

.digital-trim-content {
  padding: 0 1.5rem;
  flex: 1;
}

.digital-trim-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #05141f;
}

.digital-trim-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.digital-trim-content ul::-webkit-scrollbar {
  width: 4px;
}

.digital-trim-content ul::-webkit-scrollbar-track {
  background: transparent;
}

.digital-trim-content ul::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 0;
}

.digital-trim-content ul li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
  line-height: 1.4;
}

.digital-trim-content ul li:last-child {
  border-bottom: none;
}

.digital-cta-button {
  background: #05141f;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 1rem;
  text-transform: capitalize;
  letter-spacing: 1px;
  font-weight: bold;
}

.digital-cta-button:hover {
  background: white;
  color: #05141f;
  border: 1px solid #05141f;
}

.digital-cta-button-outline {
  background: #fff;
  color: #05141f;
  padding: 1rem 2rem;
  border: 1px solid #05141f;
  border-radius: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 1rem;
  text-transform: capitalize;
  letter-spacing: 1px;
  font-weight: bold;
}

.digital-cta-button-outline:hover {
  background: #05141f;
  color: #fff;
  border: 1px solid #05141f;
}

.digital-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .digital-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.digital-content-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.digital-content-image {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .digital-content-image {
    height: auto;
  }
}

[class*="-accordion-item"] {
  border-bottom: 2px solid #e0e0e0;
  padding: 1.5rem 0;
}

[class*="-accordion-item"].active [class*="-accordion-header"] h3 {
  color: #05141f;
}

[class*="-accordion-header"] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

[class*="-accordion-header"]:hover h3 {
  color: #05141f;
}

[class*="-accordion-item"].active [class*="-accordion-icon"] {
  transform: rotate(45deg);
}

[class*="-accordion-icon"] {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

[class*="-accordion-content"] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.sm-section-intro {
  text-align: center;
  color: #59656d;
  max-width: 760px;
  margin: 1rem auto 2.5rem;
}

.sm-section-actions {
  text-align: center;
  margin-top: 2rem;
}

.sm-section-actions .digital-cta-button,
.sm-section-actions .digital-cta-button-outline {
  margin: 0 0.5rem;
}

.sm-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.sm-feature-media-wrapper {
  position: sticky;
  top: 2rem;
}

.sm-feature-image-container {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.sm-feature-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sm-feature-accordion h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.sm-accordion-copy {
  padding-top: 1rem;
}

.sm-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 380px));
  gap: 4rem;
  justify-content: center;
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

.sm-related-grid h3 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  text-align: left;
}

.sm-related-grid .model-links {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.75;
}

.sm-related-grid .model-links-cta {
  margin: 1rem 0 0;
  text-align: left;
}

.sm-related-grid .model-links-cta a {
  font-weight: 700;
}

.sm-sources {
  background: #f4f6f7;
  color: #59656d;
  padding: 20px 5%;
  font-size: 12.5px;
  line-height: 1.65;
  text-align: center;
}

.sm-sources p {
  max-width: 920px;
  margin: 0 auto;
}

.gallery-feature {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

.gallery-local {
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .technology-grid,
  .sm-feature-grid {
    grid-template-columns: 1fr !important;
  }

  .technology-media-wrapper,
  .sm-feature-media-wrapper {
    position: static !important;
  }

  .technology-media-wrapper {
    order: -1;
  }

  #technologyImageContainer,
  .sm-feature-image-container {
    height: 300px !important;
  }

  .sm-feature-media-wrapper {
    order: -1;
  }
}

@media (max-width: 640px) {
  .digital-trims-grid {
    gap: 1rem !important;
    padding: 0 1rem !important;
  }
  .digital-trim-card {
    flex: 0 0 86vw !important;
    width: 86vw !important;
  }
  .digital-trim-image {
    object-fit: contain !important;
    object-position: center center;
    background: #f6f7f8;
  }
  .digital-trim-content ul li {
    padding: 0.8rem 0 !important;
  }
}

/* Uniform spacing under every section H2 (previously ranged 0-48px) */
.digital-section h2 {
  margin-bottom: 2rem;
}
.digital-content-grid {
  margin-top: 0;
}

@media (max-width: 767px) {
  .sm-related-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .sm-related-grid > div {
    width: 100% !important;
    min-width: 0 !important;
  }

  .sm-related-grid h3 {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
  }

  .sm-related-grid .model-links {
    padding-left: 1rem !important;
    margin: 0 !important;
    overflow-wrap: anywhere;
  }

  .sm-related-grid .model-links li {
    margin-bottom: 0.45rem;
  }

  .sm-related-grid .model-links a,
  .sm-related-grid p a {
    display: inline;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* Shared checklist layout from the model-city pages. Kept last so page-level
   accordion and card rules do not override the official checklist treatment. */
.local-test-drive-checklist .checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 4vw, 72px) clamp(28px, 4vw, 56px);
}

.local-test-drive-checklist .checklist-card {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 100%;
}

.local-test-drive-checklist .checklist-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 18px;
}

.local-test-drive-checklist .checklist-icon {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  border: 0;
  background: #f2f4f3;
  color: #2f3942;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-bottom: 24px;
}

.local-test-drive-checklist .checklist-icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.local-test-drive-checklist .checklist-test {
  display: block;
  color: #69757d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  margin-bottom: 8px;
}

.local-test-drive-checklist .checklist-title {
  margin: 0;
  color: #05141f;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 700;
  max-width: 16rem;
}

.local-test-drive-checklist .checklist-body {
  margin: 0;
  color: #1f2a33;
  font-size: 17px;
  line-height: 1.6;
  max-width: 20rem;
}

@media (max-width: 640px) {
  .local-test-drive-checklist .checklist-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .local-test-drive-checklist .checklist-card {
    padding: 0;
  }

  .local-test-drive-checklist .checklist-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
  }

  .local-test-drive-checklist .checklist-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.25;
  }

  .local-test-drive-checklist .checklist-title {
    font-size: 22px;
    max-width: none;
  }

  .local-test-drive-checklist .checklist-body {
    font-size: 16px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .digital-section h2,
  .sm-locate h2 {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
    line-height: 1.08;
  }

  .comparison-card-head {
    min-height: 72px;
  }

  .comparison-card-head.has-media {
    min-height: 88px;
    padding-right: 118px;
  }

  .comparison-card-head.has-media .comparison-card-media {
    width: 104px;
  }

  .comparison-primary-grid,
  .comparison-card-block > .comparison-grid {
    display: none;
  }

  .comparison-mobile-table-wrap {
    display: block;
    margin: 1rem -20px 0;
    padding: 0 20px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-mobile-table {
    min-width: 680px;
  }
}
