/* ============================================================
   zine.css: per-zine page styling
   Inherits main.css; overrides the .panel for a single
   long-form reading column with a hero cover and PDF download.
   ============================================================ */

.zine-cover-hero {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  padding: 60px 28px 30px;
  margin-bottom: 0;
}

.zine-cover-hero img {
  max-width: 360px;
  width: 65%;
  height: auto;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.7),
    0 8px 16px rgba(0,0,0,0.5);
  border: 1px solid #000;
  transform: rotate(-2deg);
}

.zine-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  max-width: 920px;
  margin: 16px auto 24px;
  padding: 10px 24px;
  background: rgba(0,0,0,0.55);
  color: #ddd;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.zine-meta-bar .meta-left {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.zine-meta-bar .zine-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: #fff;
}

.zine-meta-bar .pdf-button {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-paper);
  color: var(--ink);
  text-decoration: none;
  padding: 8px 16px 6px;
  border: 1px solid #000;
  box-shadow: 3px 3px 0 #000;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.zine-meta-bar .pdf-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #000;
}

.zine-body {
  background: var(--bg-paper);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.03), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.04), transparent 55%);
  color: var(--ink);
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 60px 64px;
  box-shadow: var(--panel-shadow);
  font-size: 1.05rem;
  line-height: 1.65;
  clip-path: polygon(
    0% 1%, 4% 0%, 18% 1%, 35% 0%, 55% 1%, 72% 0%, 88% 1%, 100% 0%,
    99% 12%, 100% 28%, 99% 45%, 100% 62%, 99% 80%, 100% 100%,
    85% 99%, 65% 100%, 45% 99%, 25% 100%, 8% 99%, 0% 100%,
    1% 82%, 0% 60%, 1% 38%, 0% 18%
  );
}

.zine-body h1, .zine-body h2, .zine-body h3 {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 1.6em 0 0.4em;
}
.zine-body h1 { font-size: 2.4rem; }
.zine-body h2 {
  font-size: 1.8rem;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 6px;
}
.zine-body h3 { font-size: 1.4rem; }

.zine-body h1:first-child,
.zine-body h2:first-child {
  margin-top: 0;
}

.zine-body p {
  margin: 0 0 1em;
}

.zine-body blockquote {
  border-left: 5px solid var(--ink);
  padding: 4px 0 4px 18px;
  margin: 1.2em 0;
  font-style: italic;
  color: var(--ink-soft);
}

.zine-body code, .zine-body pre {
  font-family: 'Courier New', monospace;
  background: rgba(0,0,0,0.06);
  padding: 0 4px;
}
.zine-body pre {
  padding: 12px 14px;
  overflow-x: auto;
  border: 1px solid var(--ink);
}

.zine-body img {
  display: block;
  max-width: 100%;
  margin: 1.5em auto;
  border: 1px solid #000;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
}

.zine-body hr {
  border: none;
  border-top: 3px dashed var(--ink);
  margin: 2em 0;
}

.zine-back {
  display: block;
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--font-title);
  color: #f0e9d9;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.zine-back:hover { color: #fff; }

@media (max-width: 700px) {
  .zine-body { padding: 36px 24px; }
  .zine-cover-hero img { width: 80%; }
}
