/*
 Theme Name:   Ruby Play
 Theme URI:    https://rubyplay.com/
 Description:  Custom theme for Ruby play
 Author:       Kamrul Hasan
 Author URI:   mailto:kamrulhasanshuvo04@gmail.com
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
#rub_filter_result {
  display: none !important;
}
#rub_filter_result.show {
  display: block !important;
}
.rub-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 26px;
}
.rub-skeleton .single-skeleton {
  border-radius: 10px;
  background: #d9d9d9;
  height: 282px;
  width: 100%;
}
.explore-more-btn {
  margin-top: 100px;
  text-align: center;
}
.explore-more-btn a {
  text-decoration: none;
  padding: 14px 44px;
  display: inline-block;
  border-radius: 30px;
  background: #ffb100;
  color: #fff;
  text-align: center;
  font-feature-settings: "clig" off, "liga" off;
  font-family: "Open Sans";
  font-size: 23px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  text-transform: capitalize;
}

.single-game-cards-sliders .single-game-cards {
  margin: 0px 5px;
}

.single-game-cards .img {
  height: 282px;
  position: relative;
}
.single-game-cards .img img {
  height: 100%;
  border-radius: 10px;
  width: 100%;
}
.single-game-cards .img .game-content {
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  padding: 40px 25px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: end;
}
.single-game-cards .img .game-content h3 {
  color: #fff;
  font-feature-settings: "clig" off, "liga" off;
  font-family: "Open Sans";
  font-size: 23px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: capitalize;
}
.page-template-game-page header {
  display: none !important;
}
.page-template-game-page footer {
  display: none !important;
}

.game-not-found {
  margin-top: 60px;
  text-align: center;
}
.game-not-found h4 {
  color: #000;
  text-align: center;
  font-feature-settings: "clig" off, "liga" off;
  font-family: "Open Sans";
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 5px;
}
.game-not-found p {
  color: #000;
  font-feature-settings: "clig" off, "liga" off;
  font-family: "Open Sans";
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0px;
}
#rub_filtering_field {
  position: relative;
}
#search-input-mgqpyrautocomplete-list {
  max-height: 160px;
  overflow: auto;
  overflow-x: hidden;
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
}
#search-input-mgqpyrautocomplete-list div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
  color: #444;
}

/* Base Arrow Container (No Background) */
.custom-card-slider .swiper-button-previous,
.custom-card-slider .swiper-button-nexts {
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20;
    cursor: pointer;
    background: none !important;
    border: none !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-top: 0 !important; /* Clears default Swiper margin offsets */
}

/* Pin Left and Right Arrows to Container Edges */
.custom-card-slider .swiper-button-previous {
    left: 0;
}

.custom-card-slider .swiper-button-nexts {
    right: 0;
}

/* Card Container & Positioning Anchor */
.featuresliderwrap.custom-card-slider {
    position: relative !important;
    padding: 0 40px;
}

/* Prevent navigation wrapper from constraining arrow heights */
.custom-card-slider .swipernav {
    position: static !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-card-slider .feature_content.custom_card_inner {
    background-color: #33343a;
    border-radius: 12px;
    overflow: hidden;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
}

.custom-card-slider .feature_content_upper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Compact Lower Content Box */
.custom-card-slider .feature_content_lower {
    padding: 16px;
    margin-top: 0 !important;
    min-height: 0 !important;
    display: block;
}

.custom-card-slider .feature_content_lower h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    color: #ffffff;
}

.custom-card-slider .feature_content_description {
    font-size: 0.88rem;
    color: #b3b3b3;
    line-height: 1.4;
    margin: 0 !important;
    padding: 0 !important;
}

/* Simple Arrow Alignment */
.custom-card-slider .swiper-navs {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}