body {
  background-color: #e9f2f2;
}

main {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 100%;
}
h2{
  font-size: 1.6rem;
  font-weight: 300;
}
.content {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: 2rem;
  margin-top: 1rem;
}

.banner {
  grid-column: 1;
  grid-row: 1;
  background-color: #18baad;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column-reverse;
  gap: 1rem;
  color: #fff;
  text-align: center;
  padding: 1rem;
}
.search-hb {
  display: none !important;
}
.voto-generale {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: #fff;
  border-radius: .3rem;
  color: #222;
  border: 2px solid #10a498;
}

.voto-generale strong {
  font-size: 3rem;
}

.recensioni {
  display: grid;
  grid-template-columns: 100%;
  gap: 2rem;
  padding: 1rem;
}

.recensioni>div {
  padding: 1rem;
  background-color: #fff;
  border-radius: .3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recensioni>div>.voto .nome {
  display: flex;
  flex-direction: column;
  flex: 0 0 130px;
}

.recensioni>div>.voto {
  display: flex;
  flex-direction: row;
  gap: .5rem;
  justify-content: space-between;
}

.opin {
  color: #555 !important;
  background-color: #f5f5f5;
  padding: .5rem;
  border-radius: .2rem;
  height: 100%;
}

.recensioni .opin p {
  max-height: 60px;
  overflow-y: auto;
}

.banner [class*="star-color-"] {
  font-size: 1.8rem;
}
.recensioni [class*="star-color-"] {
  font-size: 1.2rem;
}
.star-color-1 {
  color: #e81600;
}

.star-color-2 {
  color: #e88300;
}

.star-color-3 {
  color: #e8c300;
}

.star-color-4 {
  color: #bed900;
}

.star-color-5 {
  color: #58d900;
}

.star-color-0 {
  color: #ddd;
}

.user-initial-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 700;
  color: white;
  font-size: 1.2rem;
  background-color: #18baad;
}

.recensioni .voto>div:first-child {
  flex-shrink: 0;
}

.recensioni .star {
  width: 100%;
  text-align: right;
}
.testo-intr {
  font-size: 1.2rem;
  line-height: 1.8rem;
  text-align: center;
  padding: 1rem;
  max-height: 200px;
  overflow-y: auto;
}
.pagination {
  justify-content: center;
}
.ordinamento{
  width: 100%;
}

@media(min-width: 1024px) {
  .content {
    grid-column: 2/3;
    grid-row: 2;
    gap: 4rem;
  }

  main {
    grid-template-columns: 1fr minmax(900px, 1400px) 1fr;
    grid-template-rows: 200px auto;
  }

  .banner {
    grid-column: 1/4;
    grid-row: 1;
    flex-direction: row;
    text-align: left;
    padding: 0;
  }
  .recensioni {
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}
.testo-intr {
padding: 0;
max-height: none;
  overflow-y: visible;
}
.banner div:nth-child(2){
max-width: 800px;
}
}