/* ==========================================================================
   Edición Histórica del Festival - Stylesheet
   ========================================================================== */

/* Main page container with signature light/cream-cyan program background */
.archive-edition-page {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #edf6f7 65%, #e1eff2 100%);
  color: #17333d;
  font-family: 'General Sans', 'Inter', system-ui, -apple-system, sans-serif;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.archive-edition-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/textura%20fondo.png') center/cover;
  mix-blend-mode: multiply;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.edition-container {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 50px;
}

.edition-header-title {
  text-align: center;
  margin-bottom: 50px;
  border-bottom: 2px solid rgba(26, 120, 158, 0.15);
  padding-bottom: 25px;
}

.edition-header-title h2 {
  font-family: 'Cabinet Grotesk', 'Arial Black', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  text-transform: uppercase;
  color: #1a789e;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}

.edition-header-title p {
  font-size: 18px;
  color: #e2831e;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* Play Item Card - Styled exactly like the edition cards (#103443 to #1a789e) */
.play-item {
  background: linear-gradient(135deg, #103443 0%, #1a789e 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 38px;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(13, 40, 55, 0.18);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.play-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 36px rgba(13, 40, 55, 0.28);
}

.play-top {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 20px;
}

@media (max-width: 820px) {
  .play-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.play-thumb {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.play-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.play-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.play-dates {
  font-size: 15px;
  color: #38bdf8;
  font-weight: 600;
  line-height: 1.4;
}

.play-company {
  font-size: 14px;
  color: #ffb74d;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.play-title {
  font-family: 'Cabinet Grotesk', 'Arial Black', sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 4px 0 6px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.play-credits {
  font-size: 15px;
  color: #e2eef5;
}

.play-venue {
  font-size: 15px;
  color: #cbd5e1;
}

.play-contact {
  font-size: 14px;
  color: #e2eef5;
  margin-top: 4px;
}

.play-contact strong {
  color: #38bdf8;
}

.play-synopsis {
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: #f1f5f9;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 18px;
  margin-top: 12px;
}

.play-tag {
  display: inline-block;
  background: rgba(226, 131, 30, 0.25);
  color: #ffb74d;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(226, 131, 30, 0.45);
}


/* =====================================================
   GLOBAL FIX: Language Dropdown & Constant Contact Newsletter
   ===================================================== */
.site-header {
  z-index: 9999 !important;
}

.lang-selector {
  position: relative !important;
  z-index: 10000 !important;
}

.lang-dropdown {
  z-index: 10001 !important;
}

.lang-selector.open .lang-dropdown {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* Constant Contact Newsletter Embed Layout Fix */
.ctct-inline-form,
.ctct-embed-signup {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto !important;
}

.ctct-inline-form form,
.ctct-embed-signup form {
  width: 100% !important;
  display: block !important;
}

.ctct-inline-form div[class*="ctct-form"]:not([style*="display: none"]):not([hidden]),
.ctct-embed-signup div[class*="ctct-form"]:not([style*="display: none"]):not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  gap: 10px !important;
}

.ctct-inline-form [style*="display: none"],
.ctct-embed-signup [style*="display: none"],
.ctct-inline-form [hidden],
.ctct-embed-signup [hidden] {
  display: none !important;
}

.ctct-inline-form label,
.ctct-inline-form input,
.ctct-inline-form p,
.ctct-inline-form button,
.ctct-embed-signup label,
.ctct-embed-signup input,
.ctct-embed-signup p,
.ctct-embed-signup button {
  position: static !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.ctct-inline-form input[type="email"],
.ctct-embed-signup input[type="email"] {
  max-width: 480px !important;
  margin: 0 auto !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
}

.ctct-inline-form button[type="submit"],
.ctct-embed-signup button[type="submit"],
.ctct-button {
  width: auto !important;
  min-width: 180px !important;
  max-width: 280px !important;
  margin: 14px auto 0 !important;
  padding: 12px 28px !important;
  border-radius: 999px !important;
  background-color: #1a789e !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
