/* === ACF: ZAWODNIK === */
.rider-profile { min-height: 320px; }

.rider-profile img {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 5/6;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  display: block;
}

.rider-profile h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  min-height: 36px;
}

.rider-profile p { margin-bottom: 6px; color: #4a4a4a; }
.rider-profile p strong { color: #222; }

.rider-history ul { padding-left: 1.2rem; list-style: disc; }

.rider-stat-box {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding:16px;
  background:#f8f8f8;
  margin-bottom:16px;
}
.rider-stat-box p { margin-bottom:4px; }
