/* Homepage arrangement aligned with a BetConstruct sports home.
   Colors stay on the existing BAJARBET tokens. */

body.bb-home-delal .hero,
body.bb-home-delal .palazzo-wheel-top-banner,
body.bb-home-delal .tc-desk-promo-cards,
body.bb-home-delal .tac-home-live,
body.bb-home-delal section.bb-hide-banners,
body.bb-home-delal section.m-section.mobile-only:not(.bb-show-row) {
  display: none !important;
}

@media (max-width: 991px) {
  body.bb-home-delal section.section-cards.pc-only:not(.bb-hide-banners) {
    display: block !important;
  }
}

@media (min-width: 992px) {
  body.bb-home-delal section.bb-show-row {
    display: block !important;
  }
}

body.bb-home-delal #mobliste {
  padding-top: 8px;
}

body.bb-home-delal .hm-row-bc.has-game.has-slider {
  display: block !important;
  grid-template-columns: 1fr !important;
}

body.bb-home-delal .hm-row-bc.has-game > .pb-component-wrapper:first-child {
  display: none !important;
}

body.bb-home-delal .page-view-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px 8px;
}

body.bb-home-delal .view-title-more {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

body.bb-home-delal .games-horiz-scroll {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  grid-template-rows: none !important;
  padding: 0 12px 16px !important;
  scrollbar-width: none;
}

body.bb-home-delal .games-horiz-scroll::-webkit-scrollbar {
  display: none;
}

body.bb-home-delal .casino-game-item-content {
  flex: 0 0 210px !important;
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
}

body.bb-home-delal .casino-game-item {
  width: 100% !important;
  aspect-ratio: 450 / 345;
  overflow: hidden;
  border-radius: 10px;
  background: #100e0c;
}

body.bb-home-delal .casino-game-item-image-bc {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 10px;
  display: block;
}

body.bb-home-delal img.taccasino-header-logo {
  display: block !important;
  height: auto !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 280px !important;
  object-fit: contain !important;
}

body.bb-home-delal .taccasino-te-card__teams {
  gap: 8px;
}

body.bb-home-delal .taccasino-te-card__team {
  line-height: 1.3;
  min-height: 18px;
}

@media (max-width: 991px) {
  body.bb-home-delal .casino-game-item-content {
    flex-basis: 168px !important;
    width: 168px !important;
    min-width: 168px !important;
    max-width: 168px !important;
  }
  body.bb-home-delal img.taccasino-header-logo {
    height: 20px !important;
    max-height: 20px !important;
    max-width: 112px !important;
  }
  body.bb-home-delal .view-title-more {
    font-size: 14px;
  }
}

@media (min-width: 992px) {
  body.bb-home-delal .header__top {
    height: 62px;
  }
  body.bb-home-delal .header__bottom.pc-only .header-nav {
    background: transparent;
  }
  body.bb-home-delal .header__bottom.pc-only .header-nav__list {
    height: 46px;
    justify-content: center;
  }
  body.bb-home-delal .header__bottom.pc-only .header-nav__list > li > a {
    font-size: 14px;
    padding: 0 14px;
  }
  body.bb-home-delal .header__bottom.pc-only .header-nav__list > li > a i {
    display: none;
  }
}

@media (max-width: 991px) {
  body.bb-home-delal .header__top {
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    overflow: hidden;
  }
  body.bb-home-delal .header__bottom.mobile-only {
    display: none !important;
  }
  body.bb-home-delal .header__bottom.pc-only {
    display: block !important;
    margin-top: 4px;
  }
  body.bb-home-delal .header__bottom.pc-only .header-nav,
  body.bb-home-delal .header__bottom.pc-only .header-nav__list {
    height: auto !important;
    min-height: 0;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    align-items: stretch;
    gap: 8px;
    padding: 2px 8px 6px;
  }
  body.bb-home-delal .header__bottom.pc-only .header-nav__list > li {
    height: auto !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }
  body.bb-home-delal .header__bottom.pc-only .header-nav__list > li > a {
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 72px;
    height: auto !important;
    min-height: 68px;
    padding: 8px 12px 6px !important;
    overflow: visible !important;
    font-size: 11px;
    line-height: 1.15;
    text-transform: none;
    white-space: nowrap;
    box-sizing: border-box;
  }
  body.bb-home-delal .header__bottom.pc-only .header-nav__list > li > a span {
    display: block;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    width: auto !important;
  }
  body.bb-home-delal .header__bottom.pc-only .header-nav__list > li > a i {
    display: none !important;
  }
  body.bb-home-delal .header__bottom.pc-only .header-nav__list > li > a::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 auto 2px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    flex: 0 0 22px;
  }
}

body.bb-home-delal .bb-sport-block {
  margin: 0 0 8px;
}

body.bb-home-delal .bb-te-carousel {
  position: relative;
}

body.bb-home-delal .taccasino-te-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 36px 8px;
  scrollbar-width: none;
}

body.bb-home-delal .taccasino-te-track::-webkit-scrollbar {
  display: none;
}

body.bb-home-delal .taccasino-te-card {
  flex: 0 0 calc((100% - 24px) / 3);
  max-width: none;
  min-width: 280px;
  scroll-snap-align: start;
  border-radius: 8px;
}

@media (max-width: 991px) {
  body.bb-home-delal .taccasino-te-card {
    flex-basis: 82%;
    min-width: 0;
    max-width: 300px;
  }
}

body.bb-home-delal .taccasino-te-card__head {
  justify-content: space-between;
}

body.bb-home-delal .taccasino-te-card__live {
  background: #d4bc82;
  color: #14100c;
  border-color: #d4bc82;
}

body.bb-home-delal .bb-te-arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 16, 12, 0.72);
  color: #f0ebe3;
  cursor: pointer;
}

body.bb-home-delal .bb-te-arrow--prev { left: 4px; }
body.bb-home-delal .bb-te-arrow--next { right: 4px; }

body.bb-home-delal .bb-upcoming {
  margin-top: 6px;
}

body.bb-home-delal .bb-upcoming__filters {
  display: flex;
  gap: 8px;
  padding: 0 12px 10px;
}

body.bb-home-delal .bb-upcoming__filters button {
  border: 1px solid rgba(190, 154, 117, 0.45);
  background: transparent;
  color: #f0ebe3;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

body.bb-home-delal .bb-upcoming__filters button.is-on {
  background: #d4bc82;
  color: #14100c;
  border-color: #d4bc82;
}

body.bb-home-delal .bb-upcoming__table {
  margin: 0 12px 12px;
  border: 1px solid rgba(190, 154, 117, 0.22);
  border-radius: 8px;
  overflow: hidden;
}

body.bb-home-delal .bb-up-row,
body.bb-home-delal .bb-up-head {
  display: grid;
  grid-template-columns: 92px 1fr repeat(3, 72px);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
}

body.bb-home-delal .bb-up-head {
  font-size: 12px;
  color: #9a9080;
  background: rgba(190, 154, 117, 0.08);
}

body.bb-home-delal .bb-up-row {
  text-decoration: none;
  color: #f0ebe3;
  border-top: 1px solid rgba(190, 154, 117, 0.14);
  font-size: 13px;
}

body.bb-home-delal .bb-up-row:hover {
  background: rgba(212, 188, 130, 0.06);
}

body.bb-home-delal .bb-up-empty {
  padding: 16px 12px;
  text-align: center;
  color: #9a9080;
  font-size: 13px;
}

body.bb-home-delal .bb-up-teams {
  min-width: 0;
}

body.bb-home-delal .bb-up-teams span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.bb-home-delal .bb-up-odd {
  text-align: center;
  font-weight: 700;
}

body.bb-home-delal .bb-up-time {
  font-size: 12px;
  color: #d4bc82;
}

@media (max-width: 991px) {
  body.bb-home-delal .bb-up-row,
  body.bb-home-delal .bb-up-head {
    grid-template-columns: 64px 1fr repeat(3, 48px);
    gap: 4px;
    padding: 8px;
    font-size: 12px;
  }
}
