/* ================================================================
   WORKSHOPS SECTION
   Mirrors the Programme section's visual identity.
   ================================================================ */

#workshops,
#workshops * {
  font-family: 'Avenir Next Pro', 'Avenir Next LT Pro', 'Avenir Next', 'Avenir', Arial, sans-serif;
  font-weight: 300;
}

#workshops.wkshp-section {
  background: #0e0e10;
  padding: 6rem 0 7rem;
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.wkshp-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── Heading block (same pattern as programme) ── */
.wkshp-heading-wrap {
  text-align: center;
  margin-bottom: 5rem;
}

.wkshp-kicker {
  font-family: 'Avenir Next Pro', 'Avenir Next LT Pro', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  margin: 0 0 2rem;
  display: block;
}

.wkshp-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.wkshp-title-line1,
.wkshp-title-line2 {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 0.85;
  display: block;
}

.wkshp-title-line1 {
  font-size: clamp(2.5rem, 5vw, 9rem);
  color: #fffffff4;
  opacity: 0;
  transform: translateX(160px) translateY(-120px) skewX(-12deg);
  transition: opacity 0.9s ease 0s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0s;
  white-space: nowrap;
}

.wkshp-title-line2 {
  font-size: clamp(5rem, 10vw, 14rem);
  color: #fffffff4;
  opacity: 0;
  transform: translateX(-160px) translateY(120px) skewX(12deg);
  transition: opacity 0.9s ease 0.12s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
  white-space: nowrap;
}

#workshops.wkshp-title-entered .wkshp-title-line1,
#workshops.wkshp-title-entered .wkshp-title-line2 {
  opacity: 1;
  transform: none;
}

#workshops.wkshp-title-resetting .wkshp-title-line1,
#workshops.wkshp-title-resetting .wkshp-title-line2 {
  transition: none !important;
}

/* ── Workshop cards ── */
.wkshp-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wkshp-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid #ff1f6b;
  padding: 2rem 2rem 1.8rem;
  transition: background 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.wkshp-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  border-left-color: #ff1f6b;
}

.wkshp-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.wkshp-card-title {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
  flex: 1;
}

.wkshp-card-badge {
  font-family: 'Avenir Next Pro', Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.22em 0.7em;
  border-radius: 2px;
  background: rgba(255, 31, 107, 0.12);
  color: #ff1f6b;
  border: 1px solid rgba(255, 31, 107, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}

.wkshp-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-bottom: 1.1rem;
}

.wkshp-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: clamp(0.68rem, 0.9vw, 0.78rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
}

.wkshp-meta-item i {
  color: rgba(255, 31, 107, 0.5);
  font-size: 0.72em;
  width: 12px;
  text-align: center;
}

.wkshp-ic {
  display: inline-block;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: rgba(255, 31, 107, 0.6);
  overflow: visible;
}

.wkshp-meta-item strong {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.wkshp-card-desc {
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  font-weight: 300;
  letter-spacing: 0.025em;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.8;
  max-width: 800px;
}

.wkshp-card-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 31, 107, 0.35), rgba(255, 255, 255, 0.055) 34%, rgba(255, 255, 255, 0.02));
  margin: 1.65rem 0 1.15rem;
}

.wkshp-card-instructors {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.wkshp-instructor-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff1f6b;
  background: rgba(255, 31, 107, 0.1);
  border: 1px solid rgba(255, 31, 107, 0.28);
}

.wkshp-instructor-avatar .wkshp-ic {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.wkshp-instructor-list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0.9rem 2rem;
  min-width: 0;
}

.wkshp-instructor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: min(100%, 16rem);
}

.wkshp-instructor-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #ff1f6b;
}

.wkshp-instructor-name {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.wkshp-instructor-aff {
  font-size: 0.76rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.wkshp-instructor-sep {
  display: none;
}

/* ── Loading status ── */
#workshops-status {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.22);
  padding: 2rem 0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
}

/* ── Coming soon / pending placeholder ── */
.wkshp-pending-block {
  display: none;
  text-align: center;
  padding: 4rem 2rem 3rem;
}

#workshops.wkshp-pending .wkshp-pending-block {
  display: block;
}

#workshops.wkshp-pending .wkshp-list-wrap {
  display: none;
}

.wkshp-pending-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: rgba(255, 31, 107, 0.08);
  border: 1px solid rgba(255, 31, 107, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 31, 107, 0.75);
  animation: wkshp-icon-pulse 2.8s ease-in-out infinite;
}
@keyframes wkshp-icon-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,31,107,.18); }
  50%       { box-shadow: 0 0 0 12px rgba(255,31,107,0); }
}

.wkshp-pending-headline {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.9rem;
  line-height: 1.15;
}

.wkshp-pending-text {
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.8;
  max-width: 440px;
  margin: 0 auto;
}

.wkshp-pending-rule {
  width: 40px;
  height: 1px;
  background: rgba(255, 31, 107, 0.35);
  margin: 1.8rem auto 0;
}

/* ── Fade-in animation ── */
@keyframes wkshp-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wkshp-card {
  animation: wkshp-fade-in 0.35s ease both;
}

.wkshp-card:nth-child(1) { animation-delay: 0.04s; }
.wkshp-card:nth-child(2) { animation-delay: 0.1s; }
.wkshp-card:nth-child(3) { animation-delay: 0.16s; }
.wkshp-card:nth-child(4) { animation-delay: 0.22s; }
.wkshp-card:nth-child(5) { animation-delay: 0.28s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .wkshp-inner { padding: 0 1.5rem; }
  .wkshp-card { padding: 1.5rem 1.4rem 1.4rem; }
  .wkshp-card-meta { gap: 0.5rem 1.2rem; }
}

@media (max-width: 640px) {
  .wkshp-inner { padding: 0 1.25rem; }
  .wkshp-card { padding: 1.3rem 1.1rem 1.2rem; }
  .wkshp-card-header { flex-direction: column; gap: 0.6rem; }
  .wkshp-card-instructors {
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem;
  }
  .wkshp-instructor-avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .wkshp-instructor-list {
    flex-direction: column;
    gap: 0.75rem;
  }
  .wkshp-instructor {
    min-width: 0;
  }
  .wkshp-instructor-name {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }
  .wkshp-pending-block { padding: 2.5rem 1rem 2rem; }
  .wkshp-pending-icon { width: 56px; height: 56px; font-size: 1.2rem; margin-bottom: 1.4rem; }
  .wkshp-title-line1 { font-size: clamp(1.5rem, 6vw, 4rem); }
  .wkshp-title-line2 { font-size: clamp(3.5rem, 14vw, 8rem); }
}
