﻿:root {
  --ei-card-bg: #ffffff;
  --ei-band-bg: #001e58;      /* Banda inferior azul */
  --ei-bubble-bg: #001e58;    /* Círculo detrás del icono en azul oscuro */
  --ei-text-color: #ffffff;
  --ei-radius: 18px;
}

/* GRID */
.ei-flexgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}

/* Botones más anchos */
.ei-flexgrid__item {
  flex: 0 1 300px; /* Ajusta a 280–320 si quieres más ancho */
}

/* TARJETA */
.ei-card {
  background: var(--ei-card-bg);
  border-radius: var(--ei-radius);
  padding: 1.5rem 1rem 0 1rem;
  text-align: center;
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ei-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

/* CÍRCULO DETRÁS DEL ICONO */
.ei-card__icon {
  width: 90px;
  height: 90px;
  background: var(--ei-bubble-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* Ícono blanco */
.ei-card__icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* BANDA INFERIOR */
.ei-card__band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--ei-band-bg);
  color: var(--ei-text-color);
  padding: .8rem .5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 var(--ei-radius) var(--ei-radius);
  text-align: center;
}

/* SLIDER SPLIDE */
.ei-splide .splide__track {
  height: auto;
}

.ei-splide .splide__slide {
  display: flex;
  align-items: center;
}

.ei-splide .splide__slide > .ei-card {
  width: 100%;
  height: 100%;
  min-height: 210px;
}

@media (min-width: 1024px) {
  .ei-card {
    height: 250px;
  }
  .ei-splide .splide__slide > .ei-card {
    min-height: 250px;
  }
  .ei-card__icon {
    width: 110px;
    height: 110px;
  }
}

.transparencia-intro {
  max-width: 900px;
  margin: 0 auto 2rem auto;
  padding: 1rem 1.5rem;
  background: #f7f9fc;
  border-left: 5px solid #001e58;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 1rem;
  color: #111;
  line-height: 1.6;
  text-align: justify; 
}

.transparencia-intro p {
  margin-bottom: 0.8rem;
}
