@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:wght@300;400;600&family=PT+Sans:wght@400;700&display=swap');

.category-listing {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 960px;
  margin: auto;
  margin-top: 4rem;
}

.listing {
	grid-template-columns: 1fr 1fr 1fr;
	align-items: start;
	display: grid;
}

.listing-item,
.listing-item:visited {
  margin: 0.5rem;
  color: #fff;
  text-decoration: none;
}
.listing-item:hover {
  color: #fff;
  text-decoration: underline;
}

.genre-image {
	width: 100%;
	max-height: 10rem;
	overflow: hidden;
	object-fit: cover;
}

.genre-block.category {
  display: flex;
  position: relative;
  border-radius: 0.5rem;
  background-color: #CA4B02;
  border: none;
  padding: 0.5rem 1rem;
  height: 7rem;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  width: calc(25% - 2rem);
}

.genre-block figure {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
}

.genre-block figcaption {
	display: flex;
	position: absolute;
	width: 100%;
    height: 100%;
    flex-wrap: nowrap;
	font-weight: 500;
	text-transform: uppercase; 
	font-family: 'Sofia Pro',PingFangSC,sans-serif;
	font-size: 1.5rem;
	line-height: 1.7rem;
	top: 0;
	left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
	text-align: center;
	margin: auto;
	color: white;
	z-index: 3;
	background-color: #00000070;
	padding: 0.5rem;
	border-radius: 12px;
}

.category-swim-lane-container {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0 auto 1rem auto;
  max-width: 48rem;
  transition: 1s ease height;
  box-sizing: border-box;
}

.category-swim-lane {
  background-color: #262626;
  padding: 1rem;
  text-align: center;
}
.category-swim-lane .listing {
  max-width: 60rem;
  margin: 0 auto;
}
.category-swim-lane .genre-block figure {
  height: 8rem;
  width: 16rem;
}
.category-swim-lane .genre-block figcaption {
  height: 8rem;
  width: 16rem;
  font-size: 1.25rem;
  line-height: 1.5rem;
}
.category-swim-lane .genre-block-item figure figcaption .genre-block-title {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 200;
  margin-bottom: 0;
}
.category-swim-lane .genre-block-item figure figcaption .genre-block-description {
  display: none;
}
.category-swim-lane .genre-block-item figure img {
  max-width: 7rem;
}

.category-toggle {
  display: inline-block;
  position: relative;
  padding: 0.5rem 1rem;
  margin: 0.5rem auto;
  text-align: center;
  color: #fafafa;
  background-color: transparent;
  font-size: 1.25rem;
  line-height: 1.75rem;
  cursor: pointer;
}
.category-toggle .toggle-symbol {
  font-size: 0.75rem;
  margin-left: 0.75rem;
}

.listing-item.genre-block a {
	text-decoration: none;
	color: #000;
}

.image-overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 33.33%, rgba(0, 0, 0, 0.4) 100%);
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
}

.tile-link-container {
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.tile-link {
  text-decoration: none;
}
.tile-link:hover {
  text-decoration: none;
}

.tile-link-button {
  display: flex;
  position: relative;
  max-width: 10rem;
  text-align: center;
  height: auto;
  justify-content: center;
  align-items: center;
  background-color: #ccc;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin: 0 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  text-transform: uppercase;
  font-weight: 300;
}

.tile-link-button.submit-btn-title {
	max-width: inherit;
    background-color: #c74255;
    color: #fff;
    font-weight: bold;
    margin-top: 2rem;
}

a.tile-link.pitch-portal:hover {
	text-decoration: underline;
    color: #fff!important;
}

.genre-block-item {
  display: block;
  position: relative;
  margin: 0 0 1rem 0;
  border-radius: 0.75rem;
  border: 1px solid #a0a0a0;
  padding: 0.75rem;
  box-sizing: border-box;
  width: 100%;
  background-color: #fafafa;
  text-decoration: none;
}

.genre-block-item:hover{
	border: 1px solid #000;
}

.genre-block-item figure {
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  /* max-height: 90px; */
  overflow: hidden;
}
.genre-block-item figure img {
  width: 100%;
  max-width: 10rem;
  border-radius: 0.5rem;
}
.genre-block-item figure figcaption {
  margin: 0 0 0 1rem;
}
.genre-block-item figure figcaption .genre-block-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  text-align: left;
}
.genre-block-item figure figcaption .genre-block-description {
  display: block;
  font-size: 1.0625rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  text-align: left;
}

.genres .section-element-container.heading.medium {
	background-color: #fff;
}

.pdf-link-container {
  display: block;
  position: relative;
  list-style: none;
  padding: 0 0 0 1rem;
  margin: 0;
}
.pdf-link-container li {
  display: block;
  position: relative;
  padding: 0;
  margin: 0 0 0.25rem 0;
}
.pdf-link-container li i.far {
  font-size: 0.875rem;
  color: #D8232A;
  margin-right: 0.75rem;
}
.pdf-link {
}


@media screen and (max-width: 800px) {
  .genre-block-item figure figcaption .genre-block-title {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
  .genre-block-item figure figcaption .genre-block-description {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

@media screen and (max-width: 640px) {
  .genre-block.category {
    margin: 0.25rem;
    height: 7rem;
    width: calc(50% - 1rem);
  }

  .genre-block-item figure {
    max-height: unset;
    align-items: flex-start;
  }
  .genre-block-item figure figcaption .genre-block-title {
    font-size: 1rem;
    line-height: 1.25rem;
  }
  .genre-block-item figure figcaption .genre-block-description {
    font-size: 0.75rem;
    line-height: 1rem;
  }
  
  .listing {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 480px) {
/*
  .category-listing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 0.5rem;
    grid-row-gap: 0.5rem;
    max-width: calc(100% - 2rem);
  }
*/

  .genre-block-item figure img {
    max-width: 8rem;
  }
  
  .category-swim-lane .genre-block-item {
    padding: 0.375rem;
  }
  .category-swim-lane .genre-block-item figure figcaption .genre-block-title {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 0;
  }
  
  .listing {
	grid-template-columns: 1fr;
  }
}
