body{
  display: flex;
  height: 100vh;
}

.training-cards-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 100px), -50%);
  height: 40vh;

  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
}

.training-card {
  height: 100%;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #292825;
  border: 1px solid var(--border, #3a3936);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Fixed-Height Bottom Area */
.training-card-content {
  position: relative;
  box-sizing: border-box;
  padding: 10px 14px 12px;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(0, 0, 0, 0.08) 100%);
}

.training-card-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 80%;
  margin-bottom: 6px;
}

.training-card-content img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin: 0;
}

.training-title {
  margin: 0;
  color: #f5f5f4;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.training-text {
  margin: 0;
  color: var(--grey);
  font-weight: 500;
  text-align: center;
}

.training-card-button {
  position: absolute;
  bottom: 15px;
  width: 90%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: #e9e9e7;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(180deg, #4a4946 0%, #3a3936 100%);
  border: 1px solid #535350;
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 0 #20201e;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.training-card-button:hover {
  color: #fff;
  border-color: var(--primary, #81b64c);
}
.logo-container{
  position: absolute;
  left: 15%;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 5px;
}
.burger-name{
  font-weight: bold;
  font-size: 1.5em;
  margin: 0;
  color: #fff;
}
.logo-container img{
  height: 30px;
}

.training-card-meta-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}

.training-stat,
.training-title {
  margin: 0;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}

.training-card-button:active {
  transform: translateY(3px);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.14);
}

/* Tablet: retain cards but allow them to be narrower */
@media (max-width: 760px) {
  .training-cards-section {
    gap: 8px;
  }

  .training-card-content {
    min-height: 128px;
    padding: 13px 12px 12px;
  }

  .training-title,
  .training-stat {
    font-size: 0.73rem;
  }

  .training-meta-emoji {
    font-size: 1.7rem;
  }

  .training-card-button {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 0.88rem;
  }
}

/* Mobile: stack cards so boards remain usable */
@media (max-width: 560px) {
  .training-cards-section {
    width: min(100%, 360px);
    grid-template-columns: 1fr;
  }

  .training-card-content {
    min-height: 128px;
  }
}