/* ===========================
   Age Group Page Styling
   =========================== */

.age-group-section {
  min-height: 100vh;
  padding: 79px 0 6rem;
  background: #ffffff;
}

/* Header */
.age-group-header {
  text-align: center;
  margin-bottom: 3rem;
}

.age-group-title {
  margin: 0 0 0.5rem 0;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  background: linear-gradient(135deg, #aa912b 0%, #8f7923 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.age-group-subtitle {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: #6b7280;
}

/* Main Content Layout */
.age-group-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
}

/* Prevent grid/flex children from forcing horizontal overflow */
.age-group-content > * {
  min-width: 0;
}

/* Section Card Base */
.section-card {
  padding: 2rem;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #aa912b;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Section Title */
.section-title {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  border-bottom: 2px solid #aa912b;
}

/* Timetable Section */
.timetable-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timetable-wrapper {
  overflow-x: auto;
}

/* Hide empty message by default (shown only on mobile when all days are empty) */
.timetable-empty-message {
  display: none;
}

.timetable {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  table-layout: fixed;
}

.timetable thead {
  background: #aa912b;
}

.timetable th {
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  color: #ffffff;
}

.timetable tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

.timetable tbody tr:hover {
  background: #f9fafb;
}

.timetable td {
  padding: 1.25rem 1rem;
  font-size: 0.95rem;
  color: #6b7280;
}

.timetable .col-day {
  width: 22%;
  font-weight: 700;
  color: #111827;
}

.day-label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

.timetable tbody .col-time {
  width: 26%;
  font-weight: 600;
  color: #6b7280;
}

.timetable .col-garderoba {
  width: 26%;
}

.timetable .col-notes {
  width: 26%;
}

/* Igrišče Link Styling - matches original cell-value styling */
.igrisce-link {
  color: #6b7280;
  text-decoration: none;
  font-weight: normal;
}

.igrisce-link:hover {
  text-decoration: underline;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar > * {
  min-width: 0;
}

/* Trainer Card */
.trainer-card {
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Accent bar above trainer removed per request */

.trainer-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  overflow: hidden;
}

.trainer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-info {
  padding: 0 0.5rem;
}

.trainer-name {
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.trainer-title {
  margin: 0 0 1.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #aa912b;
}

.trainer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #aa912b;
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
}

/* Competition Card */
.competition-card {
  display: flex;
  flex-direction: column;
}

.competition-list {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 1rem 0;
}

.competition-list p {
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  text-align: center;
  width: 100%;
}

.empty-state {
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
  color: #9ca3af;
}

.schedule-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}

.schedule-footer small {
  font-size: 0.8rem;
  color: #d1d5db;
}

