/* Project 0 specific styles */

/* Larger variant for selfie gallery (Part 1) */
.gallery.gallery-large img {
  max-width: 360px;
}

/* Extra-wide variant for two-up gallery (Part 2) */
.gallery.gallery-wide img {
  max-width: 420px;
}

@media (max-width: 640px) {
  .gallery.gallery-wide img {
    max-width: 45vw;
  }
}

/* Slightly smaller display for the dolly zoom GIF */
img.dollyzoom {
  max-width: 450px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Labeled directional arrow for Part 1 explanation */
.change-explainer {
  margin: 14px auto 4px;
  max-width: 920px;
}
.change-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0px;
}
.arrow-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.arrow-row .label-left,
.arrow-row .label-right {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.arrow-row .arrow {
  position: relative;
  height: 0;
  border-top: 2px solid var(--text-muted);
}
.arrow-row .arrow::after {
  content: '';
  position: absolute;
  right: -2px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--text-muted);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

@media (max-width: 640px) {
  .change-caption { font-size: 0.9rem; }
  .arrow-row { gap: 8px; }
}

/* Reusable discussion card under each part */
.discussion-card {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--discussion-bg);
  border: 1px solid var(--discussion-border);
  border-left: 4px solid var(--discussion-accent);
  border-radius: 10px;
  box-shadow: none;
  font-family: "Times New Roman", Times, serif;
}
.discussion-card h3 {
  margin: 0 0 8px 0;
  font-weight: 700;
  color: var(--discussion-accent);
  font-family: "Times New Roman", Times, serif;
}
.discussion-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
}

/* LA trip 3x2 gallery */
.trip-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.trip-gallery figure { margin: 0; }
.trip-gallery img.responsive { width: 100%; height: auto; }

@media (max-width: 820px) {
  .trip-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .trip-gallery { grid-template-columns: 1fr; }
}
