#banners {
    display: flex;
    grid-gap: 15px;
    padding-top: 20px;
}

/* === Homepage: align the height of the right-side tiles with the slider height === */
#banners{
  align-items: stretch; /* make children stretch to full height */
}

#banners .banners__sm{
  height: auto;         /* remove the "self" height on desktop */
  align-self: stretch;  /* stretch tiles to row height */
  display: flex;        /* so the link can stretch */
}

#banners .banners__sm > a{
  height: 100%;
}

.banners__photo {
    height: auto;
    position: relative;
    width: 57.8%;
}

/* ==============================
   FIX: the same banner height in the slider (#banners)
   ============================== */

#banners .banners__photo{
  /* lock the main banner aspect ratio (1087x452 from front-page.php) */
  aspect-ratio: 1087 / 452;
}

#banners .banners__photo .banners__sliders,
#banners .banners__photo .swiper-wrapper,
#banners .banners__photo .swiper-slide,
#banners .banners__photo a{
  width: 100%;
  height: 100%;
}

/* slider images */
#banners .banners__photo .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* if no cropping — switch to contain */
  object-position: center;
  display: block;
}

.banners__photo a, .banners__sm a {
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
}

.banners__photo a > img, .banners__sm a > img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.banners__sliders {
    height: 100%;
    margin: 0;
}

.banners__offer {
    bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    left: 0;
    padding: 35px 35px;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    display: none;
}

.banners__arrows .swiper-button-next, .banners__arrows .swiper-button-prev {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
}

.swiper-button-next, .swiper-button-prev {
    border-radius: 8px;
    background-color: #fff3;
    align-items: center;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    transition: all .1s;
    z-index: 6;
    font-size: 16px;
    margin: 0;
}

.swiper-button-next:before, .swiper-button-prev:before {
    content: "";
    position: absolute;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 1px;
    border-top: 4px solid rgba(255, 255, 255, 0.30);
    border-left: 4px solid rgba(255, 255, 255, 0.30);
}

.swiper-button-prev:before {
    transform: rotate(-45deg);
    left: 13px;
}

.swiper-button-next:before {
    transform: rotate(135deg);
    left: 11px;
}

.banners__arrows {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    z-index: 5;
    border-radius: 12px;
    padding: 5px;
    gap: 6px;
    transition: 0.4s;
    opacity: 0;
}

.banners__arrows:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff3;
    border-radius: 12px;
    width: 100%;
    height: 100%;
}

.banners__photo:hover .banners__arrows {
    opacity: 1;
}

.banners__offer strong {
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: .33px;
    text-shadow: 0 3px 5px rgba(9, 15, 30, .2);
    display: block;

}

.banners__offer span {
    font-size: 15px;
    font-weight: 400;
    max-width: 240px;
    width: 100%;
    display: block;
}

.banners__photo .swiper-pagination {
    bottom: -20px;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
}

.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    display: inline-block;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.50;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffffff;
}

.banners__sm {
    height: 100%;
    position: relative;
    width: 20.3%;
}

.banners__btn {
    z-index: 999;
    border: none;
    display: inline-block;
    font-weight: 600;
    height: 40px;
    max-width: max-content;
    width: 100%;
    padding: 5px 20px;
    background-image: linear-gradient(285.39deg, #ffb800 -4.36%, #fff173 115.87%);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 241, 115, .5);
    transition: 0.3s;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
}

.banners__btn:hover {
    box-shadow: 0 0 18px rgba(255, 241, 115, .7);
    transform: scale(1.05);
}

.btn-more__detals {
    z-index: 999;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 13px;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 20px 0px;
}

.banners__href {
    display: flex;
    align-items: center;
    margin-top: 29px;
    grid-gap: 12px;
}

.banners__btn_white {
    background: #fff;
    border: none;
    border-radius: 10px;
    display: inline-block;
    font-weight: 600;
    height: 50px;
    max-width: 250px;
    width: 100%;
    transition: 0.3s;
    font-size: 18px;
    mix-blend-mode: lighten;
    box-shadow: 0 10px 35px #0003;
}

.banners__btn_white:hover {
    background-color: #d8e5fd;
}

#categories__main {
    padding-top: 25px;
}

.categories__fl {
    display: flex;
    justify-content: space-between;
}

.categories__card {
    align-items: center;
    background: linear-gradient(90deg, #1d273e, #11182a);
    border-radius: 12px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-left: 20px;
    padding: 15px 20px;
    perspective: 1000px;
    position: relative;
    transform-style: preserve-3d;
    width: 100%;
}

.categories__card:first-child {
    margin-left: 0;
}

.categories__card:before {
    background: linear-gradient(90deg, #2d3c5e, #1b2642);
    border-radius: 12px;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: .2s;
    width: 100%;
    z-index: 1;
}

.categories__card:hover:before {
    opacity: 1;
}

.categories__card_wrap {
    position: relative;
    z-index: 2;
    color: #fff;
}

.categories__card_wrap strong {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.categories__card_wrap span {
    color: #fff;
    font-size: 16px;
    display: block;
}

.categories__card_img {
    max-width: 52px;
    transition: .3s;
    position: relative;
    z-index: 2;
}

.categories__card:hover img {
    transform: translateZ(10px) rotate(-10deg);
}

.games-info__cnt {
    background: linear-gradient(90deg, #1d273e, #11182a);
    border-radius: 12px;
    margin-top: 25px;
    padding: 30px 30px 70px;
    position: relative;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

}

.games-info__cnt:before {
    background-image: linear-gradient(90deg, #ff4edf, #ff2958);
    background-size: 200% auto;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    content: "";
    display: block;
    height: 4px;
    left: 25px;
    position: absolute;
    right: 25px;
    top: 0;
}

.games-info__cnt h1 {
    font-size: 25px;
    font-weight: 400;
    line-height: 29px;
    text-align: left;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

}

.games-info__cnt h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 25px;
    text-align: left;
    color: #ffffff;
    margin-top: 20px;
}

.games-info__cnt h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 25px;
    text-align: left;
    color: #ffffff;
    margin-top: 20px;
}

.games-info__cnt > p, .games-info__cnt ul li {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0em;
    text-align: left;
    color: #ffffff;
}

.games-info__cnt > p {
    margin-top: 30px;
}

.games-info__cnt ul {
    padding-left: 35px;
    margin-top: 15px;
}

.games-info__cnt ul li {
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
}

.games-info__cnt ul li:before {
    content: "";
    position: relative;
    width: 100%;
    max-width: 8px;
    height: 8px;
    background: #ffffff;
    display: block;
    margin-right: 10px;
    top: 5px;
}

.games-info__cnt ol {
    padding-left: 35px;
    margin-top: 15px;
    list-style-type: decimal;
}

.games-info__cnt ol li {
    margin-top: 14px;
}

.wp-block-table {
    margin-top: 20px;
    margin-bottom: 20px;
}

.info-open_btn {
    margin: 0 auto;
    align-items: center;
    background-image: linear-gradient(255deg, #00b7ff, #8d53e9);
    border: none;
    border-radius: 8px;
    color: #fff;
    display: flex;
    font-weight: 600;
    justify-content: center;
    padding: 4px 10px;
    position: relative;
    text-decoration: none;
    z-index: 2;
    height: 32px;
}

.info-open_btn:before {
    background-image: linear-gradient(255deg, #3445e2, #9217e4);
    border-radius: 8px;
    content: "";
    display: inline-block;
    height: 100%;
    opacity: 0;
    position: absolute;
    transition: .3s;
    width: 100%;
    z-index: -1;

}

.info-open_btn:hover:before {
    opacity: 1;
}

.info__hidden {
    display: none;
}

.info-open_none {
    display: none;
}

.info__hidden__block {
    display: block;
}

.info__hide_btn {
    display: none;
    position: absolute;
    right: 30px;
    top: 0;
}

.info__hide_btn svg {
    fill: #0095ff;
    cursor: pointer;
    transform: rotate(180deg);
    transition: .2s;
    width: 30px;
}

.info__hide_block {
    display: flex;
}


.accordion {
    margin: 25px auto 0;
    width: 100%;
}

.accordion__block {
    border-radius: 8px;
    box-shadow: 0 0 5px #0095ff;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.faq__box {
    align-items: center;
    background: rgba(78, 93, 134, .3);
    border-radius: 8px;
    box-shadow: 0 0 5px #0095ff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    position: relative;
}

.faq__box h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    max-width: 80%;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

}

.submenu {
    display: none;
}

.submenu p {
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

}

.faq__plus {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-65%);
}

.faq__plus span {
    background-color: #aadcff;
    display: inline-block;
    height: 3px;
    transition: .3s;
    width: 20px;
}

.faq__plus span:last-child {
    transform: translateX(-23px) rotate(90deg);
}

.open .faq__plus span:last-child {
    transform: translateX(-23px) rotate(0deg);
}


.games__wrap {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 15px;
    margin-top: 25px;
}

.games__box {
    border-radius: 16px;
    display: inline-block;
    height: 100%;
    max-height: 300px;
    max-width: 210px;
    -o-object-fit: contain;
    object-fit: contain;
    overflow: hidden;
    transition: 0.3s;

}

.games__box img {
    max-width: 100%;
    transition: .8s;
}

.games__box:hover img {
    transform: scale(1.1);
}

.casino__right_info .games-info__cnt {
    background: unset;
    margin-top: 0;
    padding: 0;
}

.casino__right_info .games-info__cnt:before {
    display: none;
}

.games-lnside {
    max-width: 900px;
    width: 100%;
    height: 600px;
    display: flex;
    margin: 30px auto 0;

}

.games-lnside iframe {
    width: 100%;
    height: 100%;
}

.search-field {
    background-color: #1f2941;
    border-radius: 10px;
    flex: 1;
    position: relative;
    height: 34px;
    display: flex;
    align-items: center;
}

.search-field svg {
    align-self: center;
    fill: #7388b6;
    font-size: 17px;
    pointer-events: none;
    position: absolute;
    transform: translate(-50%);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 17px;
    height: 17px;
    left: 15px;
}

.search-field input {
    background-color: #1f2941;
    color: #7388b6;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.19px;
    padding-left: 35px;
    width: 201px;
}

.search-field input::placeholder {
    color: #7388b6;
}

.hotpopular-button {
    display: flex;
    height: 41px;
    margin: 15px 15px 0;
}

.hot-button {
    background: linear-gradient(250deg, #26223c, rgba(255, 23, 183, .4) 84%, #4b2b66);
    margin-right: 10px;
    align-items: center;
    border-radius: 8px;
    display: flex;
    flex: 1;
    height: 100%;
    padding-left: 10px;
}

.hot-button svg, .popular-button svg {
    height: 21px;
    width: 21px;
}

.popular-button {
    background: linear-gradient(250deg, #1c2837, rgba(0, 168, 88, .3) 84%, #194353);
    align-items: center;
    border-radius: 8px;
    display: flex;
    flex: 1;
    height: 100%;
    padding-left: 10px;
}

.hotpopular-button-text {
    margin-left: 5px;
}

.hotpopular-button-title {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
}

.hotpopular-button-value {
    display: flex;
    font-size: 10px;
    letter-spacing: .23px;
    color: #ffffff;
    opacity: .5;
}


.post_list--items {
    display: flex;
    flex-wrap: wrap;
    margin: 25px 0 40px;
    gap: 10px;
}

.games-vin__box {
    width: 24%;
    height: auto;
}

.games-vin__info {
    height: 100%;
    width: 100%;
    background: #000000;
    padding: 10px;
    border-radius: 6px;
}

.games-vin__info img {
    width: 100%;
    height: 184px;
    object-fit: cover;
    border-radius: 6px;

}

.games-vin__info h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    text-align: left;
    color: #ffffff;
    margin-top: 15px;
}

.games-vin__info p {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    margin-top: 10px;
    color: #ffffff;
}

@media (max-width: 1600px) {
    .games__box {
        max-width: 11.1%;
    }

    .games__wrap {
        grid-gap: 10px;
    }
}

@media (max-width: 1399px) {
    .games-vin__box {
        width: 32.333%;
    }

    .games-vin__info h3 {
        font-size: 20px;
        line-height: 25px;
    }
}

@media (max-width: 1320px) {
    .banners__offer strong {
        font-size: 25px;
    }

    .banners__sm .banners__offer strong {
        font-size: 22px;
    }

    .banners__offer {
        padding: 35px 15px;
    }

    .games-info__cnt > p,
    .games-info__cnt ul li {
        font-size: 16px;
        line-height: 24px;
    }

    .games-info__cnt > p {
        margin-top: 20px;
    }

    .games-info__cnt h2 {
        font-size: 20px;
        line-height: 25px;
        margin-top: 17px;
    }

    .games-info__cnt h1 {
        font-size: 22px;
        line-height: 24px;
    }

    .games-info__cnt ul {
        padding-left: 20px;
    }

    .categories__card_wrap strong {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .banners__offer {
        padding: 30px 15px;
    }

    .banners__photo .swiper-pagination {
        bottom: 5px;
    }

    .banners__btn {
        height: 40px;
        max-width: 210px;
        font-size: 15px;
    }

    .banners__btn_white {
        height: 40px;
        font-size: 15px;
    }

    .games-vin__box {
        width: 49%;
    }

    .banners__sm .banners__offer strong {
        font-size: 19px;
    }

    .categories__card_wrap strong {
        font-size: 16px;
    }

    .categories__card_wrap span {
        font-size: 14px;
    }

    .games__wrap {
        grid-gap: 10px;
    }

    .games__box {
        max-width: 15%;
    }
}

@media (max-width: 1040px) {
    .categories__fl {
        flex-wrap: wrap;
    }

    .categories__card {
        margin-left: 0;
        width: 49%;
        margin-bottom: 20px;
    }

}

@media (max-width: 970px) {
    #banners {
        grid-gap: 15px;
        flex-wrap: wrap;
    }

    .banners__photo {
        width: 100%;
    }

    .banners__offer {
        padding: 30px 15px;
    }

    .games-vin__info h3 {
        font-size: 18px;
        line-height: 24px;
    }

    .banners__offer strong {
        font-size: 32px;
    }

    .banners__btn {
        height: 50px;
        max-width: 260px;
        font-size: 16px;
    }

    .banners__sm {
        height: 200px;
        width: 48.9%;
    }

    .banners__photo a > img, .banners__sm a > img {
        object-fit: cover;
    }

    .banners__sm .banners__offer {
        padding: 40px 15px;
    }

    .banners__sm .banners__offer strong {
        font-size: 24px;
    }

    .banners__btn_white {
        height: 45px;
        font-size: 15px;
    }

    .games__box {
        max-width: 18.5%;
    }

    .games-lnside {
        max-width: 600px;
        height: 500px;
    }

    .games-vin__box {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 760px) {
    .games-lnside {
        max-width: 500px;
        height: 400px;
    }

    .banners__sm {
        height: 200px;
        width: 47.9%;
    }

    .banners__offer {
        padding: 35px 15px;
    }

    .banners__offer strong {
        font-size: 26px;
    }

    .banners__sm .banners__offer strong {
        font-size: 20px;
    }

    .banners__btn {
        height: 40px;
        max-width: 180px;
        font-size: 14px;
    }

    .banners__btn_white {
        height: 40px;
        font-size: 14px;
    }

    .banners__sm .banners__offer {
        padding: 20px 15px;
    }

    .banners__sm {
        height: 150px;
    }

    .faq__box {
        padding: 15px;
    }

    .games__box {
        max-width: 23.3%;
    }

    .games-info__cnt {
        padding: 24px 15px 30px;
    }

}

@media (max-width: 570px) {

    #review-online {
        padding: 25px 15px;
    }

    .info__hide_btn {
        right: 0;
        top: 0;
        position: relative;
        margin-left: auto;
    }

    .review__main {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .categories__card {
        width: 100%;
        margin-bottom: 15px;
    }

    #banners {
        grid-gap: 15px;
        padding-top: 5px;
    }


  /* 🔹 FIX slider ONLY on homepage (mobile) */
  #banners .banners__photo {
    aspect-ratio: auto;
    height: 200px;
  }

    .banners__offer strong {
        font-size: 20px;
    }

    .banners__offer {
        padding: 20px 15px;
    }

    .banners__btn {
        height: 36px;
        max-width: 160px;
        font-size: 12px;
    }

    .banners__sm {
        height: 150px;
    }

    .banners__sm .banners__offer strong {
        font-size: 18px;
    }

    .banners__photo a > img, .banners__sm a > img {
        border-radius: 10px;
    }

    .faq__plus span {
        width: 17px;
    }

    .faq__plus span:last-child {
        transform: translateX(-21px) rotate(90deg);
    }

    h2 {
        font-size: 17px;
    }

    .banners__btn_white {
        height: 35px;
        font-size: 13px;
        max-width: 170px;
    }

    .categories__card_wrap strong {
        font-size: 19px;
    }

    .info-open_btn {
        padding: 13px 40px;
        height: auto;
        font-size: 16px;
    }

    .games__box {
        max-width: 31.5%;
    }

    .banners__btn_white {
        height: 32px;
        font-size: 12px;
        max-width: 137px;
    }

    .banners__photo a {
        width: 100%;
        height: 200px;
    }

    .banners__photo a img {
        width: 100%;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    #head__main {
        padding: 5px 0 5px;
    }

    body {
        padding: 58px 15px 60px;
    }

    .banners__offer span {
        font-size: 12px;
    }

    .banners__btn {
        height: 28px;
    }

    .info-open_btn {
        width: 100%;
    }

    #banners {
        grid-gap: 10px;
    }

    .games__box {
        max-width: 47.4%;
    }

    .faq__box h4 {
        font-size: 15px;
        font-weight: 500;
    }

    .games-info__cnt ul {
        padding-left: 9px;
    }
}

@media (max-width: 370px) {
    .banners__btn {
        display: none;
    }

    .banners__sm {
        height: 130px;
        width: 100%;
    }
}

#banners .banners__photo .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}