/* =========================================================
   trening.css – Training page styles
   ========================================================= */

/* ---- Season panel: restore padding stripped by components.css ---- */
.page-training .post-card--page .season-panel {
  padding: 1.4rem 1.45rem 1.6rem !important;
}

/* ---- Season intro blurb ---- */
.season-intro {
  font-size: 14.5px;
  color: rgba(0, 59, 92, .72);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(0, 59, 92, .10);
}

/* ---- Training day card grid ----
   auto-fit collapses empty tracks so 3 winter cards
   fill the full row with no ghost slot.              */
.training-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
}

/* ---- Individual day card ---- */
.training-day {
  background: #fff;
  border: 1px solid rgba(0, 59, 92, .12);
  border-left: 4px solid #003d6e;
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  box-shadow: 0 2px 10px rgba(0, 59, 92, .05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.training-day:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 59, 92, .10);
}

/* Top row: day label + time */
.training-day__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
}

.training-day__name {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--vsk-dark, #002540);
  opacity: .80;
}

.training-day__time {
  font-size: 22px;
  font-weight: 700;
  color: var(--vsk-dark, #002540);
  line-height: 1;
}

/* Activity description */
.training-day__type {
  font-size: 13.5px;
  color: rgba(0, 59, 92, .80);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

/* Location link */
.training-day__loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--vsk-dark, #002540);
  text-decoration: none;
  margin-top: auto;
  padding-top: .55rem;
  border-top: 1px solid rgba(0, 59, 92, .08);
}

.training-day__loc::before {
  content: "📍";
  font-size: 12px;
}

.training-day__loc:hover {
  text-decoration: underline;
}

/* ---- Mobile: single column ---- */
@media (max-width: 560px) {
  .training-days {
    grid-template-columns: 1fr;
  }
}
