.afea-list-wrap,
.afea-single-wrap {
  --afea-list-icon-column: 59px;
  --afea-list-date-column: minmax(98px, .60fr);
  --afea-list-location-column: minmax(210px, 1.14fr);
  --afea-list-summary-column: minmax(360px, 2.50fr);
  --afea-list-category-column: minmax(60px, .28fr);
  --afea-list-actions-column: 138px;
  --afea-list-column-gap: 16px;
  --afea-list-date-size-desktop: 18px;
  --afea-list-date-size-mobile: 18px;
  --afea-list-location-size-desktop: 18px;
  --afea-list-location-size-mobile: 18px;
  --afea-list-description-size-desktop: 18px;
  --afea-list-description-size-mobile: 18px;
  --afea-list-category-size-desktop: 18px;
  --afea-list-category-size-mobile: 18px;
  --afea-list-columns:
    var(--afea-list-icon-column)
    var(--afea-list-date-column)
    var(--afea-list-location-column)
    var(--afea-list-summary-column)
    var(--afea-list-category-column);
  --afea-line: #d8d8d8;
  --afea-line-strong: #b8b8b8;
  --afea-text: #222;
  --afea-muted: #666;
  --afea-list-date-color: #222;
  --afea-list-location-color: #222;
  --afea-list-location-meta-color: #666;
  --afea-list-description-color: #222;
  --afea-list-description-meta-color: #666;
  --afea-list-category-color: #666;
  --afea-soft-bg: #f7f7f7;
  --afea-button-bg: #fff;
  --afea-button-hover: #f0f0f0;
  --afea-accent: #8f1d14;
  color: inherit;
}

.afea-list-wrap .afea-section-title,
.afea-single-wrap .afea-section-title {
  display: block;
  margin: 0 0 10px;
  font-size: calc(1.1em + 2pt) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: inherit !important;
}

.afea-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}

.afea-section-heading .afea-section-title {
  margin: 0 !important;
  min-width: 0;
  scroll-margin-top: 100px;
}

.afea-scroll-anchor {
  display: block;
  height: 0;
  margin-top: -35px;
  padding-top: 35px;
  visibility: hidden;
  pointer-events: none;
}

.afea-list-wrap .afea-section-jump,
html body #top .afea-list-wrap .afea-section-jump {
  display: inline-flex !important;
  align-items: center;
  justify-self: start;
  align-self: baseline;
  color: var(--afea-muted) !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  opacity: 1 !important;
  white-space: nowrap;
}

.afea-section-jump:hover,
.afea-section-jump:focus-visible {
  color: var(--afea-accent) !important;
  opacity: 1;
}

.afea-events-search {
  margin: 0 0 43px;
  display: grid;
  gap: 5px;
  max-width: 760px;
}

.afea-list-wrap.afea-search-active .afea-events-search {
  margin-bottom: 0;
}

.afea-list-wrap [hidden],
.afea-single-wrap [hidden] {
  display: none !important;
}

.afea-list-wrap.afea-search-active [data-afea-search-section],
.afea-list-wrap.afea-search-active .afea-archive-list {
  display: none !important;
}

.afea-events-search-bar {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.afea-list-wrap > .afea-events-search,
.afea-list-wrap > .afea-search-results,
.afea-list-wrap > .afea-recent-events,
.afea-list-wrap > .afea-archive-list {
  margin-bottom: 33px;
}

.afea-list-wrap > .afea-archive-list:last-child,
.afea-list-wrap > .afea-recent-events:last-child,
.afea-list-wrap > .afea-search-results:last-child,
.afea-list-wrap > .afea-events-search:last-child {
  margin-bottom: 0;
}

.afea-events-search input[type="search"] {
  width: 100%;
  flex: 1 1 420px;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--afea-line);
  border-radius: 5px;
  background: #fff;
  color: inherit;
  font: inherit;
  box-sizing: border-box;
}

.afea-events-search input[type="search"]:focus {
  outline: 2px solid #555;
  outline-offset: 2px;
}

.afea-quick-filters {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  height: 40px;
  white-space: nowrap;
}

.afea-quick-filter {
  min-width: 88px;
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--afea-line);
  border-radius: 5px;
  background: var(--afea-button-bg);
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.afea-quick-filter:hover,
.afea-quick-filter:focus-visible {
  background: var(--afea-button-hover);
}

.afea-quick-filter.is-active {
  border-color: var(--afea-line-strong);
  background: var(--afea-soft-bg);
  font-weight: 700;
}

.afea-search-empty {
  margin: 0;
  color: var(--afea-muted);
  font-size: .95em;
  line-height: 1.35;
}

.afea-search-empty {
  color: inherit;
  font-weight: 700;
}

.afea-events-stack,
.afea-archive-months {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.afea-events-stack-main {
  margin-bottom: 18px;
}

.afea-empty-state {
  margin: 0;
  color: var(--afea-muted);
}

.afea-search-results {
  display: none;
  margin: 0 0 18px;
}

.afea-list-wrap.afea-search-active .afea-search-results:not([hidden]) {
  display: block;
}

.afea-search-results-stack {
  margin-bottom: 18px;
}

.afea-search-results-note {
  margin: -2px 0 8px;
  color: var(--afea-muted);
  font-size: .95em;
  line-height: 1.35;
}

.afea-search-results-empty {
  font-weight: 700;
}

.afea-event-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--afea-list-actions-column);
  align-items: center;
  gap: var(--afea-list-column-gap);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}

.afea-event-row-link {
  display: grid;
  grid-template-columns: var(--afea-list-columns);
  gap: var(--afea-list-column-gap);
  align-items: center;
  justify-items: stretch;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.afea-event-list-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--afea-list-actions-column);
  gap: var(--afea-list-column-gap);
  margin: 2px 0 5px;
  color: var(--afea-muted);
  font-size: .74em;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .9;
}

.afea-event-list-header-grid {
  display: grid;
  grid-template-columns: var(--afea-list-columns);
  gap: var(--afea-list-column-gap);
  justify-items: stretch;
  min-width: 0;
}

.afea-event-list-header-grid > span,
.afea-event-row-link > span {
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: left;
}

.afea-event-list-header-grid > span,
.afea-event-list-header-actions {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
}

.afea-event-row-link > span {
  display: block;
  width: 100%;
  justify-self: stretch;
}

.afea-event-list-header-actions {
  display: block;
  justify-self: stretch;
  text-align: left;
}

.afea-event-list-header-icon {
  min-height: 1px;
}

.afea-event-list-header-cell {
  display: block;
}

.afea-event-row-link > .afea-event-icon {
  width: 55px;
  min-width: 55px;
  height: 61px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  align-self: center;
}

.afea-event-icon-image,
.afea-placeholder.afea-event-icon-image {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  background: #e8e8e8;
}

.afea-placeholder {
  display: inline-block;
}

.afea-placeholder-list {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)),
    #e6e6e6;
  background-size: 160% 100%;
  animation: afea-placeholder-shimmer 1.8s ease-in-out infinite;
}

.afea-placeholder-list::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 2px;
}

@keyframes afea-placeholder-shimmer {
  0% {
    background-position: 140% 0;
  }

  100% {
    background-position: -40% 0;
  }
}

.afea-event-line,
.afea-archive-month-line,
.afea-event-kicker,
.afea-single-content p,
.afea-gallery-title {
  font-size: inherit;
  line-height: inherit;
}

.afea-event-line,
.afea-archive-month-line {
  margin: 0;
  font-size: 1em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.afea-archive-month-toggle:hover .afea-archive-month-name,
.afea-archive-month-toggle:focus-visible .afea-archive-month-name {
  text-decoration: underline;
}

.afea-list-wrap .afea-event-row-link:hover .afea-event-date-inline,
.afea-list-wrap .afea-event-row-link:hover .afea-event-location-inline,
.afea-list-wrap .afea-event-row-link:hover .afea-event-location-part,
.afea-list-wrap .afea-event-row-link:hover .afea-event-summary-inline,
.afea-list-wrap .afea-event-row-link:hover .afea-event-summary-part,
.afea-list-wrap .afea-event-row-link:hover .afea-event-category-inline,
.afea-list-wrap .afea-event-row-link:focus-visible .afea-event-date-inline,
.afea-list-wrap .afea-event-row-link:focus-visible .afea-event-location-inline,
.afea-list-wrap .afea-event-row-link:focus-visible .afea-event-location-part,
.afea-list-wrap .afea-event-row-link:focus-visible .afea-event-summary-inline,
.afea-list-wrap .afea-event-row-link:focus-visible .afea-event-summary-part,
.afea-list-wrap .afea-event-row-link:focus-visible .afea-event-category-inline,
html body #top .afea-list-wrap .afea-event-row-link:hover .afea-event-date-inline,
html body #top .afea-list-wrap .afea-event-row-link:hover .afea-event-location-inline,
html body #top .afea-list-wrap .afea-event-row-link:hover .afea-event-location-part,
html body #top .afea-list-wrap .afea-event-row-link:hover .afea-event-summary-inline,
html body #top .afea-list-wrap .afea-event-row-link:hover .afea-event-summary-part,
html body #top .afea-list-wrap .afea-event-row-link:hover .afea-event-category-inline,
html body #top .afea-list-wrap .afea-event-row-link:focus-visible .afea-event-date-inline,
html body #top .afea-list-wrap .afea-event-row-link:focus-visible .afea-event-location-inline,
html body #top .afea-list-wrap .afea-event-row-link:focus-visible .afea-event-location-part,
html body #top .afea-list-wrap .afea-event-row-link:focus-visible .afea-event-summary-inline,
html body #top .afea-list-wrap .afea-event-row-link:focus-visible .afea-event-summary-part,
html body #top .afea-list-wrap .afea-event-row-link:focus-visible .afea-event-category-inline {
  color: var(--afea-accent) !important;
}

.afea-event-row-link:focus-visible,
.afea-archive-month-toggle:focus-visible,
.afea-year-tab:focus-visible,
.afea-action:focus-visible,
.afea-gallery-item:focus-visible,
.afea-event-modal-close:focus-visible,
.afea-lightbox-close:focus-visible,
.afea-reminder-form button:focus-visible,
.afea-reminder-form input[type="email"]:focus-visible {
  outline: 2px solid #555;
  outline-offset: 2px;
}

.afea-event-date-inline,
.afea-event-location-inline,
.afea-event-summary-inline,
.afea-event-category-inline,
.afea-event-sep,
.afea-archive-month-name,
.afea-archive-month-count {
  font: inherit;
  color: inherit;
}

.afea-event-summary-part.is-specifics,
.afea-event-summary-part.is-credit,
.afea-event-location-part.is-venue,
.afea-event-category-inline,
.afea-archive-month-count {
  color: var(--afea-muted);
}

.afea-event-date-inline,
.afea-event-location-inline,
.afea-event-summary-inline,
.afea-event-category-inline {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: break-word;
}

.afea-event-date-inline,
.afea-event-location-inline,
.afea-event-summary-inline,
.afea-event-category-inline {
  line-height: 1.22;
}

.afea-list-wrap .afea-event-row-link,
.afea-list-wrap .afea-event-row-link:link,
.afea-list-wrap .afea-event-row-link:visited,
html body #top .afea-list-wrap .afea-event-row-link,
html body #top .afea-list-wrap .afea-event-row-link:link,
html body #top .afea-list-wrap .afea-event-row-link:visited {
  color: inherit !important;
}

.afea-list-wrap .afea-event-date-inline,
html body #top .afea-list-wrap .afea-event-date-inline {
  font-size: var(--afea-list-date-size-desktop) !important;
  color: var(--afea-list-date-color) !important;
}

.afea-list-wrap .afea-event-location-inline,
html body #top .afea-list-wrap .afea-event-location-inline {
  font-size: var(--afea-list-location-size-desktop) !important;
}

.afea-list-wrap .afea-event-location-part.is-location,
html body #top .afea-list-wrap .afea-event-location-part.is-location {
  color: var(--afea-list-location-color) !important;
  font-weight: 700 !important;
}

.afea-list-wrap .afea-event-location-part.is-venue,
html body #top .afea-list-wrap .afea-event-location-part.is-venue {
  color: var(--afea-list-location-meta-color) !important;
}

.afea-list-wrap .afea-event-summary-inline,
html body #top .afea-list-wrap .afea-event-summary-inline {
  font-size: var(--afea-list-description-size-desktop) !important;
}

.afea-list-wrap .afea-event-summary-part.is-title,
html body #top .afea-list-wrap .afea-event-summary-part.is-title {
  color: var(--afea-list-description-color) !important;
  font-weight: 700 !important;
}

.afea-list-wrap .afea-event-summary-part.is-specifics,
.afea-list-wrap .afea-event-summary-part.is-credit,
html body #top .afea-list-wrap .afea-event-summary-part.is-specifics,
html body #top .afea-list-wrap .afea-event-summary-part.is-credit {
  color: var(--afea-list-description-meta-color) !important;
}

.afea-list-wrap .afea-event-category-inline,
html body #top .afea-list-wrap .afea-event-category-inline {
  font-size: var(--afea-list-category-size-desktop) !important;
  color: var(--afea-list-category-color) !important;
}

.afea-event-date-inline,
.afea-event-category-inline {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.afea-event-location-inline,
.afea-event-summary-inline {
  display: grid;
  gap: 2px;
  align-content: start;
}

.afea-event-inline-part {
  display: -webkit-box;
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.afea-event-summary-part.is-title {
  font-weight: inherit;
  color: inherit;
}

.afea-event-location-part.is-location {
  color: inherit;
}

.afea-event-category-inline {
  white-space: normal;
}

.afea-event-sep {
  display: inline-block;
  margin: 0 7px;
  color: var(--afea-line-strong);
}

.afea-is-highlighted .afea-event-row-link {
  font-weight: inherit;
}

.afea-is-today .afea-event-date-inline {
  color: var(--afea-accent);
}

.afea-event-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.afea-event-actions-row {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 5px;
  width: var(--afea-list-actions-column);
  justify-self: start;
  align-self: center;
}

.afea-action {
  min-width: 32px;
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--afea-line);
  border-radius: 5px;
  background: var(--afea-button-bg);
  color: var(--afea-text) !important;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
}

.afea-action:link,
.afea-action:visited,
button.afea-action,
span.afea-action {
  color: var(--afea-text) !important;
  text-decoration: none;
}

.afea-action:hover,
.afea-action:focus-visible {
  background: var(--afea-button-hover);
  color: var(--afea-accent) !important;
  text-decoration: none;
}

.afea-action-current {
  border-color: var(--afea-line-strong);
  background: var(--afea-soft-bg);
  cursor: default;
}

.afea-action-current:hover,
.afea-action-current:focus-visible {
  border-color: var(--afea-line-strong);
  background: var(--afea-button-hover);
  color: var(--afea-accent) !important;
}

.afea-action-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.afea-action-icon svg,
.afea-event-modal-close svg,
.afea-lightbox-close svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.afea-action-icon-only {
  width: 30px;
  min-width: 30px;
  padding: 0;
}

.afea-action-icon-only .afea-action-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.afea-reminder-inline {
  grid-column: 1 / -1;
  margin: 6px 0 3px 56px;
}

.afea-reminder-inline-single {
  margin: 16px 0 0;
}

.afea-reminder-panel {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  vertical-align: top;
}

.afea-reminder-panel-compact {
  width: auto;
  max-width: 100%;
}

.afea-reminder-close {
  position: relative;
  top: auto;
  right: auto;
  width: 24px;
  height: 44px;
  flex: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--afea-muted);
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.afea-reminder-close:hover,
.afea-reminder-close:focus-visible {
  color: var(--afea-accent);
  background: transparent;
}

.afea-reminder-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  align-items: stretch;
}

.afea-reminder-form label {
  display: flex;
  align-items: stretch;
  margin: 0;
  min-width: 0;
}

.afea-reminder-form input[type="email"] {
  min-width: 260px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--afea-line);
  border-radius: 5px;
  box-sizing: border-box;
  line-height: 1.2;
  align-self: stretch;
}

.afea-reminder-form button {
  height: 44px;
  min-height: 44px;
  background: var(--afea-button-bg);
  border: 1px solid var(--afea-line);
  color: inherit;
  border-radius: 5px;
  padding: 10px 16px;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  align-self: stretch;
}

.afea-reminder-form button:hover {
  background: var(--afea-button-hover);
}

.afea-archive-list {
  margin-top: 10px;
}

.afea-year-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: flex-end;
  border-bottom: 1px solid var(--afea-line);
  margin-bottom: 10px;
}

.afea-year-tab {
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid var(--afea-line);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: var(--afea-soft-bg);
  color: inherit;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.15;
  font-family: inherit;
  font-weight: inherit;
}

.afea-year-tab.is-active {
  background: #fff;
  border-color: var(--afea-line-strong);
  font-weight: 700;
  margin-bottom: -1px;
  padding-bottom: 6px;
}

.afea-archive-month-block {
  border-bottom: 1px solid var(--afea-line);
}

.afea-archive-month-toggle {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 6px 0;
  margin: 0;
  cursor: pointer;
}

.afea-archive-month-panel {
  padding: 1px 0 7px;
}

.afea-events-stack-archive {
  margin-left: 0;
}

.afea-single-wrap {
  padding: 0;
  color: inherit;
}

.afea-event-hero {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.afea-single-wrap-no-image .afea-event-hero {
  display: block;
}

.afea-event-heading {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.afea-event-hero-media {
  flex: 0 1 33.333%;
  max-width: 400px;
  max-height: 600px;
  margin: 0;
  align-self: flex-start;
}

.afea-event-hero-image {
  width: 100%;
  max-height: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.afea-event-kicker {
  margin: 0;
  color: var(--afea-muted);
}

.afea-single-wrap .afea-event-location,
.single-af_event .afea-single-wrap .afea-event-location,
.afea-event-modal .afea-single-wrap .afea-event-location {
  font-size: var(--afea-location-desktop) !important;
  line-height: 1.16;
  font-weight: 500;
  color: inherit;
}

.afea-single-wrap .afea-event-date,
.single-af_event .afea-single-wrap .afea-event-date,
.afea-event-modal .afea-single-wrap .afea-event-date {
  font-size: var(--afea-date-desktop) !important;
  line-height: 1.2;
  color: inherit;
  font-weight: 700;
}

.afea-single-wrap .afea-event-credit,
.single-af_event .afea-single-wrap .afea-event-credit,
.afea-event-modal .afea-single-wrap .afea-event-credit {
  font-size: var(--afea-credit-desktop) !important;
  line-height: 1.28;
  color: var(--afea-muted);
}

.afea-event-credit span {
  color: inherit;
}

.afea-event-subcategories span {
  color: inherit;
}

.afea-single-wrap .afea-event-subcategories,
.single-af_event .afea-single-wrap .afea-event-subcategories,
.afea-event-modal .afea-single-wrap .afea-event-subcategories {
  font-size: var(--afea-category-desktop) !important;
  line-height: 1.28;
  color: var(--afea-muted);
}

.afea-single-wrap .afea-single-title,
.single-af_event .afea-single-wrap .afea-single-title,
.afea-event-modal .afea-single-wrap .afea-single-title {
  margin: 4px 0 0;
  font-size: var(--afea-h1-desktop) !important;
  line-height: 1.08 !important;
  font-weight: 500;
  color: inherit;
}

.afea-single-wrap .afea-single-subtitle,
.single-af_event .afea-single-wrap .afea-single-subtitle,
.afea-event-modal .afea-single-wrap .afea-single-subtitle,
.afea-single-wrap .afea-event-venue,
.single-af_event .afea-single-wrap .afea-event-venue,
.afea-event-modal .afea-single-wrap .afea-event-venue {
  margin: 0;
  font-size: var(--afea-h2-desktop) !important;
  line-height: 1.22 !important;
  font-weight: 400;
  color: var(--afea-muted);
}

.afea-event-actions-page,
.afea-event-actions-modal {
  margin-top: 6px;
}

.afea-single-content {
  margin-top: 22px;
}

.afea-single-content > :first-child {
  margin-top: 0;
}

.afea-gallery-block {
  margin-top: 28px;
}

.afea-gallery-title {
  margin: 0 0 10px;
  font-weight: 700;
}

.afea-gallery-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 150px));
  gap: 10px;
  justify-content: start;
}

.afea-gallery-item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--afea-line);
  background: #ececec;
}

.afea-gallery-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.afea-event-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw;
  height: 100vh;
  z-index: 2147483000;
  isolation: isolate;
}

.afea-event-modal[hidden],
.afea-lightbox[hidden] {
  display: none !important;
}

.afea-event-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 1;
}

.afea-event-modal-dialog {
  position: fixed;
  top: 5vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 90vh;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  z-index: 2;
}

.afea-event-modal-dialog:focus,
.afea-event-modal-dialog:focus-visible {
  outline: none;
}

.afea-event-modal-close,
.afea-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--afea-line);
  border-radius: 50%;
  background: #fff;
  color: inherit;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
}

.afea-event-modal-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 38px 34px 34px;
  box-sizing: border-box;
  background: #fff;
}

.afea-event-modal-content {
  min-height: 100%;
  background: #fff;
}

.afea-modal-loading,
.afea-modal-error {
  margin: 0;
}

.afea-modal-event-body {
  max-width: 100%;
}

.afea-modal-event-body .afea-single-content,
.afea-modal-event-body .afea-gallery-block,
.afea-modal-event-body .afea-reminder-inline-single {
  max-width: 100%;
}

.afea-lightbox {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, .82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2147483001;
}

.afea-lightbox-image {
  max-width: min(1200px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  display: block;
}

.afea-lightbox-close {
  position: fixed;
  color: #111;
}

@media (min-width: 990px) and (hover: hover) and (pointer: fine) {
  .afea-action[data-afea-tooltip],
  .afea-event-modal-close[data-afea-tooltip],
  .afea-lightbox-close[data-afea-tooltip] {
    overflow: visible;
  }

  .afea-action[data-afea-tooltip]::after,
  .afea-action[data-afea-tooltip]::before,
  .afea-event-modal-close[data-afea-tooltip]::after,
  .afea-event-modal-close[data-afea-tooltip]::before,
  .afea-lightbox-close[data-afea-tooltip]::after,
  .afea-lightbox-close[data-afea-tooltip]::before {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
  }

  .afea-action[data-afea-tooltip]::after,
  .afea-event-modal-close[data-afea-tooltip]::after,
  .afea-lightbox-close[data-afea-tooltip]::after {
    content: attr(data-afea-tooltip);
    z-index: 12;
    min-width: 0;
    max-width: 240px;
    width: max-content;
    padding: 7px 9px;
    border-radius: 5px;
    background: rgba(17, 17, 17, .92);
    color: #fff;
    font-size: 9px;
    line-height: 1.28;
    text-align: left;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    white-space: normal;
  }

  .afea-action[data-afea-tooltip]::before,
  .afea-event-modal-close[data-afea-tooltip]::before,
  .afea-lightbox-close[data-afea-tooltip]::before {
    content: "";
    z-index: 11;
    width: 8px;
    height: 8px;
    background: rgba(17, 17, 17, .92);
    transform: rotate(45deg);
  }

  .afea-action[data-afea-tooltip]::after {
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translate(-50%, 4px);
  }

  .afea-action[data-afea-tooltip]::before {
    left: calc(50% - 4px);
    bottom: calc(100% + 6px);
    transform: translateY(4px) rotate(45deg);
  }

  .afea-event-actions-row .afea-action[data-afea-tooltip]::after {
    left: auto;
    right: 0;
    transform: translateY(4px);
  }

  .afea-event-actions-row .afea-action[data-afea-tooltip]::before {
    left: auto;
    right: 11px;
    transform: translateY(4px) rotate(45deg);
  }

  .afea-event-modal-close[data-afea-tooltip]::after,
  .afea-lightbox-close[data-afea-tooltip]::after {
    top: calc(100% + 10px);
    right: 0;
    transform: translateY(-4px);
  }

  .afea-event-modal-close[data-afea-tooltip]::before,
  .afea-lightbox-close[data-afea-tooltip]::before {
    top: calc(100% + 6px);
    right: 16px;
    transform: translateY(-4px) rotate(45deg);
  }

  .afea-action[data-afea-tooltip]:hover::after,
  .afea-action[data-afea-tooltip]:hover::before,
  .afea-action[data-afea-tooltip]:focus-visible::after,
  .afea-action[data-afea-tooltip]:focus-visible::before,
  .afea-event-modal-close[data-afea-tooltip]:hover::after,
  .afea-event-modal-close[data-afea-tooltip]:hover::before,
  .afea-event-modal-close[data-afea-tooltip]:focus-visible::after,
  .afea-event-modal-close[data-afea-tooltip]:focus-visible::before,
  .afea-lightbox-close[data-afea-tooltip]:hover::after,
  .afea-lightbox-close[data-afea-tooltip]:hover::before,
  .afea-lightbox-close[data-afea-tooltip]:focus-visible::after,
  .afea-lightbox-close[data-afea-tooltip]:focus-visible::before {
    opacity: 1;
  }

  .afea-action[data-afea-tooltip]:hover::after,
  .afea-action[data-afea-tooltip]:focus-visible::after {
    transform: translate(-50%, 0);
  }

  .afea-action[data-afea-tooltip]:hover::before,
  .afea-action[data-afea-tooltip]:focus-visible::before {
    transform: translateY(0) rotate(45deg);
  }

  .afea-event-actions-row .afea-action[data-afea-tooltip]:hover::after,
  .afea-event-actions-row .afea-action[data-afea-tooltip]:focus-visible::after {
    transform: translateY(0);
  }

  .afea-event-actions-row .afea-action[data-afea-tooltip]:hover::before,
  .afea-event-actions-row .afea-action[data-afea-tooltip]:focus-visible::before {
    transform: translateY(0) rotate(45deg);
  }

  .afea-event-modal-close[data-afea-tooltip]:hover::after,
  .afea-event-modal-close[data-afea-tooltip]:focus-visible::after,
  .afea-lightbox-close[data-afea-tooltip]:hover::after,
  .afea-lightbox-close[data-afea-tooltip]:focus-visible::after {
    transform: translateY(0);
  }

  .afea-event-modal-close[data-afea-tooltip]:hover::before,
  .afea-event-modal-close[data-afea-tooltip]:focus-visible::before,
  .afea-lightbox-close[data-afea-tooltip]:hover::before,
  .afea-lightbox-close[data-afea-tooltip]:focus-visible::before {
    transform: translateY(0) rotate(45deg);
  }
}

html.afea-no-scroll,
body.afea-no-scroll {
  overflow: hidden !important;
}

.afea-floating-notice {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(calc(100vw - 40px), 520px);
  background: rgba(0, 0, 0, 0.84);
  color: #fff;
  padding: 18px 20px;
  border-radius: 6px;
  z-index: 100002;
  box-sizing: border-box;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.afea-floating-notice-body {
  flex: 1 1 auto;
  font-size: calc(1em + 2px);
  line-height: 1.45;
}

.afea-floating-notice-close {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.78;
}

.afea-floating-notice-close:hover,
.afea-floating-notice-close:focus-visible {
  opacity: 1;
}

.afea-event-unavailable {
  color: var(--afea-muted);
}

.single-af_event .big-preview,
.single-af_event .big-preview.single-big,
.single-af_event .thumbnail_container,
.single-af_event .small-preview,
.single-af_event .av-article-image-container,
.single-af_event .post-entry .post_delimiter,
.single-af_event .post-entry .image-overlay-inside,
.single-af_event .post-entry .image-overlay,
.single-af_event .post_author_timeline,
.single-af_event .post-meta-infos,
.single-af_event .blog-categories,
.single-af_event .blog-tags,
.single-af_event .comment-entry,
.single-af_event .sidebar,
.single-af_event .post-title,
.single-af_event .entry-title,
.single-af_event .main-title,
.single-af_event .title_container {
  display: none !important;
}

.single-af_event .content,
.single-af_event .template-page .content {
  border-right: 0 !important;
  width: 100% !important;
}

body.admin-bar .afea-event-modal-dialog {
  top: calc(5vh + 16px);
  height: calc(90vh - 16px);
}

@media (max-width: 1759px) {
  .afea-gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 150px));
  }
}

@media (max-width: 1279px) {
  .afea-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 150px));
  }
}

@media (max-width: 989px) {
  .afea-event-hero {
    flex-direction: column;
    gap: 18px;
  }

  .afea-event-hero-media {
    flex: 0 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .afea-event-hero-image {
    width: 100%;
    max-height: none;
  }

  .afea-event-modal-scroll {
    padding: 30px 18px 22px;
  }

  .afea-events-search-bar {
    gap: 8px;
  }

  .afea-quick-filters {
    flex: 0 0 100%;
    width: 100%;
    justify-self: start;
  }

  .afea-quick-filter {
    flex: 1 1 0;
    min-width: 0;
  }

  .afea-event-line,
  .afea-archive-month-line {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .afea-event-list-header {
    display: none;
  }

  .afea-event-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .afea-event-row-link {
    grid-template-columns: 63px minmax(0, 1fr);
    align-items: start;
    gap: 3px var(--afea-list-column-gap);
  }

  .afea-event-icon {
    grid-row: 1 / span 4;
  }

  .afea-event-date-inline,
  .afea-event-location-inline,
  .afea-event-summary-inline,
  .afea-event-category-inline {
    grid-column: 2;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .afea-event-location-inline,
  .afea-event-summary-inline {
    display: block;
    -webkit-line-clamp: unset;
  }

  .afea-event-inline-part {
    display: block;
    -webkit-line-clamp: unset;
  }

  .afea-event-actions-row {
    width: auto;
    padding-left: 73px;
  }

  .afea-reminder-inline {
    margin-left: 73px;
  }

  .afea-list-wrap .afea-event-date-inline,
  html body #top .afea-list-wrap .afea-event-date-inline {
    font-size: var(--afea-list-date-size-mobile) !important;
  }

  .afea-list-wrap .afea-event-location-inline,
  html body #top .afea-list-wrap .afea-event-location-inline {
    font-size: var(--afea-list-location-size-mobile) !important;
  }

  .afea-list-wrap .afea-event-summary-inline,
  html body #top .afea-list-wrap .afea-event-summary-inline {
    font-size: var(--afea-list-description-size-mobile) !important;
  }

  .afea-list-wrap .afea-event-category-inline,
  html body #top .afea-list-wrap .afea-event-category-inline {
    font-size: var(--afea-list-category-size-mobile) !important;
  }
}

@media (max-width: 767px) {
  .afea-single-wrap .afea-single-title,
  .single-af_event .afea-single-wrap .afea-single-title,
  .afea-event-modal .afea-single-wrap .afea-single-title {
    font-size: var(--afea-h1-mobile) !important;
  }

  .afea-single-wrap .afea-single-subtitle,
  .single-af_event .afea-single-wrap .afea-single-subtitle,
  .afea-event-modal .afea-single-wrap .afea-single-subtitle,
  .afea-single-wrap .afea-event-venue,
  .single-af_event .afea-single-wrap .afea-event-venue,
  .afea-event-modal .afea-single-wrap .afea-event-venue {
    font-size: var(--afea-h2-mobile) !important;
  }

  .afea-single-wrap .afea-event-location,
  .single-af_event .afea-single-wrap .afea-event-location,
  .afea-event-modal .afea-single-wrap .afea-event-location {
    font-size: var(--afea-location-mobile) !important;
  }

  .afea-single-wrap .afea-event-date,
  .single-af_event .afea-single-wrap .afea-event-date,
  .afea-event-modal .afea-single-wrap .afea-event-date {
    font-size: var(--afea-date-mobile) !important;
  }

  .afea-single-wrap .afea-event-credit,
  .single-af_event .afea-single-wrap .afea-event-credit,
  .afea-event-modal .afea-single-wrap .afea-event-credit {
    font-size: var(--afea-credit-mobile) !important;
  }

  .afea-single-wrap .afea-event-subcategories,
  .single-af_event .afea-single-wrap .afea-event-subcategories,
  .afea-event-modal .afea-single-wrap .afea-event-subcategories {
    font-size: var(--afea-category-mobile) !important;
  }

  .afea-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .afea-event-modal-dialog {
    width: 90vw;
    height: 90vh;
    top: 5vh;
  }

  .afea-event-actions-page,
  .afea-event-actions-modal {
    width: 100%;
  }

  .afea-action:not(.afea-action-icon-only) {
    min-height: 36px;
  }

  .afea-reminder-form,
  .afea-reminder-form label,
  .afea-reminder-form input[type="email"],
  .afea-reminder-form button {
    width: 100%;
  }

  .afea-reminder-panel {
    display: flex;
    width: 100%;
    gap: 6px;
  }

  .afea-reminder-close {
    flex: 0 0 24px;
    height: 44px;
  }
}
