/* KMP Athlete Styles - For teaser and subscription pages
 * Requires: kmp-base.css
 * Usage: <link rel="stylesheet" href="/css/kmp-athlete.css">
 */

/* ========================================
   Athlete Header Block
   ======================================== */
.athlete-header {
  background: #f7f7f7;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin: 20px 0;
}

.athlete-header h1 {
  margin: 0 0 8px 0;
  font-size: 32px;
}

.roster-photo {
  width: 180px;
  max-width: 40vw;
  aspect-ratio: 2/3;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 2px solid #ddd;
  margin-bottom: 12px;
  display: block;
}

/* ========================================
   Athlete Stats Grid
   ======================================== */
.athlete-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin-top: 12px;
}

.stat-label {
  font-weight: 600;
  color: #555;
}

.stat-value {
  color: #111;
  line-height: 1.6;
}

/* ========================================
   Filters (subscription page)
   ======================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.filter-select {
  flex: 1 1 140px;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

/* ========================================
   Subscribe Banner (teaser page)
   ======================================== */
.subscribe-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px;
  border-radius: 12px;
  margin: 24px 0;
  text-align: center;
}

.subscribe-banner h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
}

.subscribe-banner p {
  margin: 0;
  font-size: 16px;
  opacity: 0.95;
}

/* ========================================
   Card hover (subscription page)
   ======================================== */
.card--interactive {
  transition: box-shadow 0.2s;
}

.card--interactive:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ========================================
   Mobile Breakpoint
   ======================================== */
@media (max-width: 640px) {
  .athlete-header {
    padding: 16px;
    margin: 16px 0;
  }

  .athlete-header h1 {
    font-size: 24px;
  }

  .athlete-stats {
    grid-template-columns: 1fr;
  }
}
