.gwd-schedule {
  padding: 36px 30px 64px;
  color: #f4f4f5;
}

.gwd-schedule__header h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #f7f7f8;
  font-size: clamp(23px, 1.8vw, 30px);
  line-height: 1.15;
}

.gwd-schedule__header h1 svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.gwd-schedule__dates {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 30px;
}

.gwd-schedule__date-track {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.gwd-schedule__date-track::-webkit-scrollbar { display: none; }

.gwd-schedule__arrow,
.gwd-schedule-date {
  min-height: 76px;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  background: #20222c !important;
  box-shadow: none !important;
  color: #d7d8df !important;
  text-transform: none;
}

.gwd-schedule__arrow {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 32px;
}

.gwd-schedule__arrow svg {
  display: block;
  width: 28px;
  height: 28px;
  margin: auto;
}

.gwd-schedule-date {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 7);
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
  padding: 14px 16px !important;
  border-radius: 0 !important;
  font-size: 14px;
  line-height: 1.2;
  scroll-snap-align: start;
}

.gwd-schedule-date strong {
  color: inherit;
  font-size: 14px;
  font-weight: 400;
}

.gwd-schedule-date > span {
  font-size: 18px;
  font-weight: 700;
}

.gwd-schedule-date:hover,
.gwd-schedule-date.is-active {
  border-color: rgba(255,255,255,.1) !important;
  background: rgba(255,255,255,.1) !important;
  color: #ffd45b !important;
}

.gwd-schedule-date.is-active::before {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 2px;
  background: #ffd45b;
  content: "";
}

.gwd-schedule-date { position: relative; }

.gwd-schedule__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gwd-schedule-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 92px;
  padding: 10px 15px 10px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #363840;
  color: #f5f5f7 !important;
  text-decoration: none !important;
}

.gwd-schedule-card__image {
  display: block;
  width: 50px;
  height: 68px;
  flex: 0 0 50px;
  overflow: hidden;
  border-radius: 4px;
  background: #242632;
}

.gwd-schedule-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

.gwd-schedule-card:hover .gwd-schedule-card__image img {
  transform: scale(1.04);
  filter: brightness(.85);
}

.gwd-schedule-card__episode {
  align-self: flex-start;
  max-width: 100%;
  padding: 4px 7px;
  overflow: hidden;
  border-radius: 4px;
  background: #ffd45b;
  color: #171820 !important;
  font-size: 11px !important;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gwd-schedule-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.gwd-schedule-card__copy strong,
.gwd-schedule-card__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gwd-schedule-card__copy strong {
  color: #f5f5f7;
  display: -webkit-box;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gwd-schedule-card:hover .gwd-schedule-card__copy strong { color: #ffd45b; }
.gwd-schedule__status { padding: 42px 0; color: #aeb0ba; font-size: 16px; }

@media screen and (max-width: 1100px) {
  .gwd-schedule__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 850px) {
  .gwd-schedule { padding: 28px 18px 52px; }
  .gwd-schedule-date { flex-basis: calc((100% - 24px) / 4); }
  .gwd-schedule__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media screen and (max-width: 600px) {
  .gwd-schedule { padding: 22px 14px 44px; }
  .gwd-schedule__header h1 { margin-bottom: 18px; font-size: 27px; }
  .gwd-schedule__dates { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 6px; margin-bottom: 22px; }
  .gwd-schedule__arrow, .gwd-schedule-date { min-height: 62px; }
  .gwd-schedule__arrow { border-radius: 8px !important; font-size: 26px; }
  .gwd-schedule-date { flex-basis: calc((100% - 8px) / 2); padding: 7px 8px !important; font-size: 12px; }
  .gwd-schedule-date > span { font-size: 14px; }
  .gwd-schedule-date strong { font-size: 16px; }
  .gwd-schedule__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gwd-schedule-card { min-height: 82px; }
}

@media screen and (max-width: 390px) {
  .gwd-schedule__dates { grid-template-columns: 30px minmax(0, 1fr) 30px; }
}
