.section {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

/* ── Section Header ────────────────────────────────────────── */
.sectionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.headerLeft {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.iconSquircle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #EBF7EE;
  color: #269436;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.titleInfo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mountainTitle {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: #17232F;
  margin: 0;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mountainSubtitle {
  font-size: 13.5px;
  color: #667085;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 680px;
}

.headerRight {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.photoCountBadge {
  font-size: 13px;
  font-weight: 600;
  color: #667085;
  letter-spacing: 0.01em;
}

/* ── Arrow Controls for Slider ─────────────────────────────── */
.arrowControls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.arrowBtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #DDE4DF;
  background-color: #FFFFFF;
  color: #17232F;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  outline: none;
}

.arrowBtn:hover:not(:disabled) {
  background-color: #269436;
  color: #FFFFFF;
  border-color: #269436;
  box-shadow: 0 2px 8px rgba(38, 148, 54, 0.2);
}

.arrowBtn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Static 2-Column Grid (when <= 2 photos) ───────────────── */
.staticGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gridItem {
  width: 100%;
}

/* ── Horizontal Scroll Slider (when >= 3 photos) ───────────── */
.sliderTrack {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  outline: none;
}

.sliderTrack::-webkit-scrollbar {
  display: none;
}

.sliderItem {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: calc((100% - (2 * 20px)) / 3.25);
}

/* ── Empty Card ────────────────────────────────────────────── */
.emptyCard {
  padding: 36px 20px;
  background-color: #FFFFFF;
  border: 1px dashed #DDE4DF;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.emptyIcon {
  color: #9CA3AF;
}

.emptyText {
  font-size: 13.5px;
  color: #667085;
  margin: 0;
}

/* ── Divider ───────────────────────────────────────────────── */
.sectionDivider {
  margin-top: 44px;
  height: 1px;
  background-color: #EDF1EE;
  width: 100%;
}

/* ── Responsive Rules ──────────────────────────────────────── */
@media (max-width: 991px) {
  .mountainSubtitle {
    max-width: 440px;
  }

  .sliderItem {
    width: calc((100% - 20px) / 2.2);
  }
}

@media (max-width: 768px) {
  .sectionHeader {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .headerRight {
    width: 100%;
    justify-content: space-between;
  }

  .staticGrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sliderItem {
    width: calc(100% / 1.18);
  }

  .sectionDivider {
    margin-top: 36px;
  }
}
