/* ====== EVENTOS (NovaMentes) ====== */

.ev-hero{
  background: #fff;
  padding: 34px 0 22px;
}

.ev-hero__inner{
  display:flex;
  gap: 26px;
  align-items: stretch;
}

.ev-hero__text{
  flex: 1.1;
  padding: 10px 0;
}

.ev-hero__title{
  margin:0;
  font-size: 44px;
  letter-spacing: -.6px;
  line-height: 1.05;
}

.ev-hero__desc{
  margin: 10px 0 0;
  color: rgba(0,0,0,.68);
  max-width: 640px;
  line-height: 1.55;
  font-size: 16px;
}

.ev-hero__chips{ display:flex; gap:10px; margin-top: 14px; flex-wrap: wrap; }

.ev-chip{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.7);
}

.ev-chip--online{ color:#0b6; }
.ev-chip--pres{ color:#7a3cff; }
.ev-chip--hib{ color:#ff7a00; }

.ev-hero__media{
  flex: .9;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #f7f7fb;
  min-height: 180px;
}

.ev-hero__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.ev-hero__placeholder{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(0,0,0,.45);
  font-weight:600;
}

/* sections */
.ev-section{ padding: 28px 0; }
.ev-section--soft{ background: #fbfbff; border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); }

.ev-head{ margin-bottom: 14px; }
.ev-h2{ margin:0; font-size: 26px; letter-spacing: -.3px; }
.ev-sub{ margin: 6px 0 0; color: rgba(0,0,0,.62); }

/* cards destacados */
.ev-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ev-card{
  display:block;
  text-decoration:none;
  color: inherit;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  overflow:hidden;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.ev-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.ev-card__media{ position:relative; height: 150px; background: #f2f2f7; }
.ev-card__media img{ width:100%; height:100%; object-fit: cover; display:block; }
.ev-card__ph{ width:100%; height:100%; background: linear-gradient(135deg, rgba(122,60,255,.18), rgba(0,184,102,.12)); }

.ev-badge{
  position:absolute;
  left: 10px;
  top: 10px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
}

.ev-badge--online{ color:#0b6; }
.ev-badge--presencial{ color:#7a3cff; }
.ev-badge--hibrido{ color:#ff7a00; }

.ev-card__body{ padding: 12px 12px 14px; }
.ev-card__title{ margin:0; font-size: 15px; line-height: 1.25; }
.ev-card__meta{ margin: 6px 0 0; font-size: 12px; color: rgba(0,0,0,.60); }
.ev-card__desc{ margin: 8px 0 0; color: rgba(0,0,0,.70); font-size: 13px; line-height: 1.4; }

/* layout panel + main */
.ev-two{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  align-items:start;
}

.ev-panel{
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 14px;
}

.ev-panel__title{ margin:0 0 10px; font-size: 16px; }
.ev-form{ display:flex; flex-direction:column; gap: 8px; }
.ev-label{ font-size: 12px; color: rgba(0,0,0,.65); }

.ev-input, .ev-select{
  width:100%;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.ev-btn{
  margin-top: 8px;
  border: 0;
  background: #8E2D5F;
  color:#fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor:pointer;
}

.ev-panel__note{ margin-top: 10px; font-size: 12px; color: rgba(0,0,0,.55); }

/* list rows */
.ev-list{ margin-top: 12px; }
.ev-list--mt{ margin-top: 22px; }
.ev-h3{ margin: 0 0 10px; font-size: 16px; }

.ev-row{
  display:flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  margin-bottom: 10px;
  transition: transform .12s ease, box-shadow .12s ease;
}

.ev-row:hover{ transform: translateY(-1px); box-shadow: 0 10px 18px rgba(0,0,0,.06); }
.ev-row--past{ opacity: .85; }

.ev-date{
  min-width: 56px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fbfbff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding: 8px 6px;
}

.ev-date__day{ font-size: 18px; font-weight: 800; line-height: 1; }
.ev-date__mon{ font-size: 12px; color: rgba(0,0,0,.6); margin-top: 2px; }

.ev-row__body{ flex:1; }
.ev-row__top{ display:flex; align-items:flex-start; justify-content:space-between; gap: 10px; }
.ev-row__title{ font-size: 14px; }
.ev-row__meta{ margin-top: 6px; font-size: 12px; color: rgba(0,0,0,.62); }
.ev-row__desc{ margin-top: 6px; font-size: 13px; color: rgba(0,0,0,.70); }

.ev-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.9);
  white-space: nowrap;
}

.ev-pill--online{ color:#0b6; }
.ev-pill--presencial{ color:#7a3cff; }
.ev-pill--hibrido{ color:#ff7a00; }

/* =========================
   SWIPER - FOTOS DESTACADAS
========================= */

.evSwiper{
  position: relative;
  padding-bottom: 32px;
}

.ev-slide{
  display:block;
  text-decoration:none;
  color: inherit;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.06);
  background:#fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ev-slide:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.ev-slide__img{
  position: relative;
  height: 240px;
  background: #f2f2f7;
  overflow: hidden;
}

.ev-slide__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transition: transform .6s ease;
}

.ev-slide:hover .ev-slide__img img{
  transform: scale(1.06);
}

/* overlay para título */
.ev-slide__cap{
  position:absolute;
  bottom: 0;
  left: 0;
  width:100%;
  padding: 18px 16px 14px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.65),
    rgba(0,0,0,.25),
    transparent
  );
  color: #fff;
}

.ev-slide__cap strong{
  font-size: 15px;
  font-weight: 600;
}

.ev-pagination{
  margin-top: 14px;
}

/* flechas */
.ev-nav{
  position:absolute;
  top: 45%;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.95);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 22px;
  cursor:pointer;
  user-select:none;
  transition: all .2s ease;
}

.ev-nav:hover{
  background: #8E2D5F;
  color: #fff;
}

.ev-prev{ left: -12px; }
.ev-next{ right: -12px; }

/* responsive */
@media (max-width: 980px){
  .ev-grid{ grid-template-columns: repeat(2, 1fr); }
  .ev-two{ grid-template-columns: 1fr; }
  .ev-prev, .ev-next{ display:none; }
  .ev-hero__inner{ flex-direction:column; }
}
@media (max-width: 620px){
  .ev-grid{ grid-template-columns: 1fr; }
  .ev-hero__title{ font-size: 34px; }
}


/* Detalle evento: mostrar SOLO la imagen, sin bloque */
.ev-detail-img{
  display: block;
  width: min(520px, 100%);   /* ajusta tamaño max */
  height: auto;              /* no recorta */
  margin: 14px auto 0;       /* centrada */
  border-radius: 18px;       /* bordes circulares */
  border: 1px solid rgba(0,0,0,.08);
}

/* Botón volver */
.ev-back{
  display: inline-block;
  margin: 8px 0 14px;
  font-size: 14px;
  text-decoration: none;
  color: #8E2D5F; /* usa tu morado principal */
  font-weight: 600;
  transition: opacity .15s ease;
}

.ev-back:hover{
  opacity: .7;
}






