.ceske-betlemy > .card {
  display: block;
}

.ceske-betlemy .card-body {
  width: auto;
  margin: 0;
}

.betlemy-map {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 20px auto;
}

.betlemy-map > img {
  display: block;
  width: 100%;
  height: auto;
  filter: blur(0.1px);
  opacity: 0.9;
}

.betlemy-point {
  position: absolute;
  z-index: 1;
  width: clamp(16px, 3.47%, 58px);
  display: block;
  transform: translate(-50%, -100%);
  transform-origin: center bottom;
  transition: transform 180ms ease;
}

.betlemy-point > img {
  display: block;
  width: 100%;
  height: auto;
}

.betlemy-point:focus-visible {
  outline: 3px solid #174a83;
  outline-offset: 4px;
}

.betlemy-point:hover {
  z-index: 2;
  transform: translate(-50%, -100%) scale(1.25);
}

.betlemy-point--jilemnice {
  left: 52.5%;
  top: 40%;
}

.betlemy-point--olesnice {
  left: 65.2%;
  top: 46%;
}

.betlemy-point--trebechovice {
  left: 59.1%;
  top: 54.3%;
}

.betlemy-point--susice {
  left: 23.5%;
  top: 70.6%;
}

.betlemy-point--trest {
  left: 51.3%;
  top: 71.8%;
}

.betlemy-point--horni-lidec {
  left: 80.9%;
  top: 74.4%;
}

.betlemy-point--jindrichuv-hradec {
  left: 43.6%;
  top: 78.6%;
}

.betlemy-cards > .card {
  display: flow-root;
}

.betlemy-cards .card-body {
  width: auto;
  margin: 0;
}

.betlemy-cards .card:target {
  scroll-margin-top: 1rem;
  animation: betlemy-card-highlight 2.5s ease-out;
}

@keyframes betlemy-card-highlight {
  0%,
  65% {
    border-color: #efae29;
  }

  100% {
    border-color: #e2cdb0;
  }
}

.betlemy-card-image {
  float: left;
  width: min(34%, 20rem);
  margin: 0 24px 16px 0;
}

.betlemy-card-image img {
  display: block;
  width: 100%;
  height: auto;
}

.betlemy-card-image figcaption {
  margin-top: 6px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.25;
}

.betlemy-card-image figcaption a {
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  .betlemy-point {
    transition: none;
  }

  .betlemy-cards .card:target {
    animation: none;
    border-color: #efae29;
  }
}

@media (max-width: 600px) {
  .betlemy-card-image {
    width: min(42%, 12rem);
    margin-right: 16px;
  }
}
