#camps {
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cslide-body {
  padding: 0 1.5rem 1.5rem;
  flex: 1;                   /* fills remaining card height */
  display: flex;
  flex-direction: column;
}

/* ── Accordion detail panel ── */
.cslide-detail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  border-radius: 0 0 20px 20px;
  border-top: 1px solid #e8dfc8;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 10;
}

.cslide-detail.open {
  max-height: 400px;
  padding: 1rem 1.5rem 1.5rem;
  opacity: 1;
  bottom: 0;
  transform-origin: bottom;
}

.cslide-close-btn {
  width: 100%;
  padding: 0.6rem;
  margin-top: 1rem;
  border: 1px solid #e8dfc8;
  background: transparent;
  border-radius: 8px;
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: #888;
}

.cslide-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e8dfc8;
  margin-top: 1rem;
}

.cd-place {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  padding: 4px 10px;
  background: #f0f7f1;
  color: #3a6b44;
  border-radius: 4px;
  border: 1px solid #c8e0cc;
}

.camps-head {
  max-width: 1200px;
  margin: 0 auto 4rem;
  text-align: left;
}

.sec-label {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c4882a;
  margin-bottom: 1rem;
}

.sec-h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.sec-h2 em {
  font-style: italic;
  font-weight: 400;
  color: #52a862;
}

.camps-intro {
  font-family: "Libre Baskerville", serif;
  font-size: 1.25rem;
  line-height: 1.7;
  color: #555;
}

/* ── Carousel ── */
.cslider-outer {
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
}

.cslider-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  scrollbar-width: none;
  align-items: stretch;        /* ALL cards same height */
}

.cslider-track::-webkit-scrollbar { display: none; }

/* ── Single merged .cslide-card block ── */
.cslide-card {
  position: relative;
  padding: 0.5rem;
  scroll-snap-align: start;
  background: white;
  border-radius: 20px;
  border: 1px solid #e8dfc8;
  box-shadow: 0 10px 30px rgba(10, 31, 13, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 calc((100% - 3 * 30px) / 4); /* Desktop: 4 cards */
}

.cslide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cslide-img-bg {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.5rem;
  position: relative;
  flex-shrink: 0;              /* image never squishes */
}

.cslide-num {
  font-family: "DM Mono", monospace;
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 0.5rem;
}

.cslide-region {
  font-family: "DM Mono", monospace;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #52a862;
  margin-bottom: 0.5rem;
}

.cslide-title {
  font-family: "Playfair Display", serif;
  font-size: 1.95rem;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.cslide-title em {
  color: #52a862;
  font-style: italic;
}

.cslide-sub {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1.5rem;
  flex-grow: 1;                /* pushes button to bottom */
}

/* ── Tags ── */
.cslide-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-bottom: 1.5rem;
}

.cslide-preview span {
  font-size: 0.95rem;
  padding: 4px 10px;
  background: #f4f7f4;
  color: #4a7c54;
  border-radius: 4px;
  font-family: "DM Mono", monospace;
}

/* ── Button ── */
.cslide-more-btn {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  background: transparent;
  border-radius: 8px;
  font-family: "DM Mono", monospace;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  color: #1a1a1a;
  margin-top: auto;            /* always pinned to bottom */
}

.cslide-more-btn:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* ── Controls ── */
.cslider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.cslider-btn {
  background: white;
  border: 1px solid #eee;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  color: #1a1a1a;
}

.cslider-btn:hover {
  background: #f4f4f4;
  transform: scale(1.1);
}

.cslider-dots {
  display: flex;
  flex-direction: row;
  gap: 0.5vw;
}

.cs-dot {
  width: 8px;
  height: 8px;
  background: #ddd;
  border-radius: 50%;
  transition: 0.3s;
}

.cs-dot.active {
  background: #52a862;
  width: 24px;
  border-radius: 4px;
}

/* ── Responsive ── */

/* Smaller desktop / large tablet: show 3 cards */
@media (min-width: 769px) and (max-width: 1100px) {
  .cslide-card {
    flex: 0 0 calc((100% - 2 * 30px) / 3);
  }
}

/* Mobile */
@media (max-width: 768px) {
  #camps { padding: 48px 16px; }
  .camps-head { margin-bottom: 2rem; }
  .camps-intro { font-size: 0.95rem; }
  .cslide-card { flex: 0 0 82vw; max-width: 340px; }
  .cslide-img-bg { height: 160px; }
  .cslide-title { font-size: 1.35rem; }
  .cslide-sub { font-size: 0.88rem; }
  .cslider-controls { display: none; }
}

@media (max-width: 540px) {
  #camps { padding: 36px 12px; }
  .cslider-track { gap: 14px; }
  .cslide-card { flex: 0 0 88vw; max-width: none; }
  .cslide-img-bg { height: 150px; }
  .cslide-body { padding: 1rem 1rem 1.2rem; }
  .cslide-title { font-size: 1.25rem; }
  .cslide-sub { font-size: 0.85rem; }
  .cslide-more-btn { font-size: 0.72rem; padding: 0.75rem; }
}

@media (max-width: 380px) {
  .cslide-card { flex: 0 0 92vw; }
  .cslide-img-bg { height: 130px; }
  .cslide-title { font-size: 1.1rem; }
}
