/* Other Duties as Assigned. Papers at the end of the note. */

.note-prose .oda-papers {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.35rem 0.85rem;
  width: min(40rem, 100%);
  margin: 2.8rem 0 0.2rem;
}

.note-prose a.oda-paper,
.note-prose a.oda-paper:hover {
  position: relative;
  display: block;
  flex: 0 0 12.5rem;
  width: 12.5rem;
  max-width: 100%;
  margin: 0;
  padding: 0.48rem 0.42rem 0.55rem;
  background: #fffdf9;
  border: 1px solid rgba(60, 50, 44, 0.08);
  box-shadow: 0 12px 22px rgba(60, 50, 44, 0.08);
  color: inherit;
  text-decoration: none;
}

.note-prose .oda-paper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.oda-clip {
  position: absolute;
  z-index: 1;
  top: -0.48rem;
  left: 0.85rem;
  width: 0.72rem;
  height: 1.15rem;
  border: 2px solid #e4b3c0;
  border-radius: 0.45rem;
  background: transparent;
  pointer-events: none;
}

.oda-clip::after {
  content: "";
  position: absolute;
  left: 0.12rem;
  right: 0.12rem;
  top: 0.28rem;
  bottom: 0.16rem;
  border: 1.5px solid #f4c9d3;
  border-bottom: 0;
  border-radius: 0.35rem 0.35rem 0 0;
}

.note-prose .oda-paper:nth-child(3n+1) {
  transform: rotate(-1.8deg);
}

.note-prose .oda-paper:nth-child(3n+2) {
  margin-top: 0.7rem;
  transform: rotate(1.35deg);
}

.note-prose .oda-paper:nth-child(3n+2) .oda-clip {
  left: auto;
  right: 1.05rem;
  transform: rotate(8deg);
}

.note-prose .oda-paper:nth-child(3n) {
  transform: rotate(-0.6deg);
}

.note-prose .oda-paper:nth-child(3n) .oda-clip {
  display: none;
}

.note-prose .oda-paper:nth-child(3n)::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -0.38rem;
  left: 1.15rem;
  width: 2.15rem;
  height: 0.68rem;
  background: rgba(248, 197, 194, 0.9);
  transform: rotate(-7deg);
}

.note-prose a.oda-paper:focus-visible {
  outline: 2px solid #f56f95;
  outline-offset: 3px;
}

@media (max-width: 719px) {
  .note-prose .oda-papers {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }

  .note-prose a.oda-paper,
  .note-prose a.oda-paper:hover,
  .note-prose .oda-paper:nth-child(3n+1),
  .note-prose .oda-paper:nth-child(3n+2),
  .note-prose .oda-paper:nth-child(3n) {
    flex-basis: auto;
    width: min(16.5rem, 88%);
    margin-top: 0;
    transform: none;
  }
}
