/* /truce: the site's own page, plus the sign from the cafe (one number torn off) beside the
   opening and the film's poster after the last line. Loaded after style.css. */

/* ------------------------------------------------ the sign */
.tr-flyer {
  float: right;
  width: 232px;
  margin: 8px -14px 24px 32px;
  -webkit-user-select: none; user-select: none;
}
.tr-sheet {
  position: relative;
  transform: rotate(-2.2deg);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18)) drop-shadow(0 10px 18px rgba(0, 0, 0, .16));
  color: #1b1a17;
}
.tr-tape {
  position: absolute; z-index: 1; top: -11px; left: 50%;
  width: 78px; height: 23px; margin-left: -39px;
  background: rgba(228, 208, 128, .62);
  box-shadow: inset 0 0 0 1px rgba(160, 140, 60, .12);
  transform: rotate(2deg);
}
.tr-paper {
  background: #fbf8ee;
  padding: 26px 16px 16px;
  text-align: center;
}
.tr-flyer p { margin: 0; max-width: none; color: inherit; }
.tr-flyer .tr-head {
  font: 900 23px/1.04 "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -.015em; text-transform: uppercase;
}
.tr-flyer .tr-sub {
  margin-top: 9px;
  font: 400 11px/1.3 "Courier New", Courier, monospace;
}
.tr-flyer .tr-body {
  margin-top: 9px;
  font: 700 13px/1.3 "Courier New", Courier, monospace;
}
/* the tear-off numbers: each tab is its own piece of paper, so the missing one is a real gap */
.tr-flyer .tr-tabs {
  display: flex; list-style: none; margin: 0; padding: 0;
  border-top: 1px dashed rgba(27, 26, 23, .45);
  background: none;
}
.tr-flyer .tr-tabs li {
  flex: 1 1 0; height: 104px; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fbf8ee;
  border-left: 1px dashed rgba(27, 26, 23, .45);
  transform-origin: top center;
}
.tr-flyer .tr-tabs li::marker { content: none; }
.tr-flyer .tr-tabs li:first-child { border-left: 0; }
.tr-tabs span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 700 10.5px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: .03em; white-space: nowrap;
}
.tr-flyer .tr-tabs li:nth-child(2) { transform: rotate(1.2deg); }
.tr-flyer .tr-tabs li:nth-child(5) { transform: rotate(2.4deg); }
.tr-flyer .tr-tabs li:nth-child(7) { transform: rotate(-3deg); border-left: 0; }
.tr-flyer .tr-tabs li:nth-child(8) { transform: rotate(-1deg); }
/* the one that is gone: only a ragged stub is left */
.tr-flyer .tr-tabs li.tr-gone {
  background: none; border-left: 0; align-items: flex-start;
}
.tr-flyer .tr-tabs li.tr-gone::before {
  content: ""; display: block; width: 100%; height: 10px; background: #fbf8ee;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 86% 100%, 71% 48%, 55% 92%, 38% 42%, 21% 96%, 9% 50%, 0 80%);
}
@media (min-width: 1120px) {
  .tr-flyer { margin-right: -124px; }      /* hangs into the margin on a wide screen */
}
@media (max-width: 620px) {
  .tr-flyer { float: none; width: min(232px, 76%); margin: 6px auto 34px; }
}
@media (prefers-color-scheme: dark) {
  .tr-sheet { filter: brightness(.9) drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
}

/* ------------------------------------------------ the poster */
.tr-poster {
  clear: both;
  max-width: 520px;
  margin: 68px auto 12px;
  padding: 0;
}
.truce .tr-poster img {
  display: block; width: 100%; height: auto;
  border-radius: 3px; background: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .28), 0 26px 60px -14px rgba(0, 0, 0, .5);
}
.truce .site-footer { margin-top: 64px; }

@media print {
  .tr-flyer { display: none; }
  .tr-poster { break-inside: avoid; max-width: 380px; }
}
