/* v1.2 */

body {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  background-color: #F6F6F6;
  color: #333333;
  font-family: "DIN-2014", Arial, Helvetica, sans-serif;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}
@media screen and (min-width: 525px) {
  html {
    font-size: 18px;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 20px;
  }
}
@media screen and (min-width: 1024px) {
  html {
    font-size: 22px;
  }
}
@media screen and (min-width: 1200px) {
  html {
    font-size: 24px;
  }
}
@media screen and (min-width: 1600px) {
  html {
    font-size: 26px;
  }
}


/* nav */
nav {
  position: relative;
  top: 80px;
  left: 0;
  width: 100%;
  z-index: 20;
  margin-top: -85px;
}
nav .nav-container--inner {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-right: 1.5625rem;
  padding-top: 0.5rem;
}
nav .nav-container--inner .copy-container {
  margin-left: 2rem;
  text-transform: uppercase;
  font-size: 0.875rem;
}
nav .nav-container--inner .copy-container a {
  text-decoration: none;
  color: #FFF;
}

@media screen and (max-width: 800px) {
  nav {background-color: #d71921; top: 33px;}
  nav .nav-container--inner {
    justify-content: left;
    align-items: center;
    margin-left: 1.0rem;
    padding-top: 0rem;
    height: 50px;
  }
  nav .nav-container--inner .copy-container {
    margin-left: 1.2rem;
  }
  body {margin-top: 50px;}
}



/* header */

.header-outer {
    display: flex;
    height: 50vh;
    position: relative;
    margin-bottom: 2.1rem;
    min-height: 600px;
  }
  .image-section {
    flex: 1;
    background-image: url('../images/photos/moncton_dt.jpg');
    background-size: cover;
    background-position: center;
    background-position-y: 0px;
    padding: 60px;
  }
  .header-block-right {
    flex: 1;
    background-color: #d71921;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 30px 40px 90px;
  }

  .header-block-right h1 {
    max-width: 300px;
    text-align: center;
    line-height: 2rem;
    font-size: 2rem;
    margin: 0.6rem 0;
   }


  .header-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 25vw; /* Ensures the logo fits properly */
    max-width: 400px !important;
    min-width: 250px;
    object-fit: contain;
  }


  .header-block-right p {
    color: #FFF;
    font-size: 1.2rem;
    margin-top: 10px;
  }

  /* Mobile Layout */
  @media (max-width: 800px) {
    .header-outer {
      display: flex;
      flex-direction: column;
      position: relative;
      height: 40vh;
    }

    .image-section {
      flex: 3;
      background-image: url('../images/photos/moncton_mb.jpg');
      background-position: top;
      background-position-y: -1px;
    }

    .header-block-right {
      flex: 5;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px;
    }
    .header-block-right h1 {
      max-width: 100%;
     }


    .header-logo {
      position: absolute;
      top: 44%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 10;
      width: 25vw; /* Ensures the logo fits properly */
      max-width: 400px;
      min-width: 250px;
      object-fit: contain;
    }

    .header-block-right p {
      font-size: 1.2rem;
      margin: 5px 0;
    }

    .header-block-right .presenter {
      font-size: 1rem;
      font-weight: bold;
      margin-top: 40px;
    }

  }




/* intro */

.intro {
    width: 92%;
    display: flex;
    max-width: 1200px;
    align-items: stretch;
    justify-content: center;
    margin: 0 auto;
    flex-direction: row;
}
.intro > div { flex: 1; padding-right: 20px; }
.intro .title h1 {font-size: 1.7rem; font-weight: 500; padding-right: 4vw; margin-top: 0px;}
.intro .description {font-size: 0.9rem; line-height: 1.4rem;}
.intro .date {font-size: 1rem; line-height: 1.4rem; font-weight: bold;}


@media (max-width: 768px) {
  .intro {
    margin-top: 20px;
    flex-direction: column;
    text-align: center;
  }
  .intro .title h1 { padding: 0px 20px;}

  .intro > div {
    padding-right: 0;
    margin-bottom: 0px;
  }

  .intro > div:last-child {
    margin-bottom: 0;
  }
}





/* GameCast */

.sb_gamecast {
  width: calc(100% - 30px);
  display:flex;
  gap: 30px;
  flex-direction: column;
  max-width: 1200px;
  margin: 0px auto;
  text-align: center;
  padding-top: 20px;
}
h1.sb_gamecast {
  padding: 3rem;
  margin: 0; display: flex;
  justify-content: center;
  margin: auto;
  text-align: center;
}


.sb_gamecast.intro {border-top: 1px #909090 solid; max-width: 960px; padding: 2rem 1rem; margin-top: 1rem;}
.sb_gamecast.intro span {text-align: center; display: block;}
.sb_gamecast.intro h2 {color: #d71921; text-transform: uppercase; text-align: center; margin: 0 auto;}
.sb_gamecast.intro .title {display: block; font-weight: bold; margin-bottom: 1rem;}

.cree-broadcast {max-width: 960px; margin: 64px auto 20px; padding: 2rem;}

.game-info {
    display: flex;
    align-items: left;
    justify-content: space-between;
    gap: 0px 20px;
}

.game-details {text-align:left;}
.game-details {flex: 2;}

.game-time {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.game-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.team-logos {
    flex: 1;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
}

.team-logos img {
    max-height: 90px;
    height: auto;
}

.team-logos .jets-logo {
    max-height: 70px;
}


.availability {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 0; /* Add spacing from the top */
}

.availability p {
    font-size: 0.9rem;
    font-weight: bold;
}

.cree-button {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
}

.availability img {
    max-height: 80px;
    height: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
  .cree-broadcast { padding: 0rem; }
.game-info {
    flex-direction: column;
    text-align: center;
    align-items: center;
}
.game-details {text-align: center; }

.team-logos {
    margin-top: 10px;
}

.availability {
    flex-direction: column;
    align-items: center;
    margin: 10px 0 0;
}

.cree-button {
    margin-top: 5px;
  }

}




/* Broadcast */

.broadcast-games h2 {text-align: center; font-size: 1.4rem; margin-top: 2rem; }
.broadcast-game-cards {
display: flex;
flex-wrap: column;
gap: 20px;
justify-content: space-between;
width: calc(100% - 30px);
max-width: 1200px;
margin: 1rem auto 0rem;
}

.broadcast-game-card {
background: #fff;
border-radius: 16px;
padding: 2rem;
box-shadow: 10px 11px 10px rgba(0, 0, 0, 0.1);
flex: 1 1 calc(50% - 20px);
max-width: calc(50% - 20px);
}

/* Game header layout */
.broadcast-game-header {
display: grid;
grid-template-columns: 3fr 1fr;
align-items: center;
gap: 15px;
margin-bottom: 10px;
}

.broadcast-team-info {
  text-align: left;
}

.broadcast-game-time {
font-weight: bold;
margin-bottom: 5px;
}

.broadcast-team-names {
margin: 0;
font-size: 1.2rem;
font-weight: bold;
}

.broadcast-team-logos {
display: flex;
gap: 5px;
}

.broadcast-team-icon {
width: 70px;
height: 70px;
}

.broadcast-game-info {
font-size: 1.0rem;
margin-top: 10px;
text-align: left;
}

.broadcast-highlight {
color: #d71921;
font-weight: bold;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
.broadcast-game-cards {
  flex-direction: column; /* Stack game cards vertically */
}

.broadcast-game-card {
  padding: 1rem;
  max-width: 100%; /* Full width on mobile */
  flex: 1 1 100%; /* Ensures cards stack fully */
}
}















.sb_gamecast.pre_event {
    justify-content: center;
    align-items: center;
    margin: 0px auto;
    flex-direction: row;
    align-items: stretch;
}


.sb_game_outer {
  padding: 18px;
  background-color: #FFFFFF;
  border-radius: 30px;
  box-shadow:  10px 11px 10px #D2D2D2;
  width: 100%;
  flex:1;
}


.sb_game_inner {
  justify-content: center;
  background-color: #FFFFFF;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
}

/* Pre Game */

.sb_game_inner.pre_event {
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.sb_game_outer.pre_event .sb_detail_block {
  text-align: center;
}
.sb_game_outer.pre_event .sb_lang_toggle {
  align-items: left;
  text-align: center;
}



    .sb_lang_toggle button {
      color: #FFF;
      background-color: #DA291C;
      padding: 10px;
      border: 0px;
      border-radius: 8px;
      cursor: pointer;
    }

    .sb_video-wrapper iframe {
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4); /* Add a soft shadow */
      border-radius: 0px;
      border: 0px;
      overflow: hidden; /* Ensure rounded corners apply to the content inside */
    }

    .sb_video-container {
      display: none;
      flex-direction: column;
      align-items: center;
      margin-bottom: 5px;
      width: 100%;
      max-width: 1240px;
    }

    .sb_video-container.active {
      display: flex;
    }

    .sb_video-wrapper {
      position: relative;
      width: 100%;
      padding-top: 56.25%;
      border-radius: 10px;
      overflow: hidden;
    }

    .sb_video-wrapper iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .sb_video-details {
      text-align: center;
      width: 100%;
      max-width: 1240px;
      background-color: #FFF; border-radius: 0px 0px 20px 20px;
    }

    .sb_video-details-inner h3 { margin: 20px 0px 5px; }
    .sb_video-details-inner p { margin: 0; color: #333; font-size: 14px;}


    #sb_player-container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }



    h2 {margin-top: 5px;}




    .sb_lang_toggle {
      display: flex;
      flex-direction: column;
      align-items: left;
      width: 200px;
      text-align: left;
    }


    .sb_lang_toggle button {
      margin-bottom: 8px;
      font-weight: 900;
      font-size: 18px;
      color: #FFF;
      padding: 10px;
      border-radius: 8px;
    }
    .pre_event button {
      margin: 4px;
      width: 200px;
      background-color: #333333;
      cursor: default;
    }



    .sb_lang_toggle p {
      margin-bottom: 6px; /* Add space between "Watch Now" and buttons */
      font-size: 16px; /* Adjust text size */
      font-weight: bold;
      text-transform: uppercase;
    }



      .sb_game_details_inner {padding: 20px 20px 0px 20px;}



      .sb_detail_block {
        padding: 10px;
        justify-content: center;
        text-align: left;
        flex: 1;
      }



      .sb_game_icons.sb_detail_block  {
        text-align: center;
      }


      .scotia-brandsell {margin: 3rem auto 1rem;}
      .scotia-brandsell img {
        width: 100%;
      }






      @media (max-width: 960px) {

        .sb_gamecast.pre_event {flex-direction: column;}
        .sb_game_inner.pre_event .sb_game_watch.sb_detail_block { padding: 0px; }

        .sb_game_inner.pre_event .sb_game_icons {padding-left: 0px; margin-bottom: 20px; }



        .sb_detail_block {padding: 0px;}

        .sb_detail_block:nth-child(1) {
          flex: 0 0 100%;
        }

        .sb_detail_block:nth-child(2),
        .sb_detail_block:nth-child(3) {
          flex: 1;
        }
        .sb_lang_toggle {
          width: 100%;
        }

        .sb_game_outer {padding: 8px;}

        .sb_game_inner.pre_event .sb_game_details_inner {padding: 12px 5px 0px 5px;}
        .sb_game_details_inner {padding: 16px 0px 0px 10px;}

        .sb_game_icons {padding-right: 20px; margin-bottom: 20px; }
        .sb_game_icons img {width: 72px;}
        .sb_game_watch {padding-right: 20px; margin-bottom: 20px;}



        .sb_video-details p { margin: 0px 0;}
        .sb_video-details-inner { padding: 0px 6px;}
        .sb_video-details-inner h3 { margin: 5px 0px 0px; }


}



/* footer */

  .footer-container--outer {
    background: linear-gradient(120.64deg, #0B223E 53.42%, #00386F 76.47%, #005EB8 100%);
    padding: 3rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.6rem;
    color: #FFFFFF;
  }
  .legal {display: flex; text-align: center; justify-content: center; align-items: center; padding: 0rem;}
  .legal a {color: white; }
  .legal a:visited {color: white; }

  .legal-links {display: flex; text-align: center; justify-content: center; align-items: center; padding: 1rem;}

  .legal-links ul {
  display: flex; /* Makes the list items appear side by side */
  list-style: none; /* Removes bullets */
  margin: 0;
  padding: 0;
}

.legal-links ul li {
  margin: 0;
  padding: 0;
  position: relative;
}

.legal-links ul li:not(:last-child)::after {
  content: "|"; /* Adds vertical divider */
  color: white; /* Same as the text color */
  margin: 0 10px; /* Space around the divider */
}

.legal-links ul li a {
  text-decoration: none; /* Removes underline */
  color: white; /* Makes text white */
  font-size: 0.875rem; /* Adjusts font size */
}

.legal-links ul li a:hover {
  text-decoration: underline; /* Optional hover effect */
}
