/* === Automatically created from cards.scss - do not modify! === */

.pfy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 1em;
  padding: 1em;
  max-width: var(--pfy-cards-max-width, 1200px);
  margin: 0 auto;
}
.pfy-card {
  aspect-ratio: 1;
  background: var(--pfy-cards-bg-color, white);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  cursor: pointer;
}
.pfy-card-content a {
  color: var(--pfy-cards-txt-color);
}
.pfy-card-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.pfy-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pfy-card-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  backdrop-filter: blur(8px);
  padding: 15px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.pfy-card-content a {
  text-decoration: none;
  font-weight: 700;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}
.pfy-cards-lift .pfy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.pfy-cards-hover .pfy-card:hover .pfy-card-img img {
  transform: scale(1.1);
}
.pfy-cards-hover .pfy-card-content {
  transform: translateY(5px);
  transition: transform 0.4s ease, background 0.4s ease;
}
.pfy-cards-hover .pfy-card:hover {
  background: var(--pfy-cards-hover-bg-color, white);
}
.pfy-cards-hover .pfy-card:hover .pfy-card-content {
  transform: translateY(0);
  background: var(--pfy-cards-hover-bg-color, white);
}
.pfy-cards-hover .pfy-card:hover .pfy-card-content a {
  color: var(--pfy-cards-hover-txt-color);
}
@media (max-width: 346px) {
  .pfy-cards {
    padding: 10px;
    gap: 12px;
  }
  .pfy-card:hover {
    transform: translateY(-4px);
  }
}
