/* =============================================================
   Editions section styles (index grid + individual edition pages)
   ============================================================= */

/* 2-column grid — editions index page */
.gallery-grid.gallery-grid--2col {
  display: grid;
  column-count: unset;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 3rem;
}

@media (min-width: 600px) {
  .gallery-grid.gallery-grid--2col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-grid.gallery-grid--2col .gallery-card img {
  width: 80%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  filter: url(#neonsky);
}

/* Responsive video embed (16:9 iframe) */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-local {
  max-width: 100%;
  display: block;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Gallery grid base */
.gallery-grid {
  columns: 1;
  column-gap: 1.5rem;
}

@media (min-width: 480px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    columns: 3;
  }
}

.gallery-card {
  margin-bottom: 0;
  display: block;
}

.gallery-card:hover {
  text-decoration: none;
}

.gallery-card figure {
  position: relative;
  overflow: hidden;
}

.gallery-card img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gallery-card figcaption {
  padding-top: 0.4rem;
}

.gallery-card .card-title {
  font-size: 0.85rem;
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.gallery-card .card-subtitle {
  font-size: 0.80rem;
  color: #666;
  margin-top: 0.1rem;
  line-height: 1.4;
}

/* --- Back link --------------------------------------------- */

.back-link {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.5rem;
}

.back-link:hover {
  color: #000;
  text-decoration: none;
}

/* --- Individual edition page -------------------------------- */

.edition-page h1 {
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.edition-page .edition-subtitle {
  margin-top: 5px;
  max-width: 600px;
}

.edition-page .edition-subtitle p {
  margin-bottom: 0.7rem;
  line-height: 0.9;
}

.edition-page .edition-description {
  margin-top: 20px;
}

.edition-page .edition-description p {
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

.edition-images,
.edition-images--2col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edition-images figure img,
.edition-images--2col figure img {
  display: block;
  max-width: min(600px, 100%);
  max-height: 600px;
  width: auto;
  height: auto;
  filter: none;
}

a.order-here{
  font-style: italic;
  text-decoration: underline;
}
