:root{ --ars-blue:#253d79; --ars-blue-hover:#1c2f5e; }

/* Intro */
.sched-index-intro{ padding: 42px 0 10px; }
.sched-index-card{
  margin: 0;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.sched-index-card-body{ padding: 22px 24px; }
.sched-index-title{
  margin: 0 0 6px 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: rgba(37,61,121,.85);
}
.sched-index-subtitle{
  margin: 0 0 16px 0;
  color: #59544c;
  font-size: 16px;
  line-height: 1.55;
}

.sched-index-tools{
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center; /* center the pills */
}

/* Filters */
.sched-filters{
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

/* Hide filter pills on small screens */
@media (max-width: 575px){
  .sched-filters{
    display: none;
  }
}
.sched-filter{
  border: 1px solid rgba(37,61,121,.22);
  background: rgba(37,61,121,.06);
  color: rgba(37,61,121,.90);
  padding: 10px 42px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}
.sched-filter:hover{
  background: rgba(37,61,121,.10);
  border-color: rgba(37,61,121,.32);
}
.sched-filter.is-active{
  background: rgba(37,61,121,.14);
  border-color: rgba(37,61,121,.40);
}

/* Cards */
.sched-index-list{ padding: 12px 0 52px; }
.sched-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-content: start; /* prevents rows from stretching when grid has extra height */
}
@media (max-width: 767px) {
  .sched-grid {
    grid-template-columns: 1fr;
  }
}
.sched-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, opacity 0.3s ease;
}
.sched-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  border-color: rgba(37,61,121,.22);
}
.sched-card.is-hidden{
  display: none !important;
}

.sched-text{ flex: 1 1 auto; min-width: 0; padding-left: 10px; }

.sched-title{
  display: block;
  font-weight: 900;
  color: rgba(37,61,121,.90);
  line-height: 1.25;
}
.sched-desc{
  display: block;
  color: #59544c;
  line-height: 1.35;
  margin-top: 2px;
  font-size: 14px;
}

.sched-arrow{
  color: rgba(37,61,121,.75);
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
}

.sched-note{
  border: 1px dashed rgba(0,0,0,0.18);
  border-radius: 12px;
  background: rgba(0,0,0,0.02);
  padding: 14px 16px;
  color: #59544c;
  margin-top: 6px;
  grid-column: 1 / -1;
}

/* Mobile */
@media (max-width: 767px){
  .sched-index-card-body{ padding: 18px; }
  .sched-index-title{ font-size: 20px; }
  .sched-card{ padding: 14px 14px; }
}