/* Theme-independent baseline. The hospital theme supplies its visual treatment. */
.we-container {
  width: calc(100% - 2.5rem);
  max-width: 83rem;
  margin-inline: auto;
  box-sizing: border-box;
}
.we-page-header {
  padding-block: 3rem;
  background: #f4f6f8;
}
.we-page-header h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.we-intro {
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 1.6;
}
.we-breadcrumbs {
  font-size: 0.875rem;
}
.we-archive-content {
  padding-block: 2rem 4rem;
}
.we-archive-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.we-archive-tabs a {
  padding: 0.75rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
}
.we-archive-tabs a[aria-current="page"] {
  font-weight: bold;
  text-decoration: underline;
}
.we-event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.we-category-filter {
  margin-bottom: 2rem;
}
.we-category-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.we-category-filter li {
  max-width: 100%;
}
.we-category-filter a {
  display: inline-flex;
  min-height: 2.75rem;
  box-sizing: border-box;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid #036;
  border-radius: 2rem;
  background: #fff;
  color: #036;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.we-category-filter a:hover {
  background: #e6edf7;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.we-category-filter a[aria-current="page"] {
  background: #036;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.we-event-categories {
  margin-block: 1rem 1.25rem;
  line-height: 1.4;
}
.we-event-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.we-event-categories a {
  display: inline-flex;
  min-height: 2rem;
  box-sizing: border-box;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgb(175 0 135 / 20%);
  border-radius: 0.375rem;
  background: #fff;
  color: #af0087;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}
.we-event-categories a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.we-card {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  background: #fff;
  color: #242424;
}
.we-card-body {
  min-width: 0;
}
.we-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  background: #f2f5f8;
  border-radius: 0.5rem;
  padding: 0.5rem;
  line-height: 1.2;
}
.we-date-badge strong {
  font-size: 2rem;
}
.we-date-badge span {
  font-size: 0.875rem;
}
.we-card-title {
  margin: 0.5rem 0;
  font-size: 1.5rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.we-card-title a {
  text-underline-offset: 0.2em;
}
.we-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.we-card-venue,
.we-card-cost {
  margin: 0.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.we-card-excerpt {
  margin: 0.75rem 0;
  line-height: 1.65;
  max-width: 65ch;
}
.we-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid currentColor;
  border-radius: 1rem;
  font-size: 0.8125rem;
}
.we-tag--cancelled,
.we-cancellation {
  color: #8c006b;
}
.we-card-image {
  grid-column: 2;
  max-width: 22rem;
}
.we-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0.5rem;
}
.we-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem);
  gap: 3rem;
  padding-block: 3rem 4rem;
  align-items: start;
}
.we-content {
  min-width: 0;
}
.we-content .entry-content {
  max-width: 65ch;
  line-height: 1.65;
}
.we-content .entry-content > * {
  width: auto;
  max-width: 100%;
  margin-inline: 0;
}
.we-content .entry-content > * + * {
  margin-top: 1em;
}
.we-featured {
  margin: 0 0 2rem;
}
.we-featured img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}
.we-featured figcaption {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}
.we-details {
  padding: 1.5rem;
  background: #f4f6f8;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  overflow-wrap: anywhere;
}
.we-details h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  line-height: 1.3;
}
.we-details h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.125rem;
  line-height: 1.4;
}
.we-session-list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
.we-session-list li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.625rem;
  align-items: start;
}
.we-session-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.175rem;
}
.we-session-date,
.we-session-time {
  display: block;
}
.we-session-list li + li {
  margin-top: 0.75rem;
}
.we-details dl {
  margin: 0;
}
.we-details dt {
  font-weight: bold;
  margin-top: 1rem;
}
.we-details dd {
  margin: 0.25rem 0 0;
  white-space: normal;
  line-height: 1.5;
}
.we-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.we-button {
  display: inline-flex;
  padding: 0.75rem 1rem;
  min-height: 2.75rem;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  background: #036;
  color: #fff;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  text-decoration: none;
  line-height: 1.4;
}
.we-button:hover {
  background: #af0087;
  color: #fff;
}
.we-page :where(a, button):focus-visible,
.we-upcoming a:focus-visible {
  outline: 3px solid #036;
  outline-offset: 3px;
}
.we-text-link,
.we-back a,
.we-all-events a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.we-back {
  margin-top: 2rem;
}
.we-upcoming {
  margin-block: 2rem;
}
.we-upcoming > h2,
.we-upcoming > h3,
.we-upcoming > h4,
.we-upcoming > h5 {
  margin-bottom: 1.5rem;
}
.we-all-events {
  margin-top: 1.5rem;
}
.we-empty {
  padding: 2rem;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
}
.we-empty h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}
@media (max-width: 55rem) {
  .we-single-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .we-details {
    max-width: 40rem;
  }
}
@media (max-width: 30rem) {
  .we-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem;
  }
  .we-date-badge {
    flex-direction: row;
    justify-self: start;
    gap: 0.5rem;
  }
  .we-date-badge strong {
    font-size: 1.25rem;
  }
  .we-card-image {
    grid-column: 1;
  }
  .we-page-header {
    padding-block: 2rem;
  }
}
.we-page,
.we-upcoming {
  overflow-wrap: anywhere;
}
.we-page .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
