body {
  font-family: "Inter", sans-serif;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  /* margin-bottom: 0; */
}
.section-heading h2 {
  margin: 0;
}

h3 {
  margin-bottom: 0.75rem;
}
h4 {
  margin: 1.5rem 0 0.75rem 0;
}
p {
  margin-bottom: 0.5rem;
  line-height: 24px;
  color: #666;
}
a {
  text-underline-offset: 2px;
  color: inherit;
  transition: all .3s ease;
  &:hover {
    color: #000;
    text-underline-offset: 4px;
  }
}
ol,
ul {
  padding-left: 1rem;
  color: #666;
}
.text-bold {
  
  a {
    color:#FE017D !important;
    font-weight: 600;
    background-color: white;
    opacity: 1;
    border-radius: 12px;

    @media (max-width: 991px) {
      text-align: center;
    }

    &:hover {
      color:#FE017D;
    }
  }
}

.bg-dark {
  background-color: #000 !important;
}
.text-light a {
  color: #fff;
  text-decoration: underline;
}
.text-truncate-3 {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3; /* Limit the text to 3 lines */
  -webkit-box-orient: vertical; /* Set the layout direction to vertical */
  overflow: hidden;
}
.row-gap-4 {
  row-gap: 1rem;
}
.rounded {
  border-radius: 12px !important;
}
.smaller {
  font-size: 14px;
  line-height: 18px;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 0;
  z-index: 1000;
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid #fff;
  border-bottom: 0;
  border-radius: 0.5rem 0.5rem 0 0;
  background: #000;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.steps-ol {
  > li:not(:first-child) {
    margin-top: 2rem;
  }
}

#menu-main-menu {
  opacity: 1;
}
.nav-link {
  color: rgba(255, 255, 255, .85)!important;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-link:focus,
.nav-link:hover {
  color: #fff;
  opacity: 1;
  /* transform: translateY(-3px); */
}
.betway-logo img {
  @media (max-width: 1400px) {
    width: 180px;
    height: auto;
  }
  @media (max-width: 1200px) {
    width: 140px;
    height: auto;
  }
}

.forracing-logo {
  @media (max-width: 768px) {
    padding-top: 10px;
  }
  @media (max-width: 992px) {
    padding-right: 20px;
  }

  img {
    @media (max-width: 1400px) {
      width: 130px;
      height: auto;
    }
    @media (max-width: 1200px) {
      width: 110px;
      height: auto;
    }
  }
}
.navbar-toggler {
  position: absolute;
  right: 0;
  top: 7px;
  width: 40px;
  padding: 5px;
  font-size: 1.5rem;
  color: white;
  border: 1px solid white;
  margin-right: calc(var(--bs-gutter-x) * 0.5);
  margin-left: calc(var(--bs-gutter-x) * 0.5);
}
.navbar-toggler-icon {
  width: 28px;
  height: 24px;
  vertical-align: bottom;
}

/* WordPress-style nested menus */
.navbar-nav {
  gap: 10px;
  @media (max-width: 1400px) {
    /* text-align: center; */
    gap: 2px;
  }
  .menu-item {
    position: relative;
    
    @media (max-width: 992px) {
      font-size: 20px;
    }
    @media (min-width: 991.75px) and (max-width: 1200px) {
      font-size: 0.9rem;
    }
  }
}
.navbar-nav .sub-menu {
  display: none;
  position: static;
  min-width: 12rem;
  margin: 0;
  padding: 0 0 0.5rem 0;
  list-style: none;
  background: #000;
}

.navbar-nav .menu-item:hover > .sub-menu,
.navbar-nav .menu-item:focus-within > .sub-menu {
  display: block;
}

.navbar-nav .menu-item-has-children > a {
  padding-right: 2.25rem;
}

.navbar-nav .menu-item-has-children > a::after {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.75rem;
  vertical-align: 0.15em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.navbar-nav .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.navbar-nav .sub-menu a:hover,
.navbar-nav .sub-menu a:focus {
  background: #212529;
  color: #fff;
  opacity: 1;
  /* transform: translateY(-3px); */
}

.navbar-nav .sub-menu .sub-menu {
  padding-left: 1rem;
}

@media (min-width: 992px) {
  .navbar-nav .sub-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  }

  .navbar-nav .menu-item:hover > .sub-menu,
  .navbar-nav .menu-item:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .navbar-nav .sub-menu .menu-item-has-children > a::after {
    transform: rotate(-45deg);
  }

  .navbar-nav .sub-menu .sub-menu {
    padding-left: 0;
  }

  .navbar-nav > .menu-item > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  .navbar-nav .sub-menu .menu-item > .sub-menu {
    position: absolute;
    top: -0.5rem;
    left: 100%;
  }
}

.stretched-link-betway::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 40%;
    left: 0;
    z-index: 1;
    content: "";
    @media (max-width: 720px) {
      bottom:26%;
    }
}
.stretched-link-howler::after {
    position: absolute;
    top: 60%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    content: "";
    @media (max-width: 720px) {
      top:74%;
    }
}

.btn-tertiary {
  color: #fff;
  background-color: #FE017D;
  border-color: #FE017D;
}
.btn-tertiary:hover {
  color: #fff;
  background-color: #fe017bcd;
  border-color: #fe017bcd;
}

div[class^="col"] > :last-child {
  margin-bottom: 0;
}

.big-intro {
  min-height: 0;

  picture,
  img {
    display: block;
    width: 100%;
    height: auto;
  }

  @media (max-width: 719px) {
    img {
      aspect-ratio: 720 / 1024;
    }
  }

  .big-intro_copy {
    position: absolute;
    left: -9999px;
  }
}

@media (min-width: 1921px) {
  .big-intro {
    min-height: calc(100vh - 94px);
    background: url("/wp-content/uploads/bsc-celebrate-summer-desk.webp") center / cover no-repeat;

    picture {
      display: none;
    }
  }
}

.section-heading {
  background-color: #000;
  color: #fff;
  .h2 {
    @media (max-width: 768px) {
      font-size: 21px;
    }
  }
}

section {
  width: 100% !important;
}

/* Videos */
.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 65px;
  background: #e0004d;
  border-radius: 14px;
  border: none;
  cursor: pointer;
}
.play-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.play-btn::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 40px;
  border-style: solid;
  border-width: 16px 0 16px 20px;
  border-color: transparent transparent transparent #fff;
}
.video-placeholder iframe,
.video-placeholder video {
  width: 100%;
  height: 100%;
  border: none;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(33%, 3fr));
  gap: 1px;
  border: 1px solid black;
  background: black;
}

.gallery-item {
  width: 100%;
  height: auto;
  cursor: pointer;
  /* border-radius: 4px; */
  border: 1px solid rgba(0,0,0,0);
  border-radius: 0;
  box-shadow: 0px 0px 0px -50px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0px 0px 0px -50px rgba(0, 0, 0, 0.5);
  transition: all 0.1s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  border: 1px solid black;
  border-radius: 12px;
  box-shadow: 0px 0px 33px 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 33px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Modal Overlay Styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Lightbox Image */
.modal > img.modal-content {
  display: block;
  width: 85vw;
  height: 80vh;
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  animation: zoomIn 0.3s ease;
  background-color: transparent;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 1001;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-nav::before {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 2rem;
  line-height: 1;
  transform: translate(-50%, -54%);
}

.gallery-nav-previous::before {
  content: "‹";
}

.gallery-nav-next::before {
  content: "›";
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: rgba(0, 0, 0, 0.85);
}

.gallery-nav-previous {
  left: 20px;
}

.gallery-nav-next {
  right: 20px;
}

/* Description Caption */
#modalCaption {
  color: #fff;
  margin-top: 15px;
  font-size: 1.1rem;
}

/* Close Control Button */
.close-btn {
  position: absolute;
  z-index: 1002;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 40px;
  font-weight: normal;
  cursor: pointer;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .modal > img.modal-content {
    width: 90vw;
    height: 80vh;
    max-width: 90vw;
    max-height: 80vh;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.card-title {
  @media (max-width:1200px) {
    font-size: 20px;
  }
}
.dark-card {
  & > img.card-img {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    height: auto;
    align-self: flex-start;
    object-fit: contain;
  }
  .card-body {
    padding-top: 0;
    padding-left: 0;
    padding-bottom: 0;
    p {
      color:#999;
    }
  }
}

/* sponsor logos */
.splide__list {
  opacity: 1;
}
.infinite-splide {
  .splide__slide {
    display: flex;
    width: auto;
    align-items: center;
    justify-content: center;

    img {
      width: auto !important;
      height: 80px;

      @media (max-width: 1199px) {
        height: 70px;
      }
      @media (max-width: 768px) {
        height: 60px;
      }
    }
  }
}
.splide__pagination {
    bottom: -1.5em;
}
.splide__pagination__page {
  border: 1px solid black;
}
.splide__arrow {
  background: white;
  opacity: 1;
}
.splide__arrow--prev {
  left: -1rem;
}
.splide__arrow--next {
  right: -1rem;
}
@media (min-width: 992px) {
  .splide__arrow--prev {
    left: -2.5rem;
  }
  .splide__arrow--next {
    right: -2.5rem;
  }
}
@media (min-width: 595px) {
  .splide__arrow--prev {
    left: -2rem;
  }
  .splide__arrow--next {
    right: -2rem;
  }
}
.news-col {
  @media(max-width:1024px){
padding-right:0;
  }
}

/* footer */
footer {
  p {
    color: #999;
  }
  a {
    color: #999!important;
    &:hover {
      color: #666!important;
    }
  }
}
.social-icons a img {
  background: #fff;
  border-radius: 5px;
  height: 28px;
  padding: 5px;
  transition: opacity 0.2s ease;
  width: 28px;
}

.accordion-button {
  font-weight: 600;
}
.accordion-button:not(.collapsed) {
  background-color: #000;
  color: #fff;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:focus {
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
}

.stacked-logo {
  width: 100%;
  max-width: 189px;
}
/* used on blogs */
.blog-entry-content {
  img {
    max-width: 100%;
    height: auto;
  }
}
.aligncenter {
  margin: 2rem auto;
  display: block;
}
.blog-entry-content {
  iframe {
    aspect-ratio: 16/9;
    display: block;
    margin: 2rem auto;
  }
}

.directions {
  iframe {
    aspect-ratio: 16/12;
    display: block;
    width: 100%;
    height: auto;
  }
}
