﻿/*Cards */


    .card:hover {
        color: black;
        cursor: pointer;
    }
/*
.card-body {
    padding: 0px;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
}

.card-text {
    font-size: 18px;
}
*/
.card-img-top {
    width: 100%;
    object-fit: cover;
    border-radius: 0px !important;
}


/*Images css*/
.games-gallery {
    max-width: 75vw;
    margin:5% auto;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    gap: 15px;
    grid-auto-flow: dense;
}

.games-item {
    position: relative;
    overflow: visible;
    /* border-radius: 12px; */
    /*box-shadow: 0 4px 15px rgba(0,0,0,0.1);*/
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}


    .games-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.item1 {
    grid-column: 1 /4;
    grid-row: 2 /4;
    box-shadow: 0rem -2rem #f2f2f2;
}

.item2 {
    grid-column: 4 /9;
    /*grid-column: 4 /10;*/
    grid-row: 1 /3;
}

.item3 {
    grid-column: 2 /4;
    /*grid-column: 1 /4;*/
    grid-row: 4 /5;
}

.item4 {
    grid-column: 4 /7;
    grid-row: 3 /5;
}

.item5 {
    grid-column: 7 /9;
    /*grid-column: 7 /10;*/
    grid-row: 3 /4;
}

.item6 {
    grid-column: 9 /11;
    /*grid-column: 10 /12;*/
    grid-row: 2 /4;
}

.item7 {
    grid-column: 7 /12;
    grid-row: 4 /6;
    box-shadow: -5rem 5rem #f2f2f2;
    z-index: -1;
}

.item5-2 {
    grid-column: 4 / 9;
    grid-row: 1 / 3;
}

.item3-1 {
    grid-column: 2 /5;
    grid-row: 2 /4;
    z-index: 11;
}

.item3-2 {
    grid-column: 5 / 10;
    grid-row: 1 / 3;
}

.item3-3 {
    grid-column: 5 / 8;
    grid-row: 3 / 5;
    box-shadow: -5rem 5rem #f2f2f2;
}

.games-item a {
    position: relative;
    z-index: 10; /* Ensure the link is above other elements */
}

.owl-carousel .item a {
    position: relative;
    z-index: 10; /* Ensure the link in Owl Carousel is clickable */
}
/* Hide Owl Carousel styling if it's not initialized */
.owl-carousel.owl-loaded {
    display: block !important;
}

.img_wrapper {
    height: auto;
    padding:0;
}

    .img_wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }



.games-item.horizontal-line::after {
    content: "";
    position: absolute;
    left: -17px;
    right: 0;
    top: -53%;
    height: 1px;
    width: 30%;
    background: #be8c44;
    border-radius: 2px;
    align-self: center;
    z-index: -10;
}

.games-item.horizontal-line-top::after {
    content: "";
    position: absolute;
    left: 69%;
    right: 0;
    top: -40%;
    height: 1px;
    width: 40%;
    background: #be8c44;
    border-radius: 2px;
    align-self: center;
    z-index: -20;
}

.games-item.horizontal-line-bottom::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 0%;
    bottom: -10%;
    height: 1px;
    width: 30%;
    background: #be8c44;
    border-radius: 2px;
    align-self: center;
    z-index: 10;
}

.games-item.vertical-line-right::after {
    content: "";
    position: absolute;
    top: 40%;
    bottom: 0;
    right: -15%;
    width: 1px;
    background: #be8c44;
    border-radius: 2px;
    z-index: 10;
}
/*Gallery End*/


.icon-btn {
    width: 48px;
    /* height: 48px; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #BE842C;
    border-radius: 50%;
    padding: 10px;
}

.icon-custom-border {
    border: 1px solid #dcd6d1;
    border-radius: 50%;
    padding: 5px;
}
.game-primary-img-desk {
    position: relative;
    justify-content: center;
    margin-top: 5rem;
    align-items: flex-start;
    width: fit-content;
}

.game-primary-img-mob {
    position: relative;
    justify-content: center;
    margin-top: 5rem;
    align-items: flex-start;
    width: fit-content;
    background: #fef9f2;
    border: 1px solid;
    border-color: #BE842C;
}

.game-primary-img-desk .gameLogo {
    position: absolute;
    width: auto !important;
    position: absolute;
    bottom: calc(95%);
   /* left: 8%;*/
    max-width: 70%;
    max-height: 100px;
}

/* Override Grid on larger devices when carousel is needed */
@media (max-width: 767px) {
    .games-gallery {
        display: none; /* JS will handle carousel display */
        max-width: 90vw
    }

    .games-item {
        height: 200px;
    }

        .games-item.horizontal-line-top::after,
        .games-item.horizontal-line::after,
        .games-item.horizontal-line-bottom::after,
        .games-item.vertical-line-left::after {
            content: none !important; /* hides the pseudo-elements */
        }

    .item2 {
        box-shadow: none;
    }

    .item4 {
        box-shadow: none;
    }

    .item7 {
        box-shadow: none;
    }
    .game-primary-img-mob .gameLogo {
        max-height: 100%;
        max-width: 100%;
        position: relative;
        left: 0;
        bottom: 0;
    }

    .game-primary-img-desk {
        display: none
    }

    .game-primary-img-mob {
        display: flex;
    }

    .game-primary-img-mob {
        display: flex;
        width: 100%;
        height: 100%;
        margin-top: 1rem;
        align-items: center;
        justify-content: center;
        padding: 20px;
        height: 100px;
        width: fit-content;
    }
}

@media(min-width:768px) {
    .game-primary-img-mob {
        display: none;
    }

    .game-primary-img-desk {
        display: flex
    }

    .thumb-swiper {
        display: none;
    }
}


@media(max-width:576px){
    .game-primary-img-desk {
        display: none
    }

    .game-primary-img-mob {
        display: flex;
        margin-top: 0;
        padding: 15px;
    }

        .game-primary-img-mob .brandLogo {
            max-height: 100%;
            max-width: 100%;
        }

    .info-text {
        font-size: 1rem;
    }

    .icon-btn {
        width: 25px;
        padding: 4px;
    }

    .icon-custom-border {
        padding: 1px;
    }

    /*.img_wrapper {
        height: 120px;
        padding: 20px;*/
        /*height:auto;*/
    /*}*/

    .desc {
        font-size: 1.1rem !important;
    }
    .mySwiper2 img {
        height: 40vh;
    }
}
@media(max-width:500px){
    .card-title {
        font-size: 0.9rem;
    }
    .card-text{
        font-size:10px;
    }
    .bl-icon:nth-child(1) {
        margin-right: 2px;
    }

    .bl-icon .rounded-circle {
        padding: 4px;
        font-size: 8px;
    }

    .card-text {
        font-size: 0.7rem;
        font-weight: bold;
        margin-top: 1px;
        letter-spacing: 0.5px;
    }
}