/* nsf-event-directory.css */

/* The directory provides its own event-specific search control. */
.elementor-element-5f54afc8,
.elementor-element[data-id="5f54afc8"] {
  display: none !important;
}

.nsfed {
  --nsfed-blue: #001a4b;
  --nsf-gold: #FFD700;
  --nsfed-border: #b8c1cc;
  --nsfed-muted: #4b5563;
  box-sizing: border-box;
  width: min(100%, 1280px);
  margin-inline: auto;
  color: var(--nsfed-blue);
}

.nsfed *,
.nsfed *::before,
.nsfed *::after {
  box-sizing: border-box;
}

.nsfed__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.nsfed__page-title,
.nsfed__summary {
  margin: 0;
}

.nsfed__header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.nsfed__view-toggle {
  display: inline-flex;
  padding: 0.15rem;
  border: 1px solid var(--nsfed-border);
  border-radius: 999px;
  background: #fff;
}

.nsfed__view-toggle button {
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--nsfed-blue);
  font: inherit;
  cursor: pointer;
}

.nsfed__view-toggle button[aria-pressed="true"] {
  background: var(--nsfed-blue);
  color: #fff;
}

.nsfed__summary {
  color: var(--nsfed-muted);
  font-size: 0.95rem;
}

.nsfed__controls {
  display: grid;
  grid-template-columns: minmax(14rem, 2fr) minmax(10rem, 1fr) minmax(13rem, 1fr);
  align-items: end;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.nsfed__controls.nsfed__controls--has-clear {
  grid-template-columns: minmax(14rem, 2fr) minmax(10rem, 1fr) minmax(13rem, 1fr) auto;
}

.nsfed__my-schedule {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin: -0.5rem 0 1rem;
}

.nsfed__my-schedule .nsfed__button {
  font-family: inherit !important;
  white-space: nowrap;
}

.nsfed__label-short {
  display: none;
}

.nsfed__button--schedule-filter[aria-pressed="true"] {
  background: var(--nsfed-blue) !important;
  color: #fff !important;
}

.nsfed__field {
  min-width: 0;
}

.nsfed__field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.nsfed__search,
.nsfed__day-filter,
.nsfed__venue-filter,
.nsfed__clear {
  min-height: 2.875rem;
  width: 100%;
  border: 1px solid var(--nsfed-border);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--nsfed-blue);
  font: inherit;
}

.nsfed__search,
.nsfed__day-filter,
.nsfed__venue-filter {
  padding: 0.65rem 0.8rem;
}

.nsfed__clear {
  width: auto;
  padding: 0.65rem 1rem;
  cursor: pointer;
}

.nsfed__clear:hover {
  border-color: var(--nsfed-blue);
}

.nsfed__search:focus-visible,
.nsfed__day-filter:focus-visible,
.nsfed__venue-filter:focus-visible,
.nsfed__clear:focus-visible,
.nsfed__view-toggle button:focus-visible,
.nsfed__button:focus-visible,
.nsfed__more:focus-visible,
.nsfed a:focus-visible {
  outline: 3px solid #f5c400;
  outline-offset: 2px;
}

.nsfed__results {
  display: grid;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 3rem;
}

.nsfed--grid .nsfed__results {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nsfed__event {
	position: relative;
  display: grid;
  align-self: stretch;
  height: 100%;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid #aeb9c7;
	border-radius: 0.6rem;
	background: #f4f7fb;
	box-shadow: 0 0.2rem 0.6rem rgba(0, 26, 75, 0.14);
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
}

.nsfed .nsfed__spotlight-label {
	position: absolute !important;
	top: 5px !important;
	left: 5px !important;
	display: inline-block !important;
	padding: 3px !important;
	background: #FFD700 !important;
	color: #000000 !important;
	font-family: 'Roboto Condensed', sans-serif !important;
	font-style: normal !important;
	font-size: 10px !important;
	font-weight: 600 !important;
	min-height: unset !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	border-radius: 4px !important;
	line-height: 1 !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
	z-index: 10 !important;
}

.nsfed .nsfed__event--spotlight {
	border: 2px solid var(--nsf-gold) !important;
}

@supports (content-visibility: auto) {
	.nsfed__event {
		content-visibility: auto;
		contain-intrinsic-size: auto 34rem;
	}
}

.nsfed--list .nsfed__event--with-image {
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  grid-template-rows: 1fr;
}

.nsfed--grid .nsfed__event--with-image {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

.nsfed--grid .nsfed__event:not(.nsfed__event--with-image) {
  grid-template-rows: 1fr;
}

.nsfed--grid .nsfed__image-link {
  height: 12rem;
  min-height: 12rem;
  max-height: 12rem;
  overflow: hidden;
}

.nsfed--grid .nsfed__image {
  width: 100% !important;
  height: 12rem !important;
  min-height: 12rem;
  max-height: 12rem;
  object-fit: cover;
}

.nsfed__image-link {
  display: block;
  min-height: 12rem;
  background: #eef1f4;
}

.nsfed__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
}

.nsfed__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 1rem 1.1rem;
}

.nsfed .nsfed__title {
  margin: 0 0 0.4rem;
  font-family: var(--e-global-typography-primary-font-family), sans-serif !important;
  font-size: clamp(1.5rem, 2.5vw, 1.75rem) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
}

.nsfed__title a {
  color: inherit;
  text-decoration: none;
}

.nsfed__title a:hover {
  font-weight: inherit !important;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.nsfed__date-range {
  margin: 0 0 0.2rem;
  font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.nsfed__time,
.nsfed__price,
.nsfed__venue,
.nsfed__description {
  margin: 0.25rem 0 0;
}

.nsfed__time,
.nsfed__price,
.nsfed__venue {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.nsfed__time--ticketed,
.nsfed__price {
	margin-top: 0.12rem;
	font-size: 1rem;
	font-weight: 400;
  line-height: 1.15;
}

.nsfed__time--all-day {
	font-weight: 400;
}

.nsfed__icon {
  flex: 0 0 auto;
  width: 1em;
  text-align: center;
}

.nsfed__icon svg {
  display: block;
}

.nsfed__venue a,
.nsfed__table-nav {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.nsfed__venue a:hover,
.nsfed__venue a:focus-visible {
  background: transparent;
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.nsfed__description {
  margin-top: 0.6rem;
  color: #263445;
  line-height: 1.45;
}

.nsfed .nsfed__description .nsfed__more {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-variant: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-decoration: none !important;
  text-transform: none !important;
  vertical-align: baseline;
  cursor: pointer;
}

.nsfed .nsfed__description .nsfed__more:hover {
  background: transparent !important;
  color: inherit !important;
  font-weight: 700 !important;
}

.nsfed__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.9rem;
}

.nsfed--grid .nsfed__actions {
	grid-template-columns: minmax(5rem, 1fr) minmax(3.25rem, 0.65fr) minmax(6.5rem, 1.35fr);
}

.nsfed--grid .nsfed__actions .nsfed__button {
	padding-inline: 0.35rem;
	white-space: nowrap;
}

.nsfed--grid .nsfed__button--navigate .nsfed__button-icon {
	margin-right: 0.15rem;
}

.nsfed__actions .nsfed__button {
  font-family: var(--e-global-typography-primary-font-family), Sans-serif !important;
  font-weight: var(--e-global-typography-primary-font-weight) !important;
}

.nsfed__button {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--nsfed-blue) !important;
  border-radius: 0.35rem !important;
  background: #fff;
  color: var(--nsfed-blue);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.nsfed__button-icon {
  flex: 0 0 auto;
  margin-right: 0.35rem;
}

.nsfed__button--navigate {
  grid-column: 2;
  text-transform: uppercase;
}

.nsfed__button--navigate:hover {
  border-width: 2px !important;
}

.nsfed__button:hover {
  border-color: #c8102e;
}

.nsfed__button--ticket,
.nsfed__button--sold-out,
.nsfed__button--save {
  background: var(--nsfed-blue);
  color: #fff;
}

.nsfed__button--ticket,
.nsfed__button--ticket:hover,
.nsfed__button--ticket:focus-visible {
  background: var(--nsfed-blue) !important;
  color: #fff !important;
}

.nsfed__button--share {
  appearance: none;
  box-shadow: none;
}

.nsfed__button--admission {
  grid-column: 1;
  width: 100%;
}

.nsfed__button--free {
  background: #fff;
  color: var(--nsfed-blue);
  cursor: default;
}

.nsfed__button--free:hover {
  border-color: var(--nsfed-blue);
}

.nsfed__button--sold-out {
  cursor: default;
}

.nsfed__button--sold-out:hover {
  border-color: var(--nsfed-blue) !important;
}

.nsfed__button--ticket:hover,
.nsfed__button--save:hover {
  border-color: var(--nsfed-blue) !important;
  background-color: var(--e-global-color-f451413) !important;
  color: var(--e-global-color-318a145) !important;
}

.nsfed__button--save {
  grid-column: 3;
  width: 100%;
  appearance: none;
  box-shadow: none;
}

/* Activities without ticketing use two equally sized actions: Navigate and My Schedule. */
.nsfed__actions--non-ticketed-with-map,
.nsfed--grid .nsfed__actions--non-ticketed-with-map {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nsfed__actions--non-ticketed-with-map .nsfed__button--navigate {
	grid-column: 1;
	text-transform: none;
}

.nsfed__actions--non-ticketed-with-map .nsfed__button--save {
	grid-column: 2;
}

.nsfed__button--save[aria-pressed="true"] {
  background: #cfddf0 !important;
  color: var(--nsfed-blue) !important;
  box-shadow: inset 0 0 0 1px var(--nsfed-blue);
}

.nsfed__button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
}

.nsfed__button--sold-out[aria-disabled="true"] {
  cursor: default;
  opacity: 1;
}

.nsfed__table-nav {
  display: block;
  width: fit-content;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.nsfed__schedule {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 0.75rem;
  border-top: 1px solid #d8dde4;
  padding-top: 0.6rem;
}

.nsfed__schedule summary {
  width: fit-content;
  font-weight: 600;
  cursor: pointer;
}

.nsfed__schedule-scroll {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 0.55rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.nsfed__schedule table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  color: #263445;
  font-size: 0.9rem;
}

.nsfed__schedule th,
.nsfed__schedule td {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid #d8dde4;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.nsfed__schedule th {
  color: var(--nsfed-blue);
  font-weight: 600;
}

.nsfed__highlight {
  padding: 0;
  border: 1px dotted currentColor;
  border-radius: 0;
  background: yellow;
  color: inherit;
}

@media (max-width: 1220px) {
	.nsfed--grid .nsfed__results {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nsfed--grid .nsfed__actions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nsfed--grid .nsfed__actions .nsfed__button {
		padding-inline: 0.8rem;
	}
}

@media (max-width: 980px) {
	.nsfed--grid .nsfed__results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nsfed__empty,
.nsfed__notice {
  padding: 1rem;
  border: 1px solid var(--nsfed-border);
  border-radius: 0.5rem;
  background: #f7f8fa;
}

[data-nsfed-event][hidden],
.nsfed__empty[hidden],
.nsfed__clear[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .nsfed {
    padding-inline: 0.75rem;
    overflow-x: hidden;
  }

  /* Keep the select labels available to assistive technology without using
     vertical space. The selected values still state "All days" and
     "All locations" for visual context. */
  .nsfed__field label[for$="-search"],
  .nsfed__field label[for$="-day"],
  .nsfed__field label[for$="-venue"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .nsfed__header {
    align-items: start;
  }

  .nsfed__header-tools {
    align-items: flex-end;
    flex-direction: column;
    gap: 0.35rem;
  }

  .nsfed__controls {
    grid-template-columns: 1fr;
  }

  .nsfed__controls.nsfed__controls--has-clear {
    grid-template-columns: 1fr;
  }

  .nsfed__clear {
    width: 100%;
  }

  .nsfed__my-schedule {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.35rem;
  }

  .nsfed__my-schedule .nsfed__button {
    width: 100%;
    min-width: 0;
    min-height: 2.625rem;
    padding: 0.45rem 0.2rem;
    font-size: 0.65rem;
    letter-spacing: 0;
  }

  .nsfed__label-full {
    display: none;
  }

  .nsfed__label-short {
    display: inline;
  }

  .nsfed--grid .nsfed__results {
    grid-template-columns: 1fr;
  }

  .nsfed__event,
  .nsfed__content,
  .nsfed__schedule,
  .nsfed__schedule-scroll {
    min-width: 0;
    max-width: 100%;
  }

  .nsfed--list .nsfed__event--with-image {
    grid-template-columns: 1fr;
  }

  .nsfed__image-link,
  .nsfed__image {
    min-height: 10rem;
    max-height: 17rem;
  }

  .nsfed--grid .nsfed__image-link,
  .nsfed--grid .nsfed__image {
    height: 10rem !important;
    min-height: 10rem;
    max-height: 10rem;
  }

  .nsfed .nsfed__title {
    font-size: 1.5rem !important;
  }

  .nsfed__title a,
  .nsfed__image-link {
    text-decoration: underline;
    text-underline-offset: 0.12em;
  }
}

@media print {
  .nsfed__controls,
  .nsfed__view-toggle,
  .nsfed__my-schedule,
  .nsfed__actions,
  .nsfed__more,
  .nsfed__table-nav {
    display: none !important;
  }

  .nsfed--grid .nsfed__results,
  .nsfed--list .nsfed__results {
    display: block;
    margin-bottom: 0;
  }

  .nsfed__event,
  .nsfed__event--with-image {
    display: block;
    break-inside: avoid;
    page-break-inside: avoid;
    border: 0;
    border-bottom: 1px solid #777;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Grid gaps do not carry over when cards become block elements for print. */
  .nsfed .nsfed__event--spotlight {
    margin: 0 0 0.75rem !important;
  }

  /* Keep the label in normal document flow so it cannot cover the title. */
  .nsfed .nsfed__spotlight-label {
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    margin: 0 0 0.35rem !important;
    padding: 0 !important;
    background: transparent !important;
    color: #000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .nsfed__image-link {
    display: none;
  }

  .nsfed__content {
    padding: 0.35rem 0;
  }

  .nsfed__description {
    color: #000;
  }
}

/* nsf-event-directory.css */
