body {
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1.0)),
    url("/assets/images/image.png") center / cover no-repeat;
}



   .bg-drl-gray {
    background-color: #212529;
    
   }
   
   .body-main {
    background-image: url ('../assets/images/98.png');
    background-color: #343a40;

}


.divider {
    color: #B0d2e6;
}

   .topbar-main{
        background-color: #343a40;
        padding: 0;
        margin: 0;
        height: 90px;
        display: flex;
      }
    

    /* Tune-in bar styling
    #tune-in-bar-container {
        /*height: 62p
    }*/
    /* Big colorful buttons exactly like your screenshot */
.btn-discord {
  background: #5865F2 !important;
  border: none !important;
  color: white !important;
}
.btn-discord:hover {
  background: #4752c4 !important;
  transform: translateY(-2px);
}

.links-color {
    color: #B0d2e6;
}
.btn-facebook {
  background: #1877F2 !important;
  border: none !important;
  color: white !important;
}
.btn-facebook:hover {
  background: #146ad7 !important;
  transform: translateY(-2px);
}

.btn-x-twitter {
  background: #000000 !important;
  border: none !important;
  color: white !important;
}
.btn-x-twitter:hover {
  background: #1a1a1a !important;
  transform: translateY(-2px);
}

/* Hover lift effect on all buttons */
.btn-lg {
  transition: all 0.2s ease;
  font-size: 0.8rem !important;
}
.btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4) !important;
}
    
    .tune-in-bar {
        position:sticky;
        top: 0px;
        display: flex;
        justify-content: center;
        gap:25px;
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
        background-color: #343a40;
        padding:10px 0;
        font-family: "Armio", sans-serif;
        /* box-shadow: 0 2px 5px rgba(0, 0, 0, 1.0); */
    }

    .main-logo {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        width: 135px;
        height: 135px;
    }
    .tune-in-bar.dark {
        background: #000;
    }
    /* .tune-in-bar.dark .series-container{
        border-right: 1px solid #5a5a5a;
    } */
    .tune-in-bar.dark .race-info .race-name,.tune-in-bar.dark .race-info .race-date{
        color:#fff;
    }
    .tune-in-bar-container {
        display: flex;
        gap: 18px;
        
    }

    .series-container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 10px;
        background: #212529;
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: box-shadow 0.3s;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 1.0);
    }
    .series-container:last-child {
        border-bottom: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 1.0);
    }
    .series-container.item-2 {
        border: none;
        
    }
    .series-logo {
        display: flex;
    }
    .series-logo img {
        width: 65px;
    }
    .race-info .track-name {
        font-size: 16px;
        font-family: "Armio", sans-serif;
        line-height: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color:#B0d2e6;
    }
    .race-info {
        flex: 1;
        padding: 0 15px 0 10px;
    }

    .race-info .race-name {
        display: none;
        font-size: 15px;
        line-height: 16px;
        font-family: "Armio", sans-serif;
        color: #B0d2e6;
        max-width: 225px;
    }

    .race-info .race-date {
        font-size: 16px;
        line-height: 16px;
        color: #B0d2e6;
        padding-top:2px;
    }

    .watch-on {
        text-align: left;
    }

    .watch-on .label {
        font-size: 12px;
        color: #B0d2e6;
        padding-bottom:1px;
    }
    .tune-in-bar.dark .watch-on .label{
        color: #fff;
    }
    .watch-on .logos {
        display: flex;
        gap: 3px;
        justify-content: center;
        margin-top: 0;
    }
    .watch-on .logos img {
        height: 15px; /* Set the width of the logos */
    }
    .watch-on .logos img:nth-child(2), .watch-on .logos img:nth-child(3) {
        display: none;
    }
    .watch-on .logos a:hover {
        cursor: pointer;
        opacity: 0.8;
    }

    .league-info-dropdown {
      background-color: lightgray;
    }

    .navbar-scroll {
      font-size: 16px;
      font-family: "Armio", sans-serif;
      font-weight: 400;
      font-style: normal;
      height: 65px;
      margin-bottom: 15px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 1.0);
    }

    .navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  margin-top: 0 !important;
}


.news-headline {
    color: #B0d2e6;
    background-color: #212529;
    font-family: "Armio", sans-serif;
    text-align: center;
    padding-top: 9px;
    border-radius: 5px;
}

.doghouse-news-container {
    padding-top: 0px;
    
}


.doghouse-news-container h1 {
    max-width: 400px;
    margin: 0 auto;
    font-family: 'Stanless-Regular';
}

#recent-news {
        background-color: #212529;
        margin: 5px 0;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 1.0);
        transition: box-shadow 0.3s;
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 65px;
        color: #B0d2e6;
        justify-content: center;
}

.recent-news-card {
    background-color: #343a40;
    border: none;
}

.tabs {
    overflow: hidden;
}

.news-list {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 0px 0px; /*Controls Latest news box height */
    margin: 0;
    list-style-type: none;
}

.news-item {
        background-color: #212529;
        margin: 5px 10px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 1.0);
        transition: box-shadow 0.3s;
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 65px;
        color: #ebb207;
        display: flex;
        font-size: 14px;
    }

      .news-item:hover {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .news-item a {
        text-decoration: none;
        color: #B0d2e6;
        font-family: 'Stainless-Bold';
        font-size: 14px;
        line-height: 18px;
        padding: 10px 15px;
        display: flexbox; /* Flexbox for the anchor */
        align-items: center; /* Vertically align the text and source */
        flex: 1; /* Ensure the link fills the container */
    }

    .news-item a:hover {
        color: #2F6FA7;
    }
    .news-item .news-item-text {
        flex: ; /* Allow text to take up remaining space */
        margin-right: 10px; /* Add space between text and source */
    }

    .news-item .news-item-source {
        border-radius: 50%; /* Make the source circular */
        width: 50px; /* Fixed width for the circle */
        height: 50px; /* Fixed height for the circle */
        background: #e6e5e5;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: #fff;
        font-family: 'Stainless-Regular';
        font-weight: bold;
        margin-right: 12px; /* Remove extra margin */
        margin-left: auto;
        min-width: 50px;
        min-height: 50px;
        flex-shrink: 0;
        background-color: #212529;
    }

    .news-item-source img {
        width: 80%;
        max-width: 35px;
    }

    #heroCarousel {
        border-radius: 10px;       /* rounds the outer carousel */
        overflow: hidden;           /* ensures images don't overflow the rounded corners */
        border-width: 20px;
        border-style: solid;
        border-color: #212529
    }

    #heroCarousel .carousel-inner {
        border-radius: 10px;       /* optional, reinforces the rounding inside */
    }

    #heroCarousel .carousel-item img {
        border-radius: 10px;       /* ensures each image matches the rounded corners */
        object-fit: cover;          /* you already have this, good */
    }


    #latest-news-card {
        border-style: none;
        background-color: #212529;
        color: #B0d2e6;
        justify-content: center;
        text-align: center;
        border-radius: 10px;
    }


    .news-item {
        background-color: #343a40;
        padding-left: 16px;
        text-align: left !important;
    }

    .modal-content {
    background-color: #1c1c1c; /* dark grey, example */
    color: #B0d2e6;
    border-color: #B0d2e6
    }

    .news-modal-header {
        color: #ebb207;
    }

    .links-title {
        color:#B0d2e6;
        
    }

    .links-header {
        color: #B0d2e6;
        text-align: center;
        border-style: none;
    }

    .links-card {
        background-color: #212529;
        border-radius: 10px;
    }

    .links-section {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 1.0);
   
    }

    .sponsors-header {
        text-align: center;
        background-color: #212529;
        color: #B0d2e6;
        border-style: none;
        
    }

    .sponsors-content {
        background-color: #212529;
        align-items: center;
        display: flex;
        justify-content: center;        
    }

    .sponsors-container {
        border-style: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: box-shadow 0.3s;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 1.0);
        
    }

    .sponsors-border {
        border-style: none;
        
    }

    

    .discord-link {
        margin-bottom: -5px;
        width: 100%;
        border: 0px solid #e5e5e5;
        height: 35px !important; 
    }

    .footer {
        color: #B0d2e6;
        text-align: center;
    }

    .search-button {
        color: #B0d2e6;
        border-color: #B0d2e6;
    }

    .search-button:hover {
        background-color: #212529;
        color: #ebb207;
        border-color: #ebb207
    }


    /* Mobile view */
    @media (max-width: 768px) {
        .tune-in-bar-container {
            display: none;
        }

        /* Scrollable container for series items */
        .series-scroll-container {
            overflow-x: auto;
            white-space: nowrap; /* Prevent line breaks for horizontal scrolling */
            padding: 5px 0;
        }

        /* Adjust other mobile styles as necessary */
        .series-logo img {
            width: 55px;
            min-width: 45px;
        }

        .race-info .race-name {
            font-size: 13px;
            font-family: 'Stainless-Bold';
            color: #000;
            min-width: 170px;
            text-wrap: wrap;
        }

        .race-info .race-date {
            font-size: 12px;
            color: #2d2d2d;
            padding-top: 1px;
        }

        .watch-on .label {
            font-size: 10px;
            text-transform: uppercase;
            font-family: 'Stainless-Bold';
        }

        .watch-on .logos img {
            height: 14px;
        }
        .cta-buttons-container {
            margin: 5px 10px 0 10px;
        }
        .schedule-button-container{
            margin-bottom: 5px;
            padding:0;
        }
        .schedule-button-container a {
            margin: 0 auto;
        }
    }

    @media (min-width: 769px) {
      .series-container {
        flex-direction: row;
      }

      .tune-in-bar {
        flex-direction: row;
      }

      .schedule-button-container {
        text-align: center;
      }
      
    }

@each $breakpoint in map-keys($grid-breakpoints) {
  $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
  $postfix: if($infix != "", $infix + "-down", "");

  @include media-breakpoint-down($breakpoint) {
    .modal-fullscreen#{$postfix} {
      width: 100vw;
      max-width: none;
      height: 100%;
      margin: 0;

      .modal-content {
        height: 100%;
        border: 0;
        @include border-radius(0);
      }

      .modal-header,
      .modal-footer {
        @include border-radius(0);
      }

      .modal-body {
        overflow-y: auto;
      }
    }
  }
}

@media (max-width: 768px) {
  body {
    background:
      linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1.0)),
      url("/assets/images/image.png") center / cover no-repeat;
  }
}

.dropdown-item {
  /* display: flex; */
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.dropdown-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

