body.default {
  background-color: rgb(249, 249, 249);
}

article {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  font-size: 1.75em;
  font-family: hershey-times, serif;
}

figure {
  margin: 0 0 1em 0;

}

iframe {
  width: calc((100vw - 4em)*0.72);
  height: calc((100vw - 4em)*.72*0.5625);
}

p {
  margin-bottom: 1em;
  margin-block-start: 0em;
}

audio {
  width: 100%;
  margin-bottom: 1em;
}

figcaption {
  font-family: hershey-futura, sans-serif;
  font-size: 1.25rem;
}

.project-title {
  width: 66vw;
  margin-top: 7rem;
  /*font-weight: normal;*/
  font-size: 4.5vw;
}
.metadata {
  font-size: 1.5rem;
  font-family: hershey-futura, sans-serif;
}
.caption {
  font-size: 1.25rem;
}
.sidebar-image img,
.blocks_wrapper img {
  max-width: 100%;
  max-height: 75vh;
}

article>div:first-of-type {
  padding-right: 1em;
}

.sidebar-tags,
.sidebar-image {
  margin-bottom: 1em;
}

.sidebar-tags {
  /*font-style: italic;*/
}

.blocks_wrapper {
  order: 1;
}

.sidebar {
  order: 2;
}

.sidebar-images-carousel {
  background-color: yellow;
}

/*RELATED PROJECTS*/
.related-projects-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 1em;
}

.related-project {
  width: calc(50% - 1em);
  vertical-align: top;
  padding: initial;
  margin-top: initial;
  font-size: 1.5rem;
}

.related-project .title,
.rel-tag {
  font-size: 1.5rem;
}
.related-project:hover {
  /*background-color: initial;*/
}

.related-project:hover+.title {
  background-color: pink;
}

.related-project img {
  display: block;
  width: 100%;
  height: 20vw;
  object-fit: cover;
}

.related-project a {
  text-decoration: none;
}

a.related-project {
  text-decoration: none;
  padding: 0.3em;
}

.related-project .title {
  margin: 1em 0;
}
.related-project .rel-tag {
  text-decoration: underline;
  font-family: hershey-futura;
}
.related-project .rel-tag:hover {
  text-decoration: none;
  backgroun-color: #FFFCBA;
}

/*MOBILE STYLES*/
@media (max-width: 800px) {
  .project-title {
    width: initial;
    text-align: center;
    font-size: 2em;
    margin-top: 3em;
  }

  article>div:first-of-type {
    padding-right: initial;
  }

  article {
    grid-template-columns: 1fr;
    font-size: 1.25em;
  }

  figcaption {
    font-size: 0.75em;
  }

  .blocks_wrapper {
    order: 2;
    margin-top: 1em;
  }

  .sidebar {
    order: 1;
  }

  .metadata {
    text-align: center;
    font-size: 1rem;
  }

  .caption {
    text-align: center;
  }

  iframe {
    width: calc(100vw - 3em);
    height: calc((100vw - 3em)*0.5625);
  }
  .related-project {
    width: 50%;
    margin-right: 0.5em;
  }
  .related-project .title,
  .rel-tag {
    font-size: 1rem;
  }
}

/*CAROUSEL*/
.carousel {
  border: 1px solid black;
  position: relative;
  width: calc(100vw - 2em);
}

.carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: scroll;
  /*position: absolute;*/
  left: 0;
}

.carousel-image {
  width: 80vw;
  margin-left: 5vw;
}

.buttons {}

.carousel-button {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5vw;
  border: 1px solid red;
}

.next {
  right: 0;
}

.previous {
  left: 0;
}
