/* USSSA Platinum - Responsive Images */

@media (max-width: 767px) {

  /* Keep images within the visible screen */
  .site-grid img,
  main img,
  .com-content-article img,
  .mod-custom img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Allow article containers to shrink */
  .com-content-article,
  .com-content-article__body,
  .blog-item,
  .mod-custom {
    min-width: 0;
    max-width: 100%;
   }

} /* Closes the first mobile media query */

/* USSSA Platinum - Compact Mobile Header */

@media (max-width: 991.98px) {

  /* Logo left, navigation right */
  .container-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 16px;
  }

  /* Logo container */
  .container-header .grid-child:has(.navbar-brand) {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  /* Reduce logo size */
  .container-header .navbar-brand {
    margin: 0;
    padding: 0;
  }

  .container-header .navbar-brand img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: auto;
  }

  /* Put hamburger on the right */
  .container-header .container-nav {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
  }

  .container-header .navbar {
    margin: 0;
  }

  /* Keep expanded menu readable */
  .container-header .container-nav:has(.navbar-collapse.show) {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
/* ========================================
   USSSA PLATINUM - LEAGUE NIGHT
   ======================================== */

.platinum-leagues {
  max-width: 1000px;
  margin: 30px auto;
  display: grid;
  gap: 24px;
}

/* Main league cards */
.platinum-league-card {
  background: #ffffff;
  border: 1px solid #ccd6e6;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 3px 14px rgba(15, 35, 75, 0.05);
}

/* Season heading and logo */
.platinum-league-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.platinum-league-logo {
  width: 160px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.platinum-league-heading h2 {
  color: #1d3261;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.platinum-league-heading p {
  color: #596579;
  font-size: 1rem;
  margin: 0 0 6px;
}

/* Venue links */
.platinum-venues {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.platinum-venue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #c6d1e3;
  border-radius: 10px;
  color: #1c3468;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s,
              border-color .2s,
              transform .2s;
}

.platinum-venue:hover,
.platinum-venue:focus-visible {
  background: #edf3fb;
  border-color: #24477f;
  color: #142a58;
  transform: translateY(-2px);
}

.platinum-venue span:last-child {
  font-size: 1.5rem;
}

/* Winter information */
.platinum-league-notice {
  padding: 16px;
  background: #f3f7fc;
  border-left: 3px solid #274a84;
  border-radius: 6px;
  color: #344766;
  font-size: 0.95rem;
}

/* Mobile layout */
@media (max-width: 767px) {

  .platinum-leagues {
    margin: 16px auto;
    gap: 16px;
  }

  .platinum-league-card {
    padding: 20px 16px;
  }

  .platinum-league-heading {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .platinum-league-logo {
    width: 150px;
  }

  .platinum-league-heading h2 {
    font-size: 1.45rem;
  }

  .platinum-venues {
    grid-template-columns: 1fr;
  }

  .platinum-venue {
    padding: 15px 18px;
  }
}