.risk-guide {
  margin: 1.5rem 0;
  padding: clamp(.875rem, 2.5vw, 1.65rem);
  border: 1px solid #cddae6;
  border-top: 4px solid #e82132;
  border-radius: 8px;
  background: #f4f7fa;
  color: #152d43;
}
.risk-guide h2 { margin-top: 0; }
.risk-guide .risk-guide-steps { list-style: none; padding: 0; margin: 1rem 0; }
.risk-guide-steps > li {
  display: grid;
  grid-template-columns: clamp(112px, 19vw, 180px) minmax(0, 1fr);
  gap: clamp(.75rem, 2vw, 1.4rem);
  align-items: start;
  padding: .85rem 0;
  border-bottom: 1px solid #cddae6;
}
.risk-guide-copy h3 { margin: 0 0 .45rem; }
.risk-guide-copy p { margin: .35rem 0; }
.risk-guide-count {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-inline-end: .35rem;
  border-radius: 50%;
  background: #123e68;
  color: #fff;
  font-size: .9rem;
}
.risk-guide-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 5px;
  background-color: #d8e4ee;
  background-image: url("assets/risk-assessment-guide/depot-five-steps.webp");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  background-position: var(--shot-column, 0%) var(--shot-row, 0%);
}
.risk-guide-shot[data-column="1"] { --shot-column: 50%; }
.risk-guide-shot[data-column="2"] { --shot-column: 100%; }
.risk-guide-shot[data-row="1"] { --shot-row: 100%; }
.risk-guide .risk-guide-mark {
  position: absolute;
  right: .375rem;
  bottom: .375rem;
  width: 1.5rem;
  height: 1.5rem;
  padding: .1rem;
  background: white;
  border-radius: 50%;
  opacity: .5;
}
.risk-guide-score-steps > li { margin: .65rem 0; }
.risk-guide-matrix-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  background: #fff;
}
.risk-guide-matrix-wrap:focus-visible { outline: 2px solid #123e68; outline-offset: 2px; }
.risk-guide .risk-guide-matrix {
  border-collapse: collapse;
  min-width: 580px;
  width: 100%;
  line-height: 1.3;
}
.risk-guide-matrix caption { text-align: left; padding: .65rem; font-weight: 700; }
.risk-guide-matrix :is(th,td) { padding: .55rem .6rem; border: 1px solid #cddae6; text-align: center; }
.risk-guide-matrix thead th { background: #123e68; color: #fff; }
.risk-guide-matrix tbody th { background: #e9f0f6; color: #152d43; }
.risk-guide-matrix td strong { display: block; }
.risk-guide-matrix [data-band="Low"] { background: #e8f4ea; }
.risk-guide-matrix [data-band="Medium"] { background: #fff3d6; }
.risk-guide-matrix [data-band="High"] { background: #fce5e7; }
.risk-guide-matrix [data-band="Very high"] { background: #f4c7cc; }
.risk-guide-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.risk-guide-downloads > div { background: #fff; border: 1px solid #cddae6; padding: .85rem; border-radius: 5px; }
.risk-guide-downloads h3 { margin-top: 0; }
.risk-guide .risk-guide-download {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem .75rem;
  border-radius: 5px;
  background: #123e68;
  color: #fff !important;
  font-weight: 700;
}
.risk-guide-download:focus-visible { outline: 2px solid #123e68; outline-offset: 3px; }
@media (max-width: 570px) {
  .risk-guide-steps > li, .risk-guide-downloads { grid-template-columns: minmax(0, 1fr); }
  .risk-guide-shot { width: min(100%, 176px); }
}
