.toplist {
  padding: 0;
  margin-top: 2rem;
}

.toplist-main {
  position: relative;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

li.toplist-main, 
.toplist.casino-banner .toplist-main{
  padding: 2rem;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 0.8rem;
}

li.toplist-main {
  margin-bottom: 3rem;
}

.toplist.casino-banner .toplist-main { background-color:#f2f2f2}

.toplist-main .toplist-main-inner {
  max-width: 29rem;
}

.toplist-main,
.toplist-main .logo {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
}

.toplist-main .logo {
  position: relative;
  -webkit-box-align: start;
  align-items: flex-start;
}
.toplist-main .logo img {
  width: 16rem;
  border-radius: 8px;
  margin: 1rem 1rem 1.5rem;
  height: auto;
}
.toplist-main .logo-info {
  justify-content: center;
}

.toplist-main .title-rating .toplist-badges,
.toplist-main .title-rating .toplist-title {
  display: block;
}

.toplist-main .toplist-title {
  width: 100%;
  white-space: nowrap;
}
.toplist-main .toplist-title a,
.toplist-main .toplist-title span {
  display: -webkit-box;
  display: flex;
  color: #000;
  font-weight: 700;
}
.toplist-main .toplist-title a {
  color: #00863a !important;
}

.toplist-main .title-rating {
  display: grid;
}

.toplist-main .toplist-oneliner {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
}

.toplist .info p {
  font-size: 1.2rem;
  color: #666;
  line-height: 2.1rem;
  padding-top: 0.6rem;
  margin-bottom: 0;
}

.info {
  width: 100%;
}

.toplist-cta {
  margin-top: 2rem;
  text-align: center;
}

.toplist-cta a.wp-block-button__link {
    height: 54px;
    display: flex;
    align-items: center;
	justify-content:center;
	width: 209.66px;
    margin-left: auto;
    margin-right: auto;
}

.custom-label {
  position: absolute;
  top: -12px;
  border-radius: 8px 8px 0 0;
  background-color: #00863a;
  padding: 0px 8px;
  color: #fff;
  width: 162px;
  letter-spacing: -0.5px;
  line-height: 28px;
}
.custom-label svg {
    display: block;
    float: left;
    width: 18px;
    margin-right: 8px;
    margin-top: 5px;}

.custom-label span {
  line-height: 28px;
}

.reviewread {
  font-size: 1em;
  padding: 0.667em 1.333em;
}

@media screen and (min-width: 640px) {
  .custom-label {
    left: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .custom-label {
    left: auto;
    right: auto;
  }
 li.toplist-main .info .toplist_name {
    display: none;
  }
	
	
}

@media only screen and (min-width: 864px) {
	
  li.toplist-main .toplist-main-inner, .toplist.casino-banner .toplist-main-inner {
    max-width: unset;
    display: flex;
    grid-column-gap: 2rem;
    width: 100%;
  }
	
  li.toplist-main, .toplist.casino-banner  .toplist-main{
    text-align: unset;
  }
	li.toplist-main, .toplist.casino-banner .toplist-main{
    padding: 2.4rem;
  }
	
  .toplist-main .logo img {
    margin: 12px 0 0 0;
  }
  .toplist-main .title-rating {
    -webkit-box-pack: center;
    justify-content: center;
  }
  li.toplist-main .title-rating .toplist-badges,
  li.toplist-main .title-rating .toplist-title {
    display: none;
  }
}

@media only screen and (max-width: 863px) {
		
  .toplist-main .logo img {
    width: 10rem;
  }
  .toplist-main .logo-info {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: start;
    justify-content: flex-start;
    margin-bottom: 1rem;
  }
  li.toplist-main .info .toplist_name {
    display: none;
  }
}



/**ДЛЯ ОБЗОРА**/
.toplist-single-header .toplist-cta a.wp-block-button__link {background-color: #0e863b;}
.toplist-single-header .logo-container {position: relative;}


.toplist-single-header .toplist-main .logo-container img {width: 18rem;padding:2rem;}
.toplist-single-header .logo-info .logo-container {background:#fff;display:block;padding-bottom:3.2rem;padding-top:1.6rem;}
.toplist-single-header .logo-info{padding-top:1.6rem;}



.reviewread {
    display: inline-block;
    margin: 1.2rem 0;
	line-height:3.2rem;
}

.toplist-single-header .custom-label {width: 100%;left:0;top:-24px;text-align:center;}
.toplist-single-header .custom-label svg {position: absolute;}


.toplist-single-header {margin-top:0;}
.toplist-single-header h1 {margin-bottom:1.6rem;margin-top:0rem;}
.toplist-single-header .toplist-oneliner {margin-bottom:1.2rem;}

.toplist .info p {
    font-size: 1.3rem;
    line-height: 2.1rem;
}

.toplist-single-header .toplist-cta {text-transform:uppercase;}
.toplist-single-header .toplist-cta i {margin-right:8px;font-size:2.4rem;}


@media only screen and (max-width: 1119px) {
	h1.toplist-title a{ justify-content: center;}
}
@media only screen and (min-width: 1120px) {
  .toplist-single-header .toplist-main {
    text-align: unset;
  }
  .toplist-single-header .toplist-main .toplist-main-inner {
    max-width: unset;
    display: flex;
    grid-column-gap: 3.2rem;
    width: 100%;
  }
}