/* Espacios de imagen: el placeholder se oculta solo cuando la imagen carga */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 260px;
  background: repeating-linear-gradient(
    135deg,
    var(--soft),
    var(--soft) 14px,
    var(--line) 14px,
    var(--line) 15px
  );
  border: 1px dashed var(--blue2);
  color: var(--blue2);
  overflow: hidden;
  width: 100%;
}
.ph span {
  font: 600 0.72rem Inter;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
}
.ph em {
  font:
    0.8rem ui-monospace,
    monospace;
  color: var(--mute);
  display: block;
  margin-top: 8px;
  font-style: normal;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.r16 {
  aspect-ratio: 16/10;
  min-height: 0;
}
.r43 {
  aspect-ratio: 4/3;
  min-height: 0;
}
.ph.loaded {
  background: none;
  border-style: solid;
}
.ph.loaded > div {
  visibility: hidden;
}
.mark.has-logo {
  width: 56px;
  height: 56px;
  border: 0;
}
.mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Logos (PNG con transparencia): se ven completos, sin recorte ni fondo */
.ph.contain img {
  object-fit: contain;
}
.ph.contain.loaded {
  background: none;
  border: 0;
}
