/**
 * Archive Preview — Layout & Body Overrides
 *
 * Layout-level overrides for the Preview CPT archive template.
 * Component styles (cards, grid, modals) live in the rgs/series-grid
 * block's style.css.
 *
 * @package RobotGirl Studios
 */

/* ── Body Reset ── */
body.archive-preview {
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height: 100vh;
}
body.archive-preview #page,
body.archive-preview .hfeed,
body.archive-preview #content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Full-Width Container ──
   Astra applies display:flex and max-width to .site-content .ast-container
   for its sidebar layout. Since this template has no sidebar and uses
   full-width blocks, override to a vertical-flow full-width container. */
body.archive-preview .site-content .ast-container {
  display: block !important;
  max-width: none !important;
  padding: 0 !important;
}

/* ── Halftone ── */
.halftone-lg {
  position: relative;
}
.halftone-lg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(13, 13, 13, 0.08) 2px,
    transparent 2px
  );
  background-size: 14px 14px;
  pointer-events: none;
  z-index: -1;
}

/* ── Gate Section (used by gate-box.php) ── */
.gate-section-wrap {
  background: var(--paper-dark);
  border-top: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
  padding: 4rem 0;
  margin-top: 4rem;
}
.gate-section-wrap .container {
  max-width: 800px;
  text-align: center;
}
.gate-section-wrap h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.gate-section-wrap h2 span {
  color: var(--mid-dark);
}
