.travel-hero {
  padding: 56px 24px 32px;
}
.travel-hero h1 {
  margin: 0 0 6px;
}

.travel-root {
  padding-bottom: 56px;
}

.travel-empty {
  color: var(--text-secondary);
}

.travel-trip {
  margin-bottom: 48px;
}

.travel-trip h2 {
  margin: 0 0 16px;
  font-size: 1.4rem;
}

.travel-location {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.travel-thumb {
  display: block;
  padding: 0;
  border: none;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.travel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.travel-thumb:hover img,
.travel-thumb:focus-visible img {
  transform: scale(1.05);
}

.travel-thumb:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

/* ---------- lightbox ---------- */
body.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(90vw, 1100px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  margin: 0;
  padding: 0 60px;
  z-index: 1;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  top: calc(16px + env(safe-area-inset-top, 0px));
  right: 16px;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2rem;
}

.lightbox-prev {
  left: 12px;
}
.lightbox-next {
  right: 12px;
}

@media (max-width: 600px) {
  .travel-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}
