/* ===== D2 · Somos / Pupo — inicio (15-11-2026). Revertir: borrar desde aquí hasta «D2 … fin». =====
   Sólo actúa en /somos/ (body.oij-editorial-about) y sólo sobre el bloque cuya imagen es wp-image-20838.
   Navegadores sin :has(): sin cambios (queda como antes). */
.oij-editorial-about p:has(>img.wp-image-20838){position:relative;float:left;width:clamp(230px,30%,320px);margin:8px clamp(32px,4.5vw,64px) 40px 6px;padding:14px 14px 18px;background:#faf6e9;transform:rotate(-2deg);box-shadow:5px 7px 0 #22292524;text-align:center}
.oij-editorial-about p:has(>img.wp-image-20838)::before{content:'';position:absolute;top:-16px;left:34%;width:110px;height:34px;background:#9fb7c7ba;transform:rotate(-6deg);clip-path:polygon(3% 0,100% 2%,97% 12%,100% 27%,97% 41%,100% 54%,97% 69%,100% 84%,97% 100%,0 97%,3% 84%,0 70%,3% 56%,0 43%,3% 29%,0 16%);pointer-events:none;z-index:1}
.oij-editorial-about p>img.wp-image-20838{display:block;width:100%;height:auto;aspect-ratio:300/298;margin:0!important;background:#f1e9d6}
/* Nombre + cargo */
.oij-editorial-about p:has(>img.wp-image-20838)+h2{text-align:left!important;margin:clamp(24px,5vw,72px) 0 18px!important;line-height:1}
.oij-editorial-about p:has(>img.wp-image-20838)+h2>span{color:var(--ink,#222925)!important}
.oij-editorial-about p:has(>img.wp-image-20838)+h2::after{content:'Secretario General del OIJ';display:table;margin-top:14px;padding:6px 14px;background:var(--yellow,#f5ce59);font:600 22px/1.1 var(--hand,'Caveat',cursive);letter-spacing:0;color:var(--ink,#222925);transform:rotate(-2deg);box-shadow:2px 4px 0 #22292515}
html[lang="pt"] .oij-editorial-about p:has(>img.wp-image-20838)+h2::after{content:'Secretário-Geral do OIJ'}
html[lang="en"] .oij-editorial-about p:has(>img.wp-image-20838)+h2::after{content:'Secretary-General of OIJ'}
/* Frase (texto ya publicado en la portada: leadershipText) + botón */
.oij-editorial-about p:has(>img.wp-image-20838)+h2+div{text-align:left!important;margin:0 0 40px!important;display:flow-root}
.oij-editorial-about p:has(>img.wp-image-20838)+h2+div::before{content:'La gestión de Alexandre Pupo sitúa la emancipación juvenil en el centro: proyectos de vida con autonomía, protección y derechos, impulsados desde la cooperación iberoamericana.';display:block;max-width:46ch;margin:0 0 24px;font-size:17px;line-height:1.65;color:var(--ink,#222925)}
html[lang="pt"] .oij-editorial-about p:has(>img.wp-image-20838)+h2+div::before{content:'A gestão de Alexandre Pupo coloca a emancipação juvenil no centro: projetos de vida com autonomia, proteção e direitos, impulsionados pela cooperação ibero-americana.'}
html[lang="en"] .oij-editorial-about p:has(>img.wp-image-20838)+h2+div::before{content:'Alexandre Pupo\2019s leadership puts youth emancipation at the centre: life paths with autonomy, protection and rights, supported by Ibero-American cooperation.'}
.oij-editorial-about p:has(>img.wp-image-20838)+h2+div>a{display:inline-flex!important;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:48px;padding:12px 22px!important;background:var(--ink,#222925)!important;color:var(--paper,#f6f3eb)!important;border:1px solid var(--ink,#222925);border-radius:2px!important;font-size:15px;font-weight:500;line-height:1.2;box-shadow:4px 5px 0 #22292524;transition:transform .25s,background .25s,color .25s}
.oij-editorial-about p:has(>img.wp-image-20838)+h2+div>a>br{display:none}
.oij-editorial-about p:has(>img.wp-image-20838)+h2+div>a:hover{background:var(--coral,#ed795b)!important;color:var(--ink,#222925)!important;transform:translate(-2px,-3px)}
.oij-editorial-about p:has(>img.wp-image-20838)+h2+div>a:focus-visible{outline:3px solid var(--ink,#222925);outline-offset:3px;box-shadow:0 0 0 6px #fffdf7}
.oij-editorial-about p:has(>img.wp-image-20838)+h2+div+*{clear:both}
/* Móvil y tableta estrecha: apilado y centrado */
@media (max-width:699px){
 .oij-editorial-about p:has(>img.wp-image-20838){float:none;width:min(280px,78%);margin:12px auto 34px}
 .oij-editorial-about p:has(>img.wp-image-20838)+h2{text-align:center!important;margin-top:0!important}
 .oij-editorial-about p:has(>img.wp-image-20838)+h2::after{margin:12px auto 0;font-size:20px}
 .oij-editorial-about p:has(>img.wp-image-20838)+h2+div{text-align:center!important}
 .oij-editorial-about p:has(>img.wp-image-20838)+h2+div::before{margin:0 auto 22px;font-size:16px}
}
@media (prefers-reduced-motion:reduce){.oij-editorial-about p:has(>img.wp-image-20838)+h2+div>a{transition:none}.oij-editorial-about p:has(>img.wp-image-20838)+h2+div>a:hover{transform:none}}
/* ===== D2 · Somos / Pupo — fin ===== */