/* Follmann Bridge v6-ssr: server-rendered homepage reference cards */
.fb6-home-row {
  align-items: stretch;
}

.fb6-home-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fb6-home-card .fb6-photo-frame {
  display: block !important;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #e9edf2;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  margin: 0 0 12px;
  text-decoration: none;
}

.fb6-home-card .fb6-home-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.22s ease;
}

.fb6-home-card .fb6-photo-frame:hover .fb6-home-photo {
  transform: scale(1.03);
}

.fb6-card-caption {
  margin: 0 !important;
  text-align: center;
  font-weight: 700;
  color: #162b60;
}

@media (max-width: 760px) {
  .fb6-home-card .fb6-photo-frame {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fb6-home-card .fb6-home-photo {
    transition: none !important;
  }
}
