:root{
    --blue: #29a8e0;
    --blue-dark: #0d6fa8;
    --navy: #16324f;
    --orange: #f5a623;
    --ink: #2a3b4d;
    --muted: #6b7c8c;
    --line: #e3e9ee;
    --bg: #f7fafc;
  }
 section h2 {
    text-align: center;
}
  p.section-sub{
    text-align:center;
    color: var(--blue-dark);
    font-weight:600;
    font-size:0.85rem;
    letter-spacing:0.5px;
    text-transform:uppercase;
    margin: 0 0 6px;
  }
  p.section-link{
    text-align:center;
    color: var(--muted);
    font-size:0.9rem;
    margin: 0 0 30px;
  }
  p.section-link a{
    color: var(--blue-dark);
    font-weight:600;
    text-decoration:none;
  }
  p.section-link a:hover{ text-decoration:underline; }
 
  /* ---- Schedule ---- */
  .schedule{
    background:#fff;
    padding: 8px;
    margin-bottom: 40px;
  }
  .timeline-item{
    display:flex;
    align-items:center;
    gap:16px;
    padding:14px 16px;
    border-bottom:1px solid var(--line);
  }
  .timeline-item:last-child{ border-bottom:none; }
  .schedule-time{
    flex: 0 0 150px;
    background: var(--blue);
    color:#fff;
    font-weight:700;
    font-size:0.82rem;
    text-align:center;
    padding:8px 6px;
    border-radius:8px;
  }
  .timeline-item.junior .schedule-time{ background: var(--blue); }
  .timeline-item.open .schedule-time{ background: var(--navy); }
  .schedule-label{
    font-size:0.95rem;
    color: var(--ink);
  }

  .timeline {
  position: relative;
  padding-left: 16px;
  border-left: 3px solid var(--cyan-medium-dark);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  position: relative;
  background: white;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  border: 1px solid var(--light-slate);
  margin-left: 12px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan-medium-dark);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--cyan-medium-dark);
}

.timeline-item .time {
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan-medium-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.timeline-item .activity {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 3px;
}

.timeline-item .detail {
  font-size: 13px;
  color: var(--gray-medium);
  line-height: 1.5;
}

.timeline-item.open::before {
    background: var(--navy);
  box-shadow: 0 0 0 2px var(--navy);
}

  .tag{
    display:inline-block;
    font-size:0.65rem;
    font-weight:700;
    letter-spacing:0.5px;
    text-transform:uppercase;
    padding:2px 8px;
    border-radius:20px;
    margin-left:8px;
    vertical-align:middle;
  }
  .tag.junior{ background:#e6f5fd; color:var(--blue-dark); }
  .tag.open{ background:#eaeef2; color:var(--navy); }
 
  /* ---- Race info cards ---- */
  .info-grid{
    display:grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }
  .info-card{
    background:#fff;
    padding: 20px 24px;
  }

  .info-card p{
    margin:0;
    color: var(--muted);
    font-size:0.92rem;
    line-height:1.5;
  }
 
  /* Fee table */
  .fee-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:12px;
    margin-top:8px;
  }
  .fee-item{
    background: var(--bg);
    border:1px solid var(--line);
    border-radius:10px;
    padding:12px 14px;
  }
  .fee-item .fee-label{
    font-size:0.78rem;
    color: var(--muted);
    margin-bottom:4px;
  }
  .fee-item .fee-value{
    font-size:1.25rem;
    font-weight:700;
    color: var(--navy);
  }
  .fee-note{
    grid-column: 1 / -1;
    background: #fff7e8;
    border:1px solid #f4dfa8;
    border-radius:10px;
    padding:12px 14px;
    font-size:0.85rem;
    color:#8a6415;
  }
 
  .eft-box{
    margin-top:14px;
    background: var(--bg);
    border:1px dashed var(--blue);
    border-radius:10px;
    padding:14px 16px;
    font-size:0.88rem;
    color: var(--ink);
    line-height:1.7;
  }
  .eft-box strong{ color: var(--navy); }
 
  /* ---- Distances table ---- */
  .table-wrap{

    padding: 8px;
    margin-bottom: 40px;
    overflow-x:auto;
  }
  table{
    width:100%;
    border-collapse: collapse;
    font-size:0.88rem;
    min-width: 560px;
  }
  thead th{
    text-align:left;
    background: var(--cyan-medium-dark);
    color:#fff;
    padding:12px 16px;
    font-weight:600;
  }
  thead th:first-child{ border-radius:8px 0 0 0; }
  thead th:last-child{ border-radius:0 8px 0 0; }
  tbody td{
    padding:11px 16px;
    border-bottom:1px solid var(--line);
    color: var(--ink);
  }
  tbody tr:nth-child(even){ background: var(--bg); }
  tbody tr:last-child td{ border-bottom:none; }
  tbody td:first-child{ font-weight:700; color: var(--blue-dark); }

  .section-inner {
  max-width: 960px;
  margin: 0 auto;
}
 
  /* ---- Footer / contact ---- */
  .contact{
    text-align:center;
    padding: 20px 0 10px;
    color: var(--muted);
    font-size:0.9rem;
    border-top:1px solid var(--line);
  }
  .contact a{
    color: var(--blue-dark);
    font-weight:600;
    text-decoration:none;
  }
 
  @media(min-width:640px){
    .fee-grid{ grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 580px) {

  
  .section-inner {
    margin: auto 20px;
  }
}
  @media(max-width:520px){
    .schedule-time{ flex-basis:120px; font-size:0.72rem; }
  }
