/* Visual card additions for the workshop and audience sections. */

.card-photo {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background: #f5f0e8;
  border-bottom: 1px solid var(--line-warm, #eadfd2);
}

.ws-card .card-photo {
  height: 200px;
}

.who-card .card-photo {
  height: 220px;
}

.card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card-photo-link {
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.card-photo-link:hover img,
.card-photo-link:focus-visible img {
  transform: scale(1.035);
}

.card-photo-link:focus-visible {
  outline: 3px solid var(--teal, #1ba8a0);
  outline-offset: -3px;
}

.card-photo-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #173b3a;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 12px rgba(23, 59, 58, 0.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(5px);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid var(--line, #d9e7e5);
  border-radius: 999px;
  color: var(--ink-mid, #385957);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.card-shared-note {
  margin-top: 20px;
  color: var(--ink-mid, #385957);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .ws-card .card-photo,
  .who-card .card-photo {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .ws-card .card-photo,
  .who-card .card-photo {
    height: 185px;
  }

  .card-photo-label {
    left: 12px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-photo img {
    transition: none;
  }
}
