.njsi-filter-bar,
.njsi-submission-form {
  margin-bottom: 30px;
  padding: 22px;
  border: 1px solid var(--njsi-line, #dbe3eb);
  border-radius: 16px;
  background: #fff;
}

.njsi-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
}

.njsi-filter-bar label,
.njsi-form-grid label {
  display: grid;
  gap: 6px;
}

.njsi-filter-bar label > span,
.njsi-form-grid label > span {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.njsi-filter-bar input,
.njsi-filter-bar select,
.njsi-form-grid input:not([type="checkbox"]),
.njsi-form-grid textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #bac7d3;
  border-radius: 9px;
  color: #101b28;
  background: #fff;
}

.njsi-filter-check {
  align-items: center;
  align-self: center;
  grid-template-columns: auto 1fr !important;
}

.njsi-player-grid,
.njsi-video-grid,
.njsi-term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.njsi-player-card,
.njsi-video-card,
.njsi-term-card,
.njsi-game-card {
  overflow: hidden;
  border: 1px solid var(--njsi-line, #dbe3eb);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(5, 29, 55, 0.06);
}

.njsi-player-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  color: #fff;
  background: linear-gradient(145deg, #08294f, #0f447b);
  font-size: 3rem;
  font-weight: 900;
  text-decoration: none;
}

.njsi-player-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.njsi-player-card__body,
.njsi-video-card__body {
  padding: 20px;
}

.njsi-card-kicker {
  margin: 0 0 7px;
  color: var(--njsi-red, #e21c2b);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.njsi-player-card h2,
.njsi-video-card h3,
.njsi-game-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.njsi-player-card h2 a,
.njsi-term-card {
  color: var(--njsi-navy-deep, #041a33);
  text-decoration: none;
}

.njsi-player-card__meta span {
  display: block;
  color: var(--njsi-muted, #607084);
}

.njsi-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--njsi-line, #dbe3eb);
  font-size: 0.82rem;
  font-weight: 750;
}

.njsi-video-launch {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 0;
  color: #fff;
  background-color: #08294f;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

.njsi-video-launch::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 26, 51, 0.08), rgba(4, 26, 51, 0.72));
  content: "";
}

.njsi-video-launch__provider,
.njsi-video-launch__play {
  position: relative;
  z-index: 2;
}

.njsi-video-launch__provider {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 99px;
  background: rgba(4, 26, 51, 0.82);
  font-size: 0.7rem;
  font-weight: 850;
}

.njsi-video-launch__play {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #e21c2b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

.njsi-video-card iframe,
.njsi-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #041a33;
}

.njsi-video-player {
  margin: 8px 4px 24px;
  font-weight: 800;
}

.njsi-term-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  gap: 16px;
  padding: 22px;
}

.njsi-term-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.njsi-term-card span {
  color: var(--njsi-muted, #607084);
  font-size: 0.78rem;
  white-space: nowrap;
}

.njsi-calendar-notice,
.njsi-form-message,
.njsi-empty-state {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #edf3f8;
}

.njsi-calendar-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  border-left: 5px solid #e21c2b;
}

.njsi-filter-bar--games {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
}

.njsi-button--outline {
  border-color: #08294f;
  color: #08294f;
  background: transparent;
}

.njsi-calendar-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-block: 34px 18px;
}

.njsi-calendar-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.njsi-calendar-heading a:last-child {
  text-align: right;
}

.njsi-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--njsi-line, #dbe3eb);
  border-radius: 14px;
  background: var(--njsi-line, #dbe3eb);
  gap: 1px;
}

.njsi-calendar__weekday {
  padding: 10px 6px;
  color: #fff;
  background: #08294f;
  font-size: 0.76rem;
  font-weight: 850;
  text-align: center;
}

.njsi-calendar__day {
  min-height: 135px;
  padding: 9px;
  background: #fff;
}

.njsi-calendar__day--empty {
  background: #f1f4f7;
}

.njsi-calendar__number {
  display: block;
  margin-bottom: 7px;
  color: #607084;
  font-size: 0.78rem;
  font-weight: 850;
}

.njsi-calendar__event {
  margin-bottom: 6px;
  padding: 6px;
  border-left: 3px solid #e21c2b;
  border-radius: 4px;
  background: #f4f7fa;
  font-size: 0.68rem;
  line-height: 1.25;
}

.njsi-calendar__event time,
.njsi-calendar__event strong,
.njsi-calendar__event span {
  display: block;
}

.njsi-schedule-heading {
  margin-top: 46px;
  font-family: Georgia, "Times New Roman", serif;
}

.njsi-game-list {
  display: grid;
  gap: 12px;
}

.njsi-game-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 20px;
  padding: 18px;
}

.njsi-game-card__date {
  display: grid;
  color: #08294f;
}

.njsi-game-card__date strong {
  font-size: 1.05rem;
}

.njsi-game-card__date span,
.njsi-game-card__source span {
  color: #607084;
  font-size: 0.78rem;
}

.njsi-game-card__main p {
  margin: 5px 0 0;
}

.njsi-game-card__source {
  display: grid;
  justify-items: end;
  text-align: right;
}

.njsi-game-card--compact {
  grid-template-columns: 120px 1fr;
}

.njsi-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.njsi-form-span {
  grid-column: 1 / -1;
}

.njsi-form-grid small {
  color: #607084;
}

.njsi-consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
}

.njsi-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.njsi-form-message--success {
  border-left: 5px solid #1a7f4b;
  background: #eaf7f0;
}

.njsi-form-message--error {
  border-left: 5px solid #b70e1c;
  background: #fff0f1;
}

.njsi-results-summary {
  margin-bottom: 16px;
  color: #607084;
  font-weight: 750;
}

.njsi-pagination {
  margin-top: 34px;
  text-align: center;
}

.njsi-pagination .page-numbers {
  display: inline-block;
  margin: 3px;
  padding: 7px 11px;
  border-radius: 7px;
  background: #fff;
  text-decoration: none;
}

@media (max-width: 940px) {
  .njsi-filter-bar,
  .njsi-filter-bar--games,
  .njsi-player-grid,
  .njsi-video-grid,
  .njsi-term-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .njsi-game-card {
    grid-template-columns: 120px 1fr;
  }

  .njsi-game-card__source {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .njsi-filter-bar,
  .njsi-filter-bar--games,
  .njsi-player-grid,
  .njsi-video-grid,
  .njsi-term-grid,
  .njsi-form-grid,
  .njsi-game-card,
  .njsi-game-card--compact {
    grid-template-columns: 1fr;
  }

  .njsi-form-span,
  .njsi-game-card__source {
    grid-column: auto;
  }

  .njsi-calendar {
    display: block;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .njsi-calendar__weekday,
  .njsi-calendar__day--empty {
    display: none;
  }

  .njsi-calendar__day {
    min-height: auto;
    margin-bottom: 9px;
    border: 1px solid #dbe3eb;
    border-radius: 9px;
  }

  .njsi-calendar__day:not(:has(.njsi-calendar__event)) {
    display: none;
  }

  .njsi-calendar-notice {
    grid-template-columns: 1fr;
  }
}
