/* light-duty-towing.html ONLY — affidavit body glass, ported from career-page-body-glass.css
   Source lineage: Discount affidavit.css 3588–3698, 4556–4587 (audit §8–§9, §15).
   Scope: html[data-light-duty-towing-page] #light-duty-towing-page-body
   Grenier purple tokens: rgba(72, 27, 130, …) / #2e0c5e
   Per-page deltas: no stats band, no application modal; media-frame holds the
   Capabilities Swiper (no forced single-image height — see body-sections.css). */

/* --- Grid (affidavit 514–525) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .grid {
  display: grid !important;
  gap: 22px;
  width: 100%;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* --- glass-caption tray (affidavit 4556–4558) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .glass-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12.6px;
  width: 100%;
  height: 100%;
  padding: clamp(18px, 2.6vw, 28px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(72, 27, 130, 0.14), transparent 34%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 255, 0.72) 52%, rgba(245, 240, 252, 0.62)),
    rgba(255, 255, 255, 0.44);
  box-shadow:
    0 34px 70px rgba(72, 27, 130, 0.2),
    0 14px 30px rgba(72, 27, 130, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -2px 0 rgba(72, 27, 130, 0.1);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card .glass-caption {
  display: flex;
  flex-direction: column;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .glass-caption::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.16));
  pointer-events: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .glass-caption > * {
  position: relative;
  z-index: 2;
}

/* --- Shell nullify: job-card + content-card (affidavit 4559) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card {
  position: relative;
  isolation: isolate;
  overflow: visible;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 !important;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card::before {
  display: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card:hover .glass-caption,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card:hover .glass-caption {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 44px 86px rgba(72, 27, 130, 0.24),
    0 18px 34px rgba(72, 27, 130, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(72, 27, 130, 0.12);
}

/* --- Inner caption panel (affidavit 3639) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.88) 0%, rgba(250, 248, 255, 0.8) 52%, rgba(245, 240, 252, 0.74) 100%),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(72, 27, 130, 0.08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

/* --- M4: caption double-stack (affidavit 3639 + 4564) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__caption {
  transform: translateY(0);
  box-shadow:
    0 24px 48px rgba(72, 27, 130, 0.16),
    0 12px 24px rgba(72, 27, 130, 0.08),
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(72, 27, 130, 0.08);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    filter 0.28s ease;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__caption::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 54%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
  pointer-events: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card:hover .job-card__caption {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.74);
  filter: brightness(1.02);
}

/* --- button-row (affidavit §6.3) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10.8px;
  align-items: center;
}

/* --- section-heading (affidavit 4561–4563) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 36px;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading > div {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(72, 27, 130, 0.14), transparent 34%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 255, 0.72) 52%, rgba(245, 240, 252, 0.62)),
    rgba(255, 255, 255, 0.44);
  box-shadow:
    0 30px 62px rgba(72, 27, 130, 0.18),
    0 12px 26px rgba(72, 27, 130, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -2px 0 rgba(72, 27, 130, 0.1);
  backdrop-filter: blur(26px) saturate(154%);
  -webkit-backdrop-filter: blur(26px) saturate(154%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading > div::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.16));
  pointer-events: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading > div > * {
  position: relative;
  z-index: 2;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading > div:hover {
  transform: translateY(-8px);
}

/* --- Raised pills: text elements only --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .eyebrow,
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__label,
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__caption > p,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card h2,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card p,
html[data-light-duty-towing-page] #light-duty-towing-page-body .detail-list li,
html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading h2,
html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading > p,
html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story__eyebrow,
html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story__title,
html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story__copy {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(72, 27, 130, 0.08);
  backdrop-filter: blur(18px) saturate(142%);
  -webkit-backdrop-filter: blur(18px) saturate(142%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    filter 0.28s ease;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .eyebrow::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__label::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__caption > p::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card h2::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card p::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .detail-list li::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading h2::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading > p::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story__eyebrow::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story__title::before,
html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story__copy::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 54%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
  pointer-events: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .eyebrow {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 9px 16px !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #2e0c5e !important;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__label {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  border-radius: 24px;
  padding: 12px 16px !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #2e0c5e !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card h2 {
  width: fit-content;
  max-width: 100%;
  border-radius: 24px;
  padding: 12px 16px !important;
  font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  color: #222222 !important;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__caption > p,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card p,
html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story__copy {
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  padding: 14px 16px !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #444444 !important;
  line-height: 1.55 !important;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading h2 {
  width: fit-content;
  max-width: 100%;
  border-radius: 24px;
  padding: 12px 16px !important;
  font-size: clamp(1.65rem, 2.35vw, 2.35rem) !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  color: #222222 !important;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading > p {
  flex: 1 1 360px;
  width: auto;
  max-width: 60ch;
  align-self: center;
  border-radius: 24px;
  padding: 14px 16px !important;
  font-size: 1.02rem !important;
  line-height: 1.6 !important;
  color: #555555 !important;
}

/* --- Lists: per-li raised pills (affidavit 4564 / 4571) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .detail-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: 18px;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
  color: #555555 !important;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .detail-list li i {
  color: #2e0c5e;
  margin-right: 5px;
  margin-top: 3px;
}

/* --- Actions row (affidavit 3661–3682) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .service-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: auto !important;
  padding-top: 6px;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .service-card__links a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  padding: 10px 14px !important;
  border-radius: 18px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #2e0c5e !important;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 240, 252, 0.68)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 18px 34px rgba(72, 27, 130, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .service-card__links a:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 46px rgba(72, 27, 130, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* --- job-card image well (affidavit 4577, 4582–4583) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  flex-shrink: 0;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__img-wrap a {
  display: block;
  width: 100%;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__img-wrap img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card:hover .job-card__img-wrap img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.03);
}

/* --- split + content-card + media-frame (affidavit 584–589, 4215–4287) --- */
html[data-light-duty-towing-page] #light-duty-towing-page-body .split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame {
  position: relative;
  isolation: isolate;
  transform: translateY(0);
  display: grid;
  gap: 18px;
  padding: 18px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at top right, rgba(72, 27, 130, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 248, 255, 0.86)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    0 56px 112px rgba(72, 27, 130, 0.22),
    0 24px 48px rgba(72, 27, 130, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -2px 0 rgba(72, 27, 130, 0.08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame:hover {
  transform: translateY(-10px);
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame__visual {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 34px 64px rgba(72, 27, 130, 0.18),
    0 0 0 1px rgba(245, 240, 252, 0.86);
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(circle at top right, rgba(72, 27, 130, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 255, 0.82)),
    rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(142%);
  -webkit-backdrop-filter: blur(20px) saturate(142%);
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 9px 16px !important;
  border-radius: 999px;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #2e0c5e !important;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story__title {
  display: block;
  width: fit-content;
  max-width: 100%;
  border-radius: 24px;
  padding: 12px 16px !important;
  font-size: clamp(1rem, 1.45vw, 1.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #2e0c5e !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  html[data-light-duty-towing-page] #light-duty-towing-page-body .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  html[data-light-duty-towing-page] #light-duty-towing-page-body .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  html[data-light-duty-towing-page] #light-duty-towing-page-body .glass-caption {
    padding: 16px;
    gap: 12px;
  }

  html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__label,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading h2,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card h2,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story__title {
    width: 100%;
  }

  html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading {
    align-items: stretch;
  }

  html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading > div,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .section-heading > p {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  html[data-light-duty-towing-page] #light-duty-towing-page-body .image-story {
    padding: 16px;
  }
}

@media (max-width: 575px) {
  html[data-light-duty-towing-page] #light-duty-towing-page-body .grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card:hover .glass-caption {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-light-duty-towing-page] #light-duty-towing-page-body .glass-caption,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame {
    transition: none !important;
  }

  html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card:hover .glass-caption,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card:hover .glass-caption,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame:hover {
    transform: none !important;
  }
}

/* ============================================================ */
/* 3D TRIPLE-STACK DEPTH — home reference (home-card-stack-3d.css)  */
/* tray -> rear backplate -> floating image block -> text block.   */
/* Soft white slab frames (no purple outline — per user).          */
/* ============================================================ */

/* trays need room for backplate + lifts */
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card,
html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame {
  overflow: visible;
}

/* rear backplate — layer 0 (clone of home .promise-card::after) */
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card::after,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card::after,
html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: calc(100% - 12px);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(46, 12, 94, 0.06), rgba(46, 12, 94, 0.14));
  box-shadow: 0 30px 60px rgba(46, 12, 94, 0.22);
  transform: translateY(12px) scale(0.985);
  z-index: 0;
  pointer-events: none;
}

/* re-enable the shell ::before disable so backplate shows; keep caption above */
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card > .glass-caption,
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card > .glass-caption {
  position: relative;
  z-index: 1;
}

/* LAYER 1 — floating white image block (media slab) with 3px purple frame */
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__img-wrap,
html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame__visual {
  position: relative;
  z-index: 3;
  padding: 10px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at top right, rgba(250, 248, 255, 0.9), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8f6fc 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -2px 0 rgba(46, 12, 94, 0.07) inset,
    0 28px 52px rgba(46, 12, 94, 0.26),
    0 12px 24px rgba(46, 12, 94, 0.16),
    0 4px 8px rgba(46, 12, 94, 0.1) !important;
  transform: translateY(-3px);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__img-wrap img {
  border-radius: 12px !important;
  height: 190px;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card:hover .job-card__img-wrap,
html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame:hover .media-frame__visual {
  transform: translateY(-8px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 38px 66px rgba(46, 12, 94, 0.32),
    0 16px 32px rgba(46, 12, 94, 0.2),
    0 6px 12px rgba(46, 12, 94, 0.12) !important;
}

/* LAYER 2 — floating text block (job-card caption) settles below image */
html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__caption {
  position: relative;
  z-index: 2;
  transform: translateY(2px);
}

@media (prefers-reduced-motion: reduce) {
  html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__img-wrap,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame__visual,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card__caption {
    transition: none !important;
    transform: none !important;
  }

  html[data-light-duty-towing-page] #light-duty-towing-page-body .job-card:hover .job-card__img-wrap,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .media-frame:hover .media-frame__visual {
    transform: none !important;
  }
}

/* Capabilities eyebrow "Precision, Power, and Professionalism" — centered + larger (user request) */
html[data-light-duty-towing-page] #light-duty-towing-page-body .content-card .eyebrow {
  justify-self: center;
  text-align: center;
  font-size: 1.05rem !important;
}

/* ============================================================ */
/* LIGHT-DUTY BODY TOP HEADER — HOME FEATURE STACK PATTERN ONLY */
/* Scope: top body header component only. Existing body content untouched. */
/* ============================================================ */

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-header {
  --ldt-body-stack-radius: 26px;
  --ldt-body-image-ratio: 5 / 4;
  --ldt-body-text-min: 128px;
  --ldt-body-glass-bg:
    radial-gradient(circle at top right, rgba(72, 27, 130, 0.14), transparent 34%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 255, 0.72) 52%, rgba(245, 240, 252, 0.62)),
    rgba(255, 255, 255, 0.44);
  --ldt-body-glass-shadow:
    0 34px 70px rgba(72, 27, 130, 0.2),
    0 14px 30px rgba(72, 27, 130, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -2px 0 rgba(72, 27, 130, 0.1);
  --ldt-body-pill-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(72, 27, 130, 0.08);
  position: relative;
  padding: clamp(54px, 6vw, 82px) 0 clamp(18px, 3vw, 34px);
  background: #ffffff;
  overflow: visible;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: visible;
  margin: 0 auto;
  padding: 18px 16px 22px;
  border-radius: var(--ldt-body-stack-radius);
  background: var(--ldt-body-glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--ldt-body-glass-shadow);
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, transparent 44%, rgba(46, 12, 94, 0.03) 100%);
  pointer-events: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: calc(100% - 14px);
  z-index: 0;
  border-radius: calc(var(--ldt-body-stack-radius) - 2px);
  background: linear-gradient(180deg, rgba(46, 12, 94, 0.025), rgba(46, 12, 94, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(46, 12, 94, 0.14);
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack__cap {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--ldt-body-stack-radius);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--ldt-body-glass-bg);
  box-shadow: var(--ldt-body-glass-shadow);
  transform: translateY(-6px);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack__cap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 45%);
  pointer-events: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-header .feature__wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px !important;
  padding-bottom: 20px !important;
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack__heading-slab,
html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__image-slab,
html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__text-slab {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 8px;
  line-height: normal;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow: var(--ldt-body-pill-shadow);
  backdrop-filter: blur(18px) saturate(142%);
  -webkit-backdrop-filter: blur(18px) saturate(142%);
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack__heading-slab {
  margin-bottom: 14px;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack__heading-pill,
html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__image-pill,
html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__text-pill {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow: var(--ldt-body-pill-shadow);
  backdrop-filter: blur(18px) saturate(142%);
  -webkit-backdrop-filter: blur(18px) saturate(142%);
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack__heading-pill {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: clamp(18px, 3vw, 28px);
  text-align: center;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow: var(--ldt-body-pill-shadow);
  color: #2e0c5e;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack__heading-pill h2 {
  margin: 0;
  color: #2e0c5e;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.45rem, 2.65vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-grid {
  width: 100%;
  margin: 0;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-grid > [class*="col-"] {
  display: flex;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 8px 6px 10px;
  gap: 6px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__text-slab {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__image-pill {
  padding: 8px;
  line-height: 0;
  aspect-ratio: var(--ldt-body-image-ratio);
  overflow: hidden;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__text-pill {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: var(--ldt-body-text-min);
  padding: 12px 14px 14px;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__image-pill img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px !important;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__text-pill h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  color: #2e0c5e;
  text-align: center;
  text-transform: capitalize;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__text-pill p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #000000;
  text-align: left;
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack:hover .ldt-body-feature-stack__cap {
  transform: translateY(-8px);
}

html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack:hover .ldt-body-feature-card-stack__image-pill img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.03);
}

@media (max-width: 575px) {
  html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-header {
    --ldt-body-text-min: auto;
    padding-top: 42px;
  }

  html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-header .feature__wrapper {
    padding: 12px !important;
  }

  html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack__heading-pill {
    justify-items: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-stack__cap,
  html[data-light-duty-towing-page] #light-duty-towing-page-body .ldt-body-feature-card-stack__image-pill img {
    transition: none !important;
    transform: none !important;
  }
}
