/*
 * Teams page — Beaver Builder layout styling (native replica of React src/app/teams/page.tsx).
 * Real BB stock modules carry the .tbb-* classes for the hero + CTA text/images; the two
 * interactive widgets (Meet-the-Leaders crossfade cards + Awards flip marquee) are HTML modules
 * whose inner markup uses .tl-* / .taw-* classes. Scoped to .fl-builder-content so it styles the
 * live page AND the BB editor preview. Values ported from the React Tailwind.
 */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Geist:wght@400;500;600;700&display=swap');

/* ── full-bleed rows + wrapper flatten ── */
body.aisensum-teams-page #content { background:#fff; }
body.aisensum-teams-page .fl-builder-content .tbb-sec { width:100% !important; max-width:100% !important; margin:0 !important; }
body.aisensum-teams-page .fl-builder-content .tbb-sec .fl-row-content-wrap { width:100% !important; max-width:100% !important; margin:0 !important; padding:0 !important; }
/* Section backgrounds are now native BB Row Backgrounds (admin-editable) on the content-wrap, so it
   must NOT be forced transparent. Sections without a BB background stay naturally transparent. */
body.aisensum-teams-page .fl-builder-content .tbb-sec .fl-row-content { margin:0 auto; }
body.aisensum-teams-page .fl-builder-content .tbb-sec .fl-col-content { padding:0 !important; }
body.aisensum-teams-page .fl-builder-content .tbb-sec .fl-module { margin:0 !important; }

/* ============ HERO — "Human in the Lead" (text left, Coming-Soon right) ============ */
/* padding-top cut (96→44 / 120→56): reserved room for React's FIXED navbar, but WP's Astra header
   is in-flow so it stacked on top → big top gap. Matches the Daniel/Sasha hero fixes. */
body.aisensum-teams-page .tbb-hero { position:relative; overflow:hidden; padding:44px 0 56px; background:#FEFBF5; } /* cream, matching the Nicole/Sasha/Daniel hero */
@media (min-width:768px){ body.aisensum-teams-page .tbb-hero { padding:56px 0 80px; } }
body.aisensum-teams-page .tbb-hero .fl-row-content { max-width:min(1440px, var(--as-fill)); padding:0 24px; margin:0 auto; }
@media (min-width:1024px){ body.aisensum-teams-page .tbb-hero .fl-row-content { padding:0 32px; } }
body.aisensum-teams-page .tbb-hero .fl-col-group { display:flex; align-items:center; flex-wrap:nowrap; gap:48px; }
@media (max-width:1023px){ body.aisensum-teams-page .tbb-hero .fl-col-group { flex-wrap:wrap; gap:32px; } body.aisensum-teams-page .tbb-hero .fl-col { flex:0 0 100% !important; max-width:100% !important; width:100% !important; } }
body.aisensum-teams-page .fl-builder-content .tbb-eyebrow.fl-rich-text p { font-family:"Fraunces",serif; font-weight:800; font-size:clamp(18px,2.2vw,22px); letter-spacing:-.02em; color:#000; margin:0 0 8px; line-height:1.2; }
body.aisensum-teams-page .fl-builder-content .tbb-hero-h1.fl-heading-text { font-family:"Fraunces",serif !important; font-weight:900 !important; font-size:clamp(44px,7vw,84px) !important; line-height:1.02 !important; color:#000 !important; -webkit-text-fill-color:#000 !important; margin:0 0 28px !important; text-align:left; }
body.aisensum-teams-page .fl-builder-content .tbb-hero-h1 .it { font-style:italic; color:#FF1F5B !important; -webkit-text-fill-color:#FF1F5B !important; }
body.aisensum-teams-page .fl-builder-content .tbb-hero-copy.fl-rich-text p { font-family:"Geist",sans-serif; font-size:clamp(16px,1.35vw,18px); line-height:1.6; color:#111; max-width:600px; margin:0 0 24px; }
body.aisensum-teams-page .fl-builder-content .tbb-hero-copy.fl-rich-text p:last-child { margin-bottom:32px; }
body.aisensum-teams-page .tbb-hero-btn { display:inline-flex; align-items:center; justify-content:center; height:56px; padding:0 32px; border-radius:999px; border:2px solid #0B1F3D; background:transparent; color:#0B1F3D; font-family:"Geist",sans-serif; font-weight:600; font-size:16px; text-decoration:none; transition:background .2s, color .2s; }
body.aisensum-teams-page .tbb-hero-btn:hover { background:#0B1F3D; color:#fff; }
/* enlarge the hero photo: split the row 50/50 (fills fully, accounting for the gap) + a taller photo box */
@media (min-width:1024px){
  body.aisensum-teams-page .tbb-hero .fl-col-group{ gap:40px !important; }
  body.aisensum-teams-page .tbb-hero .fl-col-group > .fl-col:nth-child(1),
  body.aisensum-teams-page .tbb-hero .fl-col-group > .fl-col:nth-child(2){ flex:0 0 calc(50% - 20px) !important; max-width:calc(50% - 20px) !important; width:calc(50% - 20px) !important; }
}
body.aisensum-teams-page .tbb-hero-photo { width:100%; aspect-ratio:3/2; border-radius:24px; overflow:hidden; box-shadow:0 20px 44px -18px rgba(11,31,61,.28); background:rgba(245,238,221,.5); }
body.aisensum-teams-page .tbb-hero-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
/* legacy placeholder (kept harmless in case any node still references it) */
body.aisensum-teams-page .tbb-hero-soon { display:flex; align-items:center; justify-content:center; width:100%; min-height:400px; background:rgba(245,238,221,.5); border:2px solid rgba(11,31,61,.1); border-radius:24px; }
body.aisensum-teams-page .tbb-hero-soon span { font-family:"Fraunces",serif; font-style:italic; font-weight:700; font-size:clamp(24px,3vw,30px); color:rgba(11,31,61,.4); }

body.aisensum-teams-page .fl-builder-content .tbb-title.fl-heading-text {
  text-align:center; font-family:"Fraunces",serif !important; font-weight:700 !important;
  font-size:clamp(36px,5vw,60px) !important; line-height:1.1 !important; color:#0B1F3D !important;
  -webkit-text-fill-color:#0B1F3D !important; margin:0 0 64px !important;
}

/* alternating 2-col text/image blocks */
body.aisensum-teams-page .tbb-block .fl-col-group { display:flex; align-items:center; flex-wrap:nowrap; gap:48px; }
@media (max-width:1023px){ body.aisensum-teams-page .tbb-block .fl-col-group { flex-wrap:wrap; gap:32px; } }
body.aisensum-teams-page .tbb-block { padding-bottom:80px; }
body.aisensum-teams-page .tbb-block-last { padding-bottom:96px; }
@media (max-width:1023px){ body.aisensum-teams-page .tbb-block .fl-col { flex:0 0 100% !important; width:100% !important; max-width:100% !important; } }
/* image reversed block: on desktop swap columns */
@media (min-width:1024px){ body.aisensum-teams-page .tbb-block-rev .fl-col:first-child { order:2; } body.aisensum-teams-page .tbb-block-rev .fl-col:last-child { order:1; } }

/* one rich-text module per text block: h2 + lead paragraph + body paragraph */
body.aisensum-teams-page .fl-builder-content .tbb-textblock.fl-rich-text h2 {
  font-family:"Fraunces",serif; font-weight:600; font-size:clamp(24px,3vw,30px);
  line-height:1.2; color:#0B1F3D; margin:0 0 24px;
}
body.aisensum-teams-page .fl-builder-content .tbb-textblock.fl-rich-text p { font-family:"Geist",sans-serif; font-size:16px; line-height:1.65; color:rgba(11,31,61,.6); margin:0; }
body.aisensum-teams-page .fl-builder-content .tbb-textblock.fl-rich-text p.lead { font-size:18px; line-height:1.55; color:rgba(11,31,61,.7); margin:0 0 16px; }
body.aisensum-teams-page .tbb-photo img { width:100%; height:auto; border-radius:16px; box-shadow:0 10px 30px -10px rgba(14,10,12,.2); display:block; }
body.aisensum-teams-page .tbb-photo a { display:block; }
body.aisensum-teams-page .tbb-photo a img { transition:box-shadow .3s; }
body.aisensum-teams-page .tbb-photo a:hover img { box-shadow:0 18px 40px -12px rgba(14,10,12,.28); }

/* ============ shared section heading (Leaders / Awards) ============ */
body.aisensum-teams-page .tbb-white { background:#FEFBF5; padding:64px 0; } /* section 2 (leaders) cream to match the hero */
@media (min-width:768px){ body.aisensum-teams-page .tbb-white { padding:96px 0; } }
body.aisensum-teams-page .tbb-white .fl-row-content { max-width:min(1440px, var(--as-fill)); padding:0 24px; }
@media (min-width:1024px){ body.aisensum-teams-page .tbb-white .fl-row-content { padding:0 32px; } }
body.aisensum-teams-page .fl-builder-content .tbb-sec-h2.fl-heading-text {
  text-align:center; font-family:"Fraunces",serif !important; font-weight:700 !important;
  font-size:clamp(30px,4vw,48px) !important; line-height:1.1 !important; color:#0B1F3D !important;
  -webkit-text-fill-color:#0B1F3D !important; margin:0 0 64px !important;
}

/* ============ MEET THE LEADERS (crossfade cards) ============ */
body.aisensum-teams-page .tl-row { display:flex; flex-direction:column; gap:24px; width:100%; align-items:stretch; }
@media (min-width:1024px){ body.aisensum-teams-page .tl-row { flex-direction:row; } }
body.aisensum-teams-page .tl-card { position:relative; overflow:hidden; border-radius:20px; cursor:pointer; height:460px; width:100%; transition:flex .5s ease-in-out; }
@media (min-width:640px){ body.aisensum-teams-page .tl-card { height:500px; } }
@media (min-width:1024px){ body.aisensum-teams-page .tl-card { height:450px; flex:1 1 0; width:auto; } }
@media (min-width:1280px){ body.aisensum-teams-page .tl-card { height:480px; } }
@media (min-width:1024px){ body.aisensum-teams-page .tl-card.is-active { flex:2 1 0; } }
body.aisensum-teams-page .tl-imgwrap { position:relative; width:100%; height:100%; }
body.aisensum-teams-page .tl-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top; transition:opacity .7s ease-in-out; }
body.aisensum-teams-page .tl-img-alt { opacity:1; }
body.aisensum-teams-page .tl-img-on { opacity:0; }
body.aisensum-teams-page .tl-card.is-active .tl-img-alt { opacity:0; }
body.aisensum-teams-page .tl-card.is-active .tl-img-on { opacity:1; }
body.aisensum-teams-page .tl-vignette { position:absolute; inset:0; z-index:1; background:linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.2) 40%, transparent); }
body.aisensum-teams-page .tl-labels { position:absolute; bottom:0; left:0; right:0; z-index:2; }
/* active split labels */
body.aisensum-teams-page .tl-active-lbl { display:flex; width:100%; align-items:stretch; gap:12px; opacity:0; pointer-events:none; transition:opacity .7s ease-in-out; }
body.aisensum-teams-page .tl-card.is-active .tl-active-lbl { opacity:1; pointer-events:auto; }
/* full width (was 50%) now that the right tagline box is removed; bottom-right corner rounded to match the single box */
body.aisensum-teams-page .tl-box-l { width:100%; background:#1c1a1b; color:#fff; padding:16px; border-radius:0 20px 20px 20px; border-top:2px solid #FF1F5B; border-right:2px solid #FF1F5B; display:flex; flex-direction:column; justify-content:center; }
@media (min-width:640px){ body.aisensum-teams-page .tl-box-l { padding:20px; } }
body.aisensum-teams-page .tl-box-l h3 { font-family:"Fraunces",serif; font-weight:700; font-size:clamp(18px,2.4vw,24px); text-transform:uppercase; line-height:1.1; letter-spacing:.03em; margin:0; }
body.aisensum-teams-page .tl-box-l h3 .ln { display:block; font-weight:400; text-transform:none; font-size:clamp(14px,1.8vw,18px); margin-top:2px; }
body.aisensum-teams-page .tl-box-l .role { color:rgba(255,255,255,.75); font-family:"Geist",sans-serif; font-size:clamp(12px,1.6vw,16px); margin:6px 0 0; line-height:1.2; }
/* right gray/white tagline box (AI Evangelist / Innovation Catalyst / …) removed per request */
body.aisensum-teams-page .tl-box-r { display:none; width:50%; background:rgba(255,255,255,.7); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); color:#0B1F3D; padding:16px; border-radius:20px 0 20px 0; align-items:center; justify-content:center; text-align:center; }
@media (min-width:640px){ body.aisensum-teams-page .tl-box-r { padding:20px; } }
body.aisensum-teams-page .tl-box-r p { font-family:"Geist",sans-serif; font-weight:600; font-size:clamp(14px,1.8vw,18px); line-height:1.3; margin:0; }
/* inactive single label */
body.aisensum-teams-page .tl-inactive-lbl { position:absolute; bottom:0; left:0; right:0; opacity:1; transition:opacity .7s ease-in-out; }
body.aisensum-teams-page .tl-card.is-active .tl-inactive-lbl { opacity:0; pointer-events:none; }
body.aisensum-teams-page .tl-box-single { width:100%; background:#1c1a1b; color:#fff; padding:16px; border-radius:0 20px 20px 20px; border-top:2px solid #FF1F5B; border-right:2px solid #FF1F5B; display:flex; flex-direction:column; justify-content:center; }
@media (min-width:640px){ body.aisensum-teams-page .tl-box-single { padding:20px; } }
body.aisensum-teams-page .tl-box-single h3 { font-family:"Fraunces",serif; font-weight:700; font-size:clamp(18px,2.4vw,24px); text-transform:uppercase; line-height:1.1; letter-spacing:.03em; margin:0; }
body.aisensum-teams-page .tl-box-single .role { color:rgba(255,255,255,.75); font-family:"Geist",sans-serif; font-size:clamp(12px,1.6vw,16px); margin:4px 0 0; line-height:1.2; }

/* NAME forced WHITE — Astra was overriding the h3 with a gold theme heading color (via color +
   -webkit-text-fill-color). Role/subtitle stays gray (rgba white .75 = React text-white/75). */
body.aisensum-teams-page .tl-box-l h3,
body.aisensum-teams-page .tl-box-l h3 .ln,
body.aisensum-teams-page .tl-box-single h3 { color:#fff !important; -webkit-text-fill-color:#fff !important; }
/* Nandita has a single photo (image===imageAlt in React) → grayscale her inactive base layer so she
   shows B&W by default and fades to colour when active. .is-mono is added by teams-page.js. */
body.aisensum-teams-page .tl-card.is-mono .tl-img-alt { filter:grayscale(1); }

/* ============ AWARDS & ACCOLADES (flip marquee) ============ */
body.aisensum-teams-page .taw-wrap { position:relative; }
body.aisensum-teams-page .taw-dots { display:flex; justify-content:center; gap:8px; margin-bottom:32px; }
body.aisensum-teams-page .taw-dot { width:12px; height:12px; border-radius:50%; border:0; padding:0; cursor:pointer; background:rgba(11,31,61,.2); transition:background .2s; }
body.aisensum-teams-page .taw-dot.is-on { background:#FF1F5B; }
body.aisensum-teams-page .taw-track-outer { position:relative; padding:0 48px; }
@media (min-width:640px){ body.aisensum-teams-page .taw-track-outer { padding:0 64px; } }
body.aisensum-teams-page .taw-nav { position:absolute; top:50%; transform:translateY(-50%); z-index:10; display:flex; align-items:center; justify-content:center; padding:8px; border:0; border-radius:50%; background:rgba(11,31,61,.05); cursor:pointer; transition:background .2s; }
body.aisensum-teams-page .taw-nav:hover { background:rgba(11,31,61,.1); }
body.aisensum-teams-page .taw-nav svg { width:20px; height:20px; color:#0B1F3D; }
@media (min-width:640px){ body.aisensum-teams-page .taw-nav svg { width:24px; height:24px; } body.aisensum-teams-page .taw-nav { padding:12px; } }
body.aisensum-teams-page .taw-prev { left:0; }
body.aisensum-teams-page .taw-next { right:0; }
@media (min-width:640px){ body.aisensum-teams-page .taw-prev { left:8px; } body.aisensum-teams-page .taw-next { right:8px; } }
body.aisensum-teams-page .taw-scroll { overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none; }
body.aisensum-teams-page .taw-scroll::-webkit-scrollbar { display:none; }
body.aisensum-teams-page .taw-lane { display:flex; width:max-content; align-items:center; }
body.aisensum-teams-page .taw-copy { display:flex; align-items:center; gap:24px; padding:0 12px; }
body.aisensum-teams-page .taw-cell { width:240px; flex-shrink:0; }
@media (min-width:640px){ body.aisensum-teams-page .taw-cell { width:320px; } }
/* flip card */
body.aisensum-teams-page .taw-card { perspective:1000px; height:280px; cursor:pointer; }
@media (min-width:640px){ body.aisensum-teams-page .taw-card { height:340px; } }
body.aisensum-teams-page .taw-inner { position:relative; width:100%; height:100%; transition:transform .5s; transform-style:preserve-3d; }
body.aisensum-teams-page .taw-card.is-flip .taw-inner { transform:rotateY(180deg); }
body.aisensum-teams-page .taw-front, body.aisensum-teams-page .taw-back { position:absolute; inset:0; background:#1c1a1b; border-radius:20px; border:1px solid rgba(212,30,89,.25); -webkit-backface-visibility:hidden; backface-visibility:hidden; }
body.aisensum-teams-page .taw-front { padding:16px; display:flex; flex-direction:column; }
@media (min-width:640px){ body.aisensum-teams-page .taw-front { padding:20px; } }
body.aisensum-teams-page .taw-front-img { display:flex; justify-content:center; align-items:center; height:140px; margin-bottom:12px; flex-shrink:0; }
@media (min-width:640px){ body.aisensum-teams-page .taw-front-img { height:180px; margin-bottom:16px; } }
body.aisensum-teams-page .taw-front-img img { max-height:100%; object-fit:contain; }
body.aisensum-teams-page .taw-front p { color:#fff; font-family:"Geist",sans-serif; font-size:12px; line-height:1.4; margin:0; }
@media (min-width:640px){ body.aisensum-teams-page .taw-front p { font-size:14px; } }
body.aisensum-teams-page .taw-front p strong { font-weight:700; }
body.aisensum-teams-page .taw-back { transform:rotateY(180deg); padding:20px; display:flex; align-items:center; justify-content:center; }
body.aisensum-teams-page .taw-back img { object-fit:contain; max-width:100%; max-height:100%; }

/* ============ CTA ============ */
body.aisensum-teams-page .tbb-cta { position:relative; overflow:hidden; background:#F5EEDD; padding:64px 0; text-align:center; }
@media (min-width:768px){ body.aisensum-teams-page .tbb-cta { padding:96px 0; } }
body.aisensum-teams-page .tbb-cta .fl-row-content { max-width:896px; padding:0 24px; position:relative; z-index:1; }
body.aisensum-teams-page .tbb-cta::before { content:""; position:absolute; width:800px; height:800px; right:-200px; top:-200px; border-radius:50%; background:radial-gradient(circle, rgba(255,31,91,.06) 0%, rgba(255,31,91,0) 60%); pointer-events:none; }
body.aisensum-teams-page .fl-builder-content .tbb-cta-h2.fl-heading-text { font-family:"Fraunces",serif !important; font-weight:700 !important; font-size:clamp(30px,4vw,40px) !important; line-height:1.1 !important; color:#0B1F3D !important; -webkit-text-fill-color:#0B1F3D !important; margin:0 0 24px !important; text-align:center; }
body.aisensum-teams-page .fl-builder-content .tbb-cta-p.fl-rich-text, body.aisensum-teams-page .fl-builder-content .tbb-cta-p.fl-rich-text p { font-family:"Geist",sans-serif; font-size:18px; line-height:1.6; color:rgba(11,31,61,.7); margin:0 0 32px; text-align:center; }
/* CTA buttons (HTML module with two <a>) */
body.aisensum-teams-page .tbb-cta-btns { display:flex; flex-direction:column; gap:16px; justify-content:center; align-items:center; }
@media (min-width:640px){ body.aisensum-teams-page .tbb-cta-btns { flex-direction:row; } }
body.aisensum-teams-page .tbb-cta-btns a { display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:999px; padding:16px 32px; font-family:"Geist",sans-serif; font-weight:600; font-size:16px; text-decoration:none; transition:background .2s; }
body.aisensum-teams-page .tbb-cta-btns .b-pink { background:#FF1F5B; color:#fff; box-shadow:0 8px 24px -8px rgba(255,31,91,.55); }
body.aisensum-teams-page .tbb-cta-btns .b-pink:hover { background:#E30B5D; }
body.aisensum-teams-page .tbb-cta-btns .b-ghost { background:transparent; color:#0B1F3D; border:2px solid rgba(11,31,61,.2); }
body.aisensum-teams-page .tbb-cta-btns .b-ghost:hover { background:rgba(11,31,61,.05); }

/* ============ OPEN POSITIONS (section between Leaders and CTA) ============ */
body.aisensum-teams-page .tbb-openings { background:#F5F4F1; padding:76px 0 92px; }
body.aisensum-teams-page .tbb-openings .fl-row-content-wrap { padding:0 !important; } /* background now native BB Row Background (admin-editable) */
body.aisensum-teams-page .tbb-openings .fl-row-content { max-width:min(1344px, var(--as-fill)) !important; margin:0 auto; padding:0 24px; }
body.aisensum-teams-page .fl-builder-content .tbb-openings-title { font-family:"Fraunces",serif !important; font-weight:600 !important; font-size:clamp(34px,4.4vw,52px) !important; line-height:1.05 !important; color:#0e0a0c !important; -webkit-text-fill-color:#0e0a0c !important; margin:0 0 40px !important; scroll-margin-top:110px; }
body.aisensum-teams-page .tbb-openings-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media (max-width:760px){ body.aisensum-teams-page .tbb-openings-grid:not(.tbb-openings-scroll) { grid-template-columns:1fr; } }
/* >2 openings -> horizontal scroll row (like the AI Newsroom rail) */
body.aisensum-teams-page .tbb-openings-grid.tbb-openings-scroll { display:flex; overflow-x:auto; gap:28px; padding-bottom:16px; scroll-snap-type:x proximity; overscroll-behavior-x:contain; scrollbar-width:thin; } /* no -webkit-overflow-scrolling:touch — legacy WebKit path + scroll-snap = iOS swipe freeze */
body.aisensum-teams-page .tbb-openings-grid.tbb-openings-scroll .tbb-job-card { flex:0 0 clamp(290px,33%,360px); scroll-snap-align:start; }
body.aisensum-teams-page .tbb-openings-grid.tbb-openings-scroll::-webkit-scrollbar { height:8px; }
body.aisensum-teams-page .tbb-openings-grid.tbb-openings-scroll::-webkit-scrollbar-track { background:transparent; }
body.aisensum-teams-page .tbb-openings-grid.tbb-openings-scroll::-webkit-scrollbar-thumb { background:rgba(11,31,61,.22); border-radius:999px; }
body.aisensum-teams-page .tbb-job-card { display:flex; flex-direction:column; background:#fff; border-radius:14px; padding:38px 40px 34px; min-height:296px; text-decoration:none; border:1px solid rgba(11,31,61,.07); box-shadow:0 1px 3px rgba(11,31,61,.05); transition:box-shadow .25s, transform .25s; }
body.aisensum-teams-page .tbb-job-card:hover { box-shadow:0 22px 46px -20px rgba(11,31,61,.28); transform:translateY(-4px); }
body.aisensum-teams-page .tbb-job-cat { font-family:"Geist",sans-serif; font-size:13px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:#6f6f6f; }
body.aisensum-teams-page .tbb-job-rule { display:block; height:1px; background:rgba(11,31,61,.16); margin:16px 0 26px; }
body.aisensum-teams-page .tbb-job-role { font-family:"Fraunces",serif; font-weight:600; font-size:clamp(22px,2.1vw,28px); line-height:1.2; color:#0B1F3D; -webkit-text-fill-color:#0B1F3D; }
body.aisensum-teams-page .tbb-job-loc { margin-top:auto; padding-top:34px; display:flex; align-items:center; gap:9px; font-family:"Geist",sans-serif; font-size:14px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:#111; }
body.aisensum-teams-page .tbb-job-loc .tbb-pin { color:#2563eb; flex-shrink:0; }

/* ===== Centered hero rebuild (client): single-column centered text + big auto-rotating image ===== */
body.aisensum-teams-page .tbb-hero .fl-col-group { flex-direction:column !important; align-items:center !important; flex-wrap:nowrap !important; gap:32px !important; text-align:center; }
@media (min-width:1024px){
  body.aisensum-teams-page .tbb-hero .fl-col-group > .fl-col:nth-child(1){ flex:0 0 auto !important; max-width:820px !important; width:100% !important; }
  body.aisensum-teams-page .tbb-hero .fl-col-group > .fl-col:nth-child(2){ flex:0 0 auto !important; max-width:1040px !important; width:100% !important; }
}
body.aisensum-teams-page .fl-builder-content .tbb-eyebrow.fl-rich-text p { text-align:center; }
body.aisensum-teams-page .fl-builder-content .tbb-hero-h1.fl-heading-text { text-align:center !important; }
body.aisensum-teams-page .fl-builder-content .tbb-hero-copy.fl-rich-text p { text-align:center; margin-left:auto; margin-right:auto; }
body.aisensum-teams-page .tbb-hero-cta { text-align:center; }
/* "Join us" -> pink filled pill */
body.aisensum-teams-page .tbb-hero-btn.tbb-join { background:#FF1F5B; border-color:#FF1F5B; color:#fff; box-shadow:0 8px 24px -8px rgba(255,31,91,.55); }
body.aisensum-teams-page .tbb-hero-btn.tbb-join:hover { background:#E0155A; border-color:#E0155A; color:#fff; }

/* Teams "Join us" + CTA buttons converted to NATIVE Beaver Builder Button modules (editable in BB).
   Font + layout + hover kept here to match the old look. */
body.aisensum-teams-page .tbb-jbtn .fl-button { font-family:"Geist",sans-serif; font-size:16px; font-weight:600; line-height:1; transition:background .2s, border-color .2s; }
body.aisensum-teams-page .tbb-jbtn .fl-button:hover { background:#E0155A !important; border-color:#E0155A !important; }
body.aisensum-teams-page .tbb-cta-col > .fl-col-content { display:block !important; text-align:center; font-size:0; }
body.aisensum-teams-page .fl-builder-content .tbb-cta-col .fl-module.tbb-ctabtn { display:inline-block !important; width:auto !important; vertical-align:top; margin:24px 8px 0 !important; }
body.aisensum-teams-page .tbb-ctabtn .fl-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:"Geist",sans-serif; font-size:16px; font-weight:600; line-height:1; white-space:nowrap; transition:background .2s, border-color .2s; }
body.aisensum-teams-page .tbb-ctabtn-pink .fl-button:hover { background:#E30B5D !important; }
body.aisensum-teams-page .tbb-ctabtn-ghost .fl-button:hover { background:rgba(11,31,61,.05) !important; }
/* 3-image auto-rotating slideshow (crossfade; JS toggles .is-active) */
body.aisensum-teams-page .tbb-hero-slides { position:relative; width:100%; aspect-ratio:16/9; border-radius:24px; overflow:hidden; box-shadow:0 20px 44px -18px rgba(11,31,61,.28); background:rgba(245,238,221,.5); }
body.aisensum-teams-page .tbb-hero-slides .tbb-slide { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:0; transition:opacity 1.1s ease; }
body.aisensum-teams-page .tbb-hero-slides .tbb-slide.is-active { opacity:1; }

/* ===== Teams leader-card + spacing fixes (client) ===== */
/* Equalize the leader name-box height so 1-line roles (Vivek) match the 2-line ones. */
@media (min-width:640px){
  body.aisensum-teams-page .tl-box-l,
  body.aisensum-teams-page .tl-box-single { min-height:135px; box-sizing:border-box; }
}
/* Reduce the big white gap above "Meet The Leaders". */
body.aisensum-teams-page .tbb-white.tbb-leaders { padding-top:44px !important; }

/* ===== Meet The Leaders — new portrait card grid (grayscale -> colour on hover, bottom plate). Replaces the old .tl-* crossfade cards. BB-editable via the HTML module. ===== */
body.aisensum-teams-page .fl-builder-content .lead-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; max-width:1760px; margin:0 auto; padding:0 40px; box-sizing:border-box; }
body.aisensum-teams-page .fl-builder-content .lead-card { position:relative; border-radius:22px; overflow:hidden; aspect-ratio:3/4.6; border:1px solid rgba(0,0,0,.06); cursor:pointer; transition:transform .28s ease, box-shadow .28s ease; background:radial-gradient(120% 80% at 50% 6%, rgba(236,15,108,.14), rgba(236,15,108,.04) 44%, rgba(255,255,255,0) 72%), repeating-radial-gradient(circle at 50% -6%, rgba(236,15,108,.045) 0 1px, transparent 1px 26px), linear-gradient(180deg,#fdf9f1,#f4ecdd); }
body.aisensum-teams-page .fl-builder-content .lead-card:hover { transform:translateY(-10px); box-shadow:0 26px 55px -18px rgba(236,15,108,.55); }
body.aisensum-teams-page .fl-builder-content .lead-img { position:absolute; left:0; right:0; top:8px; bottom:64px; width:100%; height:calc(100% - 72px); object-fit:contain; object-position:center bottom; display:block; filter:grayscale(1); transition:filter .5s ease; }
body.aisensum-teams-page .fl-builder-content .lead-card:hover .lead-img { filter:grayscale(0); }
body.aisensum-teams-page .fl-builder-content .lead-plate { position:absolute; left:12px; right:12px; bottom:12px; background:rgba(255,255,255,.92); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); border-radius:14px; padding:13px 15px; border-top:3px solid #ec0f6c; pointer-events:none; }
body.aisensum-teams-page .fl-builder-content .lead-n { font-family:"Geist",sans-serif; font-size:20px; font-weight:800; color:#141414; line-height:1.1; }
body.aisensum-teams-page .fl-builder-content .lead-t { font-family:"Geist",sans-serif; font-size:12.5px; font-weight:600; color:#ec0f6c; margin-top:3px; line-height:1.3; }
@media (max-width:1100px){ body.aisensum-teams-page .fl-builder-content .lead-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ body.aisensum-teams-page .fl-builder-content .lead-grid { grid-template-columns:1fr; } }
/* Uncap the leaders row (BB fixed content-width ~1140px capped the card grid) so the bigger grid can breathe. */
body.aisensum-teams-page .fl-builder-content .fl-node-tbb00000000a .fl-row-content { max-width:1760px !important; }

/* ── EDITOR-FRIENDLY SECTION BACKGROUNDS: padding on inner wrapper (see daniel-bb.css) ── */
body.aisensum-teams-page .fl-builder-content .tbb-sec { padding-top:0 !important; padding-bottom:0 !important; }
body.aisensum-teams-page .fl-builder-content .tbb-hero > .fl-row-content-wrap     { padding-top:56px !important; padding-bottom:80px !important; }
body.aisensum-teams-page .fl-builder-content .tbb-leaders > .fl-row-content-wrap  { padding-top:44px !important; padding-bottom:96px !important; }
body.aisensum-teams-page .fl-builder-content .tbb-openings > .fl-row-content-wrap { padding-top:76px !important; padding-bottom:92px !important; }
body.aisensum-teams-page .fl-builder-content .tbb-cta > .fl-row-content-wrap      { padding-top:96px !important; padding-bottom:96px !important; }
