:root {
  --fz-bg: #ecece8;
  --fz-paper: #f7f7f3;
  --fz-ink: #141414;
  --fz-muted: #6a6a66;
  --fz-line: #1a1a1a;
  --fz-stage: #e3e3de;
  --fz-accent: #f0d84a;
  --fz-accent-ink: #1a1a12;
  --fz-author-bg: #e8e8e2;
  --fz-font: "Syne", sans-serif;
  --fz-mono: "IBM Plex Mono", ui-monospace, monospace;
  --zt-side: clamp(1.25rem, 4vw, 3.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html.fazumzine-zineteca-html,
body.fazumzine-zineteca-body {
  margin: 0;
  min-height: 100%;
}

body.fazumzine-zineteca-body {
  color: var(--fz-ink);
  font-family: var(--fz-mono);
  background-color: var(--fz-stage);
  background-image: radial-gradient(rgba(0, 0, 0, 0.12) 0.7px, transparent 0.7px);
  background-size: 10px 10px;
}

.zt-app a {
  color: inherit;
  text-decoration: none;
}

.zt-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--fz-line);
  background:
    linear-gradient(115deg, transparent 55%, rgba(240, 216, 74, 0.35) 55%, rgba(240, 216, 74, 0.35) 72%, transparent 72%),
    linear-gradient(180deg, #f4f4ef 0%, var(--fz-bg) 100%);
  padding: clamp(2.2rem, 6vw, 4.5rem) var(--zt-side) clamp(2rem, 5vw, 3.4rem);
}

.zt-hero__mark {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.75rem, 2vw, 1.4rem);
  margin-bottom: 0.85rem;
}

.zt-hero__fold {
  flex: 0 0 auto;
  width: clamp(3.2rem, 8vw, 5rem);
  height: clamp(4.4rem, 11vw, 6.8rem);
  background: var(--fz-ink);
  position: relative;
  box-shadow: 6px 6px 0 var(--fz-accent);
  transform: rotate(-6deg);
}

.zt-hero__fold::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 1.35rem 1.35rem 0;
  border-color: transparent #f0d84a transparent transparent;
  filter: brightness(0.92);
}

.zt-hero__fold::after {
  content: "";
  position: absolute;
  inset: 18% 16% auto 16%;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 10px 0 rgba(255, 255, 255, 0.22),
    0 20px 0 rgba(255, 255, 255, 0.16);
}

.zt-hero__title {
  margin: 0;
  font-family: var(--fz-font);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.zt-hero__title span {
  display: inline-block;
  background: var(--fz-accent);
  color: var(--fz-accent-ink);
  padding: 0.02em 0.12em;
  margin-left: 0.06em;
}

.zt-hero__lede {
  margin: 0;
  max-width: 44rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--fz-muted);
}

.zt-hero__meta {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fz-ink);
  border: 1px solid var(--fz-line);
  background: var(--fz-paper);
  padding: 0.35rem 0.65rem;
}

.zt-hero__meta i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--fz-ink);
  display: inline-block;
}

.zt-shelf {
  padding: clamp(1.6rem, 3.5vw, 2.6rem) var(--zt-side) 3.5rem;
}

.zt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.75rem) clamp(1rem, 2vw, 1.5rem);
  max-width: 1180px;
  margin: 0 auto;
  justify-items: stretch;
}

.zt-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.zt-cover {
  display: block;
  aspect-ratio: 1480 / 2100;
  background-color: #222;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid var(--fz-line);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.zt-cover:hover,
.zt-cover:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.16);
  outline: none;
}

.zt-app a.zt-title,
a.zt-title,
a.zt-title:link,
a.zt-title:visited {
  display: block;
  margin-top: 0.55rem;
  background: var(--fz-ink);
  color: #ffffff !important;
  font-family: var(--fz-font);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--fz-line);
  transition: background 140ms ease;
  word-break: break-word;
  text-decoration: none;
}

.zt-app a.zt-title:hover,
.zt-app a.zt-title:focus-visible,
a.zt-title:hover,
a.zt-title:focus-visible {
  background: #2a2a2a;
  color: #ffffff !important;
  outline: none;
}

.zt-authors {
  margin: 0;
  background: var(--fz-author-bg);
  color: var(--fz-ink);
  font-size: 0.72rem;
  line-height: 1.35;
  padding: 0.45rem 0.65rem 0.55rem;
  border: 1px solid var(--fz-line);
  border-top: 0;
  word-break: break-word;
}

.zt-authors strong {
  display: block;
  font-weight: 500;
  color: var(--fz-muted);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.12rem;
}

.zt-empty {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  text-align: center;
  border: 1px dashed var(--fz-line);
  background: rgba(247, 247, 243, 0.72);
  font-size: 0.95rem;
  color: var(--fz-muted);
}

@media (max-width: 960px) {
  .zt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .zt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .zt-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 280px;
  }
}
