/**
 * DVC Sales case study — custom section visuals + gallery.
 * Scoped to #SingleCaseStudyRetro.case-study-dvc
 */

/* ─── Shared services-style blue gradient hover ─── */
#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona,
#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor {
  position: relative;
  overflow: hidden;
  transition:
    transform .8s ease,
    box-shadow .8s ease,
    border-color .8s ease;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(to top, #0000ff 40%, #0000ff 10%, #bdbcfe 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona:hover,
#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card:hover,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card:hover,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card:hover,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair:hover,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article:hover,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 255, .45);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona:hover::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card:hover::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card:hover::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card:hover::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair:hover::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article:hover::before,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor:hover::before {
  opacity: 1;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona > *,
#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card > *,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card > *,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card > *,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair > *,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article > *,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor > * {
  position: relative;
  z-index: 1;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona h4,
#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona p,
#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card h4,
#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card p,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card h4,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card p,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card strong,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card small,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair-label h4,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair > p,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results strong,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results small,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor-meta strong,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor-meta small {
  transition: color .8s ease;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona-icon,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card > i,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card-icon,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair-label span,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article > span,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor-num {
  transition:
    color .8s ease,
    background-color .8s ease,
    border-color .8s ease,
    transform .4s ease;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona:hover h4,
#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona:hover p,
#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card:hover h4,
#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card:hover p,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card:hover h4,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card:hover p,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card:hover strong,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card:hover small,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair:hover .dvc-impact__pair-label h4,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair:hover > p,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article:hover strong,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article:hover small,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor:hover .dvc-blueprint__floor-meta strong,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor:hover .dvc-blueprint__floor-meta small {
  color: #fff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona:hover .dvc-dossier__persona-icon,
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card:hover > i,
#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card:hover .dvc-connect__card-icon,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair:hover .dvc-impact__pair-label span,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article:hover > span,
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor:hover .dvc-blueprint__floor-num {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .16);
  color: #fff;
  transform: translateY(-2px);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__tech span {
  transition:
    color .8s ease,
    background-color .8s ease,
    border-color .8s ease;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor:hover .dvc-blueprint__tech span {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor:hover .dvc-blueprint__tech i {
  color: #fff !important;
}

/* ─── Gallery (listing-style frames — fully override retro mosaic) ─── */
#SingleCaseStudyRetro.case-study-dvc .retro-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  gap: 14px;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-media-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Lone card in the last row should not leave a half-empty cell */
#SingleCaseStudyRetro.case-study-dvc .retro-gallery-media-row > .retro-gallery-card:only-child {
  grid-column: 1 / -1;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card,
#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card--featured,
#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card:not(.retro-gallery-card--featured) {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #e3eaf4;
  border-radius: 22px;
  background: linear-gradient(180deg, #eff3ff 0%, #eef2f8 100%);
  box-shadow: 0 12px 28px rgba(10, 37, 64, .08);
  cursor: pointer;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card--featured {
  min-height: 0;
  padding: 12px 12px 0;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-media-row .retro-gallery-card {
  min-height: 0;
  padding: 10px 10px 0;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card > img {
  position: relative;
  z-index: 0;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  max-height: 320px;
  min-height: 0;
  height: auto;
  object-fit: contain;
  object-position: center top;
  filter: none;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card--featured > img {
  max-height: 420px;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-media-row .retro-gallery-card > img {
  max-height: 260px;
}

/* Kill retro full-bleed dark overlay that causes blue bleed / caption overlap */
#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card::after {
  content: none;
  display: none;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card__caption {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-height: 0;
  margin: 0 -12px;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, rgba(10, 37, 64, .55) 0%, rgba(10, 37, 64, .94) 100%);
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-media-row .retro-gallery-card__caption {
  margin: 0 -10px;
  padding: 16px 14px 14px;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card__caption p {
  margin: 5px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card--featured .retro-gallery-card__caption p {
  font-size: 18px;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card__caption span:not(.retro-gallery-card__index) {
  display: block;
  max-width: 420px;
  margin-top: 4px;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  line-height: 1.45;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card__index {
  color: #aeb4ff;
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card__index::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary, #0000ff);
  content: "";
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card:hover {
  border-color: rgba(0, 0, 255, .46);
  box-shadow: 0 20px 40px rgba(10, 37, 64, .16);
  transform: translateY(-4px);
}

#SingleCaseStudyRetro.case-study-dvc .retro-gallery-card:hover > img {
  filter: none;
  transform: scale(1.02);
}

@media (max-width: 991px) {
  #SingleCaseStudyRetro.case-study-dvc .retro-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  #SingleCaseStudyRetro.case-study-dvc .retro-gallery-card--featured,
  #SingleCaseStudyRetro.case-study-dvc .retro-gallery-card:not(.retro-gallery-card--featured) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 767px) {
  #SingleCaseStudyRetro.case-study-dvc .retro-gallery-media-row {
    grid-template-columns: minmax(0, 1fr);
  }

  #SingleCaseStudyRetro.case-study-dvc .retro-gallery-card--featured > img {
    max-height: 280px;
  }

  #SingleCaseStudyRetro.case-study-dvc .retro-gallery-media-row .retro-gallery-card > img {
    max-height: 220px;
  }
}

/* ─── Hero pipeline mockup ─── */
#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline {
  max-width: 540px;
  margin-left: auto;
  padding: 14px 16px;
  border: 1px solid rgba(174, 184, 255, .35);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f7f9ff 100%);
  box-shadow: 0 24px 48px rgba(10, 37, 64, .14);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8ecf3;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__header strong {
  display: block;
  color: #0a2540;
  font-size: 12px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__header small {
  display: block;
  color: #919191;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9fff7;
  color: #047857;
  font-size: 9px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__stages {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__stage {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #e7eaf1;
  border-radius: 10px;
  background: #fafbfd;
  transition: border-color .25s, background .25s;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__stage.is-active {
  border-color: rgba(0, 0, 255, .35);
  background: #f0f2ff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__stage.is-complete {
  border-color: rgba(16, 185, 129, .35);
  background: #f0fdf8;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__stage-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ececff;
  color: #0000ff;
  font-size: 10px;
  font-weight: 800;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__stage.is-complete .dvc-pipeline__stage-num {
  background: #d1fae5;
  color: #047857;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__stage-title {
  color: #212121;
  font-size: 10px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__stage-meta {
  color: #919191;
  font-size: 8px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__stage-badge {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff;
  color: #536172;
  font-size: 7px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__connector {
  display: flex;
  justify-content: center;
  height: 14px;
  color: #aeb8ff;
  font-size: 8px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #edf0f5;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pipeline__footer span {
  padding: 4px 8px;
  border-radius: 6px;
  background: #f0f2f8;
  color: #536172;
  font-size: 7px;
  font-weight: 600;
}

/* ─── Overview: dvc-dossier ─── */
#SingleCaseStudyRetro.case-study-dvc .dvc-dossier {
  display: grid;
  gap: 18px;
}

@media (min-width: 1024px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-dossier {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__facts {
  padding: 28px;
  border: 1px solid var(--color-border, #e3eaf4);
  border-radius: 28px;
  background: linear-gradient(145deg, #0a1548 0%, #0a2540 55%, #111827 100%);
  color: #fff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__facts h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 800;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__fact-grid {
  display: grid;
  gap: 12px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__fact {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__fact dt {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__fact dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__editorial {
  padding: 28px;
  border: 1px solid var(--color-border, #e3eaf4);
  border-radius: 28px;
  background: var(--color-surface, #fff);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__editorial p {
  margin: 0 0 14px;
  color: var(--color-text-muted, #6b7280);
  line-height: 1.75;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__personas {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-dossier__personas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona {
  padding: 20px;
  border: 1px solid var(--color-border, #e3eaf4);
  border-radius: 20px;
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

/* Hover gradient handled by shared services-style rules above */

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 255, .1);
  color: var(--color-primary, #0000ff);
  font-size: 18px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-dossier__persona p {
  margin: 0;
  color: var(--color-text-muted, #6b7280);
  font-size: 13px;
  line-height: 1.6;
}

/* ─── Challenge: dvc-pressure-map ─── */
#SingleCaseStudyRetro.case-study-dvc .dvc-pressure-map {
  padding: 28px 24px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(0, 0, 255, .35), transparent 55%),
    linear-gradient(145deg, #070b2a 0%, #0a1548 50%, #0a2540 100%);
  color: #fff;
  box-shadow: 0 28px 60px rgba(10, 37, 64, .22);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pressure-map__grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-pressure-map__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pressure-map__item {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pressure-map__item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pressure-map__item p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.6;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pressure-map__bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pressure-map__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #40a5fa, #0000ff);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-pressure-map__severity {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ─── Workflow: dvc-deal-spine ─── */
#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine {
  position: relative;
  margin-top: 28px;
  padding-left: 0;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 255, .35) 8%, rgba(0, 0, 255, .35) 92%, transparent);
  content: "";
  transform: translateX(-50%);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__stage:nth-child(even) .dvc-deal-spine__card {
  grid-column: 3;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__stage:nth-child(even) .dvc-deal-spine__spacer {
  grid-column: 1;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__node {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0, 0, 255, .25);
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary, #0000ff);
  font-size: 14px;
  grid-column: 2;
  grid-row: 1;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card {
  padding: 16px 18px;
  border: 1px solid var(--color-border, #e3eaf4);
  border-radius: 16px;
  background: var(--color-surface, #fff);
  box-shadow: 0 10px 24px rgba(10, 37, 64, .06);
  grid-column: 1;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card p {
  margin: 0;
  color: var(--color-text-muted, #6b7280);
  font-size: 12px;
  line-height: 1.55;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__spacer {
  grid-column: 3;
}

@media (max-width: 767px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine::before {
    left: 20px;
  }

  #SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__stage {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  #SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__card,
  #SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__stage:nth-child(even) .dvc-deal-spine__card {
    grid-column: 2;
  }

  #SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__node {
    grid-column: 1;
  }

  #SingleCaseStudyRetro.case-study-dvc .dvc-deal-spine__spacer {
    display: none;
  }
}

/* ─── Solution: dvc-feature-runway ─── */
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--color-border, #e3eaf4);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #f4f6fb;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__chrome span:nth-child(1) { background: #ff5f57; }
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__chrome span:nth-child(2) { background: #febc2e; }
#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__chrome span:nth-child(3) { background: #28c840; }

#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__chrome strong {
  margin-left: 8px;
  color: #536172;
  font-size: 12px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__screenshot {
  overflow: hidden;
  border: 1px solid var(--color-border, #e3eaf4);
  border-radius: 0 0 16px 16px;
  background: #fff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__cards {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card {
  padding: 16px;
  border: 1px solid var(--color-border, #e3eaf4);
  border-radius: 14px;
  background: var(--color-surface, #fff);
}

/* Hover gradient handled by shared services-style rules above */

#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 255, .1);
  color: var(--color-primary, #0000ff);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card h4 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-feature-runway__card p {
  margin: 0;
  color: var(--color-text-muted, #6b7280);
  font-size: 11px;
  line-height: 1.55;
}

/* ─── Integrations: dvc-connect ─── */
#SingleCaseStudyRetro.case-study-dvc .dvc-connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-connect {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 40px;
    align-items: center;
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__copy .retro-solution-title {
  margin-top: 16px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__bullets {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text, #0a2540);
  font-size: 13px;
  font-weight: 600;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__bullets i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 0, 255, .08);
  color: var(--color-primary, #0000ff);
  font-size: 12px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dde3f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 55px -38px rgba(10, 37, 64, .42);
}

@media (min-width: 640px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-connect__panel {
    padding: 20px;
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8ecf3;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__panel-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ececff;
  color: #0000ff;
  font-size: 14px;
  flex-shrink: 0;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__panel-title small {
  display: block;
  color: #919191;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__panel-title strong {
  display: block;
  margin-top: 2px;
  color: #0a2540;
  font-size: 13px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__synced {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9fff7;
  color: #047857;
  font-size: 8px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__synced i {
  font-size: 5px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__core {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a2540 0%, #0000bc 100%);
  color: #fff;
  box-shadow: 0 18px 34px -24px rgba(0, 0, 255, .85);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__core-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__core-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__core-main small {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__core-main strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__core-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__core-tags span {
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .88);
  font-size: 9px;
  font-weight: 600;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__flow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: #0000ff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__flow span {
  width: 1px;
  height: 18px;
  border-left: 1px dashed #aeb8ff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__flow i {
  font-size: 10px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__flow em {
  font-style: normal;
  color: #6e79a5;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 640px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-connect__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 118px;
  padding: 12px;
  border: 1px solid #e3e7f0;
  border-radius: 12px;
  background: #fafbfd;
}

/* Hover gradient handled by shared services-style rules above */

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 13px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card-icon--email {
  background: #eaf2ff;
  color: #2563eb;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card-icon--sms {
  background: #e9fff7;
  color: #047857;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card-icon--chat {
  background: #f2ecff;
  color: #7c3aed;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card-icon--pdf {
  background: #fff0ee;
  color: #dc2626;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card-icon--ai {
  background: #ececff;
  color: #0000ff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card-icon--market {
  background: #fff4e5;
  color: #b45309;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card strong {
  color: #212121;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__card small {
  color: #687587;
  font-size: 10px;
  line-height: 1.45;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e9f1;
  color: #687587;
  font-size: 9px;
  font-weight: 600;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-connect__footer i {
  margin-right: 4px;
  color: #0000ff;
}

/* ─── Impact: dvc-impact (before → after) ─── */
#SingleCaseStudyRetro.case-study-dvc .dvc-impact {
  display: grid;
  gap: 28px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-impact__compare {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    gap: 0;
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid #dde3f0;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__side--before {
  background:
    linear-gradient(180deg, #f8f9fc 0%, #ffffff 55%);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__side--after {
  border-color: rgba(0, 0, 255, .22);
  background:
    linear-gradient(180deg, #f3f4ff 0%, #ffffff 48%);
  box-shadow: 0 22px 48px -34px rgba(0, 0, 255, .45);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__side-head h3 {
  margin: 10px 0 8px;
  color: #0a2540;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__side-head p {
  margin: 0;
  color: #687587;
  font-size: 13px;
  line-height: 1.6;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__badge--before {
  background: #fff1f1;
  color: #b42318;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__badge--after {
  background: #e9fff7;
  color: #047857;
}

/* Left chaos tools */
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__chaos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px dashed #d7dde8;
  border-radius: 16px;
  background: #fafbfd;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__tool {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid #e5e9f1;
  border-radius: 12px;
  background: #fff;
  transform: rotate(-0.6deg);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__tool:nth-child(2) { transform: rotate(0.8deg); }
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__tool:nth-child(3) { transform: rotate(0.5deg); }
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__tool:nth-child(4) { transform: rotate(-0.9deg); }

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__tool-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 2px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 12px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__tool strong {
  color: #212121;
  font-size: 12px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__tool small {
  color: #919191;
  font-size: 10px;
  line-height: 1.35;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__gap {
  margin-top: 4px;
  color: #b42318;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__friction {
  position: absolute;
  inset: 18% 22%;
  pointer-events: none;
  opacity: .35;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__friction span {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: repeating-linear-gradient(90deg, #ef4444 0 6px, transparent 6px 12px);
  transform-origin: center;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__friction span:nth-child(1) { top: 30%; transform: rotate(18deg); }
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__friction span:nth-child(2) { top: 52%; transform: rotate(-12deg); }
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__friction span:nth-child(3) { top: 74%; transform: rotate(8deg); }

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pain,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__gain {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pain li,
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__gain li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pain li {
  color: #5f6b7a;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pain i {
  margin-top: 2px;
  color: #b42318;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__gain li {
  color: #0a2540;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__gain i {
  margin-top: 2px;
  color: #047857;
}

/* Center bridge */
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 0;
}

@media (min-width: 1024px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-impact__bridge {
    flex-direction: column;
    padding: 0 8px;
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__bridge-line {
  flex: 1;
  min-height: 1px;
  min-width: 24px;
  background: linear-gradient(90deg, transparent, #aeb8ff, transparent);
}

@media (min-width: 1024px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-impact__bridge-line {
    width: 1px;
    min-width: 1px;
    min-height: 40px;
    background: linear-gradient(180deg, transparent, #aeb8ff, transparent);
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__bridge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #0000ff;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 255, .7);
  animation: dvc-impact-pulse 2.4s ease-in-out infinite;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__bridge-pill i {
  font-size: 10px;
}

@media (max-width: 1023px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-impact__bridge-pill i {
    transform: rotate(90deg);
  }
}

@keyframes dvc-impact-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Right unified system */
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__system {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dde3f0;
  border-radius: 16px;
  background: #fff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__core {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a2540 0%, #0000bc 100%);
  color: #fff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__core-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  font-size: 16px;
  flex-shrink: 0;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__core small {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__core strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(233, 255, 247, .18);
  color: #b9ffe5;
  font-size: 8px;
  font-weight: 700;
  flex-shrink: 0;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__live i {
  font-size: 5px;
  color: #34d399;
  animation: dvc-impact-live 1.8s ease-out infinite;
}

@keyframes dvc-impact-live {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__flow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  color: #6e79a5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__flow span {
  width: 1px;
  height: 16px;
  border-left: 1px dashed #aeb8ff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__flow em {
  font-style: normal;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 2px;
  padding: 10px;
  border: 1px solid #e3e7f0;
  border-radius: 12px;
  background: #fafbfd;
}

/* Hover gradient handled by shared services-style rules above */

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results article > span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  align-self: center;
  border-radius: 8px;
  background: #ececff;
  color: #0000ff;
  font-size: 11px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results strong {
  color: #212121;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__results small {
  color: #687587;
  font-size: 9px;
  line-height: 1.35;
}

/* Detail pairs */
#SingleCaseStudyRetro.case-study-dvc .dvc-impact__detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

@media (min-width: 768px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-impact__detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid #e3eaf4;
  border-radius: 16px;
  background: #fff;
}

@media (min-width: 640px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair {
    grid-template-columns: minmax(140px, .9fr) minmax(0, 1.4fr);
    align-items: start;
    gap: 16px;
  }
}

/* Hover gradient handled by shared services-style rules above */

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair-label span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #0000ff, #2563eb);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair-label h4 {
  margin: 4px 0 0;
  color: #0a2540;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-impact__pair > p {
  margin: 0;
  color: #687587;
  font-size: 13px;
  line-height: 1.65;
}

/* ─── Technology: dvc-blueprint ─── */
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-blueprint {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 40px;
    align-items: center;
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__principles {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__principles li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__principle-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ececff;
  color: #0000ff;
  font-size: 15px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__principles strong {
  display: block;
  color: #0a2540;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__principles small {
  display: block;
  margin-top: 3px;
  color: #687587;
  font-size: 12px;
  line-height: 1.5;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dde3f0;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #f7f8fc 0%, #ffffff 42%);
  box-shadow: 0 26px 55px -38px rgba(10, 37, 64, .42);
}

@media (min-width: 640px) {
  #SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__panel {
    padding: 20px;
  }
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8ecf3;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__panel-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0000ff, #2563eb);
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 255, .7);
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__panel-title small {
  display: block;
  color: #919191;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__panel-title strong {
  display: block;
  margin-top: 2px;
  color: #0a2540;
  font-size: 13px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__years {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ececff;
  color: #0000ff;
  font-size: 9px;
  font-weight: 800;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floors {
  display: grid;
  gap: 10px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e3e7f0;
  border-radius: 14px;
  background: #fff;
}

/* Hover gradient handled by shared services-style rules above */

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor-meta {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor--ui .dvc-blueprint__floor-num {
  background: #ececff;
  color: #0000ff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor--app .dvc-blueprint__floor-num {
  background: linear-gradient(145deg, #0a2540, #0000bc);
  color: #fff;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor--data .dvc-blueprint__floor-num {
  background: #eaf2ff;
  color: #2563eb;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor--int .dvc-blueprint__floor-num {
  background: #e9fff7;
  color: #047857;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor-meta strong {
  display: block;
  color: #0a2540;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor-meta small {
  display: block;
  margin-top: 2px;
  color: #687587;
  font-size: 11px;
  line-height: 1.4;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__tech span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #e8ecf3;
  border-radius: 999px;
  background: #fafbfd;
  color: #35475c;
  font-size: 10px;
  font-weight: 700;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__tech i {
  font-size: 11px;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor--ui .dvc-blueprint__tech i { color: #0000ff; }
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor--app .dvc-blueprint__tech i { color: #ff2d20; }
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor--data .dvc-blueprint__tech i { color: #2563eb; }
#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__floor--int .dvc-blueprint__tech i { color: #047857; }

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e9f1;
  color: #687587;
  font-size: 9px;
  font-weight: 600;
}

#SingleCaseStudyRetro.case-study-dvc .dvc-blueprint__footer i {
  margin-right: 4px;
  color: #0000ff;
}
