/* ════════ WordPress ════════ */
.wp-cuerpo { animation: aparecer .4s cubic-bezier(.2,.8,.2,1); }
.wp-sitios { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 18px; }
.wp-sitios .chip svg { width: 16px; height: 16px; }
.wp-trunc2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wp-sin-img { display: grid; place-items: center; height: 100%; width: 100%; color: var(--apagado); background: var(--panel-2); }
.wp-sin-img .ico { width: 32px; height: 32px; }

/* Tarjetas de entrada */
.wp-entrada { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.wp-entrada-img { position: relative; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: var(--panel-2); }
.wp-entrada-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wp-entrada:hover .wp-entrada-img img { transform: scale(1.06); }
.wp-entrada-estado { position: absolute; top: 8px; left: 8px; }
.wp-entrada-estado .insignia { backdrop-filter: blur(8px); background: rgba(0,0,0,.6); color: #fff; }
.wp-entrada-titulo { font-weight: 700; font-family: var(--fuente-titulo); font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.wp-consejo { background: linear-gradient(135deg, color-mix(in srgb, var(--red-1) 16%, var(--panel)), var(--panel)); }

/* Editor */
.wp-hoja { background: var(--panel-solido); border: 1px solid var(--borde); border-radius: 20px; overflow: hidden; box-shadow: var(--sombra-1); }
.wp-titulo { width: 100%; border: 0; background: transparent; outline: none; font-family: var(--fuente-titulo); font-size: 32px; font-weight: 700; letter-spacing: -.02em; padding: 26px 30px 12px; color: var(--texto); }
.wp-titulo::placeholder { color: var(--tenue); }
.wp-barra { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; padding: 6px 14px; border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); background: var(--panel-solido-2); }
.wp-barra button { min-width: 32px; height: 32px; padding: 0 7px; border: 0; border-radius: 8px; background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 14px; color: var(--texto-2); }
.wp-barra button:hover { background: var(--panel-3); color: var(--texto); }
.wp-barra button.activo { background: var(--red-grad); color: #fff; }
.wp-barra button .ico { width: 16px; height: 16px; }
.wp-barra .selector.peq { width: 140px; height: 32px; padding: 4px 28px 4px 10px; font-size: 13px; }
.wp-sep { width: 1px; height: 20px; background: var(--borde-fuerte); margin: 0 5px; }
.wp-editor { min-height: 460px; padding: 22px 30px 40px; outline: none; font-size: 16px; line-height: 1.75; font-family: Georgia, 'Playfair Display', serif; color: var(--texto); }
.wp-editor:empty::before { content: attr(data-vacio); color: var(--tenue); }
.wp-editor h2 { font-family: var(--fuente-titulo); font-size: 26px; margin: 1em 0 .4em; }
.wp-editor h3 { font-family: var(--fuente-titulo); font-size: 21px; margin: 1em 0 .4em; }
.wp-editor h4 { font-family: var(--fuente-titulo); font-size: 18px; margin: 1em 0 .4em; }
.wp-editor blockquote { margin: 1em 0; padding: 6px 18px; border-left: 4px solid var(--red-1); color: var(--texto-2); font-style: italic; }
.wp-editor pre { background: rgba(0,0,0,.3); padding: 12px; border-radius: 10px; font-family: var(--fuente-mono); font-size: 13px; white-space: pre-wrap; }
.wp-editor img { max-width: 100%; height: auto; border-radius: 10px; }
.wp-editor figure { margin: 1em 0; }
.wp-editor .wp-block-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wp-editor .wp-block-gallery figure { margin: 0; }
.wp-editor .wp-block-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.wp-editor a { color: var(--red-3); }
.wp-editor hr { border: 0; border-top: 2px solid var(--borde-fuerte); margin: 2em 20%; }
.wp-html { width: 100%; min-height: 460px; border: 0; outline: none; background: rgba(0,0,0,.25); color: #c9f0ff; font-family: var(--fuente-mono); font-size: 13px; line-height: 1.6; padding: 20px 26px; resize: vertical; }
.wp-lateral { max-height: calc(100vh - 140px); overflow: auto; padding-right: 4px; }
.wp-destacada-caja { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; }
.wp-destacada-caja img { width: 100%; height: 100%; object-fit: cover; }
.wp-destacada-caja .btn { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.6); color: #fff; }
.wp-cats-lista { max-height: 200px; overflow: auto; display: flex; flex-direction: column; gap: 2px; padding: 4px; border-radius: 10px; background: rgba(0,0,0,.15); }
.wp-check { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 7px; cursor: pointer; font-size: 13px; }
.wp-check:hover { background: var(--panel-2); }
.wp-mas summary { cursor: pointer; list-style: none; }
.wp-mas summary::-webkit-details-marker { display: none; }

/* Vista previa de Google */
.wp-serp { background: #fff; color: #202124; border-radius: 12px; padding: 14px 16px; font-family: Arial, sans-serif; }
.wp-serp-url { font-size: 12.5px; color: #4d5156; display: flex; align-items: center; gap: 6px; }
.wp-serp-titulo { color: #1a0dab; font-size: 19px; margin: 4px 0 3px; line-height: 1.3; }
.wp-serp-desc { font-size: 13.5px; color: #4d5156; line-height: 1.5; }

/* Tabla */
.wp-tabla-img { width: 54px; height: 40px; border-radius: 8px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--panel-2); color: var(--apagado); }
.wp-tabla-img img { width: 100%; height: 100%; object-fit: cover; }
.wp-tabla-titulo { color: var(--texto); font-weight: 700; text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.wp-tabla-titulo:hover { color: var(--red-3); }

.wp-medio-grande { border-radius: 14px; overflow: hidden; background: #000; display: grid; place-items: center; max-height: 420px; }
.wp-medio-grande img, .wp-medio-grande video { max-width: 100%; max-height: 420px; }
.wp-com.pendiente { border-left: 4px solid var(--aviso); }
.wp-responder { margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--panel-2); display: flex; flex-direction: column; gap: 8px; }
.wp-terminos { max-height: 560px; overflow: auto; }

/* Vista previa (Lanzador) */
.wp-previa { display: flex; flex-direction: column; gap: 14px; }
.wp-navegador { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #e9e9ef; border-radius: 12px 12px 0 0; margin-bottom: -14px; }
.wp-navegador > span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.wp-navegador > span:nth-child(2) { background: #febc2e; } .wp-navegador > span:nth-child(3) { background: #28c840; }
.wp-navegador div { flex: 1; margin-left: 8px; background: #fff; border-radius: 8px; padding: 3px 10px; font-size: 11.5px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-articulo { background: #fff; color: #1e1e1e; border-radius: 0 0 12px 12px; overflow: hidden; max-height: 520px; overflow-y: auto; box-shadow: var(--sombra-2); }
.wp-destacada { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; }
.wp-art-cuerpo { padding: 18px 22px 22px; font-family: Georgia, serif; }
.wp-art-cuerpo h1 { font-family: var(--fuente-titulo); font-size: 24px; line-height: 1.2; color: #111; margin: 4px 0 6px; }
.wp-cats { display: flex; gap: 6px; } .wp-cats span { font-family: var(--fuente); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #3858E9; }
.wp-meta { font-family: var(--fuente); font-size: 12px; color: #757575; margin-bottom: 12px; }
.wp-contenido { font-size: 14.5px; line-height: 1.7; }
.wp-contenido img { max-width: 100%; border-radius: 6px; }
.wp-galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 12px; }
.wp-galeria img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.wp-tarjeta-blog { display: grid; grid-template-columns: 120px 1fr; gap: 12px; background: #fff; color: #1e1e1e; border-radius: 12px; overflow: hidden; box-shadow: var(--sombra-1); }
.wp-tarjeta-blog img, .wp-tarjeta-blog .wp-sin-img { width: 120px; height: 100%; min-height: 110px; object-fit: cover; background: #f0f0f0; }
.wp-tarjeta-blog > div:last-child { padding: 10px 12px 10px 0; }
.wp-tarjeta-blog b { font-size: 14px; display: block; }
.wp-tarjeta-blog p { font-size: 12px; color: #555; margin: 4px 0; line-height: 1.45; }
.wp-tarjeta-blog span { font-size: 12px; color: #3858E9; font-weight: 700; }
