/* ===== FULL BLEED ===== */
section.lins-calendario {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 4rem 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}

html, body {
  overflow-x: hidden;
}

/* ===== VIEWPORT ===== */
.lins-calendario-viewport {
  position: relative; /* necesario para las flechas absolutas */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  cursor: default;
}

/* ===== CARRUSEL — movimiento controlado por JS ===== */
.lins-calendario-carrusel {
  display: flex;
  width: max-content;
  will-change: transform;
  /* Sin animation CSS: el JS toma el control */
}

/* Transición suave al hacer snap con las flechas */
.lins-calendario-carrusel.is-snapping {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== TARJETAS ===== */
.lins-calendario-card {
  flex: 0 0 320px;
  background: #ffffff;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  margin-right: 2rem;
}

.lins-calendario-card:last-child {
  margin-right: 0;
}

/* ===== TÍTULO DEL MES ===== */
.lins-calendario-card .subtitle h2 {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(90deg, #7478AB 0%, #a8aad4 50%, #FFCEEF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== EVENTOS ===== */
.lins-calendario-eventos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lins-calendario-evento {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lins-calendario-semana {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a1a;
}

.lins-calendario-fechahora {
  font-size: 0.875rem;
  color: #555;
  font-weight: 400;
}

/* ===== FLECHAS ===== */
.lins-cal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  background: #ffffff;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.lins-cal-arrow:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.lins-cal-prev {
  left: 1.5rem;
}

.lins-cal-next {
  right: 1.5rem;
}

/* ===== DOTS ===== */
.lins-cal-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.lins-cal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cccccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.lins-cal-dot.active {
  background: #7478AB;
  transform: scale(1.35);
}

/* ===== RESPONSIVE — móvil ===== */
@media (max-width: 600px) {
  .lins-cal-arrow {
    width: 36px;
    height: 36px;
  }

  .lins-cal-prev {
    left: 0.75rem;
  }

  .lins-cal-next {
    right: 0.75rem;
  }
}