.lo-detail {
  padding-top: 116px;
  border-bottom: 2px solid #F4F6F9;
}

.lo-detail .container {
  position: relative;
}

.lo-detail .btn-back {
  width: 48px;
  height: 48px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: #E6E8F0;
  transition: all 0.15s ease-in-out;
}

.lo-detail .btn-back:hover {
  background: #f2f3f8;
  transition: all 0.15s ease-in-out;
}

.lo-detail .btn-back:hover svg {
  scale: 1.1;
  transition: all 0.15s ease-in-out;
}

.lo-detail .btn-taxonomy {
  position: absolute;
  left: 15px;
  top: 0;
}

.lo-detail-hero {
  max-width: 860px;
  width: 100%;
  float: right;
  padding-bottom: 36px;
}

.lo-detail-hero h1 {
  font-family: 'Montserrat';
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -2.88px;
  color: #0C0E19;
  margin-bottom: 8px;
  max-width: 710px;
  width: 100%;
}

.lo-detail-hero .amount-games {
  color: #697089;
  font-size: 16px;
}

.lo-detail-hero-content {
  overflow: hidden;
  max-height: 75px;
  position: relative;
}

.lo-detail-hero-content.open {
  max-height: unset;
}

.lo-detail-hero-content:not(.open):before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 55px;
  background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.lo-detail-hero-content,
.lo-detail-hero-content p,
.lo-detail-hero-content p span,
.lo-detail-hero-content p span a {
  color: #303651;
  font-family: 'Inter';
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.lo-detail-hero-content p span a {
  color: #437CEF;
}

.btn-read-more {
  font-family: 'Inter';
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: #437CEF;
  background: transparent;
  border: none;
  border-bottom: 1px solid #437CEF;
  padding: 0px;
  outline: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-read-more:focus,
.btn-read-more:active {
  outline: none;
}

.btn-read-more:hover {
  color: #2f64d0;
  text-decoration: none;
}

.games-cards {
  flex-direction: column;
  row-gap: 24px;
  max-width: 1142px;
  padding: 36px 15px 70px;
  z-index: 1;
  position: relative;
}

.games-card__card {
  width: 100%;
  flex-direction: row;
  column-gap: 36px;
  box-shadow: 0px 16px 64px 0px rgba(12, 14, 25, 0.12), 0px 0px 12px 0px rgba(12, 14, 25, 0.08);
  background-color: white;
  border-radius: 20px;
  padding: 0 0;
  margin: 0 0;
}

.games-card__card a img {
  min-width: 250px;
  max-width: 250px;
  margin-bottom: 0px;
  transition: all 0.15s ease-in-out;
}

.games-card__card a:hover img {
  transition: all 0.15s ease-in-out;
  filter: opacity(0.9);
}

.games-card__text {
  padding: 16px 32px 16px 0;
  width: 100%;
}

.games-card__title {
  margin: 0 0 8px 0;
}

.games-card__title a {
  color: #303651;
  font-family: 'Montserrat';
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.96px;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}

.games-card__title a:hover {
  text-decoration: none;
  color: #575f85;
  transition: all 0.15s ease-in-out;
}

.games-card__estimation,
.games-card__description {
  margin: 0 0 16px;
  color: #697089;
  font-family: 'Inter';
  font-weight: 500;
}

.games-card__estimation {
  font-size: 14px;
  line-height: 20px;
}

.games-card__description {
  font-size: 16px;
  line-height: 24px;
}

.games-card__description .text-read-more {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: #437CEF;
  padding-bottom: 2px;
  cursor: pointer;
  border-bottom: 1px solid #437CEF;
}

.games-card__description .text-read-more:hover {
  color: #2f64d0;
  border-bottom: 1px solid #2f64d0;
}

.games-card__text > a {
  color: rgb(255, 77, 0);
  border-radius: 10px;
  border: 4px solid rgba(255, 52, 1, 0.16);
  font-family: 'Inter';
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: all 0.15s ease-in-out;
}

.games-card__text > a:hover {
  color: rgb(255, 77, 0);
  border: 4px solid rgba(255, 52, 1, 0.5);
  text-decoration: none;
}

.add-read-more.show-less-content .second-section,
.add-read-more.show-less-content .read-less {
   display: none;
}

.add-read-more.show-more-content .read-more {
   display: none;
}


.related-games {
  padding: 150px 15px;
  position: relative;
  background: #F4F6F9;
}

.related-games .curved-top {
  position: absolute;
  top: 0;
  left: 50%;
  right: 0;
  margin: 0 auto;
  min-width: 1920px;
  width: 100%;
  transform: translateY(-307px) translateX(-50%);
}

.related-games .container {
  width: 100%;
  max-width: 1376px;
}

.related-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 64px;
}

.related-headline h3 {
  color: #0C0E19;
  font-family: 'Montserrat';
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -2px;
  text-align: center;
  width: 100%;
}

.related-headline a {
  position: absolute;
  right: 0;
  top: 0;
  width: 126px;
  height: 48px;
  background: #FFFFFF;
  box-shadow: 0px 0px 10px rgb(177 177 177 / 12%);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Inter';
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #0C0E19;
  padding: 14px 16px;
  text-decoration: none;
  transition: all 0.3s ease-in-out; 
}

.related-headline a svg {
  transition: all 0.3s ease-in-out;
}

.related-headline a:hover {
  background: #E6E8F0;
  color: #0C0E19;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.related-headline a:hover svg {
  transform: translateX(4px);
  transition: all 0.3s ease-in-out;
}


/* MEDIA QUERIES */

@media (min-width: 1000px) {
  .lo-grid { 
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 999px) {
  .header,
  .fixed-header .header {
    height: auto;
    border-bottom: 0px;
  }

  .lo-detail {
    margin-top: 0 !important;
    padding-top: 90px;
  }

  .lo-detail .container {
    max-width: unset;
  }

  .lo-detail .lo-detail-hero {
    max-width: unset;
  }
  
  .lo-detail .btn-taxonomy {
    position: relative;
    margin-bottom: 24px;
  }

  .lo-grid .card:nth-child(3) {
    display: none;
  }

}


@media (max-width: 767px) {
  .lo-grid { 
    grid-template-columns: repeat(1, 1fr);
    place-items: center;
  }

  .lo-grid .card {
    max-width: 438px;
    width: 100%;
  }

  .lo-detail {
    border-bottom: none;
  }

  .lo-detail-hero h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .lo-detail .btn-back {
    width: 36px;
    height: 36px;
  }

  .games-card__card {
    flex-direction: column;
    row-gap: 24px;
    padding-top: 24px;
  }

  .games-card__card > a {
    display: flex;
    justify-content: center;
  }

  .games-card__text {
    padding: 0px 16px 24px 16px;
  }

  .games-card__title {
    font-size: 18px;
    line-height: 28px;
  }

  .games-card__text > a {
    width: 100%;
  }

  .related-games {
    padding: 82px 15px;
  }

  .related-headline {
    flex-direction: column;
  }

  .related-headline h3 {
    font-size: 24px;
    list-style: 32px;
    margin-bottom: 24px;
  }

  .related-headline a {
    position: relative;
  }

  .related-games .curved-top {
    min-width: 100%;
    transform: translateY(-193px) translateX(-50%);
  }
}