.sozpic-animation {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 12rem;
  overflow: hidden;
}

.sozpic-animation canvas {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

.sozpic-animation--strokes {
  background-color: transparent;
}

.sozpic-animation--svg {
  background-color: #fff;
}

.sozpic-animation--wireframe {
  background-color: #fff;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  max-height: 570px;
}

.sozpic-animation--wireframe[data-theme="dark"] {
  background: transparent;
}

.sozpic-animation--wireframe[data-variant="polygon"] {
  aspect-ratio: 3 / 1;
  max-height: none;
}

.sozpic-animation--ia {
  background-color: #fff;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  max-height: 570px;
}

.sozpic-animation--mko {
  background-color: #fff;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  max-height: 570px;
}

.sozpic-animation--ia-v2 {
  background-color: #fff;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  max-height: 570px;
}

.sozpic-animation--mko-v2 {
  background-color: #fff;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  max-height: 570px;
}

.sozpic-animation--ia-nebula {
  background-color: #fff;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  max-height: 570px;
}

.sozpic-animation--mko-nebula {
  background-color: #fff;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  max-height: 570px;
}

/* --- Mapa de provincias --- */
.sozpic-mapa-provincias {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.sozpic-mapa-provincias__svg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sozpic-mapa-provincias__svg svg {
  max-width: 100%;
  max-height: 100%;
}

.sozpic-mapa-provincias__label {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  color: #FFFCFE;
  font-family: var(--font-primary, 'Inter', sans-serif);
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.sozpic-mapa-provincias__label--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
