/* Compact editorial collections: current Murguía tokens, type and 1120px measure. */
.murg-collection-page {
  background: var(--murg-parchment, #f4eee5);
  color: var(--murg-ink, #1a1a1a);
}

/* These pages have no full-bleed hero behind the header, including without JS. */
.murg-collection-page .murg-nav {
  position: relative;
  background: var(--murg-cream, #f5f0e8);
  color: var(--murg-forest, #192e1d);
  border-bottom-color: var(--murg-line);
}
.murg-collection-page .murg-nav .murg-burger { color: var(--murg-forest); }
.murg-collection-page .murg-nav__logo-img--blanco { opacity: 0; }
.murg-collection-page .murg-nav__logo-img--oscuro { opacity: 1; }

.murg-collection,
.murg-collection * { box-sizing: border-box; }
.murg-collection {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 42px 64px;
  opacity: 1 !important;
  transform: none !important;
}
.murg-collection__screen-reader,
.murg-collection__hero-copy--screen-reader {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.murg-collection__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 34px;
  border-bottom: 1px solid var(--murg-line);
}
.murg-collection__hero-image {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: contain;
  background: var(--murg-cream-deep);
}
.murg-collection__hero-copy h1 {
  margin: 0;
  color: var(--murg-forest);
  font-family: 'Cinzel', serif;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
.murg-collection__hero-copy p {
  margin: 18px 0 0;
  color: var(--murg-forest);
  font-family: 'Cinzel', serif;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
}
.murg-collection__hero--image-only { grid-template-columns: 1fr; }
.murg-collection__hero--text-only { grid-template-columns: 1fr; }
.murg-collection__intro {
  max-width: 760px;
  margin: 34px auto 42px;
}
.murg-collection__intro-copy {
  display: grid;
  gap: 18px;
}
.murg-collection__intro-copy p,
.murg-collection__story blockquote p {
  margin: 0;
  color: var(--murg-forest);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.murg-collection__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.murg-collection__button.murg-btn {
  width: auto;
  min-height: 48px;
  padding: 14px 24px;
  font-size: 12px;
}
.murg-collection__button--primary {
  background: var(--murg-forest);
  color: var(--murg-cream);
}
.murg-collection__button--primary:hover {
  background: var(--murg-cream-deep);
  color: var(--murg-forest);
}
.murg-collection__button:focus-visible {
  outline: 2px solid var(--murg-forest);
  outline-offset: 4px;
}

.murg-collection__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.murg-collection__gallery-item {
  margin: 0;
  min-width: 0;
  background: var(--murg-cream-deep);
}
.murg-collection__gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.06;
  max-height: 402px;
  object-fit: contain;
}
.murg-collection__stories-heading {
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--murg-line);
}
.murg-collection__stories-heading h2 {
  margin: 0;
  color: var(--murg-forest);
  font-family: 'Cinzel', serif;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.3;
}
.murg-collection__story-group {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.murg-collection__story-group + .murg-collection__story-group {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--murg-line);
}
.murg-collection__story-media,
.murg-collection__closing-media { margin: 0; }
.murg-collection__story-media img,
.murg-collection__closing-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
}
.murg-collection__story-group--text-only { grid-template-columns: 1fr; }
.murg-collection__story-group--text-only .murg-collection__story-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.murg-collection__story-list {
  display: grid;
  gap: 24px;
}
.murg-collection__story h3 {
  margin: 0 0 8px;
  color: var(--murg-forest);
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.murg-collection__story blockquote { margin: 0; padding: 0; border: 0; }
.murg-collection__story cite {
  display: block;
  margin-top: 8px;
  color: var(--murg-muted);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.08em;
}
.murg-collection__closing-media { margin-top: 42px; }

/* Only individual, bounded descendants animate; never the page shell. */
.murg-collection-enhanced [data-collection-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 450ms ease, transform 450ms ease;
}
.murg-collection-enhanced [data-collection-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  .murg-collection__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .murg-collection__hero-image { height: 360px; }
  .murg-collection__story-group { grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); }
}
@media (max-width: 600px) {
  .murg-collection { width: calc(100% - 32px); padding-block: 24px 42px; }
  .murg-collection__hero,
  .murg-collection__story-group,
  .murg-collection__story-group--text-only .murg-collection__story-list { grid-template-columns: 1fr; }
  .murg-collection__hero { gap: 24px; padding-bottom: 24px; }
  .murg-collection__hero-copy { grid-row: 1; }
  .murg-collection__hero-image { height: 320px; }
  .murg-collection__intro { margin-block: 24px 32px; }
  .murg-collection__gallery { gap: 12px; }
  .murg-collection__gallery-item img { max-height: 320px; }
  .murg-collection__story-media img,
  .murg-collection__closing-media img { max-height: 320px; }
  .murg-collection__story-group + .murg-collection__story-group { margin-top: 32px; padding-top: 28px; }
  .murg-collection__button.murg-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .murg-collection-enhanced [data-collection-reveal] { opacity: 1; transform: none; transition: none; }
}
