/* -------------------------------------------------------
   Camp cards (public list) – [camp_list]
   - 3 karty vedle sebe na desktopu
   - responzivně 2/1 podle šířky
   - karta vyšší než širší (dominantní plakát)
------------------------------------------------------- */

.cr-camp-list {
  width: 100%;
  margin: 0 auto;
}

.cr-camp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  align-items: stretch; /* ← KLÍČ */
}

/* Tablet */
@media (max-width: 1100px) {
  .cr-camp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobil */
@media (max-width: 680px) {
  .cr-camp-grid {
    grid-template-columns: 1fr;
  }
}

/* ✅ ZMĚNA: karta je nyní <a>, takže musíme zrušit defaultní styling odkazu */
.cr-camp-card--link {
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
}

.cr-camp-card {
background: #fff;
border: 1px solid rgba(0,0,0,0.08);
border-radius: 14px;
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: 0 10px 25px rgba(0,0,0,0.06);
transition: transform 160ms ease, box-shadow 160ms ease;
}

.cr-camp-card:hover {
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.1);
}

.cr-camp-poster {
  width: 100%;
  height: 100%;
  position: relative;
}


.cr-camp-poster img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cr-camp-poster-missing {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
}

.cr-camp-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.cr-camp-title {
font-size: 1.67em;
font-weight: 800;
line-height: 1.2;
margin: 10px 0 15px 0;
}

.cr-camp-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1.2em;
}

.cr-camp-meta-row {
  display: flex;
  gap: 8px;
  line-height: 1.35;
}

.cr-camp-meta-label {
  color: rgba(0,0,0,0.6);
  min-width: 92px;
  flex: 0 0 auto;
}

.cr-camp-meta-value {
  color: rgba(0,0,0,0.9);
  flex: 1 1 auto;
  text-align: right;
}

.cr-camp-actions {
  padding-top: 20px;
}

.cr-camp-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  padding: 12px 70px;
  text-decoration: none;
  border-radius: 7px;
  background: #1e293b;
  color: #fff;
  font-size: 1.1em;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: opacity 140ms ease, transform 140ms ease;
}

.cr-camp-apply:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}



.cr-registration.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

a:hover {
	color: rgb(233, 233, 233);
}
.odkaz_nadpis {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}


@media (max-width: 680px) {
  .cr-camp-apply {
    width: 40%;
  }
  .cr-camp-meta {
    font-size: 1.2em;
  }
}