/* =========================================================
   South Bowie Sharks — page-specific styles
   Extracted from the former inline <style> blocks.
   ========================================================= */

/* Location link colors — lock colors in every browser link state */
    a.practice-location-link:link,
    a.practice-location-link:visited,
    a.practice-location-link:hover,
    a.practice-location-link:focus,
    a.practice-location-link:active,
    #nextPracticeLocation a.top-location-map-link:link,
    #nextPracticeLocation a.top-location-map-link:visited,
    #nextPracticeLocation a.top-location-map-link:hover,
    #nextPracticeLocation a.top-location-map-link:focus,
    #nextPracticeLocation a.top-location-map-link:active {
      color: #FFD700 !important;
      -webkit-text-fill-color: #FFD700 !important;
      font-weight: 700;
    }

    a.game-location-link:link,
    a.game-location-link:visited,
    a.game-location-link:hover,
    a.game-location-link:focus,
    a.game-location-link:active,
    #nextGameLocation a.top-location-map-link:link,
    #nextGameLocation a.top-location-map-link:visited,
    #nextGameLocation a.top-location-map-link:hover,
    #nextGameLocation a.top-location-map-link:focus,
    #nextGameLocation a.top-location-map-link:active {
      color: #2F80ED !important;
      -webkit-text-fill-color: #2F80ED !important;
      font-weight: 700;
    }

    a.practice-location-link:hover,
    a.practice-location-link:focus,
    #nextPracticeLocation a.top-location-map-link:hover,
    #nextPracticeLocation a.top-location-map-link:focus,
    a.game-location-link:hover,
    a.game-location-link:focus,
    #nextGameLocation a.top-location-map-link:hover,
    #nextGameLocation a.top-location-map-link:focus {
      text-decoration: underline;
    }

/* Larger practice and game date/time text */
    .practice-schedule-line span:nth-child(1),
    .practice-schedule-line span:nth-child(2),
    .game-schedule span:nth-child(1),
    .game-schedule span:nth-child(2) {
      font-size: 1.05rem !important;
      line-height: 1.4;
    }

    .practice-schedule-line span:nth-child(1) strong,
    .practice-schedule-line span:nth-child(2) strong,
    .game-schedule span:nth-child(1) strong,
    .game-schedule span:nth-child(2) strong {
      font-size: 1.05rem !important;
    }

    @media (max-width: 600px) {
      .practice-schedule-line span:nth-child(1),
      .practice-schedule-line span:nth-child(2),
      .game-schedule span:nth-child(1),
      .game-schedule span:nth-child(2) {
        font-size: 1rem !important;
      }
    }

/* Upcoming event highlight */
    .upcoming-highlight {
      margin: 30px 0 38px;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 12px 30px rgba(0,0,0,.16);
    }

    .upcoming-highlight[hidden] {
      display: none !important;
    }

    .upcoming-highlight-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
      gap: 24px;
      align-items: center;
      padding: 26px 28px;
    }

    .upcoming-highlight.practice-highlight {
      background: linear-gradient(135deg, rgba(0,34,68,.98), rgba(0,55,110,.96));
      border: 2px solid #FFD700;
    }

    .upcoming-highlight.game-highlight {
      background: linear-gradient(135deg, rgba(7,31,64,.98), rgba(24,82,143,.96));
      border: 2px solid #2F80ED;
    }

    .upcoming-highlight-kicker {
      margin: 0 0 6px;
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
      opacity: .9;
    }

    .practice-highlight .upcoming-highlight-kicker {
      color: #FFD700;
    }

    .game-highlight .upcoming-highlight-kicker {
      color: #8EC5FF;
    }

    .upcoming-highlight h2 {
      margin: 0 0 10px;
      font-size: clamp(1.55rem, 3vw, 2.3rem);
      line-height: 1.08;
      color: #fff;
    }

    .upcoming-highlight-copy {
      margin: 0;
      color: rgba(255,255,255,.88);
      font-size: .98rem;
    }

    .upcoming-highlight-details {
      display: grid;
      gap: 10px;
      padding: 18px;
      border-radius: 15px;
      background: rgba(255,255,255,.09);
      backdrop-filter: blur(4px);
    }

    .upcoming-highlight-detail {
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 10px;
      align-items: baseline;
      color: #fff;
      font-size: 1rem;
    }

    .upcoming-highlight-detail strong {
      font-size: .76rem;
      text-transform: uppercase;
      letter-spacing: .07em;
      opacity: .72;
    }

    .upcoming-highlight-location a:link,
    .upcoming-highlight-location a:visited,
    .upcoming-highlight-location a:hover,
    .upcoming-highlight-location a:focus,
    .upcoming-highlight-location a:active {
      font-weight: 800;
      text-decoration: none;
    }

    .practice-highlight .upcoming-highlight-location a:link,
    .practice-highlight .upcoming-highlight-location a:visited,
    .practice-highlight .upcoming-highlight-location a:hover,
    .practice-highlight .upcoming-highlight-location a:focus,
    .practice-highlight .upcoming-highlight-location a:active {
      color: #FFD700 !important;
      -webkit-text-fill-color: #FFD700 !important;
    }

    .game-highlight .upcoming-highlight-location a:link,
    .game-highlight .upcoming-highlight-location a:visited,
    .game-highlight .upcoming-highlight-location a:hover,
    .game-highlight .upcoming-highlight-location a:focus,
    .game-highlight .upcoming-highlight-location a:active {
      color: #8EC5FF !important;
      -webkit-text-fill-color: #8EC5FF !important;
    }

    .upcoming-highlight-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      margin-top: 16px;
      padding: 10px 15px;
      border-radius: 999px;
      background: rgba(255,255,255,.12);
      color: #fff;
      font-size: .86rem;
      font-weight: 800;
      text-decoration: none;
    }

    @media (max-width: 760px) {
      .upcoming-highlight {
        margin: 24px 0 30px;
        border-radius: 16px;
      }

      .upcoming-highlight-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 21px 18px;
      }

      .upcoming-highlight-details {
        padding: 15px;
      }

      .upcoming-highlight-detail {
        grid-template-columns: 64px 1fr;
      }
    }

    @media (max-width: 430px) {
      .upcoming-highlight h2 {
        font-size: 1.45rem;
      }

      .upcoming-highlight-detail {
        grid-template-columns: 1fr;
        gap: 2px;
      }
    }

.results-highlight-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      align-items: center;
      margin-top: 14px;
      font-size: 1rem;
      font-weight: 700;
    }

    .results-highlight-meta[hidden] {
      display: none !important;
    }

    .results-highlight-meta span {
      display: inline-flex;
      align-items: center;
    }

    #resultsHighlightLocation a:link,
    #resultsHighlightLocation a:visited,
    #resultsHighlightLocation a:hover,
    #resultsHighlightLocation a:focus,
    #resultsHighlightLocation a:active {
      font-weight: 800;
      text-decoration: none;
    }

    .results-highlight-practice #resultsHighlightEyebrow,
    .results-highlight-practice #resultsHighlightLocation a:link,
    .results-highlight-practice #resultsHighlightLocation a:visited,
    .results-highlight-practice #resultsHighlightLocation a:hover,
    .results-highlight-practice #resultsHighlightLocation a:focus,
    .results-highlight-practice #resultsHighlightLocation a:active {
      color: #FFD700 !important;
      -webkit-text-fill-color: #FFD700 !important;
    }

    .results-highlight-game #resultsHighlightEyebrow,
    .results-highlight-game #resultsHighlightLocation a:link,
    .results-highlight-game #resultsHighlightLocation a:visited,
    .results-highlight-game #resultsHighlightLocation a:hover,
    .results-highlight-game #resultsHighlightLocation a:focus,
    .results-highlight-game #resultsHighlightLocation a:active {
      color: #2F80ED !important;
      -webkit-text-fill-color: #2F80ED !important;
    }

    @media (max-width: 600px) {
      .results-highlight-meta {
        display: grid;
        gap: 7px;
        font-size: .95rem;
      }
    }

/* TeamSnap header button */
.teamsnap-button,
.teamsnap-button:link,
.teamsnap-button:visited,
.teamsnap-button:hover,
.teamsnap-button:focus,
.teamsnap-button:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  margin-left: 34px;
  border: 2px solid #0b4f9c;
  border-radius: 999px;
  background: #FFD700;
  color: #0b4f9c !important;
  -webkit-text-fill-color: #0b4f9c !important;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  transition: transform .18s ease, box-shadow .18s ease;
}

.teamsnap-button:hover,
.teamsnap-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  text-decoration: none;
}

@media (max-width: 760px) {
  .teamsnap-button,
  .teamsnap-button:link,
  .teamsnap-button:visited,
  .teamsnap-button:hover,
  .teamsnap-button:focus,
  .teamsnap-button:active {
    min-height: 34px;
    padding: 7px 12px;
    margin-left: 8px;
    font-size: .78rem;
  }
}

@media (max-width: 520px) {
  .teamsnap-button,
  .teamsnap-button:link,
  .teamsnap-button:visited,
  .teamsnap-button:hover,
  .teamsnap-button:focus,
  .teamsnap-button:active {
    padding: 7px 10px;
    margin-left: 6px;
    font-size: .74rem;
  }
}

/* TeamSnap placement inside top navigation */
.site-nav .teamsnap-button,
.site-nav .teamsnap-button:link,
.site-nav .teamsnap-button:visited,
.site-nav .teamsnap-button:hover,
.site-nav .teamsnap-button:focus,
.site-nav .teamsnap-button:active {
  margin-left: 10px;
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .site-nav .teamsnap-button,
  .site-nav .teamsnap-button:link,
  .site-nav .teamsnap-button:visited,
  .site-nav .teamsnap-button:hover,
  .site-nav .teamsnap-button:focus,
  .site-nav .teamsnap-button:active {
    margin-left: 0;
    margin-top: 6px;
    width: fit-content;
  }
}
