/* Start custom CSS for html, class: .elementor-element-f3d3e3a *//* =========================================================
   DataSwell – Estilo “tarjeta Tenerife” para Simple Calendar
   ========================================================= */

/* Fuente Rock Salt (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Actor&display=swap');

/* Variables de color */
.simcal-calendar,
.simple-calendar {
  --k-primary: #7161EF;
  --k-secondary: #DEC0F1;
  --k-accent: #FFBF69;
  --k-text: #1F1F1F;
  --k-muted: #636363;
}

/* Fondo de la página */
#main {
  background: #000;
  padding: 20px;
}

/* -------- Header del calendario (lo ocultamos) -------- */

nav.simcal-calendar-head,
.simcal-calendar-head,
.simcal-calendar-head h3,
.simcal-calendar-head .simcal-nav-current,
.simcal-calendar-head button,
.simcal-calendar-head i {
  display: none !important;
}

/* -------- Ocultar la “tarjeta grande” del día -------- */

.simcal-day-label,
.simple-calendar .day-label {
  display: none;
}

.simcal-day {
  display: block;
}

/* -------- GRID PRINCIPAL DE TARJETAS -------- */

/* El contenedor general de eventos será el grid */
.simcal-events-list-container,
.simple-calendar .events {
  display: grid !important;
  gap: 18px !important;
  width: 100%;
  margin: 0;
}

/* Móvil: 1 tarjeta por fila */
@media (max-width: 799px) {
  .simcal-events-list-container,
  .simple-calendar .events {
    grid-template-columns: 1fr !important;
  }
}

/* Desktop: 2 tarjetas por fila */
@media (min-width: 800px) {
  .simcal-events-list-container,
  .simple-calendar .events {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Los contenedores de día no deben apilar filas extra */
.simcal-day,
.simcal-day .simcal-events {
  display: contents !important;
}

/* -------- TARJETA “TENERIFE” -------- */

.simcal-event,
.simple-calendar .event {
  position: relative;
  background: #fff6dd;
  border-radius: 32px;
  padding: 70px 24px 14px; /* top / lados / bottom */
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  border: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

/* Hover */
.simcal-event:hover,
.simple-calendar .event:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}

/* Header degradado con puntos */
.simcal-event::before,
.simple-calendar .event::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 40%;
  border-radius: 32px 32px 0 0;
  background:
    radial-gradient(circle at 10px 10px, #f80000 0 7px, transparent 8px 100%),
    linear-gradient(180deg, #f97316, #f80000);
  background-size: 30px 30px, 100% 100%;
  background-repeat: repeat, no-repeat;
  z-index: 0;
}

/* Quitamos pseudo-elementos inferiores antiguos 
.simcal-event::after,
.simple-calendar .event::after {
  content: none;
}
*/

/* -------- TIPOGRAFÍA GLOBAL ROCK SALT EN EL EVENTO -------- */

.simple-calendar .event,
.simple-calendar .event * {
  font-family: 'Actor', sans-serif !important;
}

/* -------- TÍTULO DEL EVENTO EN EL HEADER -------- */

.simcal-event-title,
.simple-calendar .event-title {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff6dd;
  z-index: 2;
}

.simcal-event-title a,
.simple-calendar .event-title a {
  color: inherit;
  text-decoration: none;
}

/* -------- CONTENIDO DE LA TARJETA -------- */

.simcal-event-details,
.simple-calendar .event-desc {
  font-size: 18px !important;
  color: #545454;
  margin-top: 40px;
}

/* Párrafos de detalles */
.simcal-event-details p,
.simple-calendar .event-desc p,
.simple-calendar .event p {
  margin: 4px 0;
}

/* Fecha, hora y lugar (por si el plugin usa estas clases) */
.simcal-event-time,
.simple-calendar .event-time,
.simcal-event-location,
.simple-calendar .event-location,
.simcal-event .simcal-event-start-date,
.simple-calendar .event .simcal-date,
.simple-calendar .event .date {
  font-size: 18px !important;
  color: #545454;
  margin: 4px 0;
}

/* -------- ENLACES/BOTONES DENTRO DE LA TARJETA -------- */

.simcal-event .simcal-event-url a,
.simple-calendar .event a.more,
.simple-calendar .event .event-link {
  display: none;
}

/* -------- ICONOS PERSONALIZADOS FECHA / LUGAR / HORA -------- */

/* Fecha */
.sc-fecha {
  position: relative;
  padding-left: 48px !important;
  margin: 10px 0 !important;
  line-height: 1.6 !important;
}

.sc-fecha::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  background-image: url('https://karcocha.com/wp-content/uploads/2025/11/icono-calendario.png');
  background-repeat: no-repeat;
  background-size: contain;
}

/* Lugar */
.sc-lugar {
  position: relative;
  padding-left: 48px !important;
  margin: 10px 0 !important;
  line-height: 1.6 !important;
}

.sc-lugar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  background-image: url('https://karcocha.com/wp-content/uploads/2025/11/icono-location.png');
  background-repeat: no-repeat;
  background-size: contain;
}

/* Hora */
.sc-hora {
  position: relative;
  padding-left: 48px !important;
  margin: 10px 0 !important;
  line-height: 1.6 !important;
}

.sc-hora::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  background-image: url('https://karcocha.com/wp-content/uploads/2025/11/icono-reloj.png');
  background-repeat: no-repeat;
  background-size: contain;
}

/* =========================================================
   Tipografías más pequeñas en móvil
   ========================================================= */
@media (max-width: 799px) {

  /* Título del evento */
  .simcal-event-title,
  .simple-calendar .event-title {
    font-size: 22px !important;
    line-height: 1.2 !important;
    top: 18px !important;
  }

  /* Texto general de la tarjeta */
  .simple-calendar .event,
  .simple-calendar .event * {
    font-size: 15px !important;
  }

  /* Párrafos de detalles */
  .simcal-event-details,
  .simple-calendar .event-desc {
    font-size: 15px !important;
  }

  /* Fecha / Lugar / Hora */
  .sc-fecha,
  .sc-lugar,
  .sc-hora {
    font-size: 15px !important;
    padding-left: 40px !important;
    margin: 8px 0 !important;
  }

  /* Iconos en móvil: más pequeños */
  .sc-fecha::before,
  .sc-lugar::before,
  .sc-hora::before {
    width: 32px !important;
    height: 32px !important;
  }

  /* Tarjeta más compacta */
  .simcal-event,
  .simple-calendar .event {
    padding: 60px 20px 10px !important;
  
  }


  /* Header degradado más pequeño */
  .simcal-event::before,
  .simple-calendar .event::before {
    height: 32% !important;
  }
}

/* ----- Desktop: título más abajo ----- */
.simcal-event-title,
.simple-calendar .event-title {
    top: 60px !important; 
}

/* ----- Mobile: título un poco más arriba ----- */
@media (max-width: 799px) {
    .simcal-event-title,
    .simple-calendar .event-title {
        top: 45px !important;
        font-size: 26px !important; /* también un poco más pequeño */
    }
}

/* ===== Desktop: limitar el ancho de cada columna ===== */
@media (min-width: 800px) {

  .simcal-events-list-container,
  .simple-calendar .events {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(400px, 700px)) !important;
    justify-content: center !important; /* centra el grid */
    gap: 84px !important;
  }
}

html body .simple-calendar .event,
.simple-calendar .event * {
  font-family: 'Actor', sans-serif !important;
}

.simcal-event::after,
.simple-calendar .event::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 70px;
  top: calc(40% - 35px);
  background-image: url("https://karcocha.com/wp-content/uploads/2025/11/wave-big2-background.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}/* End custom CSS */