square {
  width: calc(calc(var(--main-width) / 3) - 2em);
  margin: 0 1em;
  position: relative;
}

section:nth-of-type(even) {
  background-color: var(--background-1);
}

section:nth-of-type(odd) square {
  background-color: var(--background-3);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

/* LATEST RELEASES */

section#latest-releases square.release {
  background-color: var(--background);
  box-shadow: none;
}

section#latest-releases square.release .image {
  width: 100%;
  height: 35em;
}

/* BLOG+RADAR */

square h3 a {
  color: var(--foreground) !important;
}

section#blog-radar {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}

section#blog-radar [bind="blog-date"] {
  text-transform: uppercase;
}

subsection main {
  display: flex;
  flex-flow: column wrap;
  width: unset;
  align-items: center;
}

/* ARCHIVE */

#archive-recommendations square {
  filter: grayscale(100%);
}

#archive-recommendations square:hover {
  filter: none;
}

@media (max-width: 80em) {
  section {
    width: 100%;
    margin: 1em 0;
  }

  section > a {
    display: block;
    position: sticky;
    top: 4em;

    z-index: 2;
  }

  section#blog-radar {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }

  section#blog-radar subsection {
    width: 100%;
  }

  section#blog-radar subsection square {
    margin: 0 auto !important;
  }

  subsection#radar {
    margin-top: 3em;
  }

  subsection#radar square {
    min-height: unset;
  }
}

@media (min-width: 80em) {
  section#blog-radar {
    margin: 1em;
  }

  subsection#blog,
  subsection#radar {
    margin: 0 1em;
  }

  subsection#radar {
    width: calc(calc(var(--main-width) / 3) - 2em);
  }

  subsection#radar square {
    width: unset;
    margin: 0;
  }

  subsection#radar square .image {
    height: 32em;
    margin: auto;
  }

  subsection#blog {
    width: calc(calc(var(--main-width) * calc(2/3)) - 2em);
  }

  subsection#blog square {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    height: 30em;
    margin: 0;
  }

  subsection#blog square .image {
    width: 50%;
    height: 32em;
  }

  subsection#blog square .info {
    width: calc(50% - 2em);
  }
}
