body,
html {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    padding: 0;
    margin: 0;
}

/* ================================= */
/*             GEM CARD              */
/* ================================= */

a.gem-card-link {
  text-decoration: none;
}

.entry-gem-card.large img,
.entry-gem-card.small img {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}

.entry-gem-card.large {
  display: block;
  position: relative;
  margin: 0 auto 1rem auto;
  padding: 0;
  max-width: 37.5rem;
  height: auto;
  box-sizing: border-box;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 33.33%, rgba(0, 0, 0, 0) 100%);
  border-radius: 0.375rem;
  overflow: hidden;
}
.entry-gem-card.large.legacy {
  margin: 0 auto;
}
.entry-gem-card.large figcaption {
    padding: 3rem;
    color: white;
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 33.33%, rgba(0, 0, 0, 0) 100%);
}
.gem-card-contents {
  display: flex;
  position: relative;
  align-content: space-between;
  flex-wrap: wrap;
  width: 60%;
  height: 100%;
}
.gem-card-contents .gem-logo {
  display: block;
  position: relative;
  margin-left: -0.675rem;
}
.gem-card-contents .gem-card-title {
  display: block;
  position: relative;
  font-size: 2rem;
  line-height: 2.25rem;
  font-weight: 700;
  width: 100%;
}
.gem-card-contents .gem-card-description {
  display: block;
  position: relative;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 500;
  width: 100%;
}
.gem-card-contents .watch-button {
  display: flex;
  position: relative;
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  background-color: #D81E05;
  transition: background-color ease-in-out 200ms;
  border-radius: 50vh;
  font-size: 0.875rem;
  line-height: 1.25rem;
  flex-wrap: nowrap;
  align-content: center;
  justify-items: center;
  font-weight: 600;
}
.gem-card-contents .watch-button .play-icon {
  display: inline-block;
  position: relative;
  height: 1.25rem;
  width: auto;
  margin-right: 0.5rem;
}
.entry-gem-card.large:hover .gem-card-contents .watch-button {
  background-color: #7d1102;
}

.entry-gem-card.small {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    flex-wrap: nowrap;
    padding: 1rem 0;
    margin: 1rem auto;
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: left;
}
.entry-gem-card.small.legacy {
    border-top: none;
    border-bottom: none;
	padding: 0;
}
.entry-gem-card.small .watch-button {
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    overflow: hidden;
    max-width: 12rem;
    align-items: center;
    justify-content: center;
    background-color: #000;
    transition: background-color ease-in-out 200ms;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 2rem;
    text-transform: uppercase;
    margin-top: 1rem;
}
.entry-gem-card.small .watch-button figcaption {
    display: inline-block;
    position: relative;
    text-align: center;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 0 0.25rem 0;
    font-size: 0.675rem;
    line-height: 0.675rem;
}
.entry-gem-card.small .watch-button img {
  margin: 0rem;
  height: 2rem;
  width: auto;
}
.entry-gem-card.small .gem-card-title {
    display: block;
    position: relative;
    font-size: 1.5rem;
    line-height: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.entry-gem-card.small .gem-card-description {
    display: block;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.entry-gem-card.small img {
    display: block;
    position: relative;
    width: 35%;
    max-width: 14rem;
    height: auto;
    border-radius: 0.5rem;
    margin-right: 1.5rem;
}
.entry-gem-card.small figcaption {
    display: block;
    position: relative;
    width: 100%;
    color: #000;
    padding: 0;
}
.entry-gem-card.small:hover .watch-button {
  background-color: #424242;
}


/* ================================= */
/*          MEDIA QUERIES            */
/* ================================= */

@media only screen and (max-width: 550px) {
  .legacy.gem-card-link {
    height: 10rem;
    margin: 0;
  }
  .legacy.entry-gem-card.small {
    flex-wrap: nowrap;
  }
  .legacy.entry-gem-card.small img {
    width: 35%;
    margin: 0 1rem 0 0;
    max-width: 14rem;
  }
  .legacy.entry-gem-card.small figcaption {
    text-align: left;
  }
  .legacy.entry-gem-card.small figcaption .gem-card-title {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
  .legacy.entry-gem-card.small figcaption .gem-card-description {
    font-size: 0.875rem;
    line-height: 1rem;
  }
  .legacy.entry-gem-card.small figcaption .watch-button {
    max-width: 10rem;
    padding: 0 0.25rem;
    margin: 0.5rem 0;
  }
  .legacy.entry-gem-card.small figcaption .watch-button .watch-text {
    font-size: 0.875rem;
    font-weight: 500;
  }
  .legacy.entry-gem-card.small figcaption .watch-button img {
    height: 1.5rem;
  }

  .legacy.entry-gem-card.large {
    max-width: unset;
    background: none;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    min-width: unset;
    margin-bottom: 0;  
  }
  .legacy.entry-gem-card.large figcaption {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 33.33%, rgba(0, 0, 0, 0) 100%);
    padding: 1rem 2rem;
    position: absolute;
  }
  .legacy.entry-gem-card.large .gem-card-contents {
    text-align: left;
    height: 100%;
  }
  .legacy.entry-gem-card.large .gem-card-contents .gem-logo {
    margin-bottom: 0.5rem;
    width: 5rem;  
  }  
  .legacy.entry-gem-card.large .gem-card-contents .gem-card-title {
    width: 100%;
    margin: 0.5rem 0;
    font-size: 1.5rem;
    line-height: 1.75rem;
  }
  .legacy.entry-gem-card.large .gem-card-contents .gem-card-description {
    width: 100%;
    margin: 0.25rem 0;
    font-size: 0.875rem;
    line-height: 1rem;
  }
  .legacy.entry-gem-card.large .gem-card-contents .watch-button {
    margin: 0.5rem 0;
  }
  
  .entry-gem-card.small {
    flex-wrap: wrap;
    min-width: 20.5rem;
  }
  .entry-gem-card.small img {
    width: 100%;
    max-width: none;
    margin: 0 0 1rem 0;
  }
  .entry-gem-card.small figcaption {
    text-align: center;
  }
  .entry-gem-card.small .watch-button {
    margin: 1rem auto;
  }
  
  .entry-gem-card.large {
    max-height: none;
    background-color: #000;
    min-width: 20.5rem;
  }
  .entry-gem-card.large img {
    position: absolute;
    z-index: 1;
  }
  .entry-gem-card.large figcaption {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 1) 100%);  
  }
  .entry-gem-card.large .gem-card-contents {
    width: 100%;
    height: auto;
  }
  .entry-gem-card.large .gem-card-title {
    width: calc(100% - 2rem);
    margin: 0.5rem 1rem;
  }
  .entry-gem-card.large .gem-card-description {
    width: calc(100% - 2rem);
    margin: 0.5rem 1rem;
  }
  .entry-gem-card.large .watch-button {
    margin: 1rem auto;
  }
  .entry-gem-card.large .gem-logo {
    margin-bottom: 4rem;
  }
  .entry-gem-card.large .gem-logo img {
    position: relative;
  }

}
