/* Scoped to the NBL Career Overview's Team History: leaves all other profile sections alone. */
.ah-nbl-overview .ah-nbl-team-history.ah-history-enhanced { padding: 17px 16px 20px !important; }
.ah-nbl-overview .ah-history-title-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; flex-wrap:wrap; }
.ah-nbl-overview .ah-history-title-row h4 { margin:0 !important; line-height:1.2; }
.ah-nbl-overview .ah-history-summary { display:inline-flex; align-items:center; padding:5px 13px; border-radius:30px; font-size:11px; font-weight:750; letter-spacing:.02em; background:#edeef0; color:#394356; white-space:nowrap; }
.ah-nbl-overview .ah-history-enhanced ul.ah-nbl-clubs { position:relative !important; display:flex !important; flex-direction:column !important; gap:7px !important; list-style:none !important; margin:0 !important; padding:0 0 0 31px !important; width:100% !important; box-sizing:border-box; }
.ah-nbl-overview .ah-history-enhanced ul.ah-nbl-clubs::before { content:''; position:absolute; top:17px; bottom:17px; width:2px; left:7px; background:#f8c5a8; pointer-events:none; }
.ah-nbl-overview .ah-history-enhanced li.ah-history-row { position:relative !important; display:grid !important; grid-template-columns:minmax(130px, 180px) 64px minmax(0, 1fr) minmax(75px, 112px) !important; align-items:center !important; column-gap:16px !important; width:100% !important; min-width:0 !important; box-sizing:border-box !important; margin:0 !important; padding:9px 16px !important; border:0 !important; border-radius:9px !important; background:linear-gradient(95deg,#fafafb 0%,#f1f3f6 100%) !important; color:#15243a !important; box-shadow:none !important; min-height:52px; }
.ah-nbl-overview .ah-history-row .ah-history-node { display:block; position:absolute; left:-29px; top:50%; transform:translateY(-50%); width:11px; height:11px; box-sizing:border-box; border:3px solid #f0640e; background:#fff; border-radius:50%; }
.ah-nbl-overview .ah-history-row .ah-history-years { display:inline-flex !important; justify-content:flex-start; align-items:center; justify-self:start; width:auto !important; border-radius:8px; padding:5px 10px !important; background:#fbe2d0 !important; font-weight:800 !important; font-size:12px !important; color:#442011 !important; white-space:nowrap; letter-spacing:0; }
.ah-nbl-overview .ah-history-row .ah-history-logo { height:43px; width:58px !important; display:flex !important; justify-content:center; align-items:center; min-width:0; position:relative; }
.ah-nbl-overview .ah-history-logo img { width:100% !important; max-width:58px !important; max-height:43px !important; height:auto !important; object-fit:contain !important; position:relative; z-index:2; border:0; box-shadow:none; }
.ah-nbl-overview .ah-history-row .ah-history-logo-initials { display:inline-flex; justify-content:center; align-items:center; width:40px; height:35px; background:#e5e9ef; border-radius:8px; color:#48566a; font-size:13px; font-weight:800; letter-spacing:.03em; }
.ah-nbl-overview .ah-history-logo.ah-logo-loaded .ah-history-logo-initials { display:none; }
.ah-nbl-overview .ah-history-row strong.ah-history-name { font-size:14px !important; font-weight:750 !important; line-height:1.25 !important; margin:0 !important; color:#142338 !important; min-width:0; text-align:left; }
.ah-nbl-overview .ah-history-row .ah-history-seasons { font-size:12px !important; color:#5a6674 !important; font-weight:500 !important; text-align:right; white-space:nowrap; width:auto !important; }
@media(max-width:700px) {
 .ah-nbl-overview .ah-nbl-team-history.ah-history-enhanced { padding:14px 10px 18px !important; }
 .ah-nbl-overview .ah-history-title-row { gap:8px; }
 .ah-nbl-overview .ah-history-summary { font-size:10px; }
 .ah-nbl-overview .ah-history-enhanced ul.ah-nbl-clubs { padding-left:20px !important; gap:6px !important; }
 .ah-nbl-overview .ah-history-enhanced ul.ah-nbl-clubs::before { left:6px; }
 .ah-nbl-overview .ah-history-row .ah-history-node { left:-19px; }
 .ah-nbl-overview .ah-history-enhanced li.ah-history-row { padding:8px 9px !important; grid-template-columns:minmax(61px,78px) 38px minmax(0,1fr) !important; gap:7px !important; min-height:50px; }
 .ah-nbl-overview .ah-history-row .ah-history-years { font-size:10px !important; padding:4px 6px !important; }
 .ah-nbl-overview .ah-history-row .ah-history-logo { width:36px !important; height:32px !important; }
 .ah-nbl-overview .ah-history-logo img { max-width:36px !important; max-height:30px !important; }
 .ah-nbl-overview .ah-history-logo .ah-history-logo-initials { width:32px; height:28px; font-size:11px; }
 .ah-nbl-overview .ah-history-row strong.ah-history-name { font-size:12px !important; }
 .ah-nbl-overview .ah-history-row .ah-history-seasons { grid-column:3; text-align:left; font-size:10px !important; margin-top:-5px; color:#6c7785; }
}
@media(min-width:701px) and (max-width:900px) {
 .ah-nbl-overview .ah-history-enhanced li.ah-history-row { grid-template-columns:110px 48px minmax(0,1fr) 90px !important; column-gap:10px !important; }
}
