/* Estilos exclusivos para galeria de participantes/palestrantes. */
@property --galeria-angulo {syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes galeria-luz-percurso {to{--galeria-angulo:360deg}}
@keyframes galeria-luz-intensidade {50%{box-shadow:0 0 16px #ec168fc9,0 0 33px #7618c399}}
.speaker-lightbox[hidden],.participant-lightbox[hidden],.speaker-lightbox-arrow[hidden],.participant-lightbox-arrow[hidden]{display:none!important}
.speaker-lightbox,.participant-lightbox{
 position:fixed!important;inset:0!important;z-index:11000!important;box-sizing:border-box!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100vw!important;height:100vh!important;height:100dvh!important;
 padding:48px 65px 28px!important;margin:0!important;
 background:rgba(10,5,23,.89)!important;
 backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
}
.speaker-lightbox-stage,.participant-lightbox-stage{
 position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;width:min(630px,100%)!important;height:auto!important;
 min-width:0!important;min-height:0!important;max-height:calc(100dvh - 78px)!important;
 flex:none!important;padding:0!important;margin:auto!important;gap:10px!important;
}
.speaker-lightbox-stage>img,.participant-lightbox-stage>img{
 display:block!important;box-sizing:border-box!important;width:auto!important;height:auto!important;
 max-width:100%!important;max-height:calc(100dvh - 155px)!important;
 min-width:0!important;min-height:0!important;object-fit:contain!important;
 border:5px solid transparent!important;border-radius:12px!important;padding:0!important;margin:0!important;
 background:linear-gradient(#150d25,#150d25) padding-box,conic-gradient(from var(--galeria-angulo),#fb399e,#7431e6,#25c5ff,#fb399e) border-box!important;
 box-shadow:0 0 10px #ec168fa6,0 0 25px #7618c377!important;
 animation:galeria-luz-percurso 2.6s linear infinite,galeria-luz-intensidade 3.2s ease-in-out infinite!important;
}
.speaker-lightbox-close,.participant-lightbox-close{
 position:fixed!important;right:18px!important;top:16px!important;z-index:2!important;
 display:grid!important;place-items:center!important;width:44px!important;height:44px!important;
 padding:0!important;margin:0!important;border:1px solid #ffffff66!important;border-radius:50%!important;
 background:#160c29b8!important;color:#fff!important;font-size:26px!important;cursor:pointer!important;
}
.speaker-lightbox-arrow,.participant-lightbox-arrow{
 position:absolute!important;top:50%!important;z-index:3!important;transform:translateY(-50%)!important;
 display:grid!important;place-items:center!important;width:44px!important;height:44px!important;
 padding:0!important;margin:0!important;border:1px solid #ffffff77!important;border-radius:50%!important;
 background:#1b1139cc!important;color:white!important;font-size:23px!important;cursor:pointer!important;
}
.speaker-lightbox-prev,.participant-lightbox-prev{left:12px!important}
.speaker-lightbox-next,.participant-lightbox-next{right:12px!important}
.speaker-lightbox-copy,.participant-lightbox-stage>strong{position:static!important;display:block!important;color:#fff!important;text-align:center!important;padding:0!important;margin:0!important;font-size:15px!important;line-height:1.4!important}
.speaker-lightbox-copy strong,.speaker-lightbox-copy small{display:block!important;color:#fff!important}
.speaker-lightbox-count,.participant-lightbox-stage>span{position:static!important;display:block!important;color:#fff!important;font-size:12px!important;margin:0!important;padding:5px 13px!important;width:auto!important;height:auto!important;border-radius:50px!important;background:#1b1139cc!important;text-align:center!important}
@media(max-width:767px){
 /* CSS antigo tem grades responsivas conflitantes; as duas listagens usam exatamente duas colunas. */
 html body .speakers-section .speakers-grid,html body .participants-page .participants-grid{
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   grid-auto-flow:row!important;gap:10px!important;width:100%!important;min-width:0!important;
 }
 html body .speakers-section .speakers-grid>.speaker-card,html body .participants-page .participants-grid>.participant-card{
   width:100%!important;min-width:0!important;max-width:none!important;grid-column:auto!important;
 }
 html body .speakers-section .speaker-image-wrap,html body .participants-page .participant-card-image{width:100%!important;height:auto!important;aspect-ratio:4/5!important}
 html body .speakers-section .speaker-image-wrap img,html body .participants-page .participant-card-image img{width:100%!important;height:100%!important;object-fit:contain!important}
 .speaker-lightbox,.participant-lightbox{padding:48px 48px 20px!important}
 .speaker-lightbox-stage,.participant-lightbox-stage{width:100%!important;max-width:100%!important}
 .speaker-lightbox-stage>img,.participant-lightbox-stage>img{max-height:calc(100dvh - 150px)!important}
 .speaker-lightbox-arrow,.participant-lightbox-arrow{width:35px!important;height:35px!important;font-size:18px!important}
 .speaker-lightbox-prev,.participant-lightbox-prev{left:6px!important}
 .speaker-lightbox-next,.participant-lightbox-next{right:6px!important}
 .speaker-lightbox-close,.participant-lightbox-close{top:10px!important;right:10px!important;width:40px!important;height:40px!important}
}
@media(prefers-reduced-motion:reduce){.speaker-lightbox-stage>img,.participant-lightbox-stage>img{animation:none!important}}

/* Contorno iluminado em movimento quando fotos de palestrantes/participantes são abertas. */
@keyframes modal-borda-brilho{0%,100%{box-shadow:0 0 7px rgba(251,57,158,.65),0 0 18px rgba(116,49,230,.38)}50%{box-shadow:0 0 16px rgba(37,197,255,.88),0 0 34px rgba(251,57,158,.64)}}
.speaker-lightbox:not([hidden]) .speaker-lightbox-stage>img,
.participant-lightbox:not([hidden]) .participant-lightbox-stage>img{
 animation:galeria-luz-percurso 2.6s linear infinite,modal-borda-brilho 2.8s ease-in-out infinite!important;
}
@media(prefers-reduced-motion:reduce){.speaker-lightbox:not([hidden]) .speaker-lightbox-stage>img,.participant-lightbox:not([hidden]) .participant-lightbox-stage>img{animation:none!important}}
