/* Public coach & trainer profile pages (coaches/*.html). Uses the variables in ../styles.css. */
.coach-hero { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.coach-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: center; }
.coach-photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--blue-500); box-shadow: 0 18px 40px rgba(0,0,0,.35); background: var(--black-800); aspect-ratio: 4 / 5; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; }
.coach-org { color: var(--blue-300); font-weight: 700; font-size: 1.1rem; margin: -.2rem 0 .9rem; }
.coach-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.6rem; padding: 0; list-style: none; }
.coach-tags li { border: 1px solid rgba(143,176,255,.55); color: var(--silver-100); padding: .3rem .85rem; border-radius: 999px; font-size: .88rem; font-weight: 600; letter-spacing: .03em; }
.coach-hero .hero-cta { margin-top: 0; }
.coach-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.coach-block { margin-bottom: 2.4rem; }
.coach-block:last-child { margin-bottom: 0; }
.coach-block h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.coach-bio { font-size: 1.08rem; }
.coach-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.coach-facts li { background: var(--gray-50); border-left: 4px solid var(--blue-500); padding: .8rem 1rem; border-radius: 0 10px 10px 0; }
.coach-facts .k { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); margin-bottom: .1rem; }
.coach-facts .v { color: var(--black-900); font-weight: 600; }
.athlete-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.athlete-list li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.athlete-list strong { color: var(--black-900); font-size: 1.05rem; }
.athlete-list span { color: var(--blue-700); font-weight: 600; }
.book-card { position: sticky; top: 92px; }
.book-card dl { margin: 0 0 1.4rem; display: grid; gap: .9rem; }
.book-card dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--silver-400); }
.book-card dd { margin: .1rem 0 0; color: var(--white); }
.book-card dd a { color: var(--blue-300); font-weight: 600; word-break: break-all; text-decoration: none; }
.book-card dd a:hover { text-decoration: underline; }
.book-card .btn { display: block; text-align: center; margin-top: .6rem; }
.book-note { font-size: .85rem; color: #a3a8b3; margin: 1.2rem 0 0; }
@media (max-width: 960px) {
  .coach-layout { grid-template-columns: 1fr; }
  .book-card { position: static; }
}
@media (max-width: 760px) {
  .coach-hero-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .coach-photo { max-width: 260px; }
}
.book-card a.btn { color: var(--white); word-break: normal; }
.coach-photo-square { aspect-ratio: 1 / 1; border-radius: 50%; background: #000; }
.coach-org-sep { color: var(--silver-400); margin: 0 .25rem; }
.coach-org-aff { color: var(--silver-100); font-weight: 600; }
.rate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rate-row .price-box strong.rate-ask { font-size: 1.6rem; padding-top: .4rem; }
.athlete-list li { display: block; }
.athlete-head { display: flex; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap; align-items: baseline; }
.athlete-quote { margin: .8rem 0 0; padding: .2rem 0 0 1rem; border-left: 3px solid var(--blue-500); }
.athlete-quote p { margin: 0 0 .3rem; color: var(--gray-700); font-style: italic; }
.athlete-quote cite { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--gray-500); }
.athlete-quote cite::before { content: "\2014\00a0"; }
@media (max-width: 640px) { .rate-row { grid-template-columns: 1fr; } }

/* Team badge on coach profiles (links to the team page). Logo slot with a text fallback. */
.team-badge { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; background: rgba(255,255,255,.07); border: 1px solid rgba(143,176,255,.55); border-radius: 999px; padding: .35rem 1rem .35rem .35rem; margin: 0 0 1rem; color: var(--white); transition: background .15s ease; }
.team-badge:hover { background: rgba(31,79,216,.25); }
.team-badge-logo { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; overflow: hidden; flex: 0 0 40px; }
.team-badge-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.team-badge-logo .logo-fallback { font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--black-900); letter-spacing: .02em; }
.team-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.team-badge-text small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-300); }
.team-badge-text strong { font-size: .95rem; }
.coach-facts .v a { color: var(--blue-700); }

/* Team pages (coaches/teams/*.html) */
.team-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: center; }
.team-logo-slot { width: 220px; height: 220px; border-radius: var(--radius); background: var(--white); display: grid; place-items: center; overflow: hidden; border: 3px solid var(--blue-500); }
.team-logo-slot img { width: 100%; height: 100%; object-fit: contain; padding: 1.2rem; }
.team-logo-slot.is-placeholder { background: linear-gradient(160deg, var(--black-700), var(--black-900)); border-style: dashed; color: var(--silver-100); text-align: center; padding: 1rem; font-size: .9rem; }
.team-logo-slot.is-placeholder strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--white); line-height: 1; margin-bottom: .5rem; }
.team-logo-slot.is-text { background: linear-gradient(160deg, var(--black-700), var(--black-900)); color: var(--silver-100); text-align: center; padding: 1rem; }
.team-logo-slot.is-text strong { display: block; font-family: var(--font-head); font-size: 2.1rem; color: var(--white); line-height: 1.05; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .45rem; }
.team-logo-slot.is-text span { display: block; font-family: var(--font-head); font-size: .95rem; text-transform: uppercase; letter-spacing: .16em; color: var(--blue-300); }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.member-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; text-decoration: none; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.4rem 1.2rem; box-shadow: var(--shadow); color: var(--gray-700); transition: transform .15s ease; }
.member-card:hover { transform: translateY(-2px); }
.member-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--blue-500); margin-bottom: .6rem; background: #000; }
.member-card strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--black-900); text-transform: uppercase; letter-spacing: .02em; }
.member-card .member-sub { font-size: .92rem; color: var(--gray-500); }
.member-card .member-link { margin-top: .5rem; font-weight: 700; color: var(--blue-700); font-size: .92rem; }
.team-admin-note { font-size: .88rem; color: var(--gray-500); margin-top: 1.6rem; }
@media (max-width: 760px) {
  .team-hero-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .team-logo-slot { width: 160px; height: 160px; }
  .team-logo-slot.is-text strong { font-size: 1.6rem; }
  .team-logo-slot.is-text span { font-size: .78rem; }
}

/* Coaches & Trainers listing (coaches/index.html). One <li class="coach-card"> per coach. */
.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
.coach-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow); }
.coach-card-photo { display: block; width: 140px; height: 140px; border-radius: 50%; overflow: hidden; border: 3px solid var(--blue-500); background: #000; margin-bottom: .9rem; }
.coach-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.coach-card h3 { font-size: 1.45rem; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .15rem; }
.coach-card h3 a { color: var(--black-900); text-decoration: none; }
.coach-card h3 a:hover { color: var(--blue-700); }
.coach-card-org { color: var(--blue-700); font-weight: 700; margin: 0 0 .8rem; }
.coach-card .team-badge, .team-badge-light { background: var(--gray-50); border-color: var(--gray-200); color: var(--black-900); margin-bottom: .9rem; }
.coach-card .team-badge:hover, .team-badge-light:hover { background: #e7f0ff; }
.coach-card .team-badge-text small, .team-badge-light .team-badge-text small { color: var(--blue-700); }
.coach-card .team-badge-logo, .team-badge-light .team-badge-logo { border: 1px solid var(--gray-200); }
.coach-card-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 0 0 .9rem; }
.coach-card-tags li { background: var(--gray-50); border: 1px solid var(--gray-200); color: var(--gray-700); padding: .2rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.coach-card-tagline { font-size: .98rem; margin: 0 0 1.2rem; }
.coach-card-btn { margin-top: auto; padding: .65rem 1.3rem; font-size: .95rem; }
.team-list { margin-top: 2.6rem; }
.team-list h3 { text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; }
.team-list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.team-list .team-badge { margin: 0; }
.price-box strong .per { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--gray-500); margin-left: .2rem; }
