/* Contenedor principal sin restricciones */
.sen-wrapper {
  width: 100%;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 10px 0;
  box-sizing: border-box;
}

/* Forzar fila fija mediante Flexbox */
.sen-flex-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important; /* Evita que el iframe baje */
  gap: 20px;
  width: 100%;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
}

/* Columna Izquierda: Ocupa exactamente 1/3 (33.33%) */
.sen-col-1-3 {
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
  box-sizing: border-box;
}

/* Columna Derecha: Ocupa exactamente 2/3 (66.66%) */
.sen-col-2-3 {
  flex: 0 0 66.666% !important;
  max-width: 66.666% !important;
  box-sizing: border-box;
}

/* Estilo de las tarjetas */
.sen-card {
  background-color: var(--color12, #ffffff);
  border: 1px solid var(--color13, #e4e6f0);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

/* Contenedores de contenido */
.sen-media-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sen-iframe-box {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color13, #e4e6f0);
}

.sen-img-precios {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}

.sen-powerbi-frame {
  width: 100%;
  height: 650px;
  border: none;
  display: block;
}

/* Botones */
.btn-institucional, 
.btn-institucional-secundario {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: var(--color12, #ffffff) !important;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  padding: 12px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-top: 12px;
  box-sizing: border-box;
}

.btn-institucional {
  background-color: var(--color1, #19488C);
}

.btn-institucional:hover {
  background-color: var(--color3, #0F2C57);
}

.btn-institucional-secundario {
  background-color: var(--color3, #0F2C57);
}

.btn-institucional-secundario:hover {
  background-color: var(--color2, #9A7D36);
}

/* Si en pantallas muy pequeñas (móviles) prefieres obligar que bajen a 1 sola fila, 
   cambia (max-width: 0px) por (max-width: 600px) */
@media (max-width: 0px) {
  .sen-flex-row {
    flex-direction: column !important;
  }
  .sen-col-1-3, .sen-col-2-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}