/* Calendar and bookmark components. Typography follows the site's editor theme. */
.wit-explorer {
  --wit-ink: #183b30;
  --wit-muted: #4b5b51;
  --wit-line: #d6dace;
  --wit-paper: #f5f4eb;
  --wit-accent: #923f28;
  color: var(--wit-ink);
  font-family: inherit;
}
.wit-explorer [hidden], #wit-event-fallback[hidden], [data-saved-count][hidden] { display: none !important; }
.wit-live {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.wit-filters {
  display: grid;
  grid-template-columns: minmax(15rem,1.6fr) minmax(9rem,1fr) minmax(10rem,1fr);
  align-items: end;
  gap: 1.1rem;
  border-top: 1px solid var(--wit-line);
  border-bottom: 1px solid var(--wit-line);
  padding: 1.3rem 0 1.45rem;
}
.wit-filters label {
  display: block;
  margin: 0 0 .36rem;
  color: var(--wit-ink);
  line-height: 1.4;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 600;
}
.wit-input-wrap { min-width: 0; }
.wit-filters input[type="search"], .wit-filters select {
  box-sizing: border-box; display: block; width: 100%; height: 3rem;
  border: 1px solid #a6b1a2; border-radius: .25rem;
  color: var(--wit-ink); background-color: #fffefa; font: inherit;
  font-size: 1rem; line-height: 1.25; margin: 0;
}
.wit-filters select {
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%232d5345' stroke-width='1.7' d='m4 7 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center;
  padding: 0 2.2rem 0 .8rem;
}
.wit-filters input[type="search"] { appearance: none; padding: 0 .7rem 0 2.5rem; }
.wit-filters input::placeholder { color: #667269; opacity: 1; }
.wit-control { position: relative; display: block; }
.wit-control svg { position: absolute; left: .78rem; top: 50%; transform: translateY(-50%); width: 1.1rem; height: 1.1rem; color: var(--wit-muted); pointer-events: none; }
.wit-explorer :focus-visible { outline: 3px solid #ae5b43; outline-offset: 3px; }
.wit-programs { grid-column: 1 / -1; }
.wit-programs label { display: inline-flex; align-items: center; gap: .55rem; margin: 0; min-height: 1.8rem; font-weight: 400; }
.wit-programs input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--wit-ink); }
.wit-info { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin: 1.35rem 0 .15rem; }
.wit-summary, .wit-schedule { margin: 0; }
.wit-summary { color: var(--wit-ink); font-weight: 600; font-size: .96rem; line-height: 1.5; }
.wit-schedule { color: var(--wit-muted); font-size: .9rem; line-height: 1.5; }
.wit-schedule:not(:empty) { margin: .2rem 0 .5rem; }
.wit-reset { background: none; border: 0; color: var(--wit-ink); line-height: 1.5; font-family: inherit; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: .18rem; padding: .15rem .2rem .6rem; white-space: nowrap; cursor: pointer; }
.wit-results { padding: 0; margin: .65rem 0 0; list-style: none; }
.wit-event { display: grid; grid-template-columns: 3.85rem minmax(0,1fr) 2.8rem; align-items: start; gap: 1.22rem; padding: 1.35rem 0; margin: 0; border-bottom: 1px solid var(--wit-line); }
.wit-event:first-child { border-top: 1px solid var(--wit-line); }
.wit-date {
  box-sizing: border-box; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 4.4rem; width: 3.85rem;
  background: var(--wit-paper); border-top: 2px solid #9c5038; border-radius: 0 0 .16rem .16rem;
}
.wit-date span { color: var(--wit-accent); font-size: .75rem; letter-spacing: .10em; text-transform: uppercase; line-height: 1.4; font-weight: 650; }
.wit-date strong { font: 400 2rem/1.05 var(--serif, Georgia, serif); font-variant-numeric: lining-nums tabular-nums; }
.wit-kicker { margin: .04rem 0 .22rem; color: var(--wit-muted); font-size: .85rem; line-height: 1.45; }
.wit-kicker span { margin: 0 .23rem; }
.wit-kicker .wit-sponsored { display: inline-block; padding: .08rem .4rem; margin: 0 .35rem .12rem 0; background: #f8e4d3; color: #703820; border-radius: .15rem; font-size: .8rem; font-weight: 650; }
.wit-copy h3, .wit-empty h2 { margin: 0; color: var(--wit-ink); font: 500 clamp(1.4rem, 2.15vw, 1.78rem)/1.16 var(--serif, Georgia, serif); letter-spacing: -.025em; }
.wit-copy h3 a { color: inherit; text-decoration: none; }
.wit-copy h3 a:hover { color: var(--wit-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.wit-dates { margin: .44rem 0 0; color: var(--wit-ink); font-size: .92rem; font-weight: 600; line-height: 1.45; }
.wit-desc { margin: .35rem 0 0; color: var(--wit-muted); max-width: 75ch; font-size: 1rem; line-height: 1.5; }
.wit-check { color: var(--wit-accent); font-size: .84rem; display: inline-block; margin-left: .3rem; }
.wit-bookmark { display: inline-grid; place-items: center; box-sizing: border-box; width: 2.75rem; height: 2.75rem; border: 1px solid var(--wit-line); background: transparent; border-radius: 50%; color: var(--wit-ink); cursor: pointer; }
.wit-bookmark svg, .wit-empty > svg { width: 1.15rem; height: 1.15rem; }
.wit-bookmark:hover, .wit-bookmark.is-saved { background-color: #ecefe5; border-color: #879b89; }
.wit-bookmark.is-saved svg, [data-save-type].is-saved svg { fill: currentColor; }
.wit-bottom { display: flex; justify-content: center; }
.wit-more, .wit-empty a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .6rem 1.3rem; border: 1px solid var(--wit-ink); background: var(--wit-ink); color: #fff; font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; border-radius: .25rem; }
.wit-more { margin: 1.6rem 0 0; }
.wit-more:hover, .wit-empty a:hover { background: #275644; }
.wit-empty { padding: 2.25rem clamp(1.15rem,4vw,2.4rem); background: var(--wit-paper); border: 1px solid var(--wit-line); border-radius: .3rem; }
.wit-empty > svg { width: 1.55rem; height: 1.55rem; margin-bottom: .75rem; }
.wit-empty p { color: var(--wit-muted); font-size: 1rem; line-height: 1.55; max-width: 38rem; margin: .55rem 0 1.25rem; }
.wit-empty div { display: flex; gap: .7rem; flex-wrap: wrap; }
.wit-empty a + a { background: transparent; color: var(--wit-ink); }
.wit-empty a + a:hover { background: #e4e8de; }
.wit-guide { grid-template-columns: minmax(0,1fr) 2.8rem; }
.wit-card-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}
@media (max-width: 54rem) {
  .wit-filters { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem 1rem; }
  .wit-search-wrap { grid-column: 1/-1; }
}
@media (max-width: 35rem) {
  .wit-filters { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; padding: 1rem 0; }
  .wit-search-wrap { grid-column: 1/-1; }
  .wit-event { grid-template-columns: 2.9rem minmax(0,1fr) 2.75rem; column-gap: .6rem; padding: 1rem 0; }
  .wit-date { width: 2.9rem; min-height: 3.75rem; }
  .wit-date strong { font-size: 1.68rem; }
  .wit-date span { font-size: .7rem; }
  .wit-copy h3 { font-size: 1.4rem; }
  .wit-guide { grid-template-columns: minmax(0,1fr) 2.75rem; }
  .wit-desc { font-size: .98rem; }
}
@media print { .wit-filters, .wit-more, .wit-reset, .wit-bookmark, .wit-card-actions { display: none !important; } .wit-event { break-inside: avoid; } }

.wit-related { margin-top:.55rem; font-size:.89rem; color:var(--wit-muted) }
.wit-related a { text-decoration:underline; text-underline-offset:.18em }

.wit-illustrated {
  grid-template-columns:3.85rem minmax(0,1fr) minmax(6rem,10rem) 2.8rem;
  grid-template-areas:"date copy photo save";
}
.wit-guide.wit-illustrated {
  grid-template-columns:minmax(0,1fr) minmax(6rem,10rem) 2.8rem;
  grid-template-areas:"copy photo save";
}
.wit-illustrated .wit-date {grid-area:date}
.wit-illustrated .wit-copy {grid-area:copy}
.wit-illustrated > .wit-bookmark, .wit-illustrated > .wit-card-actions {grid-area:save}
.wit-illustrated .event-row-photo {grid-area:photo}
@media (max-width:42rem) {
  .wit-illustrated {
    grid-template-columns:4.75rem minmax(0,1fr) 2.75rem;
    grid-template-areas:"date copy save" "photo copy save";
    grid-template-rows:auto 1fr;
    gap:.5rem .7rem;
  }
  .wit-illustrated .wit-date {width:100%;min-height:3.2rem}
  .wit-guide.wit-illustrated {
    grid-template-columns:4.75rem minmax(0,1fr) 2.75rem;
    grid-template-areas:"photo copy save";grid-template-rows:auto
  }
}
