/* Long-form essay pages (writing pieces). Olive is the writing color. */

.crumb { display:inline-block; line-height:0; margin-top: 2.6rem; }
.crumb img { height: 26px; width:auto; display:block; }
.crumb:hover img { transform: translateY(-2px); }
.crumb img { transition: transform 150ms ease; }

.essay { margin-top: 1.8rem; }

.essay .meta {
  color: #9a9a9a;
  font-size: .85rem;
  letter-spacing: .04em;
  margin-bottom: .5rem;
}

.essay h1 {
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: .4rem;
}

.essay .subtitle {
  color: #7c7c7c;
  font-style: italic;
  margin-bottom: 2.2rem;
}

.essay p.body { margin-bottom: 1.15rem; }

/* Pull quote: a line the highlighter ran over. */
.pull-quote {
  font-size: 1.12rem;
  line-height: 1.55;
  margin: 2.2rem 0;
  padding: .35rem .6rem;
  background: linear-gradient(100deg,
    transparent 0.5%, rgba(168,161,63,.28) 3%,
    rgba(168,161,63,.28) 97%, transparent 99.5%);
  transform: rotate(-.4deg);
}

.end-mark { color: #a8a13f; }

.colophon {
  margin-top: 2.5rem;
  color: #9a9a9a;
  font-size: .85rem;
}

/* Prev / next between pieces */
.pagenav {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 2px dashed #a8a13f55;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.pagenav a { text-decoration: none; max-width: 46%; }
.pagenav a:hover .pn-title { text-decoration: underline; text-decoration-color: #a8a13f; text-decoration-thickness: 3px; }
.pagenav .pn-label { display:block; color:#9a9a9a; font-size:.8rem; }
.pagenav .pn-title { display:block; font-weight:600; }
.pagenav .next { text-align: right; margin-left:auto; }

.footer-mini { margin-top: 3.5rem; font-size: .9rem; }

/* Wide variant for the visual essay */
.wrap--wide { max-width: 860px; }

/* Click-to-enlarge figure */
.zoomfig { margin: 1.5rem 0; }
.zoomfig button {
  display:block; width:100%;
  border:0; padding:0; background:none; cursor: zoom-in;
  position: relative;
}
.zoomfig img {
  width:100%; height:auto; display:block;
  border: 2.5px solid #b8aecb;
  border-radius: 4px 9px 3px 8px;
}
.zoomfig .hint {
  position:absolute; right:10px; bottom:10px;
  background:#fff; border:1.5px solid #3d3d3d22;
  border-radius: 6px 3px 7px 4px;
  font-size:.75rem; color:#7c7c7c;
  padding: .15rem .5rem;
}

/* Enlarged view */
.zoom-modal { border:0; padding:0; background:transparent; max-width:96vw; max-height:96vh; }
.zoom-modal::backdrop { background: rgba(255,255,255,.94); }
.zoom-viewport { overflow:auto; max-width:96vw; max-height:90vh; }
.zoom-image { max-width:100%; height:auto; display:block; cursor: zoom-in; }
.zoom-image.is-zoomed { max-width:none; width:auto; cursor: zoom-out; }
.zoom-close {
  position: fixed; top: 12px; right: 16px;
  border: 2px solid #3d3d3d; background:#fff; color:#3d3d3d;
  border-radius: 7px 3px 8px 4px;
  font-size: 1rem; padding: .2rem .6rem; cursor: pointer;
}
