/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 27 2026 | 10:57:35 */
/* Calendar filter chips: page 50 / widget 2d703e3 only */
#calendar-page .mec-full-calendar-wrap {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  margin: 24px 0 40px;
  padding: 24px;
  background: #f7faf8;
  border: 1px solid #e1ebe4;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(27, 73, 49, .08);
}

#calendar-page .mec-full-calendar-wrap > .mec-search-form,
#calendar-page .mec-full-calendar-wrap > .mec-full-calendar-skin-container {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

#calendar-page .mec-full-calendar-wrap > .mec-search-form {
  height: auto;
  min-height: 0;
  margin-bottom: 20px;
  padding: 20px 16px 18px;
  border-color: #dfeae2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(27, 73, 49, .06);
  overflow: visible;
}

#calendar-page .mec-full-calendar-wrap > .mec-full-calendar-skin-container {
  min-width: 0;
  padding-top: 0;
}

#calendar-page .mec-full-calendar-wrap .mec-search-form form,
#calendar-page .mec-full-calendar-wrap .mec-full-calendar-search-ends {
  height: auto;
}

#calendar-page .mec-full-calendar-wrap .mec-search-reset-button {
  flex: 0 0 auto;
  order: 1;
  height: auto;
  margin: 0 !important;
}

#calendar-page .mec-full-calendar-wrap .mec-search-reset-button button {
  position: static !important;
  display: inline-flex !important;
  width: auto !important;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 10px 16px;
  border: 1px solid #0b7a34 !important;
  border-radius: 9px;
  background: #0b7a34 !important;
  color: #fff !important;
  font-size: 0 !important;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(11, 122, 52, .16);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

#calendar-page .mec-full-calendar-wrap .mec-totalcal-view {
  position: static;
  display: inline-flex !important;
  flex: 0 0 auto;
  order: 3;
  align-items: center;
  gap: 0;
  float: none;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  overflow: hidden;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-table-head {
  background-color: #bf2326;
  border: 0;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-day-head {
  background-color: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* Calendar content polish: page 50 / widget 2d703e3 only */
#calendar-page .mec-full-calendar-wrap .mec-simple-checkboxes-search > i {
  color: #0b7a34;
}

#calendar-page .mec-full-calendar-wrap .mec-simple-checkboxes-search > label {
  color: #244b36;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

#calendar-page .mec-full-calendar-wrap .mec-search-reset-button button:hover,
#calendar-page .mec-full-calendar-wrap .mec-search-reset-button button:focus-visible {
  border-color: #075c28 !important;
  background: #075c28 !important;
  color: #fff !important;
  box-shadow: 0 5px 12px rgba(11, 122, 52, .2);
}

#calendar-page .mec-full-calendar-wrap .mec-totalcal-view span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 !important;
  min-height: 40px;
  line-height: 1.2;
  padding: 0 12px;
  background: #fff;
  color: #53685b;
  font-size: 13px;
  font-weight: 500;
  transition: background-color .2s ease, color .2s ease;
}

#calendar-page .mec-full-calendar-wrap .mec-totalcal-view span:not(.mec-totalcalview-selected):hover {
  background: #fbefef;
  color: #bf2326;
}

#calendar-page .mec-full-calendar-wrap .mec-totalcal-view .mec-totalcalview-selected {
  background: #bf2326 !important;
  color: #fff !important;
}

#calendar-page .mec-full-calendar-wrap .mec-month-navigator .mec-load-month > a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dfeae2;
  border-radius: 8px;
  background: #fff;
  color: #53685b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: normal;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

#calendar-page .mec-full-calendar-wrap .mec-month-navigator .mec-load-month > a:hover,
#calendar-page .mec-full-calendar-wrap .mec-month-navigator .mec-load-month > a:focus-visible {
  border-color: #0b7a34;
  background: #edf6ef;
  color: #0b7a34;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar {
  background: #fff;
  border: 1px solid #e1ebe4;
  border-radius: 14px;
  overflow-x: auto;
  overflow-y: hidden;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-day {
  border-color: #e8efe9;
  background: #fff;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-day:hover {
  background: #f8fcf9;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-day .mec-single-event-novel {
  margin: 4px;
  padding: 8px 9px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(27, 73, 49, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-day .mec-single-event-novel:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(27, 73, 49, .16);
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-day .mec-event-title {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

/* MEC Reset button override: widget 2d703e3 only */
#calendar-page .mec-full-calendar-wrap .mec-search-reset-button .mec-button {
  background: #0b7a34 !important;
  color: #fff !important;
  border-color: #0b7a34 !important;
}

#calendar-page .mec-full-calendar-wrap .mec-search-reset-button .mec-button:hover,
#calendar-page .mec-full-calendar-wrap .mec-search-reset-button .mec-button:focus-visible {
  background: #075c28 !important;
  color: #fff !important;
  border-color: #075c28 !important;
}

/* MEC view selected state override: widget 2d703e3 only */
#calendar-page .mec-full-calendar-wrap .mec-totalcal-view span[class*="selected"] {
  background: #bf2326 !important;
  color: #fff !important;
}

#calendar-page .mec-full-calendar-wrap .mec-totalcal-view span:not([class*="selected"]):hover {
  background: #fbefef;
  color: #bf2326;
}

#calendar-page 
	.mec-calendar .mec-calendar-side .mec-next-month, 
	.mec-calendar .mec-calendar-side .mec-previous-month,
	.mec-calendar.mec-calendar-daily .mec-next-month,
	.mec-calendar.mec-calendar-daily .mec-previous-month
{
	border: none !important;
	margin-top: 5px;
}

/* Calendar typography: page 50 body only; header and footer excluded */
.page-id-50 [data-id="521642d"] {
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-id-50 [data-id="c559071"] p {
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

#calendar-page .mec-full-calendar-wrap,
#calendar-page .mec-full-calendar-wrap :where(
  h2,
  h3,
  h4,
  h5,
  p,
  a,
  button,
  label,
  dt,
  dd,
  span,
  .mec-event-description,
  .mec-event-detail,
  .mec-event-meta,
  .mec-event-meta span,
  .mec-event-time,
  .mec-event-loc-place,
  .mec-weekly-view-weekday,
  .mec-weekly-view-monthday,
  .mec-event-list-weekly-date,
  .mec-booking-button,
  .mec-load-more-button
) {
  font-family: Poppins, Arial, sans-serif !important;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar h2,
#calendar-page .mec-full-calendar-wrap .mec-event-month h5,
#calendar-page .mec-full-calendar-wrap .mec-event-month-divider h5 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-novel-selected-day,
#calendar-page .mec-full-calendar-wrap .mec-weekly-view-weekday,
#calendar-page .mec-full-calendar-wrap .mec-weekly-view-monthday,
#calendar-page .mec-full-calendar-wrap .mec-event-list-weekly-date {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-day .mec-event-title,
#calendar-page .mec-full-calendar-wrap .mec-weekly-contents .mec-event-title,
#calendar-page .mec-full-calendar-wrap .mec-daily-view-dates-events .mec-event-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: normal;
}

#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-event-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: normal;
}

#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-event-description {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-event-meta,
#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-event-meta span,
#calendar-page .mec-full-calendar-wrap .mec-event-time,
#calendar-page .mec-full-calendar-wrap .mec-event-loc-place {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

#calendar-page .mec-full-calendar-wrap .mec-search-reset-button .mec-button,
/* #calendar-page .mec-full-calendar-wrap .mec-booking-button, */
#calendar-page .mec-full-calendar-wrap {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
}

/* Monthly event metadata: page 50 / MEC shortcode 55 only */
#calendar-page .sba-mec-category-icon,
#calendar-page .sba-mec-event-time {
  display: none !important;
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel .mec-event-title {
  grid-area: title;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel .sba-mec-event-time {
  display: block !important;
  grid-area: time;
  min-width: 0;
  overflow: hidden;
  color: #000 !important;
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel .sba-mec-category-icon {
  display: flex !important;
  grid-area: icon;
  width: 24px;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--sba-mec-category-light-color, #f6faf6);
  color: var(--sba-mec-category-color, #5e6a62);
  font-size: 13px;
  line-height: 1;
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel .sba-mec-category-icon > i {
  color: inherit;
  font-size: inherit;
  line-height: 1;
}

/* Calendar category chips and event authors: page 50 / MEC shortcode 55 only */
#calendar-page .mec-full-calendar-wrap > .mec-search-form form {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  min-width: 0;
  overflow: visible;
}

#calendar-page .mec-full-calendar-wrap .mec-search-form form > div,
#calendar-page .mec-full-calendar-wrap .mec-search-form .mec-dropdown-wrap,
#calendar-page .mec-full-calendar-wrap .mec-search-form .mec-simple-checkboxes-search,
#calendar-page .mec-full-calendar-wrap .mec-search-form .mec-searchbar-category-wrap,
#calendar-page .mec-full-calendar-wrap .mec-search-form .mec-full-calendar-search-ends,
#calendar-page .mec-full-calendar-wrap .mec-search-form .mec-tab-loader {
  display: contents !important;
}

#calendar-page .mec-full-calendar-wrap .mec-simple-checkboxes-search > i,
#calendar-page .mec-full-calendar-wrap .mec-simple-checkboxes-search > label {
  display: none !important;
}

#calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap ul {
  display: contents !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

#calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap li {
  display: block;
  flex: 0 1 auto;
  order: 2;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#calendar-page .mec-full-calendar-wrap .mec-search-reset-button button::after {
  content: "All";
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
}

#calendar-page .mec-full-calendar-wrap .mec-search-form form:has(.mec-searchbar-category-wrap input[type="checkbox"]:checked) .mec-search-reset-button button {
  border-color: #dfeae2 !important;
  background: #fff !important;
  color: #244b36 !important;
  box-shadow: none;
}

#calendar-page .mec-full-calendar-wrap .mec-search-form form:has(.mec-searchbar-category-wrap input[type="checkbox"]:checked) .mec-search-reset-button button:hover,
#calendar-page .mec-full-calendar-wrap .mec-search-form form:has(.mec-searchbar-category-wrap input[type="checkbox"]:checked) .mec-search-reset-button button:focus-visible {
  border-color: #0b7a34 !important;
  background: #edf6ef !important;
  color: #075c28 !important;
}

#calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap .selectit {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 40px;
  box-sizing: border-box;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--sba-mec-category-light-color, #f1f3f2);
  color: #1d2820 !important;
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

#calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap .selectit:hover,
#calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap .selectit:focus-within {
  border-color: var(--sba-mec-category-color, #5e6a62);
  background: var(--sba-mec-category-light-color, #f1f3f2);
  box-shadow: 0 3px 10px rgba(27, 73, 49, .1);
}

#calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap .selectit:focus-within {
  outline: 3px solid #075c28;
  outline-offset: 3px;
}

#calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap .selectit:has(input[type="checkbox"]:checked) {
  border-width: 2px;
  border-color: var(--sba-mec-category-color, #5e6a62);
  background: var(--sba-mec-category-light-color, #f1f3f2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 3px 10px rgba(27, 73, 49, .1);
}

#calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  accent-color: #0b7a34;
}

#calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap .sba-mec-filter-icon {
  flex: 0 0 auto;
  color: var(--sba-mec-category-color, #5e6a62);
  font-size: 26px;
  line-height: 1;
  margin-right: 0px;
}

#calendar-page .mec-month-divider {
  margin: 10px 0 20px 0 !important;
}

#calendar-page .mec-event-content-wrap{
  min-height: 0px;
}

/* Tablet/mobile category strip: keep All visible and scroll categories horizontally */

/* Monthly event metadata refinements: time above title and title-matched contrast */
#calendar-page .mec-full-calendar-wrap .mec-single-event-novel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "time"
    "title"
    "author";
  gap: 2px 6px;
  align-items: start;
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel.dark .sba-mec-event-time {
  color: #fff !important;
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel:has(.sba-mec-category-icon) {
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-areas:
    "icon time"
    "icon title"
    "icon author";
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel:has(.sba-mec-category-icon):not(:has(.sba-mec-event-time)) {
  grid-template-areas:
    "icon title"
    "icon author";
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel:not(:has(.sba-mec-event-time)):not(:has(.sba-mec-category-icon)) {
  grid-template-areas:
    "title"
    "author";
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel .sba-mec-event-author {
  display: block !important;
  grid-area: author;
  min-width: 0;
  overflow: hidden;
  color: inherit !important;
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#calendar-page .mec-full-calendar-wrap .mec-weekly-contents .mec-event-title .sba-mec-event-author,
#calendar-page .mec-full-calendar-wrap .mec-daily-view-dates-events .mec-event-title .sba-mec-event-author,
#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-event-title .sba-mec-event-author {
  display: block !important;
  clear: both;
  min-width: 0;
  margin-top: 2px;
  overflow: hidden;
  color: inherit !important;
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel.light .sba-mec-event-author {
  color: #000 !important;
}

#calendar-page .mec-full-calendar-wrap .mec-single-event-novel.dark .sba-mec-event-author {
  color: #fff !important;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-weekly .mec-calendar-d-top .mec-load-week {
  z-index: 2;
  margin-top: -25px !important;
}

/* Calendar active-day neutralization: MEC active day is not necessarily today */
#calendar-page .mec-full-calendar-wrap .mec-calendar-day.mec-selected-day,
#calendar-page .mec-full-calendar-wrap .mec-calendar-day.mec-selected-day:hover {
  background-color: #fff !important;
  color: inherit !important;
  font-weight: 400 !important;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar-day.mec-selected-day > .mec-calendar-novel-selected-day.mec-bg-color {
  background: transparent !important;
  color: inherit !important;
}

/* Calendar true-today badge: page 50 / MEC shortcode 55 only */
#calendar-page .mec-full-calendar-wrap .mec-calendar-day > .sba-mec-today-day,
#calendar-page .mec-full-calendar-wrap .mec-calendar-novel-selected-day > .sba-mec-today-day {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 50%;
  background: #bf2326 !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600 !important;
  line-height: 1;
  text-decoration: none;
}

#calendar-page .mec-full-calendar-wrap .mec-weekly-view-monthday.sba-mec-today-day {
  color: #bf2326 !important;
  font-weight: 600 !important;
}

#calendar-page .mec-full-calendar-wrap .mec-weekly-view-week-active dt:has(> .mec-weekly-view-monthday.sba-mec-today-day) > .mec-weekly-view-weekday {
  color: #bf2326 !important;
}

/* Calendar adjacent-month date numbers: keep MEC placeholders visible */
#calendar-page .mec-full-calendar-wrap .mec-calendar-row > dt.mec-table-nullday:not([data-mec-cell]) {
  color: #a4aab1 !important;
  font-weight: 400 !important;
  opacity: 1;
}

/* Calendar / Home MEC detail popup: editorial header, 5:5 information row */
:is(.page-id-50, .page-id-7) .featherlight:has(.mec-single-modal) {
  --sba-modal-accent: #bf2326;
  --sba-modal-accent-dark: #941b1d;
  --sba-modal-accent-light: #fbefef;
  --sba-modal-accent-soft: #fdf6f6;
  --sba-modal-accent-border: #ebbbbb;
  background: rgba(48, 23, 24, .78);
}

:is(.page-id-50, .page-id-7) .featherlight:has(.mec-single-modal) .featherlight-content {
  width: min(1120px, calc(100vw - 48px));
  max-width: 1120px;
  max-height: calc(100dvh - 48px);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--sba-modal-accent-border);
  border-radius: 18px;
  background: #faf1ea;
  box-shadow: 0 24px 70px rgba(148, 27, 29, .2);
  overflow: hidden;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-modal-wrap {
  width: 100%;
  max-height: calc(100dvh - 48px);
  box-sizing: border-box;
  border-radius: inherit;
  background: #faf1ea;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

:is(.page-id-50, .page-id-7) .featherlight:has(.mec-single-modal) .featherlight-close {
  position: absolute !important;
  top: 12px !important;
  right: 20px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 10;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--sba-modal-accent-border);
  border-radius: 50%;
  background: #fff;
  color: var(--sba-modal-accent);
  font: 24px/1 Poppins, Arial, sans-serif;
  opacity: 1;
  transform: none !important;
}

:is(.page-id-50, .page-id-7) .featherlight:has(.mec-single-modal) .featherlight-close:hover,
:is(.page-id-50, .page-id-7) .featherlight:has(.mec-single-modal) .featherlight-close:focus-visible {
  top: 12px !important;
  right: 20px !important;
  bottom: auto !important;
  left: auto !important;
  border-color: var(--sba-modal-accent);
  background: var(--sba-modal-accent-light);
  color: var(--sba-modal-accent-dark);
  transform: none !important;
}

:is(.page-id-50, .page-id-7) .featherlight:has(.mec-single-modal) .featherlight-close:focus-visible {
  outline: 3px solid rgba(191, 35, 38, .35);
  outline-offset: 2px;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal {
  display: flex;
  isolation: isolate;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 32px;
  color: #2d2a27;
  font-family: Poppins, Arial, sans-serif;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal [hidden] {
  display: none !important;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-header {
  position: relative;
  min-height: 120px;
  padding: 12px 0 20px;
  overflow: visible;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-heading {
  position: relative;
  z-index: 1;
  width: 68%;
  min-width: 0;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-categories {
  margin: 0 0 10px;
  color: var(--sba-modal-accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-single-title {
  margin: 0;
  padding: 0;
  color: var(--sba-modal-accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  text-transform: none;
  overflow-wrap: anywhere;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-art {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  max-width: none;
  height: 100%;
  border: 0;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, #000 42%);
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-art--buddha {
  top: -32px;
  right: -32px;
  z-index: -1;
  width: calc(58% + 32px);
  height: 190px;
  object-fit: cover;
  object-position: right 45%;
  opacity: .65;
  mask-image: linear-gradient(to right, transparent, #000 45%), linear-gradient(to bottom, #000 65%, transparent);
  mask-composite: intersect;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  min-width: 0;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-main--without-image {
  grid-template-columns: minmax(0, 1fr);
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-events-event-image {
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #f2ddd9;
  border-radius: 12px;
  background: #fffdf7;
  overflow: hidden;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-main > .mec-events-event-image {
  position: relative;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-events-event-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  object-fit: contain;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-main > .mec-events-event-image > img,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-main > .mec-events-event-image > a {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-main > .mec-events-event-image > a > img {
  height: 100%;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
  border: 1px solid #eadfd6;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info > .col-md-4 {
  display: contents;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info .mec-event-meta:not(:has(*)) {
  display: none;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid > :is(.mec-single-event-date, .mec-single-event-time, .mec-single-event-location, .mec-single-event-category) {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 18px 20px;
  border: 0;
  background: transparent;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid > :is(.mec-single-event-date, .mec-single-event-time, .mec-single-event-location, .mec-single-event-category) + div {
  border-top: 1px solid #f0e6de;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid > div > i:not(.mec-time-comment) {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  border-radius: 50%;
  background: #f7dadd;
  color: var(--sba-modal-accent) !important;
  font-size: 22px;
  line-height: 1;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid :is(.mec-date, .mec-time, .mec-events-single-section-title) {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #5b4a44 !important;
  font: 700 12px/1.3 Poppins, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid dl {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  min-width: 0;
  margin: 0;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid :is(dd, abbr, .mec-meta-label, .mec-start-date-label, .mec-color-hover) {
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  color: #2d2a27 !important;
  font: 600 16px/1.4 Poppins, Arial, sans-serif !important;
  text-decoration: none;
  overflow-wrap: anywhere;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .mec-single-event-category a:hover,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .mec-single-event-category a:focus-visible {
  color: var(--sba-modal-accent) !important;
  text-decoration: underline;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .mec-holding-status {
  display: inline-flex;
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.3;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .mec-holding-status-expired {
  background: var(--sba-modal-accent);
  color: #fff;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-time-comment,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid dd > i,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid dd.location,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .mec-single-event-category a > i,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .mec-event-category-color {
  display: none !important;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid > .mec-single-event-location:has(.sba-mec-location-directions) {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  column-gap: 14px;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .mec-single-event-location.sba-mec-location--open dd.location {
  display: block !important;
  margin: 4px 0 0 !important;
  padding: 0 0 0 10px !important;
  border-left: 2px solid #f0cacb;
}

/* MEC and the theme indent and italicise <address>; keep it flush and plain. */
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .mec-single-event-location dd.location :is(address, .mec-address) {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  color: #6b4a40 !important;
  font: 500 14px/1.5 Poppins, Arial, sans-serif !important;
  font-style: normal !important;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .sba-mec-location-actions {
  margin-top: 4px !important;
}

/* Reset the theme's button skin (box, padding, Title Case) so this reads as a text link. */
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid button.sba-mec-location-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--sba-modal-accent, #bf2326) !important;
  font: 600 13px/1.4 Poppins, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  cursor: pointer;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid button.sba-mec-location-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s ease, margin .15s ease;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .sba-mec-location--open button.sba-mec-location-toggle::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid button.sba-mec-location-toggle:hover,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid button.sba-mec-location-toggle:focus-visible {
  background: transparent !important;
  color: var(--sba-modal-dark-accent, #9f1d20) !important;
  text-decoration: underline !important;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .sba-mec-location-directions {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #f0cacb;
  border-radius: 50%;
  background: #fff;
  color: var(--sba-modal-accent, #bf2326);
  text-decoration: none;
  transition: background-color .15s ease;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .sba-mec-location-directions:hover {
  background: #fff4f2;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid :is(.sba-mec-location-toggle, .sba-mec-location-directions):focus-visible {
  outline: 2px solid var(--sba-modal-accent, #bf2326);
  outline-offset: 2px;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-info-grid .sba-mec-location-directions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .col-md-8 {
  float: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-event-content {
  margin: 0;
  padding: 0;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-single-event-description {
  margin: 0;
  color: #4f4642;
  font: 400 14px/1.65 Poppins, Arial, sans-serif;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-single-event-description > * {
  max-width: 100%;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-single-event-description a {
  color: var(--sba-modal-accent);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-single-event-description a:hover,
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-single-event-description a:focus-visible {
  color: var(--sba-modal-accent-dark);
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-single-event-description img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-single-event-description pre {
  max-width: 100%;
  margin: 12px 0;
  padding: 0;
  color: inherit;
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sba-modal-accent);
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-divider::before,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sba-modal-accent-border);
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-divider svg {
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 28px;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-speaker {
  position: relative;
  min-height: 120px;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid var(--sba-modal-accent-border);
  border-radius: 12px;
  background: var(--sba-modal-accent-light);
  overflow: hidden;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-speaker__text {
  position: relative;
  z-index: 1;
  max-width: 70%;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-speaker__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--sba-modal-accent);
  font: 700 12px/1.4 Poppins, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-speaker__label i {
  font-size: 18px;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-speaker__name {
  margin: 0;
  color: #2d2a27;
  font: 700 24px/1.2 Georgia, "Times New Roman", serif;
  overflow-wrap: anywhere;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-art--lotus {
  width: 50%;
  object-fit: cover;
  object-position: right 65%;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-events-meta-group-countdown {
  box-sizing: border-box;
  max-width: 100%;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid #dfeae2;
  border-radius: 14px;
  background: #f6faf6;
  overflow: hidden;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-events-meta-group-countdown .flip-clock-wrapper {
  max-width: 100%;
  margin: 0;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-events-meta-group-countdown .flip-clock-label {
  color: #53685b;
  font-family: Poppins, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
}

/* Monthly category legend: page 50 / MEC shortcode 55 only */
#calendar-page .mec-full-calendar-wrap .mec-calendar .mec-calendar-side {
  display: flex;
  flex-direction: column;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar .mec-calendar-side > .mec-skin-monthly-view-month-navigator-container {
  order: 1;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar .mec-calendar-side > .sba-mec-category-legend {
  order: 2;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 16px;
  border-bottom: 1px solid #e1ebe4;
  background: #fff;
  font-family: Poppins, Arial, sans-serif;
}

#calendar-page .mec-full-calendar-wrap .mec-calendar .mec-calendar-side > .mec-calendar-table {
  order: 3;
}

#calendar-page .mec-full-calendar-wrap .sba-mec-category-legend__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#calendar-page .mec-full-calendar-wrap .sba-mec-category-legend__item {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  max-width: 100%;
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--sba-mec-category-light-color, #f1f3f2);
  color: #244b36;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

#calendar-page .mec-full-calendar-wrap .sba-mec-category-legend__icon {
  flex: 0 0 auto;
  color: var(--sba-mec-category-color, #5e6a62);
  font-size: 21px;
  line-height: 1;
}

#calendar-page .mec-full-calendar-wrap .sba-mec-category-legend__name {
  min-width: 0;
}

/* Calendar attendance actions: page 50 / page 7 MEC popups only */
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance-placeholder[hidden],
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance[hidden] {
  display: none !important;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance [hidden] {
  display: none !important;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance {
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #eadfd6;
  border-radius: 14px;
  background: #fff;
  color: #1d2820;
  font-family: Poppins, Arial, sans-serif;
  overflow-wrap: anywhere;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__hint {
  color: #5b4a44;
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__main--joined {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__people {
  align-self: center;
  color: var(--sba-modal-accent);
  font-size: 20px;
  line-height: 1;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__summary {
  min-width: 0;
  color: #2d2a27;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__join,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__role {
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid var(--sba-modal-accent);
  border-radius: 8px;
  padding: 9px 13px;
  margin-top: 0px;
  background: var(--sba-modal-accent);
  color: #fff;
  cursor: pointer;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance > .sba-mec-attendance__join {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__main > .sba-mec-attendance__join {
  width: auto;
  margin-top: 0;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__join:hover,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__join:focus-visible,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__role:hover,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__role:focus-visible {
  border-color: var(--sba-modal-accent-dark);
  background: var(--sba-modal-accent-dark);
  color: #fff;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__join--cancel {
  border-color: var(--sba-modal-accent-border);
  background: #fffafa;
  color: var(--sba-modal-accent-dark);
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__join--cancel:hover,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__join--cancel:focus-visible {
  border-color: var(--sba-modal-accent);
  background: var(--sba-modal-accent-light);
  color: var(--sba-modal-accent-dark);
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__join:disabled,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__role:disabled {
  border-color: #e4d9d4;
  background: #f1ece9;
  color: #897b74;
  cursor: not-allowed;
  opacity: 1;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__join:focus-visible,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__role:focus-visible,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__restricted-link:focus-visible,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__login a:focus-visible,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__error button:focus-visible {
  outline: 3px solid rgba(191, 35, 38, .35);
  outline-offset: 2px;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__note,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__login,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__error {
  margin: 10px 0 0;
  color: #6b5a54;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__login {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--sba-modal-accent-light);
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__restricted {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--sba-modal-accent-light);
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__restricted-text {
  margin: 0 0 10px;
  color: #5b4a44;
  font-size: 13px;
  line-height: 1.5;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__restricted-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  box-sizing: border-box;
  padding: 0 16px;
  border: 1px solid var(--sba-modal-accent-dark);
  border-radius: 8px;
  background: #fff;
  color: var(--sba-modal-accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__restricted-link:hover {
  background: var(--sba-modal-accent-dark);
  color: #fff;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__login a {
  color: var(--sba-modal-accent-dark);
  font-weight: 600;
  text-decoration: underline;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__error {
  color: #9b2c2c;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__error button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--sba-modal-accent-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--sba-modal-accent-border);
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__roles:empty {
  display: none;
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__role {
  flex: 1 1 132px;
  border-color: var(--sba-modal-accent-border);
  background: #fffafa;
  color: var(--sba-modal-accent-dark);
}

:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__role:hover,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__role:focus-visible,
:is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__role--selected {
  border-color: var(--sba-modal-accent);
  background: var(--sba-modal-accent-light);
  color: var(--sba-modal-accent-dark);
}

/* MEC generic button specificity: enabled primary actions and neutral disabled state. */
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__join:not(.sba-mec-attendance__join--cancel):not(:disabled) {
  border-color: var(--sba-modal-accent-dark) !important;
  background-color: var(--sba-modal-accent-dark) !important;
  color: #fff !important;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__join:not(.sba-mec-attendance__join--cancel):not(:disabled):hover,
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__join:not(.sba-mec-attendance__join--cancel):not(:disabled):focus-visible {
  border-color: #7a1618 !important;
  background-color: #7a1618 !important;
  color: #fff !important;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__join--cancel,
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__role {
  border: 1px solid var(--sba-modal-accent-border) !important;
  background-color: #fffafa !important;
  color: var(--sba-modal-accent-dark) !important;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__join--cancel:hover,
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__join--cancel:focus-visible,
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__role:hover,
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__role:focus-visible,
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__role--selected {
  border-color: var(--sba-modal-accent) !important;
  background-color: var(--sba-modal-accent-light) !important;
  color: var(--sba-modal-accent-dark) !important;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__join:disabled,
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__role:disabled {
  border-color: #e4d9d4 !important;
  background-color: #f1ece9 !important;
  color: #897b74 !important;
}

/* Calendar My Events menu and Coming/Past dialog: page 50 only */
.page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-category-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-category-legend__list {
  display: none !important;
  flex: 1 1 auto;
  min-width: 0;
}

.page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-my-events-toolbar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.page-id-50 #calendar-page .mec-full-calendar-wrap > .mec-full-calendar-skin-container > .sba-mec-my-events-toolbar {
  min-height: 44px;
  margin: 0 0 12px;
}

.page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-my-events-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 1px solid #0b7a34 !important;
  border-radius: 12px;
  background: #0b7a34 !important;
  color: #fff !important;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(11, 122, 52, .16);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-my-events-toggle svg {
  display: block;
  width: 21px;
  height: 21px;
  margin-left: 0px;
}

.page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-my-events-toggle:hover,
.page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-my-events-toggle:focus-visible {
  border-color: #075c28 !important;
  background: #075c28 !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(7, 92, 40, .24);
}

.page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-my-events-toggle:focus-visible {
  outline: 3px solid rgba(11, 122, 52, .28);
  outline-offset: 2px;
}

.page-id-50 .sba-mec-my-events-overlay {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
  background: rgba(17, 64, 38, .58);
  font-family: Poppins, Arial, sans-serif;
}

.page-id-50 .sba-mec-my-events-overlay[hidden] {
  display: none !important;
}

.page-id-50 .sba-mec-my-events-dialog {
  display: flex;
  width: min(720px, calc(100vw - 32px));
  max-width: 720px;
  max-height: calc(100vh - 48px);
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #d9e7dc;
  border-radius: 18px;
  background: #fffdf7;
  color: #1d2820;
  box-shadow: 0 24px 70px rgba(17, 39, 26, .28);
}

.page-id-50 .sba-mec-my-events-dialog__header {
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  padding: 22px 22px 16px;
}

.page-id-50 .sba-mec-my-events-dialog__header h2 {
  min-width: 0;
  margin: 0;
  color: #1d2820;
  font-family: Poppins, Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.page-id-50 .sba-mec-my-events-close {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-left: auto;
  padding: 0;
  border: 1px solid #bfd3c3 !important;
  border-radius: 50%;
  background: #fff !important;
  color: #0b7a34 !important;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.page-id-50 .sba-mec-my-events-close:hover,
.page-id-50 .sba-mec-my-events-close:focus-visible {
  border-color: #0b7a34 !important;
  background: #edf6ef !important;
  color: #075c28 !important;
}

.page-id-50 .sba-mec-my-events-close:focus-visible,
.page-id-50 .sba-mec-my-events-retry:focus-visible,
.page-id-50 .sba-mec-my-events-login__link:focus-visible,
.page-id-50 .sba-mec-my-events-tabs button:focus-visible {
  outline: 3px solid rgba(11, 122, 52, .28);
  outline-offset: 2px;
}

.page-id-50 .sba-mec-my-events-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  box-sizing: border-box;
  margin: 0 22px 16px;
  padding: 5px;
  border: 1px solid #d9e7dc;
  border-radius: 10px;
  background: #edf6ef;
}

.page-id-50 .sba-mec-my-events-tabs button {
  min-height: 42px;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1px solid transparent !important;
  border-radius: 7px;
  background: transparent !important;
  color: #2f6943 !important;
  cursor: pointer;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.page-id-50 .sba-mec-my-events-tabs button[aria-selected="true"] {
  border-color: #0b7a34 !important;
  background: #0b7a34 !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(11, 122, 52, .16);
}

.page-id-50 .sba-mec-my-events-panel {
  min-height: 150px;
  box-sizing: border-box;
  overflow: auto;
  padding: 0 22px 22px;
  overscroll-behavior: contain;
}

.page-id-50 .sba-mec-my-events-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.page-id-50 .sba-mec-my-events-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 13px;
  min-width: 0;
  align-items: center;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #d9e7dc;
  border-radius: 12px;
  background: #fff;
  color: #1d2820;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(27, 73, 49, .05);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.page-id-50 .sba-mec-my-events-item:hover,
.page-id-50 .sba-mec-my-events-item:focus-visible {
  border-color: #0b7a34;
  background: #f8fcf9;
  box-shadow: 0 6px 16px rgba(27, 73, 49, .1);
}

.page-id-50 .sba-mec-my-events-item:focus-visible {
  outline: 3px solid rgba(11, 122, 52, .28);
  outline-offset: 2px;
}

.page-id-50 .sba-mec-my-events-item__date {
  display: grid;
  width: 58px;
  height: 58px;
  align-content: center;
  justify-items: center;
  box-sizing: border-box;
  border-radius: 10px;
  background: #edf6ef;
  color: #0b7a34;
  line-height: 1;
}

.page-id-50 .sba-mec-my-events-item__month {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

.page-id-50 .sba-mec-my-events-item__day {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
}

.page-id-50 .sba-mec-my-events-item__content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.page-id-50 .sba-mec-my-events-item__title,
.page-id-50 .sba-mec-my-events-item__time,
.page-id-50 .sba-mec-my-events-item__location {
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-id-50 .sba-mec-my-events-item__title {
  color: #1d2820;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.page-id-50 .sba-mec-my-events-item__time,
.page-id-50 .sba-mec-my-events-item__location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #53685b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.page-id-50 .sba-mec-my-events-item__time > i,
.page-id-50 .sba-mec-my-events-item__location > i {
  flex: 0 0 auto;
  margin-top: .1em;
  color: #2f7b44;
  font-size: 13px;
  line-height: 1.4;
}

.page-id-50 .sba-mec-my-events-item__statuses {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
}

.page-id-50 .sba-mec-my-events-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  box-sizing: border-box;
  padding: 4px 8px;
  border: 1px solid #bfd3c3;
  border-radius: 999px;
  background: #edf6ef;
  color: #2f6943;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.page-id-50 .sba-mec-my-events-status--ongoing {
  border-color: #d9a441;
  background: #fff5df;
  color: #8a5b05;
}

.page-id-50 .sba-mec-my-events-message {
  box-sizing: border-box;
  padding: 32px 12px;
  color: #53685b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.page-id-50 .sba-mec-my-events-login p {
  margin: 0 0 16px;
}

.page-id-50 .sba-mec-my-events-login__link,
.page-id-50 .sba-mec-my-events-retry {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 9px 18px;
  border: 1px solid #0b7a34 !important;
  border-radius: 8px;
  background: #0b7a34 !important;
  color: #fff !important;
  cursor: pointer;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}

.page-id-50 .sba-mec-my-events-login__link:hover,
.page-id-50 .sba-mec-my-events-login__link:focus-visible,
.page-id-50 .sba-mec-my-events-retry:hover,
.page-id-50 .sba-mec-my-events-retry:focus-visible {
  border-color: #075c28 !important;
  background: #075c28 !important;
  color: #fff !important;
}

/* Attendance action loading state: keep every action disabled while a request is pending */
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__join[aria-busy="true"],
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__role[aria-busy="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: wait !important;
}

:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__join[aria-busy="true"]::before,
:is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__role[aria-busy="true"]::before {
  content: "";
  display: inline-block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: sba-mec-attendance-spin .7s linear infinite;
}

@keyframes sba-mec-attendance-spin {
  to {
    transform: rotate(360deg);
  }
}

:is(.page-id-50, .page-id-7) .mec-single-event-bar>div dd{
  font-family: Poppins, Arial, sans-serif !important;
  padding-left: 0px !important;
  color: black !important;
}

:is(.page-id-50, .page-id-7) .mec-single-event .mec-event-meta dd {
  font-family: Poppins, Arial, sans-serif !important;
  padding-left: 0px !important;
  color: black !important;
}

:is(.page-id-50, .page-id-7)
:is(
  .mec-start-date-label,
  .mec-events-abbr,
  .mec-meta-label,
  .mec-color-hover
) {
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #000 !important;
}

/* Calendar List cards: keep one location value and align all metadata rows */
#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-event-address {
  display: none !important;
}

#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-event-meta > .mec-date-details,
#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-event-meta > .mec-time-details,
#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-event-meta > .mec-venue-details {
  position: relative;
  display: block;
  min-height: 20px;
  margin: 0 0 8px !important;
  padding: 0 0 0 26px;
  box-sizing: border-box;
}

#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-event-d {
  position: static;
  display: block;
  margin: 0;
}

#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-date-details > .mec-event-d > i,
#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-time-details > svg,
#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-venue-details > svg {
  position: absolute;
  top: 1px;
  left: 0;
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  line-height: 1;
}

#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-time-details > svg,
#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-venue-details > svg {
  top: 0;
}

#calendar-page .mec-full-calendar-wrap .mec-event-article .mec-venue-details > span {
  display: block;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

/* Calendar List actions: use the brand red on hover/focus */
#calendar-page .mec-full-calendar-wrap .mec-booking-button:hover,
#calendar-page .mec-full-calendar-wrap .mec-booking-button:focus-visible,
#calendar-page .mec-full-calendar-wrap .mec-load-more-button:hover,
#calendar-page .mec-full-calendar-wrap .mec-load-more-button:focus-visible,
#calendar-page .mec-full-calendar-wrap .mec-load-more-button:hover a,
#calendar-page .mec-full-calendar-wrap .mec-load-more-button:focus-visible a,
#calendar-page .mec-full-calendar-wrap .mec-load-more-button:focus-within a {
  border-color: #bf2326 !important;
  background-color: #bf2326 !important;
  color: #fff !important;
}

/* ==========================================================================
   Responsive overrides
   ========================================================================== */

/* Tablet and smaller */
@media (max-width: 1024px) {
  #calendar-page .mec-full-calendar-wrap {
    margin: 16px 0 28px;
    padding: 16px;
    border-radius: 14px;
  }

  #calendar-page .mec-full-calendar-wrap > .mec-search-form {
    padding: 18px 14px 16px;
  }

  #calendar-page .mec-full-calendar-wrap .mec-totalcal-view {
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
    justify-content: stretch;
    margin-top: 16px;
    margin-left: 0 !important;
  }

  .page-id-50 [data-id="521642d"] {
    font-size: 34px;
  }

  #calendar-page .mec-full-calendar-wrap .mec-calendar h2,
  #calendar-page .mec-full-calendar-wrap .mec-event-month h5,
  #calendar-page .mec-full-calendar-wrap .mec-event-month-divider h5 {
    font-size: 21px;
  }

  #calendar-page .mec-full-calendar-wrap > .mec-search-form form {
    gap: 8px 10px;
  }

  #calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap .sba-mec-filter-icon {
    font-size: 22px;
  }

  #calendar-page .mec-full-calendar-wrap .mec-totalcal-view span {
    flex: 1 1 25%;
    min-height: 44px;
    min-width: 0;
    padding: 0 8px;
    white-space: nowrap;
  }

  #calendar-page .mec-full-calendar-wrap .mec-search-form .mec-searchbar-category-wrap {
    display: flex !important;
    flex: 1 1 0%;
    order: 2;
    width: 0;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 2px 0 6px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  #calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap ul {
    display: flex !important;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: max-content;
    min-width: max-content;
    margin: 0 !important;
    padding: 0 1px 2px;
  }

  #calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap li {
    flex: 0 0 auto;
    max-width: none;
  }

  #calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap .selectit {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 14px;
    gap: 9px;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-main {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-main > .mec-events-event-image > img,
  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-main > .mec-events-event-image > a {
    position: static;
    display: block;
    height: auto;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-main > .mec-events-event-image > a > img {
    height: auto;
  }
}

/* Mobile and smaller */
@media (max-width: 767px) {
  #calendar-page .mec-full-calendar-wrap .mec-calendar-day.sba-mec-today-day {
    color: #bf2326 !important;
  }

  #calendar-page .mec-full-calendar-wrap .mec-calendar-day > .sba-mec-today-day,
  #calendar-page .mec-full-calendar-wrap .mec-calendar-novel-selected-day > .sba-mec-today-day {
    background: transparent !important;
    color: #bf2326 !important;
  }

  #calendar-page .mec-full-calendar-wrap .mec-single-event-novel:has(.sba-mec-category-icon) {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  #calendar-page .mec-full-calendar-wrap .mec-single-event-novel .sba-mec-category-icon {
    width: 20px;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }

  #calendar-page .mec-full-calendar-wrap .mec-single-event-novel .sba-mec-event-time {
    font-size: 10px;
  }

  #calendar-page .mec-full-calendar-wrap > .mec-search-form form {
    gap: 8px;
  }

  #calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap li {
    flex: 0 0 auto;
  }

  #calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap .selectit {
    width: auto;
    min-height: 48px;
    padding: 10px 16px;
    gap: 9px;
  }

  #calendar-page .mec-full-calendar-wrap .mec-totalcal-view {
    justify-content: stretch;
  }

  :is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-events-meta-group-countdown {
    margin-top: 14px;
    padding: 12px;
  }

  #calendar-page .mec-full-calendar-wrap .mec-calendar .mec-calendar-side > .sba-mec-category-legend {
    padding: 10px 12px;
  }

  #calendar-page .mec-full-calendar-wrap .sba-mec-category-legend__list {
    gap: 7px 8px;
  }

  #calendar-page .mec-full-calendar-wrap .sba-mec-category-legend__item {
    min-height: 34px;
    gap: 6px;
    padding: 5px 10px;
    font-size: 13px;
  }

  #calendar-page .mec-full-calendar-wrap .sba-mec-category-legend__icon {
    font-size: 18px;
  }

  .page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-category-legend {
    align-items: flex-end;
  }

  .page-id-50 .sba-mec-my-events-overlay {
    padding: 12px;
  }

  .page-id-50 .sba-mec-my-events-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 14px;
  }

  .page-id-50 .sba-mec-my-events-dialog__header {
    padding: 18px 16px 13px;
  }

  .page-id-50 .sba-mec-my-events-dialog__header h2 {
    font-size: 22px;
  }

  .page-id-50 .sba-mec-my-events-tabs {
    margin: 0 16px 12px;
  }

  .page-id-50 .sba-mec-my-events-panel {
    padding: 0 16px 16px;
  }
  :is(.page-id-50, .page-id-7) .featherlight:has(.mec-single-modal) .featherlight-content {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }

  :is(.page-id-50, .page-id-7) .featherlight .mec-modal-wrap {
    max-height: calc(100dvh - 24px);
  }

  :is(.page-id-50, .page-id-7) .featherlight .mec-single-modal {
    gap: 16px;
    padding: 20px 16px;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-header {
    min-height: 112px;
    padding: 36px 0 12px;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-heading {
    width: 100%;
  }

  :is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .mec-single-title {
    font-size: 26px;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-art--buddha {
    top: -20px;
    right: -16px;
    width: calc(88% + 16px);
    height: 160px;
    opacity: .18;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-categories {
    font-size: 11px;
    letter-spacing: .12em;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-speaker {
    padding: 20px 16px;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-speaker__name {
    font-size: 20px;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-speaker__text {
    max-width: 80%;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-modal-art--lotus {
    opacity: .7;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  #calendar-page .mec-full-calendar-wrap .mec-totalcal-view span {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 12px;
  }

  #calendar-page .mec-full-calendar-wrap .mec-searchbar-category-wrap .selectit {
    max-width: 100%;
    font-size: 13px;
  }

  :is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance {
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__main {
    grid-template-columns: auto minmax(0, 1fr);
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__hint {
    grid-column: 2;
    text-align: left;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__main--joined {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance > .sba-mec-attendance__join {
    width: 100%;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__main > .sba-mec-attendance__join {
    width: auto;
  }

  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__roles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-category-legend {
    align-items: stretch;
    flex-direction: column;
  }

  .page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-my-events-toolbar {
    width: 100%;
    justify-content: flex-end;
  }

  .page-id-50 .sba-mec-my-events-item {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .page-id-50 .sba-mec-my-events-item__date {
    width: 50px;
    height: 50px;
  }

  .page-id-50 .sba-mec-my-events-item__day {
    font-size: 19px;
  }

  .page-id-50 .sba-mec-my-events-item__statuses {
    grid-column: 2;
    justify-content: flex-start;
  }
}

/* Tablet and larger */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__join,
  :is(.page-id-50, .page-id-7) .featherlight .sba-mec-attendance__role {
    transition: none;
  }

  .page-id-50 #calendar-page .mec-full-calendar-wrap .sba-mec-my-events-toggle,
  .page-id-50 .sba-mec-my-events-item,
  .page-id-50 .sba-mec-my-events-login__link,
  .page-id-50 .sba-mec-my-events-retry {
    transition: none;
  }

  :is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__join[aria-busy="true"]::before,
  :is(.page-id-50, .page-id-7) .featherlight .mec-single-modal .sba-mec-attendance__role[aria-busy="true"]::before {
    animation: none;
    border-right-color: currentColor;
  }
}
