/* Each welfare step uses the same graph position and its own highlight. */
.perfect-comp-walkthrough .pull-left {
  width: 52%;
}

.perfect-comp-walkthrough .pull-right {
  width: 44%;
}

.perfect-comp-walkthrough .pull-right p {
  margin: 0 0 0.7em;
}

.perfect-comp-walkthrough .pull-left img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

.perfect-comp-walkthrough .pc-loss { color: #ca5670; font-weight: 600; }
.perfect-comp-walkthrough .pc-damages { color: #2B8C7F; font-weight: 600; }
.perfect-comp-walkthrough .pc-revenue { color: #D99000; font-weight: 600; }
.perfect-comp-walkthrough .pc-gain { color: #638ccc; font-weight: 600; }

/* Reserve two text lines so the market diagrams stay fixed at each pause. */
.intensity-market-walkthrough .market-caption {
  min-height: 3em;
}

.intensity-market-walkthrough .market-caption p,
.intensity-market-walkthrough .market-figure p {
  margin: 0;
}

.intensity-market-walkthrough .market-figure img {
  display: block;
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  margin: 0 auto;
}

/* Keep the policy map large while retaining the lecture's shared text size. */
.rps-map-slide .pull-left { width: 62%; }
.rps-map-slide .pull-right { width: 34%; }
.rps-map-slide .pull-left img {
  width: 100%;
  max-height: 410px;
  object-fit: contain;
}
/* The course-wide table rule is smaller than lecture prose; inherit here. */
.rps-example table {
  font: inherit;
  line-height: 1.4;
  width: 100%;
  margin: 0.6em 0 0.9em;
}
.rps-example th, .rps-example td { padding: 0.2em 0.5em; }
.rps-example p { margin: 0.65em 0; }
