@charset "UTF-8";
/* CSS Document */

/* ========================================
   UDC HOMECOMING SCHEDULE
   ======================================== */

.hc-schedule {
  --hc-red: #b7312c;
  --hc-gold: #EFBD47;
  --hc-text: #252525;
  --hc-border: #dedede;
  --hc-light: #f6f6f6;

  max-width: 1100px;
  margin: 0 auto;
  color: var(--hc-text);
}

.hc-schedule * {
  box-sizing: border-box;
}

/* ========================================
   FILTER BUTTONS
   ======================================== */

.hc-schedule .hc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 16px;
}

.hc-schedule .hc-filters button {
  appearance: none;
  background: #fff;
  color: var(--hc-red);
  border: 2px solid var(--hc-red);
  border-radius: 4px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.hc-schedule .hc-filters button:hover,
.hc-schedule .hc-filters button.active {
  background: var(--hc-red);
  color: #fff;
}

.hc-schedule .hc-filters button:focus-visible {
  outline: 3px solid #222;
  outline-offset: 3px;
}

/* EVENT COUNT */

.hc-schedule .hc-count {
  font-size: .9rem;
  color: #555;
  margin-bottom: 28px;
}

/* ========================================
   DATE GROUPS
   ======================================== */

.hc-schedule .hc-day {
  margin-bottom: 36px;
}

.hc-schedule .hc-day-heading {
  background: var(--hc-red);
  color: #fff;
  border-left: 7px solid var(--hc-gold);
  padding: 16px 20px;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

/* ========================================
   THREE-COLUMN EVENT LAYOUT
   ======================================== */

.hc-schedule .hc-event {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: start;
  padding: 26px 20px;
  border-bottom: 1px solid var(--hc-border);
}

/* ALTERNATING ROW BACKGROUNDS */

.hc-schedule .hc-event:nth-of-type(even) {
  background: var(--hc-light);
}

/* COLUMN 1: TIME */

.hc-schedule .hc-time {
  font-weight: 700;
  color: var(--hc-red);
  font-size: 1rem;
  line-height: 1.5;
}

/* COLUMN 2: EVENT DETAILS */

.hc-schedule .hc-details {
  min-width: 0;
}

.hc-schedule .hc-details h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--hc-text);
}

.hc-schedule .hc-details p {
  margin: 0 0 12px;
  line-height: 1.5;
}

.hc-schedule .hc-location {
  font-weight: 400;
}

/* EVENT LINKS */

.hc-schedule .hc-details a {
  display: inline-block;
  color: var(--hc-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 4px;
}

.hc-schedule .hc-details a:hover {
  text-decoration-thickness: 2px;
}

.hc-schedule .hc-details a:focus-visible {
  outline: 3px solid var(--hc-red);
  outline-offset: 4px;
}

/* ========================================
   COLUMN 3: TOPIC TAGS
   ======================================== */

.hc-schedule .hc-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 7px;
  margin: 0;
}

.hc-schedule .hc-tags span {
  display: inline-block;
  background: #f8efd4;
  color: #473600;
  border: 1px solid #e0c978;
  border-radius: 3px;
  padding: 4px 9px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ========================================
   FILTERED CONTENT
   ======================================== */

.hc-schedule [hidden] {
  display: none !important;
}

/* ========================================
   TABLET
   ======================================== */

@media (max-width: 850px) {
  .hc-schedule .hc-event {
    grid-template-columns: 125px minmax(0, 1fr) 150px;
    gap: 16px;
    padding: 22px 16px;
  }
}

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 650px) {

  .hc-schedule .hc-event {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 16px;
  }

  .hc-schedule .hc-time {
    font-size: .95rem;
  }

  .hc-schedule .hc-tags {
    margin-top: 4px;
  }

  .hc-schedule .hc-filters {
    gap: 8px;
  }

  .hc-schedule .hc-filters button {
    padding: 9px 12px;
    font-size: .9rem;
  }

  .hc-schedule .hc-day-heading {
    font-size: 1.1rem;
    padding: 14px 16px;
  }
}

/* ACCESSIBILITY: REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .hc-schedule .hc-filters button {
    transition: none;
  }
}

