/* Photo after the first story paragraph; subsequent prose flows beside it. */
.about-inline-photo{float:right;width:min(37%,290px);max-width:290px;margin:.25rem 0 1.2rem 1.6rem;background:#241a37;border:1px solid #5c437e;border-radius:16px;overflow:hidden;box-shadow:0 12px 35px rgba(0,0,0,.28)}
.about-inline-photo img{display:block;width:100%;height:auto;object-fit:cover;aspect-ratio:2/3}
.about-inline-photo figcaption{text-align:center;padding:9px 10px;color:#f7dcff;font:600 .85rem/1.5 Poppins,sans-serif}
@media(max-width:650px){.about-inline-photo{float:none;width:min(100%,340px);max-width:none;margin:1rem auto 1.4rem}}
/* Responsive embedded YouTube reaction player */
.geek-video-embed{position:relative;width:100%;aspect-ratio:16/9;margin:1.4rem auto;overflow:hidden;border-radius:16px;background:#111;border:1px solid #574577}
.geek-video-embed iframe{display:block;width:100%;height:100%;border:0}

.about-story-with-photo{display:flow-root}
.about-inline-photo ~ h2{clear:both}

/* 24/11 correction: photo on the real PT Nossa História page. */
body .historia .historia-content{display:flow-root;}
body .historia .historia-content .about-inline-photo{
  float:right; width: min(38%,300px); max-width:300px;
  margin:0.25rem 0 1.3rem 1.7rem;
  border-radius:18px; overflow:hidden; background:#241a37;
  border:1px solid #69518e; box-shadow:0 14px 36px rgba(0,0,0,.35);
}
body .historia .historia-content .about-inline-photo img{
  display:block!important; width:100%!important; max-width:100%!important;
  height:auto!important; max-height:none!important; aspect-ratio:2/3;
  object-fit:cover; opacity:1!important; visibility:visible!important;
}
body .historia .historia-content .about-inline-photo figcaption{
  font-family:Poppins,Arial,sans-serif; color:#f7dcff;
  font-size:.9rem; line-height:1.4; text-align:center; padding:10px 12px;
}
body .historia .historia-content .about-inline-photo ~ h2{clear:both;}
@media(max-width:700px){
 body .historia .historia-content .about-inline-photo{
   float:none; width:min(100%,340px); max-width:340px; margin:1rem auto 1.6rem;
 }
}
