.facts .fact-card {
  aspect-ratio: 2 / 1;
  position: relative;
  border-radius: 0;
  border: none;
  outline: none;
}

.facts .fact-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: 1rem;
}

.facts .fact-card:focus {
  box-shadow: 0 0 0 3px #d8b51b, 0 6px 18px #d8b51b;
  transform: translateY(-3px);
}

.facts .fact-card:hover {
  transform: translateY(-2px);
}

.facts .fact-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: #E5F5FB;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

@media (max-width: 768px) {
  .facts .fact-card::after {
    height: 30px;
    width: 30px;
  }
}

.facts .fact-card .number {
  font-size: 2rem;
  font-weight: 800;
  color: #E10E49;
  line-height: 1.2;
  margin-bottom: .25rem;
}

.facts .fact-card .desc {
  font-size: 1rem;
  margin: 0;
}

.facts .visually-hidden-focusable:active,
.facts .visually-hidden-focusable:focus {
  position: static !important;
  width: auto;
  height: auto;
  padding: .5rem .75rem;
  background: #000;
  color: #fff;
  z-index: 1000;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .facts .fact-card,
  .facts .fact-card:focus,
  .facts .fact-card:hover {
    transition: none;
    transform: none;
  }
}
