/* BAIS · Single Ponentes Polish v1.0.3
 * Capa externa mientras Elementor permanece bajo edición de Isi.
 * Scope: únicamente body.single-ponentes.
 */

body.single-ponentes .bais-speaker-single{
  --bais-single-primary:var(--e-global-color-primary,#00ADD0);
  --bais-single-secondary:var(--e-global-color-secondary,#82EAF6);
  --bais-single-text:var(--e-global-color-text,#4D6674);
}

/* Hero: atmósfera aprobada en el mockup, sin alterar contenido Elementor. */
body.single-ponentes .bais-speaker-hero{
  isolation:isolate;
  overflow:hidden;
  background-image:
    radial-gradient(circle at 76% 24%,rgba(0,173,208,.15),transparent 26%),
    linear-gradient(135deg,#000612 0%,#041521 54%,#071f31 100%)!important;
  border-bottom:1px solid rgba(156,177,191,.24);
}
body.single-ponentes .bais-speaker-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(130,234,246,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(130,234,246,.035) 1px,transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:linear-gradient(to right,transparent,black 48%,black);
  mask-image:linear-gradient(to right,transparent,black 48%,black);
}
body.single-ponentes .bais-speaker-hero>.e-con-inner{
  position:relative;
  z-index:1;
}

/* Migas arriba del contenedor sin mover nombre/cargo. */
@media(min-width:901px){
  body.single-ponentes .single-ponentes-bread{
    position:absolute!important;
    top:0;
    left:0;
    align-self:flex-start;
  }
}

/* Foto: línea cian, borde técnico y etiqueta vertical. */
body.single-ponentes .bais-speaker-photo{
  position:relative;
  isolation:isolate;
  border-left:1px solid rgba(0,173,208,.45);
}
body.single-ponentes .bais-speaker-photo::before{
  content:"";
  position:absolute;
  left:-1px;
  top:0;
  z-index:3;
  width:46%;
  height:3px;
  background:var(--bais-single-primary);
  pointer-events:none;
}
body.single-ponentes .bais-speaker-photo::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:linear-gradient(to top,rgba(0,6,18,.46),transparent 45%);
  pointer-events:none;
}
body.single-ponentes .bais-speaker-photo img{
  position:relative;
  z-index:1;
  filter:saturate(.82) contrast(1.03);
}
body.single-ponentes .single-ponentes-texto-foto{
  position:absolute!important;
  left:10px;
  bottom:34px;
  z-index:3;
  width:auto!important;
  margin:0!important;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  text-transform:uppercase;
  pointer-events:none;
}
body.single-ponentes .single-ponentes-texto-foto .elementor-heading-title{
  font-family:"Montserrat",Arial,sans-serif!important;
  font-size:10px!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:.2em;
  color:var(--bais-single-secondary)!important;
}

/* Trayectoria: índice flotante solo cuando existen dos columnas. */
@media(min-width:901px){
  body.single-ponentes .single-ponente-col-trayectoria{
    position:sticky!important;
    top:calc(136px + var(--wp-admin--admin-bar--height,0px));
    align-self:flex-start!important;
    height:auto!important;
  }
}

/* CV: estilos globales BAIS, no azul heredado de HT. */
body.single-ponentes .bais-speaker-cv .jet-listing-dynamic-field__content,
body.single-ponentes .bais-speaker-cv .jet-listing-dynamic-field__content p,
body.single-ponentes .bais-speaker-cv .jet-listing-dynamic-field__content li{
  font-family:"Open Sans",Arial,sans-serif!important;
  font-weight:400;
  font-size:1.1em;
  line-height:1.6;
  color:var(--bais-single-text)!important;
}
body.single-ponentes .bais-speaker-cv .jet-listing-dynamic-field__content h2,
body.single-ponentes .bais-speaker-cv .jet-listing-dynamic-field__content h3{
  font-family:"Montserrat",Arial,sans-serif!important;
  font-weight:600;
  color:var(--bais-single-primary)!important;
  border-color:color-mix(in srgb,var(--bais-single-primary) 24%,transparent)!important;
}
body.single-ponentes .bais-speaker-cv .jet-listing-dynamic-field__content li::marker,
body.single-ponentes .bais-speaker-cv .jet-listing-dynamic-field__content a{
  color:var(--bais-single-primary)!important;
}

/* Publicaciones: anchura completa y referencias abiertas legibles. */
body.single-ponentes .bais-speaker-publications,
body.single-ponentes .bais-speaker-publications>.elementor-widget-container,
body.single-ponentes .bais-speaker-publications .jet-listing-dynamic-field,
body.single-ponentes .bais-speaker-publications .jet-listing-dynamic-field__inline-wrap,
body.single-ponentes .bais-speaker-publications .jet-listing-dynamic-field__content,
body.single-ponentes .bais-speaker-publications .cv-publications,
body.single-ponentes .bais-speaker-publications .cv-publications__group,
body.single-ponentes .bais-speaker-publications .cv-publications__summary,
body.single-ponentes .bais-speaker-publications .cv-publications__list{
  width:100%!important;
  max-width:none!important;
}
body.single-ponentes .bais-speaker-publications .jet-listing-dynamic-field__inline-wrap{
  flex:1 1 100%!important;
}
body.single-ponentes .bais-speaker-publications .cv-publications__list li{
  font-family:"Open Sans",Arial,sans-serif!important;
  font-size:16px!important;
  line-height:1.75!important;
}

@media(max-width:900px){
  body.single-ponentes .single-ponentes-texto-foto{display:none!important}
  body.single-ponentes .bais-speaker-photo{border-left:0}
  body.single-ponentes .single-ponente-col-trayectoria{
    position:static!important;
    top:auto!important;
    height:auto!important;
    align-self:stretch!important;
  }
}
@media(max-width:767px){
  body.single-ponentes .bais-speaker-cv .jet-listing-dynamic-field__content,
  body.single-ponentes .bais-speaker-cv .jet-listing-dynamic-field__content p,
  body.single-ponentes .bais-speaker-cv .jet-listing-dynamic-field__content li{
    font-size:1.1em;
  }
  body.single-ponentes .bais-speaker-publications .cv-publications__list li{
    font-size:15px!important;
    line-height:1.7!important;
  }
}
