/* Capa de unificación v30: páginas a27/legacy con el mismo encabezado, botones y movimiento que la portada. */
@media (min-width:900px){
html body.a27 header.a27-top,html.a27-hero body.a27 .a27-top{height:64px!important;background:#fffffff2!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important;border-bottom:1px solid #D9D4C8!important;color:#0d0d0d!important;pointer-events:auto!important;padding:0 max(20px,calc((100vw - 1120px)/2 + 20px))!important;font-size:14px!important;letter-spacing:0!important;font-weight:500!important;text-transform:none!important}
html body.a27 header.a27-top .a27-nav{gap:26px!important}
html body.a27 header.a27-top .a27-nav a{text-transform:none!important;letter-spacing:0!important;font-size:14px!important;font-weight:500!important;padding:6px 0!important;border-bottom:1px solid transparent!important;transition:border-color .35s cubic-bezier(.22,1,.36,1)}
html body.a27 header.a27-top .a27-nav a:hover,html body.a27 header.a27-top .a27-nav a[aria-current=page]{border-bottom-color:#0d0d0d!important}
html body.a27 header.a27-top .a27-top__logo{position:static!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;margin:0!important}
html body.a27 header.a27-top .a27-top__logo img{height:22px!important;width:auto!important}
html body.a27 header.a27-top a.a27-dx,html body.a27 header.a27-top a.a27-dx:visited{background:#0d0d0d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:999px!important;padding:10px 18px!important;font-size:13px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;max-width:none!important;white-space:nowrap!important;text-align:center!important;transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s cubic-bezier(.22,1,.36,1)}
html body.a27 header.a27-top a.a27-dx *{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.a27 header.a27-top a.a27-dx:hover{transform:translateY(-1px);box-shadow:0 8px 20px #0d0d0d33}
html body.a27 header.a27-top .a27-dx__pre{display:inline!important}
}
@media (max-width:899px){
html body.a27 header.a27-top{background:#fffffff2!important;border-bottom:1px solid #D9D4C8!important}
html body.a27 header.a27-top a.a27-dx{font-size:12px!important;letter-spacing:0!important;text-transform:none!important;max-width:none!important;white-space:nowrap!important}
html body.a27 header.a27-top .a27-dx__pre{display:inline!important}
}
/* botón de WhatsApp antiguo: pasa a círculo y sube sobre el lanzador de MiniFrank */
html body.a27 a.whatsapp-fab,html body.a27 a#waBtn{border-radius:50%!important;right:22px!important;bottom:104px!important;width:48px!important;height:48px!important}
/* Tarjetas, bandas y botones: lenguaje de la portada (esquinas 18px, borde fino, sin barras de color) */
:root{--u-line:#D9D4C8;--u-ease:cubic-bezier(.22,1,.36,1)}
html body.a27-legacy #aradSite .page-hero{background:#FBF9F4!important;border-bottom:1px solid var(--u-line)!important}
html body.a27-legacy #aradSite .svc .page-hero{border-bottom:1px solid var(--u-line)!important}
html body.a27-legacy #aradSite .eyebrow{font-size:12px;letter-spacing:.14em;font-weight:600;text-transform:uppercase;color:#6B685F}
html body.a27-legacy #aradSite .svc .eyebrow::before,html body.a27-legacy #aradSite .eyebrow::before{width:24px;height:2px;background:#A8112C}
html body.a27-legacy #aradSite .article-breadcrumb{letter-spacing:.08em}
html body.a27-legacy #aradSite .svc .article-lead,html body.a27-legacy #aradSite .svc .svc-cta,html body.a27-legacy #aradSite .author-box{border:1px solid var(--u-line)!important;border-top:1px solid var(--u-line)!important;border-radius:18px!important;background:#fff!important}
html body.a27-legacy #aradSite .svc .article-body h2::before{display:none}
html body.a27-legacy #aradSite .svc .article-body li::marker{color:#A8112C}
html body.a27-legacy #aradSite .svc .svc-cta a.b{border-radius:999px!important;font-size:15px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;padding:15px 26px!important;transition:transform .35s var(--u-ease),box-shadow .35s var(--u-ease),background .3s,color .3s}
html body.a27-legacy #aradSite .svc .svc-cta a.b:hover{transform:translateY(-2px);box-shadow:0 10px 24px #0d0d0d2b}
html body.a27-legacy #aradSite .svc .svc-cta .k{letter-spacing:.14em}
html body.a27-legacy #aradSite .svc .svc-more{background:#FBF9F4!important;border-top:1px solid var(--u-line)!important}
html body.a27-legacy #aradSite .listing-card,html body.a27-legacy #aradSite .svc .svc-others .listing-card{border:1px solid var(--u-line)!important;border-top:1px solid var(--u-line)!important;border-radius:18px!important;background:#fff!important;transition:transform .5s var(--u-ease),box-shadow .5s var(--u-ease)!important}
html body.a27-legacy #aradSite .listing-card:hover,html body.a27-legacy #aradSite .svc .svc-others .listing-card:hover{transform:translateY(-5px)!important;box-shadow:0 18px 40px #0d0d0d1a!important}
html body.a27-legacy #aradSite table thead th{border-bottom:1px solid #0d0d0d!important}

/* Regla de Frank: contenedores de foto sin bordes redondeados */
html body.a27-legacy #aradSite .author-box,html body.a27-legacy #aradSite .author-photo,html body.a27-legacy #aradSite .author-photo-wrap,html body.a27-legacy #aradSite .listing-card img{border-radius:0!important}
/* v31 · 11/11/2026 · Encabezado móvil igual al de la portada: logo a la izquierda, botón negro, «Menú» a la derecha */
@media (max-width:899px){
html body.a27 header.a27-top{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;height:60px!important;padding:0 16px!important;padding-top:env(safe-area-inset-top,0px)!important}
html body.a27 header.a27-top .a27-top__logo{position:static!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;margin:0 auto 0 0!important;order:1}
html body.a27 header.a27-top .a27-top__logo img{height:22px!important;width:auto!important}
html body.a27 header.a27-top a.a27-dx,html body.a27 header.a27-top a.a27-dx:visited{order:2;display:inline-block!important;line-height:38px!important;height:38px;background:#0d0d0d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:999px!important;padding:0 16px!important;font-size:13px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;max-width:none!important;text-align:center!important}
html body.a27 header.a27-top a.a27-dx *{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.a27 header.a27-top .a27-dx__pre{display:inline!important}
html body.a27 header.a27-top #a27MenuBtn{order:3;min-height:44px;padding:0 2px 0 6px!important;border:0!important;background:none!important;font-size:14px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important}
}
@media (max-width:359px){html body.a27 header.a27-top a.a27-dx .a27-dx__pre{display:none!important}}
/* v31 · Correcciones de contraste (auditoría 11/11/2026)
   1) Botones de llamada a la acción con fondo var(--crimson) (ahora negro por Línea Clara) quedaban con texto negro: invisibles en 48 páginas. */
html body #aradSite .article-body a[style*="background:var(--crimson)"],html body #aradSite .article-body a[style*="background: var(--crimson)"],
html body #aradSite a[style*="background:var(--crimson)"],html body #aradSite a[style*="background: var(--crimson)"]{color:#fff!important;-webkit-text-fill-color:#fff!important;border-bottom:0!important}
html body #aradSite a[style*="background:var(--crimson)"]:hover,html body #aradSite a[style*="background: var(--crimson)"]:hover{background:#2a2a2a!important}
/* 2) WhatsApp dentro del pie oscuro quedaba negro sobre negro */
html body.a27 #aradSite .a27-foot a[href*="wa.me"],html body.a27 .a27-foot a[href*="wa.me"]{color:inherit!important;-webkit-text-fill-color:currentColor!important;border-color:currentColor!important}
html body.a27 .a27-foot a[href*="wa.me"] svg{color:currentColor!important;fill:currentColor!important}
/* 3) Fichas del equipo y páginas antiguas: migas, etiquetas y «Volver» con contraste AA; etiqueta legible sobre la foto */
html body #aradSite .crumb a,html body #aradSite .crumb span,html body #aradSite .profile-back,html body #aradSite .profile-grid .label,html body #aradSite .profile-cta .label{color:#5c5a55!important}
html body #aradSite .profile-hero-text .label{color:#f2f2f2!important}
html body #aradSite .profile-code .pc-label{text-shadow:0 1px 8px rgba(0,0,0,.75)!important}
/* 4) Ficha del equipo: el nombre (h1) heredaba tinta oscura de la capa a27 y desaparecía sobre la foto */
html body #aradSite .profile-hero-text h1,html body #aradSite .profile-hero-text h1 *{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body #aradSite .profile-hero-text p{color:#e9e9e9!important}
/* v32 · Perfil de Francisco: 5 cifras sin huérfanas (escritorio en 5 columnas; móvil, la primera a lo ancho) */
html body .fx-nums dl:has(> div:nth-child(5)){grid-template-columns:repeat(5,1fr)}
@media (max-width:899px){html body .fx-nums dl:has(> div:nth-child(5)){grid-template-columns:1fr 1fr}html body .fx-nums dl:has(> div:nth-child(5)) > div:first-child{grid-column:1/-1}}
@media (max-width:899px){html body .fx-nums dl:has(> div:nth-child(5)) > div:first-child{margin-right:0;border-right:0}html body .fx-nums dl:has(> div:nth-child(5)) > div:nth-child(2n){margin-right:14px}html body .fx-nums dl:has(> div:nth-child(5)) > div:nth-child(2n+1):not(:first-child){border-right:0;margin-right:0}}
