/* Warning TV Broadcasts — schedule list + video cards (GitHub Pages) */

#content li {
  padding-left: 80px;
  text-indent: -80px;
  margin-bottom: 6px;
}
#content li.highlight { background-color: #DCD4E6; }
#content li.has-video,
#content li.has-thumb {
  padding-left: 0;
  text-indent: 0;
  list-style: none;
}
#content li.highlight.has-video,
#content li.highlight.has-thumb {
  background-color: transparent;
}
#content li.highlight.has-video .rw-card,
#content li.highlight.has-thumb .rw-card {
  background-color: #DCD4E6;
}

/* Video card styles (list layout) */
.rw-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 4px;
}
.rw-thumbWrap {
  position: relative;
  width: 120px;
  min-width: 120px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.rw-thumbWrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--rw-thumb-bg, none);
  background-position: center;
  background-size: cover;
  filter: blur(12px);
  opacity: 0;
  transform: scale(1.06);
}
.rw-thumb {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.rw-card--short .rw-thumbWrap {
  background: #111;
}
.rw-card--short .rw-thumbWrap::before {
  opacity: 0.55;
}
.rw-card--short .rw-thumb {
  object-fit: contain;
}
.rw-meta {
  flex: 1;
  padding: 6px 8px 6px 4px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: inherit;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rw-title {
  font-weight: 600;
  margin: 0 0 2px 0;
  line-height: 1.25;
  color: inherit;
  text-decoration: none;
}
.rw-title:hover {
  text-decoration: underline;
}
.rw-card--static {
  cursor: default;
}
.rw-card--static .rw-title:hover {
  text-decoration: none;
}
.rw-card--static:hover,
.rw-card--static:active {
  filter: none;
}
.rw-date {
  opacity: 0.7;
}
.rw-card:hover { filter: brightness(0.98); }
.rw-card:active { filter: brightness(0.96); }

@media (max-width: 420px) {
  .rw-card { flex-direction: column; }
  .rw-thumbWrap { width: 100%; min-width: 0; }
}

/* Rumble overlay — portal to document.body (above site .fixed-top z-index: 2300) */
#rumbleModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#rumbleModal .rumbleModalContent {
  background: #0b0b0b;
  border-radius: 10px;
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.rumbleModalBar {
  display: flex;
  justify-content: flex-end;
  padding: 6px 8px;
  background: #0b0b0b;
  position: relative;
  z-index: 2;
}
#rumbleModalClose {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  font-size: 22px;
  line-height: 1;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
}
#rumblePlayerWrap {
  width: 100%;
  background: #000;
  min-height: 420px;
}
@media (max-width: 600px) {
  #rumblePlayerWrap { min-height: 280px; }
}
