/* /assets/css/witness.css */
/* Scoped overrides for witness.php only */

/* =========================
   Layout + document framing
   ========================= */

.page-short-witness .entry-box.author {
  max-width: 920px;
  margin: 0 auto;
}

.page-short-witness .copy {
  letter-spacing: 0.01em;
}

/* =========================
   Letterhead / header feel
   ========================= */

.page-short-witness .release-note {
  display: inline-flex;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(197,199,201,0.22);
  background: rgba(0,0,0,0.22);
  color: rgba(197,199,201,0.9);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.72rem;
  margin-bottom: 1.35rem;
}

.page-short-witness .release-note .date {
  color: #e0b84a;
}

.page-short-witness h1 {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.15;
}

.page-short-witness .short-subtitle {
  margin-top: 0;
  margin-bottom: 1.4rem;
  color: rgba(197,199,201,0.85);
  font-style: italic;
  font-size: 1.05rem;
}

.page-short-witness .short-meta {
  margin: 1.25rem 0 0.25rem;
  font-size: 0.86rem;
  color: rgba(197,199,201,0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-short-witness .short-meta strong {
  color: #c5c7c9;
  font-weight: 600;
}

.page-short-witness .hr-archive {
  margin: 1.6rem 0;
  opacity: 0.55;
}

/* =========================
   Body (editorial letter)
   ========================= */

.page-short-witness .short-body.evan-full {
  position: relative;
  padding: 1.25rem 1.35rem;
}

/* Faint margin rule */
.page-short-witness .short-body.evan-full::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  bottom: 1.1rem;
  left: 1rem;
  width: 2px;
  border-radius: 2px;
  background: rgba(197,199,201,0.10);
}

.page-short-witness .short-body.evan-full p {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  color: rgba(230,230,230,0.92);
  font-size: 1.04rem;
}

.page-short-witness .short-body.evan-full p:last-child {
  margin-bottom: 0;
}

.page-short-witness .short-body.evan-full blockquote {
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  border-left: 2px solid rgba(197,199,201,0.35);
  color: rgba(230,230,230,0.9);
  background: rgba(0,0,0,0.18);
  border-radius: 10px;
}

/* =========================
   Calder margin note (optional)
   ========================= */

.page-short-witness .short-body.evan-full .calder-margin {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid rgba(224,184,74,0.85);
  background: rgba(0,0,0,0.22);
  border-radius: 12px;
}

.page-short-witness .short-body.evan-full .calder-margin h4 {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e0b84a;
  font-weight: 600;
}

.page-short-witness .short-body.evan-full .calder-margin p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(230,230,230,0.88);
}

/* =========================
   Signature block (two-part, contained)
   ========================= */

/* Important: constrain the signature area so the right text
   doesn't drift to the far edge of the entry-box */
.page-short-witness .witness-signature {
  display: grid;
  grid-template-columns: auto auto;   /* NOT auto 1fr */
  justify-content: space-between;
  align-items: end;
  gap: 2rem;

  max-width: 640px;                  /* containment */
  margin: 2.25rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197,199,201,0.18);
}

.page-short-witness .sig-mark {
  justify-self: start;
}

.page-short-witness .sig-image {
  display: block;
  max-width: 260px;
  opacity: 0.9;
}

.page-short-witness .sig-meta {
  text-align: right;
  align-self: center;
}

.page-short-witness .sig-title {
  margin: 0;
  font-size: 0.86rem;
  color: #9fa3a6;
}

.page-short-witness .sig-motto {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  font-style: italic;
  color: #9fa3a6;
}

/* =========================
   Nav links
   ========================= */

.page-short-witness .short-nav {
  margin-top: 2rem;
}

.page-short-witness .short-nav a {
  text-decoration: none;
}

.page-short-witness .short-nav a:hover {
  text-decoration: underline;
}

/* =========================
   Mobile tightening
   ========================= */

@media (max-width: 640px) {
  .page-short-witness .short-body.evan-full {
    padding: 1.05rem 1rem;
  }

  .page-short-witness .short-body.evan-full::before {
    left: 0.75rem;
  }

  .page-short-witness .witness-signature {
    grid-template-columns: 1fr;
    justify-content: start;
    max-width: 100%;
  }

  .page-short-witness .sig-meta {
    text-align: left;
    margin-top: 0.75rem;
  }
}
