.risk-example-graphic {
  container-type: inline-size;
}

.risk-example-frame {
  display: block;
  width: 100%;
  height: calc(min(50cqw, 640px) + 120px);
  border: 0;
}

@container (max-width: 820px) {
  .risk-example-frame {
    height: calc(min(93cqw, 650px) + 315px);
  }
}

@container (max-width: 440px) {
  .risk-example-frame {
    height: calc(max(245px, 87cqw) + 290px);
  }
}

.risk-example-details {
  margin-top: 16px;
  border-top: 1px solid var(--rule);
}

.risk-example-details summary {
  display: list-item;
  min-height: 44px;
  padding-block: 10px;
  color: var(--link);
  font-weight: 650;
  cursor: pointer;
}

.risk-example-details p {
  max-width: 78ch;
}

.risk-example-poster {
  margin: 0;
}

.risk-example-poster img {
  width: 100%;
  height: auto;
}

.risk-example-poster figcaption {
  margin-top: 12px;
}
