.impact-page {
  background: #f7f4ee;
}

.impact-page #mota-impact-explorer {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#mota-impact-explorer .viz-controls,
#mota-impact-explorer .viz-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#mota-impact-explorer .viz-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
}

#mota-impact-explorer .form-label {
  display: grid;
  gap: 0.35rem;
}

#mota-impact-explorer .form-control,
#mota-impact-explorer .form-select {
  font: inherit;
}

.impact-reflections {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  color: #273d48;
  background: #fcfbf7;
  border-top: 1px solid #d7d1c5;
}

.impact-reflections__head {
  max-width: none;
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
}

.impact-reflections .section-title {
  color: #273d48;
}

.impact-reflections .section-lede {
  color: #52656d;
}

.impact-reflections .reflection-theme {
  padding-block: 0;
}

.reflection-theme + .reflection-theme {
  margin-top: clamp(3.25rem, 5vw, 5rem);
}

.reflection-theme__head {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.7fr);
  gap: 1.2rem 2.25rem;
  align-items: end;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d7d1c5;
}

.reflection-theme__level {
  margin: 0;
  color: #3f7571;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reflection-theme h3 {
  margin: 0;
  color: #273d48;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 500;
  line-height: 1.05;
}

.reflection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.reflection-card {
  display: grid;
  align-content: space-between;
  gap: 1.2rem;
  min-height: 12rem;
  margin: 0;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #334b56;
  background: #efede6;
  border: 1px solid #d7d1c5;
  border-radius: 1.15rem;
}

.reflection-card::before {
  content: "“";
  height: 1.8rem;
  color: #5f918c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 0.85;
}

.reflection-card--rtl::before {
  content: "”";
}

.reflection-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  white-space: normal;
}

.reflection-card[lang="ar"] p,
.reflection-card[lang="ar"] footer {
  font-family: "Amiri", Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
}

.reflection-card footer {
  color: #5b6d74;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.impact-report-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  color: #f8f4ea;
  background: #102f43;
  border-radius: 1.4rem;
}

.impact-report-callout h3 {
  margin: 0.25rem 0 0.65rem;
  color: #f8f4ea;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
}

.impact-report-callout p:last-child {
  max-width: none;
  margin: 0;
  color: #d6e0df;
  line-height: 1.6;
}

.impact-report-callout .eyebrow {
  color: #9bd2c4;
}

.impact-report-callout .btn {
  white-space: nowrap;
}

@media (max-width: 800px) {
  .reflection-theme__head,
  .reflection-grid,
  .impact-report-callout {
    grid-template-columns: minmax(0, 1fr);
  }

  .impact-report-callout .btn {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .reflection-card {
    min-height: 0;
  }
}
