html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Galano Grotesque", sans-serif;
  color: white;
}

* {
  margin: 0;
  padding: 0;
}

.week-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.week-wrapper {
  /* mirror your colgroup widths as CSS variables */
  --col-1: 12.9%;
  --col-day: 11.8%;
}

.col-separator {
  position: absolute;
  top: 94px;
  bottom: 0;
  width: 4px; /* visual thickness of the divider */
  transform: translateX(-50%);
  pointer-events: none;

  background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' width='4' height='12' viewBox='0 0 4 12'>\<rect x='1' y='0' width='2' height='2' fill='%233e474e'/>\</svg>");
  background-repeat: repeat-y;
}

/* after first weekday column (col 2) */
.col-sep-1 {
  left: calc(var(--col-1) + var(--col-day) * 1 + 0px);
}

/* after col 3 */
.col-sep-2 {
  left: calc(var(--col-1) + var(--col-day) * 2);
}

/* after col 4 */
.col-sep-3 {
  left: calc(var(--col-1) + var(--col-day) * 3);
}

/* after col 5 */
.col-sep-4 {
  left: calc(var(--col-1) + var(--col-day) * 4);
}

/* after col 6 */
.col-sep-5 {
  left: calc(var(--col-1) + var(--col-day) * 5);
}

/* after col 7 */
.col-sep-6 {
  left: calc(var(--col-1) + var(--col-day) * 6);
}

.tv-root {
  background: #232e35;
}

.tv-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #232e35;
}

.tv-stage {
  position: relative;
  width: 1500px;
  height: 844px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.header {
  background-color: #171c21;
  display: flex;
}

img {
  display: block;
}

.main {
  background-color: #232e35;
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 67%;
}

.logo-wrapper {
  width: 12%;
  position: relative;
}

.footer {
  background-color: #171c21;
  padding: 20px 0 16px 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  z-index: 99;
  bottom: 0;
}

.footer-text {
  font-weight: 500;
  font-size: 22px;
  padding-bottom: 6px;
  padding-left: 13px;
  font-family: "Galano Grotesque alt", sans-serif;
}

.footer:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 12%;
  height: 100%;
  background: linear-gradient(to right, rgba(23, 28, 33, 0) 0%, #171c21 50%, #171c21 100%);
}

.footer-icon {
  width: 2.67%;
  margin-right: 1rem;
}

.week-table {
  width: 100%;
  text-align: left;
  margin-top: 20px;
  border-collapse: collapse;
}

.container-width-50 {
  width: 50%;
}

.container-flex-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.last-td-padding-fix {
  padding-bottom: 200px !important;
}

.table-heading {
  background-color: #1e272d;
  padding: 16px 14px;
  position: relative;
}

.table-heading-text {
  font-weight: 900;
  font-size: 21.5px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.table-heading-date {
  font-weight: 500;
  font-size: 19px;
  opacity: 0.6;
}

.morning-icon,
.afternoon-icon {
  width: 28px;
  display: inline-block;
}

.evening-icon {
  width: 21px;
  display: inline-block;
}

.studio-wrapper {
  display: flex;
}

.studio-text {
  text-transform: uppercase;
  padding: 16px 0 20px 0;
  opacity: 0.6;
  font-size: 15px;
}

.table-data {
  padding: 0 12px;
  vertical-align: top;
}

.table-data-padding-left {
  padding-left: 36px;
  display: flex;
}

.program-row-one .table-data {
  padding-bottom: 30px;
}

.program-row-two .table-data {
  padding-bottom: 25px;
}

.program-row-three .table-data {
  padding-bottom: 12px;
}

.studio-container-flex {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3px;
}

.studio-container {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 3px;
}

.divider {
  flex: 0 0 6px; /* grow | shrink | basis */
  margin-top: 7px;
}

.studio-time {
  font-weight: 900;
  font-size: 12px;
}

.studio-duration {
  font-weight: 300;
  font-size: 14px;
  opacity: 0.6;
}

.studio-duration-unit {
  position: relative;
  left: -7px;
  font-size: 16px;
  top: 1px;
  opacity: 0.6;
}

.studio-program {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 9px;
  padding-top: 2px;
}

.studio-instructor {
  opacity: 0.6;
  font-size: 14px;
  font-family: "Galano Grotesque", sans-serif;
  display: inline-block;
  transform: scalex(0.7);
  transform-origin: left center;
}

.studio-first-row {
  white-space: nowrap;
}

.day-stage {
  text-transform: uppercase;
  font-weight: 900;
  opacity: 0.2;
  font-size: 16px;
}

.day-stage-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.day-stage-icon {
  padding-left: 5px;
  padding-right: 4px;
}

.day-inactive .table-heading-text,
.day-inactive .studio-time,
.day-inactive .studio-duration,
.day-inactive .studio-program,
.day-inactive .studio-instructor {
  opacity: 0.3;
}

.day-inactive .divider:before {
  opacity: 0.3;
}

.day-inactive.table-heading {
  background-color: #171c21;
  border-right: 2px solid #232e35;
}

.day-active.table-data {
  background-color: #303e47;
}

.day-active.table-heading {
  position: relative;
}

.day-active.table-heading:after {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: #1e272d;
}

.header-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 50px;
  width: 45%;
}

.current-info-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-studio,
.header-live {
  text-transform: uppercase;
  font-weight: 900;
}

.header-studio {
  font-size: 22px;
}

.header-live {
  font-size: 39px;
  line-height: 0.6;
}
.header-live-wrapper {
  position: relative;
}

.icon-live {
  width: 28px;
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  right: -20px;
  padding-top: 6px;
}

.current-info-number {
  font-weight: 900;
  font-size: 36px;
}

.info-wrapper {
  flex-grow: 1;
  padding: 24px 0 14px 40px;
  display: flex;
}

.program-progress__track {
  position: relative;
  width: 332px;
  height: 12px;
  border-radius: 6px;
  background-color: #40181e;
  overflow: visible; /* allow tick + badge above bar */
}

.program-progress__fill {
  position: relative; /* so marker is positioned vs. the fill */
  height: 100%;
  background-color: #e30613;
  border-radius: 6px 0 0 6px;
  transition: width 0.3s linear;
}

/* Marker wrapper sits at the right edge of the fill */
.program-progress__marker {
  position: absolute;
  right: 0;
  bottom: 0; /* aligned with bottom of the bar */
  transform: translateX(50%); /* center marker on bar end if you want */
}

/* Vertical tick */
.program-progress__marker::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%; /* grow up from the bar */
  transform: translateX(-50%);
  width: 4px;
  height: 20px;
  background-color: #e30613; /* same as fill, or tweak if needed */
}

/* Time badge at top of tick */
.program-progress__badge {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 20px); /* bar (100%) + tick (20px) + gap (6px) */
  transform: translateX(-50%);
  padding: 4px 20px;
  min-width: 48px;
  text-align: center;
  line-height: 1;
  color: #ffffff;
  background-color: #e30613;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

.badge-time {
  font-size: 28px;
  font-weight: 700;
  position: relative;
  bottom: 5px;
}

.program-progress {
  position: relative;
  top: 42px;
}

.progress-bottom-wrapper {
  display: flex;
  justify-content: space-between;
}

.progress-bottom-time {
  opacity: 0.6;
  font-size: 21px;
  padding-top: 4px;
}

.progress-bottom-session {
  flex-grow: 1;
  padding-left: 13px;
  padding-right: 13px;
}

.progress-bottom-session-name {
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
  margin-top: 2px;
}

.progress-bottom-session-unit {
  padding-left: 6px;
}

.progress-bottom-opacity {
  opacity: 0.6;
  font-size: 16px;
  padding-top: 2px;
}

.big-num-wrap {
  line-height: 1;
  height: 65px;
  overflow: hidden;
  display: inline-block;
  position: relative;
}

.big-num-one {
  width: 36px;
}

.big-num-two {
  width: 56px;
}

.big-num {
  font-weight: 900;
  font-size: 96px;
  line-height: 1;
  position: absolute;
  bottom: 0;
}

.big-num-white {
  z-index: 1;
  color: white;
}

.big-num-black {
  color: #171c21;
  z-index: 2;
}
.footer {
  background-color: #171c21;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  position: fixed;
  z-index: 99;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer-icon {
  flex: 0 0 auto;
}

.ticker {
  flex: 1 1 auto;
  min-width: 0; 
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-move 18s linear infinite;
}

.ticker__content {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-right: 3rem;
}

/* the actual text */
.ticker__text {
  white-space: nowrap;
  padding-left: 0; 
}

.footer-text {
  font-weight: 500;
  font-size: 20px;
  padding-bottom: 4px;
  font-family: "Galano Grotesque alt", sans-serif;
}

@keyframes ticker-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}
