/* Scoped to the athlete hub; all portrait links exist in the server-rendered HTML. */
/* Topic navigation and back link in the same navy as the athlete cards (this file loads only on the athlete hub). */
.sp-mag-hub .pagehead .textbtn{display:inline-flex;align-items:center;gap:6px;color:#17467e;font-weight:700;text-decoration:none;border-bottom:2px solid #9fb9d6;padding-bottom:2px;transition:color .15s,border-color .15s}
.sp-mag-hub .pagehead .textbtn:hover{color:#2464a7;border-color:#2464a7}
.sp-mag-hub .sp-topic-nav{gap:8px}
.sp-mag-hub .sp-topic-nav a{align-items:center;min-height:40px;padding:8px 14px;border:1px solid #9fb9d6;background:#fff;color:#17467e;font-size:13px;font-weight:700;line-height:1.3;transition:background .15s,border-color .15s,color .15s}
.sp-mag-hub .sp-topic-nav a:hover{background:#edf3fa;border-color:#17467e;color:#17467e}
.sp-mag-hub .sp-topic-nav a[aria-current]{background:linear-gradient(125deg,#122b49 0%,#17467e 62%,#2464a7 100%);border-color:#17467e;color:#fff;box-shadow:0 6px 16px #122b4926}
.sp-mag-hub .sp-topic-nav a[aria-current]:hover{color:#fff}
.sp-mag-hub .sp-topic-nav a:focus-visible,.sp-mag-hub .pagehead .textbtn:focus-visible{outline:3px solid #326dc7;outline-offset:3px}
.sp-athlete-directory{margin:0 0 34px;padding:28px;border:1px solid #d8e3f1;border-radius:16px;background:#fff}
.sp-athlete-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.sp-athlete-directory-heading .eyebrow{margin:0 0 7px;font-size:11px;letter-spacing:.1em;color:#526c86}
.sp-athlete-directory-heading .sp-athlete-directory-title{margin:0;font-size:26px;line-height:1.3;color:#183653;letter-spacing:-.7px}
.sp-athlete-directory-count{flex:0 0 auto;padding:5px 12px;border:0;border-radius:30px;background:linear-gradient(125deg,#122b49,#17467e);color:#F2C063;font-size:12px;font-weight:700;white-space:nowrap}
.sp-athlete-directory-filter{margin-bottom:18px}
.sp-athlete-directory-filter>label{display:block;margin-bottom:8px;font-size:14px;font-weight:750;color:#1d3b59}
.sp-athlete-directory-search-row{display:flex;gap:10px;max-width:650px}
.sp-athlete-directory-search-row input{min-width:0;width:100%;padding:11px 14px;border:1px solid #9fb9d6;border-radius:8px;background:#fbfdff;color:#122b49;font-size:16px;min-height:46px}
.sp-athlete-directory-search-row input::placeholder{color:#5f7894;opacity:1}
.sp-athlete-directory-search-row input:focus{border-color:#17467e}
.sp-athlete-directory-search-row button{flex:0 0 auto;align-self:center;padding:8px 14px;border:1px solid #17467e;border-radius:100px;background:linear-gradient(125deg,#122b49,#17467e);color:#fff;font-size:13px;font-weight:700;line-height:1.3;min-height:40px;cursor:pointer;transition:background .15s}
.sp-athlete-directory-search-row button:hover{background:linear-gradient(125deg,#17467e,#2464a7)}
.sp-athlete-directory-groups{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0}
.sp-athlete-directory-groups button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 14px;border:1px solid #9fb9d6;border-radius:100px;background:#fff;color:#17467e;font:inherit;font-size:13px;font-weight:700;line-height:1.3;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.sp-athlete-directory-groups button span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:1px 6px;border-radius:100px;background:#e3ecf7;color:#17467e;font-size:11px;font-weight:700}
.sp-athlete-directory-groups button:hover{background:#edf3fa;border-color:#17467e}
.sp-athlete-directory-groups button[aria-pressed="true"]{background:linear-gradient(125deg,#122b49,#17467e);border-color:#17467e;color:#fff}
.sp-athlete-directory-groups button[aria-pressed="true"] span{background:#E3A93A;color:#122b49}
.sp-athlete-directory-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-top:14px}
.sp-athlete-directory-status{margin:0;font-size:12px;color:#526c86;min-height:20px}
.sp-athlete-directory-sort{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:650;color:#3c5874}
.sp-athlete-directory-sort select{min-height:36px;padding:5px 10px;border:1px solid #9fb9d6;border-radius:8px;background:#fff;color:#17467e;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.sp-athlete-directory-sort select:hover{border-color:#17467e}
.sp-athlete-directory-alphabet{display:flex;flex-wrap:wrap;gap:2px;padding:10px 0;margin-bottom:22px;border-top:1px solid #d8e3f1;border-bottom:1px solid #d8e3f1}
.sp-athlete-directory-alphabet a,.sp-athlete-directory-alphabet span{display:flex;justify-content:center;align-items:center;min-width:36px;min-height:40px;padding:5px;border-radius:5px;font-size:14px;font-weight:750}
.sp-athlete-directory-alphabet a{color:#17467e;text-decoration:none;transition:background .15s,color .15s}
.sp-athlete-directory-alphabet a:hover{background:linear-gradient(125deg,#122b49,#17467e);color:#fff}
.sp-athlete-directory-alphabet span,.sp-athlete-directory-alphabet a.is-empty{color:#b3c0cf;font-weight:500}
.sp-athlete-directory-alphabet a.is-empty{pointer-events:none}
.sp-athlete-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.sp-athlete-card{position:relative;display:flex;flex-direction:column;min-width:0;margin:0;border:1px solid #c7d7ea;border-radius:14px;overflow:hidden;background:#fff;scroll-margin-top:24px;transition:border-color .15s,box-shadow .15s}
.sp-athlete-card:hover{border-color:#2464a7;box-shadow:0 10px 26px #122b4926}
/* The portrait images are 16:9 and carry the site badge in their corners: always show them whole, never crop. */
.sp-athlete-card-media{display:block;flex:0 0 auto;background:linear-gradient(125deg,#122b49 0%,#17467e 62%,#2464a7 100%);overflow:hidden;border-bottom:3px solid #17467e;transition:border-color .15s}
.sp-athlete-card:hover .sp-athlete-card-media{border-color:#E3A93A}
.sp-athlete-directory .sp-athlete-card-media img,.sp-athlete-card-media img{position:static;display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;margin:0;object-fit:contain}
.sp-athlete-card-body{display:flex;flex-direction:column;flex:1;min-width:0;padding:16px 18px 14px}
.sp-athlete-card-label{align-self:flex-start;margin:0 0 9px;padding:3px 10px;border-radius:100px;background:linear-gradient(125deg,#17467e,#2464a7);color:#fff;font-size:11px;font-weight:700;line-height:1.6;letter-spacing:.03em}
.sp-athlete-card h2,.sp-athlete-card h3{margin:0 0 12px;padding:0;font-size:inherit;line-height:1.35;letter-spacing:0}
.sp-athlete-card h2::before,.sp-athlete-card h3::before{display:none}
.sp-athlete-card h2 a,.sp-athlete-card h3 a{display:block;color:inherit;text-decoration:none}
.sp-athlete-card h2 a::after,.sp-athlete-card h3 a::after{content:"";position:absolute;inset:0}
.sp-athlete-card-name{display:block;color:#122b49;font-size:19px;font-weight:750;line-height:1.3;letter-spacing:-.3px;overflow-wrap:anywhere}
.sp-athlete-card-subtitle{display:block;margin-top:5px;color:#3b5f86;font-size:13.5px;font-weight:500;line-height:1.5;text-wrap:balance}
.sp-athlete-card:hover .sp-athlete-card-name{color:#2464a7}
.sp-athlete-card-facts{display:grid;gap:7px;margin:0 0 12px;padding:11px 0 0;border-top:1px solid #d8e3f1}
.sp-athlete-card-facts div{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);gap:10px;font-size:12.5px;line-height:1.5}
.sp-athlete-card-facts dt{margin:0;color:#5a708a;font-weight:500;overflow-wrap:anywhere}
.sp-athlete-card-facts dd{margin:0;color:#17467e;font-weight:650;overflow-wrap:anywhere}
.sp-athlete-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:auto 0 0;padding-top:4px;color:#60728a;font-size:11.5px;line-height:1.5}
.sp-athlete-card-meta>span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#e3ecf7;color:#17467e;transition:background .15s,color .15s}
.sp-athlete-card:hover .sp-athlete-card-meta>span{background:linear-gradient(125deg,#122b49,#17467e);color:#fff}
.sp-athlete-card-meta svg{display:block;width:14px;height:14px}
.sp-athlete-card a:focus-visible{outline:3px solid #326dc7;outline-offset:3px}
.sp-athlete-directory a:focus-visible,.sp-athlete-directory input:focus-visible,.sp-athlete-directory button:focus-visible,.sp-athlete-directory select:focus-visible{outline:3px solid #326dc7;outline-offset:3px}
.sp-athlete-card:focus-within{border-color:#326dc7}
.sp-athlete-directory-empty{margin:18px 0 0;padding:12px 15px;border-left:3px solid #326dc7;background:#f3f7fc;color:#375773;font-size:14px}
.sp-athlete-directory [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.sp-athlete-card{transition:none}}
@media(max-width:980px){.sp-athlete-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:640px){
.sp-athlete-directory{padding:20px 17px;margin-bottom:26px}
.sp-athlete-directory-heading{align-items:flex-start;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.sp-athlete-directory-heading .sp-athlete-directory-title{font-size:23px}
.sp-athlete-directory-count{font-size:11px}
.sp-athlete-directory-search-row{flex-wrap:wrap}
.sp-athlete-directory-search-row input{flex:1 1 170px}
.sp-athlete-directory-search-row button{min-height:44px}
.sp-athlete-directory-groups{flex-wrap:nowrap;overflow-x:auto;margin-inline:-17px;padding:2px 17px 6px;scrollbar-width:none}
.sp-athlete-directory-groups::-webkit-scrollbar{display:none}
.sp-athlete-directory-groups button{flex:0 0 auto;min-height:44px}
.sp-mag-hub .sp-topic-nav a{min-height:44px}
.sp-athlete-directory-alphabet{gap:1px;margin-bottom:18px}
.sp-athlete-directory-alphabet a,.sp-athlete-directory-alphabet span{min-width:38px;min-height:44px}
.sp-athlete-grid{grid-template-columns:1fr;gap:16px}
/* Mobile: the title image sits full width above the text, like on desktop. */
.sp-athlete-card-body{padding:14px 16px 12px}
.sp-athlete-card-name{font-size:18px}
.sp-athlete-card-subtitle{font-size:13.5px}
}
