#logoHeader {
    width: clamp(120px, 8vw, 200px);
    display: block;
}
.next-training-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: black;
  padding: 50px 10px;
  box-sizing: border-box;
}

.next-training-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(120, 0, 0, 0.22), rgba(0, 0, 0, 0.96)),
    linear-gradient(to top, #050505, #161616);
  border: 1px solid rgba(255, 70, 70, 0.18);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: "Assistant", sans-serif;
  color: #fff;
}

.next-training-label {
  margin: 0 0 6px;
  color: rgba(255, 120, 120, 0.95);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.next-training-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.next-training-content {
  min-width: 0;
  flex: 1;
}

.next-training-title {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.2;
  color: #fff;
  font-weight: 900;
}

.next-training-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.next-training-meta-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
}

.next-training-actions {
  display: flex;
  flex-shrink: 0;
}

.next-training-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* min-height: 46px; */
  padding: 15px 20px;
  border-radius: 14px;
  background-image: linear-gradient(to right, #ff3b3b, #980000);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(120, 0, 0, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.next-training-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 28px rgba(120, 0, 0, 0.35);
}

.next-training-loading,
.next-training-empty,
.next-training-error {
  margin: 0;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

@media (max-width: 768px) {
  .next-training-box {
   margin: 0 auto;
    padding: 16px;
    border-radius: 18px;
  }

  .next-training-main {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .next-training-title {
    margin-bottom: 10px;
    font-size: 1.15rem;
  }

.next-training-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.next-training-meta-item {
  /* width: 100%; */
  justify-content: center;
  border-radius: 12px;
  /* min-height: 40px; */
  font-size: 0.9rem;
  text-align: center;
  background: none;
  border: none;
}

  .next-training-actions {
    width: 100%;
  }

  .next-training-btn {
    width: 100%;
  }
}

#chooseLocation {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

@media (max-width: 1300px) {
      #chooseLocation {
        flex-direction: column;
     }
  }

#ctaC, #ctaD {
    display: block;
    text-align: center;
    border: none;
    width: 10%;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 700;
    cursor: pointer;
    font-family: "Assistant", sans-serif;
    color: rgb(213, 213, 213);
    margin-top: 20px;
    background:
    linear-gradient(135deg, rgba(120, 0, 0, 0.22), rgba(0, 0, 0, 0.96)),
    linear-gradient(to top, #050505, #161616);
    border: 1px solid rgba(255, 70, 70, 0.18);
    box-shadow:
    0 0 5px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

#ctaC:hover {
    transform: scale(1.07) translateY(-2px);
}
#ctaD:hover {
    transform: scale(1.07) translateY(-2px);
}

@media (max-width: 768px) {
      #ctaC {
        padding: 10px 20px;
        width: 70%;
     }
      #ctaD {
        padding: 10px 20px;
        width: 70%;
        margin-top: 0;
     }
}