h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}

p {
  margin: 0;
}

.section--content__block--intro,
.section--content__block--intro p {
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  line-height: 1.2;
  margin: 0;
  margin-top: 1rem;
}

.wp-content p {
  line-height: 1.8;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}

.wp-content > p:first-of-type {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1;
  display: flex;
  color: var(--clr);
  background: var(--assignment-color, var(--blue));
  flex-direction: column;
}

.description h2:first-of-type {
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  font-weight: 600;
  margin: 0;
  margin-bottom: .875rem;
}

.main-content {
  display: inherit;
  grid-template-columns: inherit;
  gap: inherit;
}

.main-content,
.section--content,
.assignment,
.section--content:last-child > div.section--content__block {
  grid-column: 1 / -1;
}

.section--content__block--hero:has(img) {
  margin-inline: -2rem;
  position: relative;
}

@media (min-width: 900px) {
  .section--content__block--hero:has(img) {
    margin-top: -10rem;
  }
}

.section--content__block--hero img {
  height: 100%;
  width: 100%;
  max-height: 80vh;
  max-width: 102.5rem;
  margin-inline: auto;
  object-fit: contain;
}

.section--content__block--hero:has(img) h1 {
  /* just a test */

  padding-inline: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.section--content:last-child {
  grid-template-columns: inherit;
  gap: inherit;
  display: inherit;
}

.wp-content {
  text-align: center;
  padding: 4.3125rem 2.75rem;
  background: var(--bg);
  border-radius: 0.625rem;
  height: fit-content;
}

.section--content__block + .assignment {
  margin-top: calc(3rem + 2vw);
}

@media (min-width: 75rem) {
  .section--content:last-child > div.section--content__block {
    grid-column: 1 / 5;
  }

  .assignment {
    grid-column: 5 / -1;
  }

  .section--content__block + .assignment {
    margin-top: unset;
  }
}

.assignment {
  background: var(--assignment-color, #b8e6ff);
  padding-left: 2.25rem; /* 36px */
  padding-right: 2.25rem; /* 36px */
  padding-top: max(3rem, 4.375rem); /* min 3rem, up to 70px */
  padding-bottom: max(2.5rem, 7.5rem); /* min 2.5rem, up to 120px */
  height: fit-content;
  border-radius: 0.625rem .625rem 0 0;
  border: 2px solid var(--assignment-color-d);
  border-bottom: 0;
}

:root[data-color-scheme="dark"] .assignment {
  background: var(--assignment-color, #134384);
  border-color: var(--assignment-color-l);
}

.assignment > * {
  margin: 0;
  padding: 0;
}

.assignment header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
}

.assignment header h2 {
  margin: inherit;
  line-height: 1;
  font-weight: 600;
  font-size: inherit;
}

.assignment header svg {
  height: 2.5rem;
  aspect-ratio: 1;
}

.assignment header button {
  gap: 1rem;
  padding: 0.125rem 0.375rem;
  background: unset;
  border: unset;
  font-size: calc(1em * 0.85);
  display: flex;
  align-items: center;
  text-transform: inherit;
  border-radius: unset;
}

.assignment header button:hover {
}

.assignment :first-child + p {
  margin-top: 5.5rem;
}

.assignment p + ol,
.assignment p + ul {
  margin-top: 2rem;
}

.assignment :first-child + ol,
.assignment :first-child + ul {
  margin-top: 5.5rem;
}

.assignment > ol,
.assignment > ul {
  list-style: inside;
  list-style-type: auto;
}

.assignment ol,
.assignment ul {
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  line-height: 1.43;
  font-weight: 500;
}

.assignment ol li + li,
.assignment ul li + li {
  margin-top: 2.25rem;
}

.assignment li > ul,
.assignment li > ol {
  font-size: calc(1em * 0.85);
  margin-top: 1.25rem;
}

.assignment li > ul li,
.assignment li > ol li {
  margin-top: 1rem;
}

li::marker {
  font-size: calc(1em * 1.15);
  font-weight: 600;
}

.print-all {
  display: none;
}

/* INSPIRED BLOCK */
.inspired {
  text-transform: uppercase;
  font-size: clamp(1.625rem, 5vw, 3.125rem);
  width: 100%;
  gap: .75rem;
}

.inspired p {
  font-size: inherit;
  display: block;
  font-family: inherit;
  text-align: center;
  line-height: normal;
}

.inspired p{
  line-height: 1;
}

.inspired + .description{
  margin: 1.75rem 0;
}

.inspired p:last-child {
  background: var(--blue-d);
  color: var(--white);
  font-size: clamp(1.5rem, 6vw, 3.75rem);
  border-radius: 4rem;
  padding: 3.125rem 1.5rem 2.5rem 1.5rem;
}

@media (min-width: 32rem) and (max-width: 75rem) {
  .inspired {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .inspired p {
    display: block;
    width: fit-content;
  }
}

:root[data-color-scheme="dark"] :is(h1, .assignment, .assignment button) {
  color: var(--bg);
}
