/* BA Ferial — agregados de la versión WordPress (detalle de evento, links en tarjetas, contenido del editor). */
.evbody h2 a{color:inherit;text-decoration:none}
.evbody h2 a:hover{color:var(--blue)}
.ev-single .art-wrap>.evmeta{margin:32px 0 0;font-size:15px;gap:10px}
.ev-single .art-wrap>.evmeta svg{width:16px;height:16px;margin-top:3px}
.ev-btns-lg{margin:24px 0 0}
.ev-btns-lg .evbtn{padding:14px 22px;font-size:14px}
.ev-past{margin:28px 0 0;padding:12px 16px;border-radius:10px;background:var(--tint);color:var(--muted);font-weight:600}
.ev-single .art-body{margin-top:8px}
#blNext[aria-busy]{opacity:.6;pointer-events:none}
/* Contenido cargado desde el editor de bloques */
.art-body figure{margin:28px 0}
.art-body .wp-block-image img,.art-body img{max-width:100%;height:auto}
.art-body .aligncenter{margin-left:auto;margin-right:auto}
.art-body .wp-block-embed iframe,.art-body iframe{max-width:100%;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:14px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- Publicidad (inc/publicidad.php) ---------- */
.bf-rot{position:relative}
.bf-rot>a{display:block;transition:opacity .9s ease}
.bf-rot>a:not(:first-child){position:absolute;inset:0}
.bf-rot>a:not(.on){opacity:0;pointer-events:none}
.bf-rot picture{display:block}
.ad-img.bf-rot>a img{display:block;width:100%;height:auto}
.ad-img.bf-rot>a:not(:first-child) img{height:100%;object-fit:cover}
.mp-banner>a{display:block}
.mp-banner .bf-cc{grid-column:1/-1}
.mp-banner .bf-cc>a{border-radius:inherit;overflow:hidden}
.mp-banner .bf-cc img{aspect-ratio:auto;height:calc((100cqw - var(--g)) / 2 * 90 / 728 * 1.15);object-fit:contain}
@media (max-width:700px){.mp-banner .bf-cc img{height:calc(100cqw * 90 / 728 * 1.15)}}
.sp-grid[style*="--cards:2"]{grid-template-columns:1fr 1fr}
.sp-grid[style*="--cards:1"]{grid-template-columns:minmax(0,520px);justify-content:center}
.sp-card img.b,.sp-grid.alt .sp-card img.a{pointer-events:none}
.sp-grid.alt .sp-card img.b{pointer-events:auto}
.sp-grid.alt .sp-card:not(:has(img.b)) img.a{opacity:1;transform:none;pointer-events:auto}
.cs-row a.cs-a{display:block}
.gal-sec+.b2b-sec{padding-top:clamp(40px,5vw,72px)} /* igual que con las tarjetas de sponsors ocultas en el HTML */
