#trip-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 30px 80px 30px;
  font-family: 'Amstrad', monospace;
}

#trip-header {
  margin-bottom: 32px;
  border-bottom: 1.5px solid #333;
  padding-bottom: 16px;
}

#trip-header h1 {
  font-size: 1.8rem;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

#trip-header .trip-date {
  font-size: 1rem;
  color: #666;
}

/* ── Gallery layout ── */

#gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.g-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

/* Stacked column helper (for row 4 right side) */
.g-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Base photo block */
.g-photo {
  overflow: hidden;
  border: 1.5px solid #333;
  background: #ccc;
  position: relative;
}

.g-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.18s ease;
}

.g-photo:hover img {
  transform: scale(1.04);
}

/* Sizes */
.g-wide {
  flex: 2;
  height: 340px;
}

.g-tall {
  flex: 1;
  height: 340px;
}

.g-third {
  flex: 1;
  height: 420px;
}

/* Row 4 stacked halves */
.g-half {
  flex: 1;          /* fills the .g-col */
  height: 165px;    /* (340px total - 10px gap) / 2 */
  width: 100%;
}

/* Row 5 — two equal landscape food photos */
.g-half-wide {
  flex: 1;
  height: 260px;
}

/* ── Modal (same as seattle) ── */

#modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
}

#modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  max-width: 90vw;
  max-height: 90vh;
}

#modal img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border: 2px solid #333;
}

#modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  font-family: 'Amstrad', monospace;
  font-size: 0.8rem;
  border: 1.5px solid #333;
  background: #fff;
  padding: 2px 8px;
  cursor: pointer;
  z-index: 1002;
}

#modal-close:hover {
  background: #000;
  color: #fff;
}

.hidden {
  display: none !important;
}