/**
 * ==============================================================================
 * 🎯 Intenciones (/ev/) – UI tipo iOS, similar a single-event
 * 📄 Archivo: includes/modules/intencion/intencion.css
 * ==============================================================================
 */

.ec-intent-root{
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  box-sizing: border-box;
}

.ec-intent-shell{
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

/* Poster */
.ec-intent-media{
  position: sticky;
  top: 18px;
}

.ec-intent-poster,
.ec-intent-poster-placeholder{
  width: 100%;
  display: block;
  border-radius: 20px;
  background: #e5e7eb;
  border: 1px solid #e5e7eb;
  min-height: 420px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(17,24,39,0.08);
}

/* Panel */
.ec-intent-panel{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 18px 18px 16px;
}

.ec-intent-title{
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #111827;
}

.ec-intent-h1-link{
  color: inherit;
  text-decoration: none;
}
.ec-intent-h1-link:hover{
  text-decoration: underline;
}

.ec-intent-subtitle{
  margin: 0 0 12px;
  font-size: 14px;
  color: #6b7280;
}

.ec-intent-hero-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

/* Pills */
.ec-hero-pill{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 13px;
  color: #374151;
  border: 1px solid rgba(229,231,235,0.9);
}

.ec-hero-pill-day{ font-weight: 600; }
.ec-hero-pill-day--today{ background:#dcfce7; color:#166534; border-color:#bbf7d0; }
.ec-hero-pill-day--tomorrow{ background:#fef9c3; color:#854d0e; border-color:#fde68a; }
.ec-hero-pill-day--soon{ background:#ffedd5; color:#9a3412; border-color:#fed7aa; }
.ec-hero-pill-day--past{ background:#e5e7eb; color:#4b5563; border-color:#e5e7eb; }

.ec-hero-pill-price{
  background:#111827;
  color:#ffffff;
  border-color:#111827;
}

/* Acciones */
.ec-intent-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 14px;
}

.ec-intent-btn{
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #111827;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ec-intent-btn:hover{ background: #e5e7eb; }

.ec-intent-btn--primary{
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.ec-intent-btn--primary:hover{ opacity: .92; }

.ec-intent-btn--wa{
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
.ec-intent-btn--wa:hover{ background:#bbf7d0; }

.ec-intent-btn--ghost{ background: #fff; }

/* Texto inicial */
.ec-intent-lead{
  margin: 10px 0 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.55;
}

/* Grid info */
.ec-intent-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.ec-intent-card{
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 12px;
}

.ec-intent-card-title{
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 6px;
}

.ec-intent-card-body{
  font-size: 13px;
  color: #111827;
  line-height: 1.5;
}

.ec-intent-card-body a{
  color: #111827;
  text-decoration: none;
}
.ec-intent-card-body a:hover{ text-decoration: underline; }

.ec-intent-mini-link{
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}

/* Secciones */
.ec-intent-section{
  margin-top: 18px;
  padding-top: 2px;
}

.ec-intent-h2{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.ec-intent-content{
  font-size: 14px;
  color: #111827;
  line-height: 1.65;
}

.ec-intent-keywords{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive */
@media (max-width: 980px){
  .ec-intent-shell{ grid-template-columns: 1fr; }
  .ec-intent-media{ position: relative; top: auto; }
  .ec-intent-grid{ grid-template-columns: 1fr; }
}
