.casino_query_block.two {
  gap:15px;
}
.casino_query_block.show_counter.two{
  counter-reset: card-counter;
  counter-reset: card-counter var(--start-from, 0);
}
.casino_query_block.show_counter .card-two-info-box::before {
  counter-increment: card-counter;
  /* content: "Section " counter(section) ": "; */
  content: "# " counter(card-counter);
  position: absolute;
  padding: 8px 12px 8px 9px;
  background: var(--wp--preset--color--primary-color);
  background-size: 200%;
  color: var(--wp--preset--color--white);
  z-index: 4;
  font-weight: 700;
  font-size: 14px;
  top: 0;
  bottom: 0;
  letter-spacing: -0.1em;
  line-height: 1;
  height: fit-content;
  margin: auto;
  left: 0;
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
}
.casino_query_block.show_counter.two .card-two-info-box{padding-left:40px;}

.card-two *{
  box-sizing:border-box;
}
.card-two{
  border-radius:8px;
  overflow:hidden;
  position:relative;
  width:100%;
  float:left;
  margin-left:0;
  line-height:1.4;
  margin-right:0;
  margin-left:0;
}
.card-two-content-box{
  flex-wrap:wrap;
  display:flex;
  position:relative;
  margin-right:0;
  margin-left:0;
}
.card-two-info-box{
  z-index: 1;
  display:flex;
  flex-direction:row;
  float:left;
  background:var(--wp--preset--color--dark);
  padding:10px;
  margin-right:1%;
  position:relative;
  width:100%;
  min-height:1px;
  -ms-flex:0 0 32.333333%;
  flex:0 0 32.333333%;
  max-width:32.333333%;
  height:100%;
}

.card-two-info-box:after{
  content:" ";
  position:absolute;
  display:block;
  width:100%;
  height:100%;
  top:0;
  left:0;
  z-index:-1;
  background:var(--wp--preset--color--dark);
  transform-origin:bottom left;
  -ms-transform:skew(-12deg, 0deg);
  -webkit-transform:skew(-12deg, 0deg);
  transform:skew(-12deg, 0deg);
}
.card-two-logo{
  flex: 0 0 94px;
  margin-left:15px;
  height:94px;
  display:flex;
  align-items:center;
  border-radius:100%;
  overflow: hidden;
  border: 2px solid var(--wp--preset--color--white);
}
.card-two-logo img{
  width:94px;
  display: inherit;
}
.card-two-casino-details{
  flex: 1 1 100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.card-two-casino-title{
  margin:0;
  line-height:1;
  text-align:center;
  color:var(--wp--preset--color--white);
  font-weight:600;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--secondary-font);
}
.card-two-casino-title a{
  color:var(--wp--preset--color--white);
  transition:all .15s ease-in-out;
}
.card-two-casino-title a:hover {
  color:var(--wp--preset--color--primary-color);
}
.card-two-rating{
  line-height:1;
}
.card-two-casino-bonus-container{
  background:var(--wp--preset--color--lighter);
  transform-origin:bottom left;
  -ms-transform:skew(-12deg, 0deg);
  -webkit-transform:skew(-12deg, 0deg);
  transform:skew(-12deg, 0deg);
  margin-right:1%;
  position:relative;
  width:100%;
  min-height: 114px;
  -ms-flex:0 0 38.666667%;
  flex:0 0 38.666667%;
  max-width:38.666667%;
  display:flex;
  align-items:center;
  padding:0 40px;
  font-family: var(--secondary-font);
}
.card-two-casino-bonus-text{
  text-align:center;
  transform:skew(12deg, 0deg);
  width:100%;
  font-family: var(--primary-font);
  color:var(--wp--preset--color--dark);
}
.card-two-casino-bonus-text h3, .card-two-casino-bonus-text h2, .card-two-casino-bonus-text h1{
  margin:0;
  font-size: 18px;
  font-family: var(--primary-font);
  color:var(--wp--preset--color--dark);
}
.card-two-casino-bonus-text h5, .card-two-casino-bonus-text h4, .card-two-casino-bonus-text h6{
  margin:0;
  font-size: 16px;
  font-family: var(--primary-font);
  color:var(--wp--preset--color--dark);
}
.card-two-casino-button-container{
  z-index: 1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-family: var(--secondary-font);
  background: var(--wp--preset--gradient--flag);
  margin-left:2%;
  padding-right:0;
  padding-left:0;
  position:relative;
  width:100%;
  min-height:114px;
  flex:0 0 25%;
  max-width:25%;
}
.card-two-casino-button-container:before{
  content:" ";
  position:absolute;
  display:block;
  width:100%;
  height:100%;
  left:-8%;
  top:0;
  z-index:-1;
  background-image: var(--wp--preset--gradient--flag);
  transform-origin:bottom left;
  -ms-transform:skew(-12deg, 0deg);
  -webkit-transform:skew(-12deg, 0deg);
  transform:skew(-12deg, 0deg);
}
.card-two-casino-terms{
  width:100%;
  float:left;
  margin-top:5px;
  font-size:11px;
  text-transform:uppercase;
  height:15px;
  vertical-align:top;
  transition: all 0.4s ease 0s;
}

.card-two-casino-terms:hover{
  text-decoration: underline;
}
.card-two-casino-button-container a{
  color:#fff;
}
.casino_query_block.two .btn.btn-primary{
  background:var(--wp--preset--color--white);
  color:var(--wp--preset--color--dark);
  padding:10px 24px;
  font-weight:800;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:2px;
}
.casino_query_block.two .btn.btn-primary:hover{
  color:var(--wp--preset--color--primary-color);
  background:var(--wp--preset--color--white);
}
.casino_query_block.two .btn{
  display:inline-block;
  font-weight:400;
  color:#212529;
  text-align:center;
  vertical-align:middle;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
  background-color:transparent;
  padding:.375rem .75rem;
  font-size:1rem;
  line-height:1.5;
  border-radius:2.25rem;
  transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
@media screen and (max-width: 1024px){
  .card-two{
    margin-bottom:20px;
    flex:1 1 325px;
  }
  .card-two-info-box{
    flex:0 0 100%;
    max-width:100%;
    text-align:center;
    margin-right:0;
    margin-bottom:10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 190px;
    padding-top: 20px;
  }
  .card-two-logo{
    margin-left:0;
    float:none;
  }
  .card-two-casino-details{
    width:100%;
  }
  .card-two-casino-bonus-container{
    flex:0 0 100%;
    max-width:100%;
    transform:none;
    margin-right:0;
    margin-bottom:10px;
  }
  .card-two-casino-bonus-text{
    transform:none;
  }
  .card-two-casino-button-container{
    flex:0 0 100%;
    max-width:100%;
    margin-left:0;
    padding: 0 40px;
  }
  .casino_query_block.two .btn.btn-primary{
    width: 100%;
  }
  .card-two-casino-button-container:before,.card-two-info-box:after{
    display:none;
  }
  .casino_query_block.show_counter.two .card-two-info-box{
    padding-left:0;
  }
}
@media screen and (max-width: 763px){
  .card-two-info-box{
    padding-top:25px;
    margin-bottom:0;
  }
  .card-two-casino-bonus-container{
    margin-bottom:0;
  }
  .card-two-casino-details{
    padding:0px 50px 10px 50px;
  }
  .card-two-casino-title{
    margin-bottom:0px;
  }


.card-two-content-box {
  flex-wrap: nowrap;
  }
.casino_query_block.show_counter.two .card-two-info-box {
    max-width: 167px;
    padding: 12px;
    zoom: 0.7;
}
.casino_query_block.show_counter .card-two-info-box::before{
  top: 10px;
     bottom: unset;
}
.card-two-casino-title a{
  line-height:20px;
  margin-top:10px;
  display:block;
}

.card-two-casino-details{
  padding:0 5px 10px 5px;
}
.card-two-casino-bonus-text{
  text-align:left;
}
.card-two-casino-bonus-container {
    padding-left: 20px;
    padding-right: 0;
    max-width: calc(100vw - 143px);
    margin: 0;
    box-sizing: content-box;
    display: block;
    height: 78px;
    min-height: unset;
  padding-top: 12px;
}
.card-two-casino-button-container {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 0 40px;
    position: absolute;
    right: 0;
    max-width: calc(100% - 117px);
    bottom: 0;
    height: 75px;
    min-height: unset;
    padding-top: 12px;

}
.casino_query_block.two .btn.btn-primary{
background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--dark);
    padding: 8px 10px;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0;
  }
.card-two-casino-bonus-text h5,
.card-two-casino-bonus-text h3,
.card-two-casino-bonus-text h2,
.card-two-casino-bonus-text h1{
    font-size: 13px;
    font-family: var(--secondary-font);
    font-weight: bold;
    line-height: 1.4;
}
.card-two-casino-bonus-text h5 strong,
.card-two-casino-bonus-text h3 strong,
.card-two-casino-bonus-text h2 strong,
.card-two-casino-bonus-text h1 strong{

}
.card-two-casino-button-container a{font-size:10px;}

.card-two {
  margin-bottom:0;
}

}
