/* Team Roster v4.7 (Elementor-friendly athlete pages) */
.tr-wrap{width:100%}
.tr-controls{display:flex;gap:12px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;margin:0 0 14px}
.tr-controls-left,.tr-controls-right{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}
.tr-control{display:flex;flex-direction:column;gap:6px;font-size:14px}
.tr-control-label{font-weight:600}
.tr-select{min-height:38px;padding:6px 10px;border:1px solid rgba(0,0,0,.15);border-radius:8px;background:#fff}
.tr-columns{position:relative}
.tr-columns-btn{min-height:38px;padding:6px 10px;border:1px solid rgba(0,0,0,.15);border-radius:8px;background:#fff;cursor:pointer}
.tr-columns-menu{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.12);padding:10px;min-width:180px;z-index:10}
.tr-columns-menu label{display:flex;gap:8px;align-items:center;padding:6px}
.tr-table-wrap{overflow-x:auto}
.tr-table{width:100%;border-collapse:collapse}
.tr-table thead th{position:sticky;top:0;background:#fff;border-bottom:1px solid rgba(0,0,0,.15);padding:12px 10px;text-align:left;font-weight:700;cursor:pointer;white-space:nowrap}
.tr-table td{border-bottom:1px solid rgba(0,0,0,.08);padding:10px;vertical-align:middle}
.tr-row{cursor:pointer}
.tr-row:hover{background:rgba(0,0,0,.03)}
.tr-name-link{text-decoration:none;font-weight:700}
.tr-name-link:hover{text-decoration:underline}
.tr-headshot{width:84px;height:84px;object-fit:cover;border-radius:999px;background:rgba(0,0,0,.06)}
.tr-bio{display:none;background:rgba(0,0,0,.02)}
.tr-bio td{padding:0}
.tr-bio-inner{padding:14px 14px;overflow:hidden;max-height:0;transition:max-height 240ms ease}
.tr-bio.is-open{display:table-row}
.tr-hidden-col{display:none!important}

@media(max-width:760px){
  .tr-table thead{display:none}
  .tr-table,.tr-table tbody,.tr-table tr,.tr-table td{display:block;width:100%}
  .tr-row{border:1px solid rgba(0,0,0,.10);border-radius:14px;margin-bottom:12px;padding:10px}
  .tr-row td{border:none;padding:6px 0;display:flex;justify-content:space-between;gap:10px}
  .tr-row td::before{content:attr(data-label);font-weight:700;opacity:.8}
  .tr-col-photo{justify-content:flex-start}
  .tr-col-photo::before{content:"";display:none}
  .tr-bio td{border:1px solid rgba(0,0,0,.10);border-top:none;border-radius:0 0 14px 14px}
}


/* Full-width Hero Gallery (use with Elementor template + shortcode [tr_athlete_gallery]) */
.tr-hero{position:relative;width:100%;overflow:hidden;border-radius:0;background:rgba(0,0,0,.06)}
.tr-hero-track{display:flex;transition:transform 320ms ease;will-change:transform}
.tr-hero-slide{min-width:100%}
.tr-hero-img{width:100%;height:70vh;min-height:420px;max-height:720px;object-fit:cover;display:block}
.tr-hero-btn{position:absolute;top:50%;transform:translateY(-50%);border:none;background:rgba(0,0,0,.55);color:#fff;width:46px;height:46px;border-radius:999px;cursor:pointer;font-size:28px;line-height:46px;padding:0;z-index:5}
.tr-hero-btn:hover{background:rgba(0,0,0,.75)}
.tr-hero-prev{left:16px}
.tr-hero-next{right:16px}
.tr-hero-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;gap:8px;justify-content:center;align-items:center;z-index:5}
.tr-dot{width:9px;height:9px;border-radius:999px;border:1px solid rgba(255,255,255,.9);background:rgba(255,255,255,.35);cursor:pointer}
.tr-dot.is-active{background:#fff}
@media(max-width:760px){
  .tr-hero-img{height:48vh;min-height:240px}
  .tr-hero-prev{left:10px}
  .tr-hero-next{right:10px}
}

/* Hide hero gallery dots/tabs */
.tr-hero-dots{display:none !important;}


/* ===== Mustangs-style Hero Polish ===== */

/* Taller hero */
.tr-hero-img{
  height:78vh;
  min-height:520px;
  max-height:860px;
}

/* Fade transition instead of slide */
.tr-hero-track{
  display:block;
  position:relative;
}

.tr-hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 600ms ease;
}

.tr-hero-slide.is-active{
  opacity:1;
  position:absolute;
}

/* Arrow styling closer to Mustangs */
.tr-hero-btn{
  background:transparent;
  border:2px solid rgba(255,255,255,0.85);
  width:52px;
  height:52px;
  font-size:26px;
}

.tr-hero-btn:hover{
  background:rgba(255,255,255,0.15);
}

/* Remove any rounding */
.tr-hero,
.tr-hero img{
  border-radius:0 !important;
}

/* ===== v4.7 hero slider fix (ensure height with absolute slides) ===== */
.tr-hero{
  height:78vh;
  min-height:520px;
  max-height:860px;
}
.tr-hero-slide{height:100%;}
.tr-hero-img{height:100% !important;}
@media(max-width:760px){
  .tr-hero{height:48vh;min-height:240px;max-height:none;}
}

/* ===== v4.7 hero whitespace fix ===== */
.tr-hero-track{height:100%;}

/* ===== Athlete picker (single page) ===== */
.tr-athlete-picker{
  display:flex;
  align-items:center;
  gap:10px;
}
.tr-athlete-picker-label{
  font-weight:600;
  font-size:14px;
}
.tr-athlete-picker-select{
  min-width:260px;
}
.tr-athlete-picker-btn{
  background:#4b2e83;
  color:#fff;
  border:none;
  padding:9px 14px;
  border-radius:6px;
  cursor:pointer;
  font-weight:700;
}
.tr-athlete-picker-btn:hover{ opacity:.92; }
@media(max-width:760px){
  .tr-athlete-picker{flex-wrap:wrap; justify-content:flex-start}
  .tr-athlete-picker-select{min-width:220px}
}

/* ===== v4.7 hero sizing tune (smaller) ===== */
.tr-hero{
  height:60vh !important;
  min-height:420px !important;
  max-height:720px !important;
}
@media(max-width:760px){
  .tr-hero{
    height:42vh !important;
    min-height:240px !important;
    max-height:none !important;
  }
}

/* ===== v4.21 Athlete picker overlay (Mustangs-style) ===== */
.tr-hero{ position: relative; }
.tr-athlete-picker.tr-athlete-picker--overlay{
  position:absolute;
  top:18px;
  right:18px;
  z-index:20;
  background:rgba(255,255,255,0.92);
  padding:8px 10px;
  border-radius:8px;
  box-shadow:0 10px 24px rgba(0,0,0,0.18);
}
.tr-athlete-picker--overlay .tr-athlete-picker-label{
  font-size:13px;
  margin-right:6px;
}
/* Slimmer dropdown/button */
.tr-athlete-picker .tr-select{
  font-size:14px;
  padding:6px 10px;
  height:auto;
  line-height:1.2;
}
.tr-athlete-picker-btn{
  padding:7px 12px;
  font-size:14px;
  border-radius:6px;
}
@media(max-width:760px){
  .tr-athlete-picker.tr-athlete-picker--overlay{
    top:10px;
    right:10px;
    left:10px;
  }
  .tr-athlete-picker--overlay .tr-athlete-picker-select{min-width:180px}
}

right:22px;
  z-index:99999;
  display:flex;
  justify-content:flex-end;
}

/* If anchor is inside hero, make it absolute so it sits over the image (above dividers) */
.tr-hero /* Mustangs-like minimal styling (no background box) */
.tr-athlete-picker.tr-athlete-picker--mustangs{
  background:transparent;
  padding:0;
  border-radius:0;
  box-shadow:none;
  display:flex;
  align-items:center;
  gap:10px;
}
.tr-athlete-picker--mustangs .tr-athlete-picker-label{
  font-size:14px;
  font-weight:600;
  color:#111;
  white-space:nowrap;
}
.tr-athlete-picker--mustangs .tr-select{
  font-size:14px;
  padding:5px 10px;
  line-height:1.2;
  min-width:240px;
  border-radius:2px;
}
.tr-athlete-picker--mustangs .tr-athlete-picker-btn{
  background:#4b2e83;
  color:#fff;
  border:none;
  padding:6px 12px;
  border-radius:2px;
  font-size:14px;
  font-weight:700;
}
.tr-athlete-picker--mustangs .tr-athlete-picker-btn:hover{opacity:.92;}

/* Over hero, keep label readable */
.tr-hero .tr-athlete-picker--mustangs .tr-athlete-picker-label{
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.55);
}

/* Keep picker above theme elements */
.tr-athlete-picker{ z-index:999999; }

@media(max-width:760px){
  .tr-athlete-picker--mustangs{
    width:100%;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:8px;
  }
  .tr-athlete-picker--mustangs .tr-select{min-width:200px;}
}

/* ===== v4.25: keep athlete picker in header area (do not overlay hero slider) ===== */
.tr-hero 