/* ================= BO FOUNDER SPOTLIGHT WIDGET -- default styling =================
   Scoped under .bo-founder-wrap. Self-contained: does not depend on theme
   globals like .wrap/:root vars, so it renders correctly even if the
   theme's own stylesheet isn't loaded.
   ========================================================================= */

.bo-founder-wrap{
  --founder-navy: #031B39;
  --founder-blue: #1083E6;
  --founder-blue-soft: #6FB6F0;
  --founder-line: #E4E8EE;
  --founder-avatar-start: #1083E6;
  --founder-avatar-end: #0C66B8;
  --founder-ease: cubic-bezier(.22,1,.36,1);

  --founder-zoom-scale: 1.04;
  --founder-zoom-duration: .8s;

  font-family:'Roboto', sans-serif;
}

.bo-founder-wrap .founder-section{
  padding:80px 0;
  background:#fff;
}
.bo-founder-wrap .wrap{
  max-width:1220px;
  margin:0 auto;
  padding:0 40px;
}

/* ---------- Card ---------- */
.bo-founder-wrap .founder-card{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--founder-line);
  box-shadow:0 50px 100px -60px rgba(3,27,57,.22);
  min-height:480px;
}

/* ---------- Visual ---------- */
.bo-founder-wrap .founder-visual{
  position:relative;
  overflow:hidden;
  background:var(--founder-navy);
  display:block;
  text-decoration:none;
}
.bo-founder-wrap .founder-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
  transition:transform var(--founder-zoom-duration) var(--founder-ease);
}
.bo-founder-wrap .founder-visual.founder-zoom-on:hover img,
.bo-founder-wrap .founder-card:hover .founder-visual.founder-zoom-on img{
  transform:scale(var(--founder-zoom-scale));
}
.bo-founder-wrap .founder-visual-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent 55%, rgba(255,255,255,.06) 100%);
}
.bo-founder-wrap .founder-visual.founder-overlay-hover .founder-visual-overlay{
  opacity:0;
  transition:opacity .35s var(--founder-ease);
}
.bo-founder-wrap .founder-visual.founder-overlay-hover:hover .founder-visual-overlay,
.bo-founder-wrap .founder-card:hover .founder-visual.founder-overlay-hover .founder-visual-overlay{
  opacity:1;
}

/* ---------- Copy panel ---------- */
.bo-founder-wrap .founder-copy{
  padding:52px 52px;
  background:var(--founder-navy);
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  overflow:hidden;
}
.bo-founder-wrap .founder-copy::before{
  content:'';
  position:absolute;
  top:-40%;
  right:-20%;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(16,131,230,.18), transparent 70%);
  pointer-events:none;
}

/* ---------- Tag ---------- */
.bo-founder-wrap .founder-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'IBM Plex Mono', monospace;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--founder-blue-soft);
  margin-bottom:22px;
  position:relative;
}
.bo-founder-wrap .founder-tag svg{
  width:14px; height:14px;
  stroke:var(--founder-blue);
  flex-shrink:0;
}

/* ---------- Heading ---------- */
.bo-founder-wrap .founder-copy h2{
  font-family:'Roboto Slab', serif;
  font-size:30px;
  color:#fff;
  font-weight:500;
  line-height:1.25;
  margin-bottom:22px;
  position:relative;
}
.bo-founder-wrap .founder-copy h2 em{
  color:var(--founder-blue);
  font-style:italic;
  font-weight:400;
}

/* ---------- Quote ---------- */
.bo-founder-wrap .founder-quote{
  font-size:15.5px;
  color:rgba(255,255,255,.72);
  line-height:1.7;
  border-left:2px solid var(--founder-blue);
  padding-left:18px;
  margin:0 0 28px 0;
  position:relative;
  font-style:italic;
}

/* ---------- Person ---------- */
.bo-founder-wrap .founder-person{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:26px;
  position:relative;
}
.bo-founder-wrap .founder-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--founder-avatar-start), var(--founder-avatar-end));
  flex-shrink:0;
}
.bo-founder-wrap .founder-avatar-img{
  object-fit:cover;
  object-position:center top;
}
.bo-founder-wrap .founder-person strong{
  display:block;
  font-size:14px;
  font-weight:600;
  color:#fff;
  margin-bottom:2px;
  font-family:'Roboto', sans-serif;
}
.bo-founder-wrap .founder-person span{
  font-size:12px;
  color:rgba(255,255,255,.5);
}

/* ---------- Credentials ---------- */
.bo-founder-wrap .founder-credentials{
  display:flex;
  flex-direction:column;
  gap:10px;
  position:relative;
}
.bo-founder-wrap .founder-cred{
  display:flex;
  align-items:center;
  gap:10px;
}
.bo-founder-wrap .founder-cred svg{
  width:15px; height:15px;
  stroke:var(--founder-blue);
  flex-shrink:0;
}
.bo-founder-wrap .founder-cred span{
  font-size:13px;
  color:rgba(255,255,255,.55);
}

/* ---------- Reveal helper (self-contained, no theme JS required) ---------- */
.bo-founder-wrap .reveal-scale{
  opacity:0;
  transform:scale(.96) translateY(20px);
  transition:opacity .8s var(--founder-ease), transform .8s var(--founder-ease);
}
.bo-founder-wrap .reveal-scale.in{
  opacity:1;
  transform:scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .bo-founder-wrap .reveal-scale{ opacity:1; transform:none; transition:none; }
  .bo-founder-wrap *{ animation:none !important; }
}

/* ---------- Editor-active safety net ----------
   Elementor adds this class to the preview iframe <body> so plugins can
   force-show scroll-reveal content while editing, independent of any
   JS timing race. */
body.elementor-editor-active .bo-founder-wrap .reveal-scale{
	opacity: 1 !important;
	transform: none !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width:980px){
  .bo-founder-wrap .founder-card{
    grid-template-columns:1fr !important;
    min-height:auto;
  }
  .bo-founder-wrap .founder-visual{ min-height:320px; }
  .bo-founder-wrap .founder-copy{ padding:44px 36px; }
}
@media (max-width:640px){
  .bo-founder-wrap .founder-section{ padding:56px 0; }
  .bo-founder-wrap .wrap{ padding:0 20px; }
  .bo-founder-wrap .founder-card{ border-radius:16px; }
  .bo-founder-wrap .founder-visual{ min-height:260px; }
  .bo-founder-wrap .founder-copy{ padding:32px 24px; }
  .bo-founder-wrap .founder-copy h2{ font-size:24px; }
  .bo-founder-wrap .founder-quote{ font-size:14px; }
}