/* neobrand · placeholders de imagen pendiente (reemplazan imágenes que ya no existen en Builderall) */
.ph {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 18px 16px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(100,116,139,0.07) 0 14px, rgba(100,116,139,0.0) 14px 28px),
    #f1f5f9;
  border: 2px dashed #94a3b8;
  border-radius: 14px;
  color: #475569;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.3;
  overflow: hidden;
}

.ph::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='M3.5 17l5-4.5 4 3.5 3-2.5 5 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ph-n {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.ph b {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
}

.ph i {
  font-style: normal;
  font-size: 12px;
  color: #64748b;
}

/* Proporciones sugeridas */
.ph-sq    { aspect-ratio: 1 / 1; }
.ph-43    { aspect-ratio: 4 / 3; }
.ph-54    { aspect-ratio: 5 / 4; }
.ph-1610  { aspect-ratio: 16 / 10; }
.ph-169   { aspect-ratio: 16 / 9; }
.ph-strip { aspect-ratio: 16 / 5; }
.ph-tools { aspect-ratio: 6 / 1; }
.ph-banner{ aspect-ratio: 16 / 6; max-width: 1100px; }
.ph-stack { aspect-ratio: 1 / 1; max-width: 700px; }

/* Logos: pequeños y compactos */
.ph-logo {
  aspect-ratio: 4 / 1;
  margin-left: 0;
  margin-right: 0;
  padding: 8px 12px;
  flex-direction: row;
  gap: 10px;
}
.ph-logo::before { width: 24px; height: 24px; }
.ph-logo .ph-n { display: none; }
.ph-logo b { font-size: 13px; }
.ph-logo i { display: none; }

/* Franjas anchas y muy bajas: texto en una línea */
.ph-tools { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; padding: 8px 14px; }
.ph-tools::before { width: 22px; height: 22px; }

/* Misma regla que tenían las imágenes en la rejilla invertida de YouTube Secrets */
.yt-grid-reverse > .ph { order: -1; }
@media (max-width: 900px) {
  .yt-grid-reverse > .ph { order: 0; }
}

/* Móvil: banner y pila más altos para que el texto quepa */
@media (max-width: 767px) {
  .ph-banner { aspect-ratio: 4 / 5; }
  .ph-tools  { aspect-ratio: 3 / 1; }
  .ph-strip  { aspect-ratio: 4 / 3; }
}

/* Logos con ancho propio de cada página */
.ph-logo { min-height: 56px; }
.ib-vsl-logo.ph { width: 240px; margin-left: auto; margin-right: auto; }

/* TikTok Ads y Meta Ads */
.tk-logo.ph { margin-left: auto; margin-right: auto; }
.ma-hero-badge.ph { width: 220px; }
.tk-grid-reverse > .ph { order: -1; }
@media (max-width: 900px) {
  .tk-grid-reverse > .ph { order: 0; }
}
