/* Team in panna (prova 30/11/2026): the Team body becomes an ivory section like Transactions.
   Navy hero stays; people sit on #F2EBD8 with navy type, navy epsilon labels, cut-out photos on panna.
   Layout, order, bios, roles and the 1180px left edge are untouched. Loaded last on the Team pages. */
.team-body {
  background: #F2EBD8 !important; color: #0C1A2E;
  --bg: #F2EBD8; --bg-elev: #EAE0C8;
  --ink: #0C1A2E; --ink-2: rgba(12,26,46,.80); --muted: rgba(12,26,46,.64);
  --line: rgba(12,26,46,.12); --line-2: rgba(12,26,46,.20);
  --accent: #0C1A2E; --accent-2: #0C1A2E;
  padding-top: 64px !important;
}
@media (min-width: 768px) { .team-body { padding-top: 72px !important; } }
/* the colour change is the hero-to-content break, as on Transactions: no gold rule on top */
.team-body .team-layout { border-top: 0 !important; padding-top: 0 !important; }
.team-body .sec-title, .team-body h2, .team-body h3, .team-body .person-name, .team-body .team-panel-name { color: #0C1A2E !important; }
.team-body .team-rail-lead { color: rgba(12,26,46,.80) !important; }
/* labels on panna: navy type and navy epsilon (gold on panna is 2.0:1) */
.team-body .eyebrow, .team-body .team-rail-kicker { color: #0C1A2E !important; }
.team-body .eyebrow::before, .team-body .team-rail-kicker::before { background: url(/brand-epsilon-navy.svg) center / contain no-repeat !important; }
/* photos: cut-outs with alpha on a transparent frame, so they sit on the panna section and on the open mobile card alike; same hover as now */
.team-body .person-photo { background: transparent !important; }
/* hovers: navy with a gold underline instead of gold type */
.team-body .person-li:hover, .team-body .person-li:focus-visible { color: #0C1A2E !important; text-decoration: underline; text-decoration-color: #C9A256; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.team-body .person-toggle-label:hover { color: #0C1A2E !important; border-top-color: #C9A256 !important; }
.team-body .person:has(.person-toggle:checked) .person-toggle-label { color: #0C1A2E !important; border-top-color: #C9A256 !important; }
/* bio dashes: navy, never gold type or marks on panna */
.team-body .person-bio li::before { background: #0C1A2E !important; opacity: .6 !important; }
/* closing CTA on panna: navy button, ivory type; hover stays ivory on navy (brand.css hover would be gold with panna type) */
.team-body .btn-gold:hover, .team-body .btn-gold:focus-visible { background: #1A2D4A !important; border-color: #1A2D4A !important; color: #F2EBD8 !important; }
.team-body .btn-gold:focus-visible { outline: 2px solid #0C1A2E; outline-offset: 3px; }
.team-body .team-close { border-top-color: rgba(12,26,46,.20) !important; }
