/* style-eventos.css — Part eventos (BEM). Bootstrap utilities para layout/responsive */

.ark-eventos {
  --gap: 1.5rem;
}

/* Item base - side by side (derecha) */
.ark-eventos__item {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.ark-eventos__item:not(:last-child) {
  margin-bottom: 20px;
}

.ark-eventos__item:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Item principal (izquierda) - stacked layout */
.ark-eventos__item--main {
  flex-direction: column;
}

.ark-eventos__item--main .ark-eventos__item-image-wrapper {
  flex: none;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.ark-eventos__item--main .ark-eventos__item-image {
  height: 280px;
  min-height: 280px;
}

.ark-eventos__item--main .ark-eventos__item-content {
  justify-content: flex-start;
}

.ark-eventos__item-image-wrapper {
  flex: 0 0 120px;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

.ark-eventos__item-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.ark-eventos__item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px;
  justify-content: space-between;
  min-width: 0;
}

.ark-eventos__item-title {
  font-size: 18px;
  font-weight: 600;
  color: #3a3c39;
  text-transform: uppercase;
  line-height: 1.3;
}

/* .ark-eventos__item-info removed - descriptions eliminated */

.ark-eventos__item-date {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 16px;
  font-weight: 300;
  color: #3a3c39;
}

.ark-eventos__item-date i {
  font-size: 16px;
  color: #3a3c39;
}

/* Social icons - ocultos por defecto, visibles en hover del item */
.ark-eventos__item-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    height 0.2s ease,
    margin 0.2s ease;
  pointer-events: none;
}

.ark-eventos__item:hover .ark-eventos__item-social {
  opacity: 1;
  height: auto;
  transform: translateY(0);
  pointer-events: auto;
}

.ark-eventos__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4a5565;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.ark-eventos__social-link:first-child:hover {
  background: #1877f2;
}

.ark-eventos__social-link:last-child:hover {
  background: #25d366;
}

.ark-eventos__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 14px;
  background: #19248b;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

.ark-eventos__add-btn i {
  font-size: 14px;
}

/* Responsive: stack en mobile (< 768px) */
@media (max-width: 767.98px) {
  .ark-eventos__item {
    flex-direction: column;
  }

  .ark-eventos__item-image-wrapper {
    flex: none;
    width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .ark-eventos__item-image {
    height: 180px;
  }

  .ark-eventos__item-content {
    padding: 1rem;
  }
}
