/* The state lottery years use the colors, type and overprinting of a 1970s poster. */
.historical-preview .era-lottery {
  --scene-paper: #f4e5bb;
  --scene-ink: #412e22;
  --coral: #b74627;
}

.historical-preview .era-lottery .scene-environment {
  background:
    radial-gradient(ellipse at 106% 52%,
      #f4e5bb 0 18%, #cf522a 18% 22%, #e9a12c 22% 26%,
      #f4e5bb 26% 30%, #4c6450 30% 34%, #432f23 34% 38%,
      #f4e5bb 38% 42%, #ce522b 42% 46%, transparent 46%),
    #f4e5bb;
  background-size: 55% 100%;
  background-position: right center;
  background-repeat: no-repeat;
}

.historical-preview .era-lottery .scene-flow {
  max-width: 1480px;
  padding-top: 100px;
  padding-bottom: 90px;
  background: transparent;
}

.historical-preview .era-lottery .scene-flow::after {
  content: '';
  display: block;
  clear: both;
}

.historical-preview .era-lottery .scene-flow > .cms-prose-slot {
  width: 53%;
  max-width: 650px;
  padding: 0 25px 0 0;
  background: transparent;
  margin-bottom: 45px;
}

.historical-preview .era-lottery .essay-paragraph {
  color: #412e22;
  font-family: var(--body);
}

.historical-preview .era-lottery .scene-flow > .cms-prose-slot:first-of-type > .essay-paragraph:first-child::first-letter {
  float: left;
  padding: 7px 10px 0 0;
  color: #b74627;
  font: 900 86px/.74 Georgia, serif;
}

.historical-preview .lottery-period-poster {
  position: sticky;
  top: calc(var(--cms-top, 0px) + var(--essay-nav-height, 64px) + 95px);
  float: right;
  width: 38%;
  max-width: 455px;
  margin: 0 0 70px 5%;
  padding: 43px 24px 27px;
  background: #f6e5b5;
  border: 2px solid #513c2a;
  box-shadow: 9px 10px 0 #432f23;
  transform: rotate(2deg);
  color: #425842;
}

.historical-preview .lottery-period-poster::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px dashed #b74627;
  pointer-events: none;
}

.historical-preview .lottery-period-poster blockquote {
  margin: 0;
  text-align: center;
  font: 900 clamp(45px, 5.1vw, 73px)/.99 Georgia, serif;
  letter-spacing: -.07em;
}

.historical-preview .lottery-period-poster blockquote span {
  display: block;
}

.historical-preview .lottery-period-poster blockquote .poster-small {
  margin-bottom: 12px;
  font-size: .52em;
  letter-spacing: -.045em;
}

.historical-preview .lottery-period-poster blockquote strong {
  color: #ba4726;
  font-weight: 900;
}

.historical-preview .lottery-period-poster figcaption {
  margin-top: 26px;
  text-align: center;
  color: #513c2a;
  font: 500 12px/1.4 var(--body);
}

/* Each window occupies only part of the room. The artwork remains visible
   around the text and between the individual windows. */
.historical-preview .era-desktop {
  --scene-paper: #12263a;
  --scene-ink: #202b33;
  --coral: #b84d39;
}

.historical-preview .era-desktop .scene-environment {
  background-image: url('../rebuild/early-internet.jpg');
  background-position: 60% center;
  background-blend-mode: normal;
  background-size: cover;
}

.historical-preview .era-desktop .scene-flow {
  max-width: 1480px;
  margin: 0 auto;
  padding: 75px 4.5% 85px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.historical-preview .era-desktop .scene-flow::before {
  content: none;
}

.historical-preview #internet .scene-flow {
  padding-top: clamp(235px, 27vw, 390px);
}

.historical-preview .era-desktop .scene-flow > .cms-prose-slot {
  position: relative;
  width: 49%;
  max-width: 650px;
  margin: 0 0 95px;
  padding: 37px 33px 13px;
  background: #fffef5;
  border: 4px ridge #c5c9c7;
  border-top: 28px solid #173a76;
  box-shadow: 12px 14px 0 #07162e70;
}

.historical-preview .era-desktop .scene-flow > .cms-prose-slot::before {
  content: '';
  position: absolute;
  top: -23px;
  left: 7px;
  width: 13px;
  height: 15px;
  background: repeating-linear-gradient(0deg, #f5f4e9 0 3px, #88a3b6 3px 4px);
  border: 1px solid #101d3b;
}

.historical-preview .era-desktop .scene-flow > .cms-prose-slot::after {
  content: '';
  position: absolute;
  top: -23px;
  right: 5px;
  width: 53px;
  height: 17px;
  border: 2px outset #d7d9cf;
  background:
    linear-gradient(90deg, transparent 29%, #5c6369 29% 33%, transparent 33% 64%, #5c6369 64% 68%, transparent 68%),
    #c8ccc9;
}

.historical-preview .era-desktop .essay-paragraph {
  font-size: 19px;
  line-height: 1.78;
  letter-spacing: -.01em;
}

.historical-preview .era-desktop .scene-flow > .chapter-opener {
  width: 60%;
  max-width: 790px;
  margin: 0 0 65px;
  padding: 25px 30px 30px;
  background: #173a76;
  color: #fffef5;
  border: 4px ridge #c5c9c7;
  box-shadow: 12px 14px 0 #07162e70;
}

.historical-preview .era-desktop .chapter-opener h2 {
  font: 750 clamp(46px, 5.1vw, 73px)/1.02 Arial, sans-serif;
  letter-spacing: -.065em;
  text-transform: none;
}

.historical-preview .era-desktop .chapter-opener .citation a {
  color: #b7d0ff;
}

.historical-preview .era-desktop .scene-flow > .graphic {
  width: 80%;
  max-width: 1040px;
  margin: 25px 0 110px auto;
  background: #fffef5;
  padding: 33px 35px;
  border: 4px ridge #c5c9c7;
  border-top: 28px solid #173a76;
  box-shadow: 12px 14px 0 #07162e70;
}

.historical-preview .era-desktop .scene-flow > .cms-prose-slot:has(> .anchored-graphic) {
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.historical-preview .era-desktop .scene-flow > .cms-prose-slot:has(> .anchored-graphic)::before,
.historical-preview .era-desktop .scene-flow > .cms-prose-slot:has(> .anchored-graphic)::after {
  content: none;
}

.historical-preview .era-desktop .cms-prose-slot:has(> .anchored-graphic) > :is(.essay-paragraph, .essay-subheading, .cms-prose-list, .cms-prose-quote) {
  width: 49%;
  max-width: 650px;
  margin: 0;
  padding: 0 34px 24px;
  background: #fffef5;
  border-inline: 4px ridge #c5c9c7;
  box-shadow: 12px 0 0 #07162e70;
}

.historical-preview .era-desktop .cms-prose-slot:has(> .anchored-graphic) > :first-child,
.historical-preview .era-desktop .cms-prose-slot:has(> .anchored-graphic) > .anchored-graphic + :is(.essay-paragraph, .essay-subheading, .cms-prose-list, .cms-prose-quote) {
  border-top: 28px solid #173a76;
  padding-top: 30px;
}

.historical-preview .era-desktop .cms-prose-slot:has(> .anchored-graphic) > :last-child,
.historical-preview .era-desktop .cms-prose-slot:has(> .anchored-graphic) > :has(+ .anchored-graphic) {
  border-bottom: 4px ridge #c5c9c7;
  padding-bottom: 35px;
}

.historical-preview .era-desktop .anchored-graphic.playslip {
  width: 82%;
  max-width: 1010px;
  margin: 80px 0 95px auto;
  padding: 38px;
  background: #f4e5bb;
  border: 0;
  border-top: 11px solid #b74627;
  box-shadow: 12px 14px 0 #07162e70;
}

.historical-preview .era-desktop .scene-flow > .graphic h3 {
  font-size: 35px;
}

@media (max-width: 1050px) {
  .historical-preview .era-lottery .scene-flow > .cms-prose-slot {
    width: 57%;
    padding-right: 18px;
  }

  .historical-preview .lottery-period-poster {
    width: 35%;
    padding-inline: 18px;
    margin-left: 4%;
  }

  .historical-preview .lottery-period-poster blockquote {
    font-size: 48px;
  }

  .historical-preview .era-desktop .scene-flow > .cms-prose-slot,
  .historical-preview .era-desktop .cms-prose-slot:has(> .anchored-graphic) > :is(.essay-paragraph, .essay-subheading, .cms-prose-list, .cms-prose-quote) {
    width: 57%;
  }

  .historical-preview .era-desktop .scene-flow > .cms-prose-slot:has(> .anchored-graphic) {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .historical-preview .era-lottery .scene-environment {
    background:
      radial-gradient(ellipse at 100% 5%,
        #f4e5bb 0 20%, #cf522a 20% 24%, #e9a12c 24% 28%,
        #f4e5bb 28% 32%, #4c6450 32% 36%, #432f23 36% 40%,
        #f4e5bb 40% 45%, #ce522b 45% 49%, transparent 49%),
      #f4e5bb;
  }

  .historical-preview .era-lottery .scene-flow {
    padding: 50px 25px 40px;
  }

  .historical-preview .lottery-period-poster {
    float: none;
    position: relative;
    top: auto;
    width: 82%;
    max-width: 360px;
    margin: 0 auto 65px;
    padding: 35px 20px 25px;
  }

  .historical-preview .lottery-period-poster blockquote {
    font-size: clamp(49px, 12.5vw, 68px);
  }

  .historical-preview .era-lottery .scene-flow > .cms-prose-slot {
    width: 100%;
    padding: 22px 20px 4px;
    background: #f4e5bbf5;
    border-block: 2px solid #b74627;
  }

  .historical-preview .era-desktop .scene-environment {
    background-position: 58% center;
  }

  .historical-preview .era-desktop .scene-flow {
    margin: 0;
    padding: 45px 18px 55px;
  }

  .historical-preview #internet .scene-flow {
    padding-top: 265px;
  }

  .historical-preview .era-desktop .scene-flow > .cms-prose-slot,
  .historical-preview .era-desktop .cms-prose-slot:has(> .anchored-graphic) > :is(.essay-paragraph, .essay-subheading, .cms-prose-list, .cms-prose-quote) {
    width: 100%;
    max-width: none;
    padding-inline: 21px;
  }

  .historical-preview .era-desktop .scene-flow > .cms-prose-slot {
    padding-top: 25px;
    margin-bottom: 90px;
    box-shadow: 7px 9px 0 #07162e70;
  }

  .historical-preview .era-desktop .essay-paragraph {
    font-size: 18px;
    line-height: 1.82;
  }

  .historical-preview .era-desktop .scene-flow > .chapter-opener {
    width: 100%;
    padding: 23px 20px;
    margin-bottom: 55px;
    box-shadow: 7px 9px 0 #07162e70;
  }

  .historical-preview .era-desktop .chapter-opener h2 {
    font-size: clamp(42px, 10.8vw, 65px);
  }

  .historical-preview .era-desktop .scene-flow > .graphic,
  .historical-preview .era-desktop .anchored-graphic.playslip {
    width: 100%;
    margin: 65px 0 90px;
    padding: 25px 19px;
    box-shadow: 7px 9px 0 #07162e70;
  }

  .historical-preview .era-desktop .scene-flow > .graphic h3 {
    font-size: 30px;
  }
}
