@import url('base.css');

.page-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 3rem 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 65ch;
}

.serie {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 3rem 2rem;
}

.serie-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
}

.serie-head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.serie-head .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-terra);
  letter-spacing: 0.1em;
  white-space: nowrap;
  margin-left: 1.5rem;
}

.subtitulo {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 60ch;
}

/* Masonry editorial (columns) */
.galeria {
  columns: 3 320px;
  column-gap: 14px;
}

.item {
  break-inside: avoid;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.item img {
  width: 100%;
  display: block;
  filter: grayscale(10%) contrast(1.03);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.item:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .page-hero { padding: 3rem 1.5rem 1rem; }
  .serie { padding: 2rem 1.5rem 1rem; }
  .galeria { columns: 2 220px; }
}

@media (max-width: 560px) {
  .galeria { columns: 1; }
}
