.nav a.nav-chronicle {
  margin-left: 8px;
  padding: 7px 11px;
  color: #102d2b;
  background: #fbfaf5;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
}

.nav a.nav-chronicle:hover {
  color: #102d2b;
  background: #fff;
}

.nav a.nav-chronicle span {
  margin-left: 3px;
  color: #ffb07d;
}

.mobile-panel a.nav-chronicle {
  margin-top: 4px;
  padding-inline: 12px;
  color: #102d2b;
  background: #fbfaf5;
  border: 1px solid rgba(16, 45, 43, .14);
  border-radius: 999px;
  justify-self: start;
}

.chronicle-peek {
  --paper-w: 166px;
  position: fixed;
  z-index: 90;
  right: calc((var(--paper-w) - 31px) * -1);
  top: 57%;
  width: var(--paper-w);
  height: 216px;
  color: #102d2b;
  text-decoration: none;
  transform: translateY(-50%) rotate(-8deg);
  transition: right .42s cubic-bezier(.2, .8, .2, 1), transform .42s cubic-bezier(.2, .8, .2, 1), filter .25s ease;
  filter: drop-shadow(-8px 12px 14px rgba(16, 45, 43, .2));
  animation: chronicle-peek-out 7s ease-in-out infinite;
}

.chronicle-peek:hover,
.chronicle-peek:focus-visible {
  right: -18px;
  transform: translateY(-50%) rotate(-3deg);
  filter: drop-shadow(-14px 18px 20px rgba(16, 45, 43, .24));
  animation-play-state: paused;
}

.chronicle-peek::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -24px -42px -24px -28px;
}

.chronicle-peek:focus-visible {
  outline: 3px solid #ff914d;
  outline-offset: 5px;
}

.chronicle-peek__paper {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 9px 9px 8px;
  overflow: hidden;
  border: 1px solid rgba(16, 45, 43, .28);
  border-radius: 2px;
  background: repeating-linear-gradient(0deg, rgba(16, 45, 43, .018) 0, rgba(16, 45, 43, .018) 1px, transparent 1px, transparent 4px), #f8f5ec;
}

.chronicle-peek__paper::before,
.chronicle-peek__paper::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.chronicle-peek__paper::before {
  inset: 4px;
  border: 1px solid rgba(16, 45, 43, .12);
}

.chronicle-peek__paper::after {
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 45, 43, .1));
}

.chronicle-peek__masthead {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
}

.chronicle-peek__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.chronicle-peek__rule {
  display: block;
  height: 4px;
  margin: 5px 0 3px;
  border-block: 1px solid #102d2b;
}

.chronicle-peek__edition {
  display: block;
  margin-bottom: 5px;
  font: 700 5px/1.2 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.chronicle-peek__image {
  display: block;
  height: 82px;
  overflow: hidden;
  background: #d9ddd8;
}

.chronicle-peek__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.chronicle-peek__headline {
  display: block;
  max-width: 138px;
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.02;
}

.chronicle-peek__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid rgba(16, 45, 43, .45);
  font: 800 6px/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.chronicle-peek__cta b {
  color: #ef7132;
  font-size: 12px;
}

.chronicle-peek__fold {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 19px;
  height: 19px;
  background: linear-gradient(135deg, rgba(16, 45, 43, .12) 0 49%, #fffdf7 50%);
  box-shadow: -2px -2px 0 rgba(16, 45, 43, .08);
}

.chronicle-peek__edge {
  position: absolute;
  top: 12px;
  right: 7px;
  z-index: 2;
  writing-mode: vertical-rl;
  color: #ef7132;
  font: 800 7px/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .16em;
  transition: opacity .18s ease;
}

.chronicle-peek:hover .chronicle-peek__edge,
.chronicle-peek:focus-visible .chronicle-peek__edge {
  opacity: 0;
}

@keyframes chronicle-peek-out {
  0%, 20%, 100% { margin-right: 0; margin-top: 0; }
  48%, 68% { margin-right: 31px; margin-top: -12px; }
}

@media (max-width: 760px) {
  .chronicle-peek {
    --paper-w: 136px;
    top: 62%;
    right: -112px;
    height: 178px;
    transform: translateY(-50%) rotate(-9deg);
  }

  .chronicle-peek:hover,
  .chronicle-peek:focus-visible {
    right: -14px;
    transform: translateY(-50%) rotate(-3deg);
  }

  .chronicle-peek__edge { top: 12px; right: 7px; }
  .chronicle-peek__paper { padding: 7px 7px 6px; }
  .chronicle-peek__name { font-size: 16px; }
  .chronicle-peek__rule { height: 3px; margin: 4px 0 3px; }
  .chronicle-peek__edition { margin-bottom: 4px; font-size: 4px; }
  .chronicle-peek__image { height: 66px; }
  .chronicle-peek__headline { max-width: 112px; margin-top: 5px; font-size: 11px; }
  .chronicle-peek__cta { font-size: 5px; }
  .chronicle-peek__cta b { font-size: 10px; }
  .chronicle-peek__fold { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .chronicle-peek { transition: none; animation: none; }
}
