.event-card {
  position: relative;
}

.clubbino-event-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.event-card.clubbino-is-upcoming {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 0 34px color-mix(in srgb, var(--card-accent, #e00018), transparent 54%);
}

.event-card.clubbino-is-upcoming .clubbino-event-badge {
  border-color: var(--card-accent, #e00018);
  background: var(--card-accent, #e00018);
  color: #080000;
}

.event-card.clubbino-is-past {
  opacity: 0.74;
}

.event-card.clubbino-is-past:hover,
.event-card.clubbino-is-past.is-active {
  opacity: 1;
}

.clubbino-program-panels {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
}

.clubbino-next-panel,
.clubbino-past-panel,
.clubbino-event-photo-panel {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(224, 0, 24, 0.14), rgba(0, 0, 0, 0.32)),
    rgba(5, 0, 2, 0.78);
  color: #fff;
  padding: 16px;
}

.clubbino-past-panel {
  background: rgba(0, 0, 0, 0.38);
}

.clubbino-past-panel summary {
  cursor: pointer;
  list-style: none;
}

.clubbino-past-panel summary::-webkit-details-marker {
  display: none;
}

.clubbino-panel-heading,
.clubbino-past-panel summary,
.clubbino-event-photo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.clubbino-panel-heading span,
.clubbino-past-panel summary span,
.clubbino-event-photo-head span {
  color: #e00018;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.clubbino-event-photo-head--next span {
  color: #ffb000;
}

.clubbino-panel-heading strong,
.clubbino-past-panel summary strong {
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: #e00018;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.clubbino-event-photo-head strong {
  font-size: clamp(18px, 3vw, 30px);
  line-height: 1.05;
  text-align: right;
  text-transform: uppercase;
}

.clubbino-panel-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.clubbino-panel-list--past {
  grid-template-columns: 1fr;
  margin-top: 14px;
}

.clubbino-next-link,
.clubbino-past-link {
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 12px;
  text-align: left;
}

.clubbino-next-link span,
.clubbino-past-link span {
  color: #e00018;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.clubbino-next-link strong,
.clubbino-past-link strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.12;
}

.clubbino-next-link {
  background: linear-gradient(135deg, rgba(224, 0, 24, 0.24), rgba(255, 176, 0, 0.08));
}

.clubbino-past-row {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  padding: 10px;
}

.clubbino-photo-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.clubbino-photo-upload label {
  min-height: 54px;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 5px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  padding: 10px 12px;
  text-transform: uppercase;
}

.clubbino-photo-upload input[type="file"] {
  width: 100%;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.clubbino-photo-upload button {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: #e00018;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
  padding: 12px 16px;
  text-transform: uppercase;
}

.clubbino-photo-upload button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.clubbino-photo-message {
  grid-column: 1 / -1;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  padding: 10px 12px;
}

.clubbino-photo-message.is-success {
  background: rgba(30, 180, 104, 0.16);
  color: #9dffc7;
}

.clubbino-photo-message.is-error {
  background: rgba(224, 0, 24, 0.18);
  color: #ffb5be;
}

.clubbino-approved-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.clubbino-approved-gallery a {
  border-radius: 12px;
  display: block;
  overflow: hidden;
}

.clubbino-approved-gallery img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.clubbino-approved-gallery a:hover img {
  transform: scale(1.05);
}

@media (max-width: 720px) {
  .clubbino-panel-list {
    grid-template-columns: 1fr;
  }

  .clubbino-photo-upload {
    grid-template-columns: 1fr;
  }

  .clubbino-event-photo-head {
    align-items: flex-start;
    display: grid;
  }

  .clubbino-event-photo-head strong {
    text-align: left;
  }
}
