/* ==========================================================================
   Ektor Caba - Base Ficha Técnica App (Aislado)
   ========================================================================== */

/* Variables de alcance local para no contaminar el :root global */
.ektor-app-spec-grid {
  --ektor-ficha-gap: 10px;
  --ektor-key-width: 150px;
  --ektor-border-color: rgba(0, 0, 0, 0.08);

  /* Contenedor Principal */
  display: flex;
  flex-direction: column;
  gap: var(--ektor-ficha-gap);
  margin: 1.5em 0;
  width: 100%;
}

/* Filas aisladas */
.ektor-app-spec-grid .ektor-app-spec-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--ektor-border-color);
}

.ektor-app-spec-grid .ektor-app-spec-row:last-child {
  border-bottom: none;
}

/* Etiqueta (Key) */
.ektor-app-spec-grid .ektor-app-spec-key {
  font-weight: 600;
  min-width: var(--ektor-key-width);
  color: inherit;
}

/* Valor (Value) */
.ektor-app-spec-grid .ektor-app-spec-val {
  flex: 1;
  color: inherit;
  word-break: break-word;
  text-align: right;
}

/* Enlace / Descarga (Afecta SOLO a los enlaces de la ficha) */
.ektor-app-spec-grid a.ektor-app-spec-link {
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.ektor-app-spec-grid a.ektor-app-spec-link:hover {
  opacity: 0.8;
}

/* Adaptación Mobile (Exclusiva de la ficha) */
@media (max-width: 480px) {
  .ektor-app-spec-grid .ektor-app-spec-row {
    flex-direction: column;
    gap: 2px;
  }
  
  .ektor-app-spec-grid .ektor-app-spec-key {
    min-width: 100%;
    font-size: 0.85em;
    opacity: 0.8;
  }
}

/* El iframe responsive dentro del contenedor */
.ektor-app-video-embed iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Mantiene la proporción 16:9 estándar de los vídeos */
    border: 0;           /* Elimina bordes por defecto del iframe */
    display: block;
    border-radius: 20px;
}

.ektor-app-fallback-image img{
      border-radius: 20px !important;
}
