.contest-sheet {
  --plum: #312243;
  --iris: #59406f;
  margin: 0 auto 2.5rem;
  color: var(--plum);
  background: #fffefd;
  overflow-wrap: anywhere;
  text-align: left;
}

.contest-sheet *,
.contest-sheet *::before,
.contest-sheet *::after {
  box-sizing: border-box;
}

.contest-sheet__cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: stretch;
  border-block: 1px solid #9f8cb3;
  background: #f0e8f4;
}

.contest-sheet__text {
  align-self: center;
  padding: clamp(1.6rem, 4.2vw, 4.5rem);
}

.contest-sheet #contest-title {
  max-width: 16ch;
  margin: 0 0 1.1rem;
  color: var(--plum);
  font: 500 clamp(2.35rem, 4vw, 4.6rem)/1.06 Georgia, serif;
  letter-spacing: -.045em;
  text-transform: none;
}

.contest-sheet__intro {
  max-width: 56ch;
  font: 400 1rem/1.65 Arial, sans-serif;
}

.contest-sheet__intro p {
  margin: 0 0 .65rem;
}

.contest-sheet__cover .contest-sheet__still {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 610px;
  display: block;
  object-fit: cover;
  object-position: 55% center;
}

.contest-sheet .contest-sheet__pass {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  min-height: 44px;
  margin-top: 1rem;
  padding: .7rem 1.15rem;
  background: var(--plum);
  color: white;
  font: 700 .95rem/1.25 Arial, sans-serif;
  text-decoration: none;
  border: 1px solid var(--plum);
}

.contest-sheet .contest-sheet__pass:hover {
  background: var(--iris);
}

.contest-rules {
  display: grid;
  grid-template-columns: minmax(10rem, .65fr) minmax(0, 1.35fr);
  gap: clamp(1.3rem, 5vw, 5rem);
  padding: clamp(1.25rem, 3.2vw, 3.2rem) clamp(1.3rem, 4.2vw, 4.5rem);
  border-bottom: 1px solid #ab98b7;
}

.contest-rules__label h2 {
  margin: 0 0 .5rem;
  color: var(--plum);
  font: 500 clamp(1.6rem, 2.7vw, 2.6rem)/1.1 Georgia, serif;
}

.contest-rules__label p,
.contest-rules details p {
  margin: 0;
  font: 400 .94rem/1.55 Arial, sans-serif;
}

.contest-rules details {
  border: 0;
  border-top: 1px solid #b5a6be;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
  background: #fffefd;
}

.contest-rules details:last-child {
  border-bottom: 1px solid #b5a6be;
}

.contest-rules summary {
  position: relative;
  display: block;
  cursor: pointer;
  color: var(--plum);
  padding: .86rem 2.4rem .86rem .65rem;
  font: 700 1.03rem/1.35 Arial, sans-serif;
}

.contest-rules summary::-webkit-details-marker {
  display: none;
}

.contest-rules summary::after {
  content: "+";
  position: absolute;
  right: .75rem;
  color: var(--iris);
}

.contest-rules details[open] {
  background: #f3edf7;
}

.contest-rules details[open] summary::after {
  content: "−";
}

.contest-rules details p {
  padding: 0 1rem .9rem .65rem;
}

.contest-rules a {
  color: #503268;
  text-underline-offset: .2em;
}

.contest-sheet :is(a,summary):focus-visible {
  outline: 3px solid #9859ad;
  outline-offset: 2px;
}

@media (max-width: 690px) {
  .contest-sheet__cover {
    grid-template-columns: 1fr;
  }
  .contest-sheet__cover .contest-sheet__still {
    min-height: 0;
    height: clamp(135px, 40vw, 240px);
  }
  .contest-rules {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
