/* HornSports Schedule Bar */
.hs-sched {
  --hs-bg: #ffffff;
  --hs-accent: #bf5700;
  --hs-text: #1f1f1f;
  --hs-muted: #5f6368;
  --hs-win: #1e7e34;
  --hs-loss: #c62828;
  --hs-line: #e4e4e4;
  --hs-h: 56px;
  /* Low layer on purpose: header dropdown menus (JNews uses 9-11, Elementor ~9997) must open over the bar. */
  position: relative;
  z-index: var(--hs-z, 0);
  width: 100%;
  background: var(--hs-bg);
  color: var(--hs-text);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
  border-bottom: 3px solid var(--hs-accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}
.hs-sched *, .hs-sched *::before, .hs-sched *::after { box-sizing: border-box; }
.hs-sched.is-sticky { position: sticky; top: 0; z-index: var(--hs-z, 8); }
body.admin-bar .hs-sched.is-sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar .hs-sched.is-sticky { top: 46px; } }

.hs-sched__inner {
  display: flex;
  align-items: stretch;
  height: var(--hs-h);
  max-width: 1400px;
  margin: 0 auto;
}

/* Record block */
.hs-sched__record {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px;
  background: var(--hs-accent);
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
}
.hs-sched__record-top {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}
.hs-sched__record-main {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hs-sched__record-main small {
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
  opacity: 0.9;
}

/* Games track */
.hs-sched__games {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
}
.hs-sched__track {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hs-sched__track::-webkit-scrollbar { display: none; }

.hs-sched__cell {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 104px;
  padding: 0 14px;
  border-right: 1px solid var(--hs-line);
  color: var(--hs-text);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.15s ease;
}
a.hs-sched__cell:hover { background: #f6f6f6; }
.hs-sched__cell.has-logo {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
}
.hs-sched__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hs-sched__logo {
  flex: 0 0 auto;
  display: block;
  width: 32px;
  height: 32px;
  max-width: none;
  object-fit: contain;
}

.hs-sched__top {
  font-size: 12px;
  font-weight: 600;
  color: var(--hs-muted);
  letter-spacing: 0.02em;
}
.hs-sched__match {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hs-sched__loc {
  font-weight: 500;
  color: var(--hs-muted);
  text-transform: lowercase;
  margin-right: 3px;
}
.hs-sched__rank {
  font-size: 10px;
  font-weight: 700;
  color: var(--hs-muted);
  margin-right: 2px;
  vertical-align: 1px;
}
.hs-sched__wl { font-weight: 800; margin-right: 3px; }
.hs-sched__wl.is-w { color: var(--hs-win); }
.hs-sched__wl.is-l { color: var(--hs-loss); }
.hs-sched__wl.is-t { color: var(--hs-muted); }
.hs-sched__cell.is-past .hs-sched__top { color: #333333; }

/* Next game highlight */
.hs-sched__cell.is-next {
  background: #fff3e9;
  box-shadow: inset 0 3px 0 var(--hs-accent);
}
.hs-sched__cell.is-next .hs-sched__top { color: #a34a00; }
.hs-sched__flag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--hs-accent);
  border-radius: 2px;
  vertical-align: 1px;
}

/* Arrows */
.hs-sched__nav {
  flex: 0 0 auto;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--hs-bg);
  color: var(--hs-text);
  cursor: pointer;
  opacity: 0.85;
}
.hs-sched__nav:hover { opacity: 1; color: var(--hs-accent); background: #f6f6f6; }
.hs-sched__nav:focus-visible { outline: 2px solid var(--hs-accent); outline-offset: -2px; }
.hs-sched__nav[disabled] { opacity: 0.25; cursor: default; color: var(--hs-text); }
.hs-sched__nav svg { width: 16px; height: 16px; }
.hs-sched__nav--prev { border-right: 1px solid var(--hs-line); }
.hs-sched__nav--next { border-left: 1px solid var(--hs-line); }

/* CTA */
.hs-sched__cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  color: var(--hs-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 1px solid var(--hs-line);
}
.hs-sched__cta:hover { color: var(--hs-accent); }
.hs-sched__cta svg { width: 14px; height: 14px; }

/* Mobile */
@media (max-width: 767px) {
  .hs-sched { --hs-h: 50px; }
  .hs-sched__record { padding: 0 10px; }
  .hs-sched__record-main { font-size: 15px; }
  .hs-sched__cell { min-width: 92px; padding: 0 10px; }
  .hs-sched__match { font-size: 13px; }
  .hs-sched__cell.has-logo { gap: 7px; }
  .hs-sched__logo { width: 26px; height: 26px; }
  .hs-sched__nav { display: none; }
  .hs-sched__cta-text { display: none; }
  .hs-sched__cta { padding: 0 12px; }
}
