/* About — source: sections/About.tsx */

#about {
  background: var(--page-bg);
}

/* Static blob (the source never animates this one — no lt-blob keyframes here). */
#about .lt-about-blob {
  bottom: -60px;
  inset-inline-start: -80px;
  width: 440px;
  height: 360px;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  background: rgba(41, 128, 242, 0.06);
}

#about .lt-about-inner {
  position: relative;
  z-index: 1;
}

/* Section head.
   Elementor resets .elementor-heading-title{line-height:1;margin:0} at (0,1,0),
   which beats inheritance from the widget wrapper — so line-height and margin
   have to be set on the title itself, not on the wrapper class. */
#about .lt-about-eyebrow {
  color: var(--brand-primary);
  background: rgba(41, 128, 242, 0.08);
  box-shadow: inset 0 0 0 1px rgba(41, 128, 242, 0.18);
}

#about .lt-about-h2 .elementor-heading-title {
  font-size: var(--t-h2);
  font-weight: 900;
  line-height: 1.05;
  color: var(--page-fg-strong);
}

#about .lt-about-sub p {
  font-size: var(--t-lead);
  color: var(--page-fg-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 14px auto 0;
}

/* Real CSS grid, not Elementor's flex row, and deliberately narrower (860)
   than .lt-container's 1280 — two cards would otherwise read as very wide. */
#about .lt-about-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 48px);
  max-width: 860px;
  margin: 0 auto;
}

#about .lt-about-card {
  /* min-width:0 — grid items default to min-width:auto, which lets the long
     Hebrew bios push the track wider than its 1fr share. */
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-card);
  align-items: center;
  text-align: center;
  /*
   * box-shadow/transform at --dur-slow are the hover spec. opacity is here only
   * because .lt-reveal (0,1,0) declares `transition` too and this rule (1,1,0)
   * replaces it wholesale — omit opacity and the reveal snaps in with no fade.
   * The source hits the same collision (inline style beats .pg-reveal) and does
   * lose the fade; restoring it here is a deliberate one-property deviation.
   * transition-delay is a separate property, so .lt-reveal's stagger survives.
   */
  transition: box-shadow var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease), opacity 0.85s var(--ease);
}

#about .lt-about-card:nth-child(2) {
  --reveal-delay: 80ms;
}

#about .lt-about-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

/* Gradient ring: the 120px circle is the widget container, padded 3px so the
   img inset shows the gradient as a ring. */
#about .lt-about-photo {
  flex-shrink: 0;
  margin-bottom: 20px;
}

/* e_optimized_markup is ACTIVE on this install, so there is no
   .elementor-widget-container — the widget's inner markup hangs straight off the
   widget. Targeting the old wrapper matched nothing and the ring never rendered:
   the photo came out a 306px bare circle instead of 120px in a 3px gradient ring. */
#about .lt-about-photo {
  width: 120px;
  height: 120px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-light));
}

#about .lt-about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #eef4ff;
}

#about .lt-about-name {
  margin-bottom: 6px;
}

#about .lt-about-name .elementor-heading-title {
  font-size: var(--t-h3);
  font-weight: 900;
  line-height: 1.15;
  color: var(--page-fg-strong);
}

/* Margin sits on the widget wrapper: a bottom margin on the inline-block pill
   itself would not contribute to the wrapper's height. */
#about .lt-about-role-w {
  margin-bottom: 18px;
}

#about .lt-about-role {
  display: inline-block;
  background: rgba(41, 128, 242, 0.08);
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(41, 128, 242, 0.16);
}

#about .lt-about-bio p {
  font-size: var(--t-body);
  color: var(--page-fg-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 600px) {
  #about .lt-about-grid {
    grid-template-columns: 1fr !important;
  }
}
