/* Brand Standards

Color Palette:
0D3B66
2E5D66
62B6CB
F4D35E
EE964B
333333
F9FAFB

Primary Fonts:
Inter
Lora

Hero Headline - 48 pt, Lora
Hero Subhead - 28 pt, italic, Lora

Body Headline - 40 pt, Lora
Body Subhead - 24 pt, italic, Lora

Body Text - 18 pt, Inter

Button - 20 pt, white, Lora, orange background

Background Patterns:
Gold - 244  /  211  /  94  /  .25
Orange - 238 / 150 / 75 / 0.56
*/

/* ==========================================================================
   FILE INDEX
   --------------------------------------------------------------------------
   01 GLOBAL PAGE FOUNDATION
   02 SHARED CONTENT WIDTHS AND SECTION SPACING
   03 HEADER
   04 TOOLBAR
   05 FILTER PANEL AND ACCORDIONS
   06 STATUS
   07 EVENT GRID
   08 EVENT CARDS
   09 SINGLE-EVENT DETAIL SUPPORT
   10 FLYER OVERLAY
   11 CALENDAR WRAPPER AND TOOLBAR
   12 CALENDAR WEEK VIEW
   13 CALENDAR MONTH VIEW
   14 CALENDAR EVENT CHIPS AND TOOLTIPS
   15 EMPTY / ERROR STATES
   16 PAGINATION
   17 RESPONSIVE LAYOUT
   ========================================================================== */

/* ==========================================================================
   SECTION 01 - GLOBAL PAGE FOUNDATION
   --------------------------------------------------------------------------
   Base page box model, typography, and root page colors.
   ========================================================================== */

/* ----- BLOCK 01.01: Global box sizing ----- */
.event-listings-page,
.event-listings-page * {
  box-sizing: border-box;
}
/* ----- END BLOCK 01.01 ----- */

/* ----- BLOCK 01.02: Root page styles ----- */
.event-listings-page {
  font-family: Inter, Arial, sans-serif;
  color: #333333;
  background: #F7F3E8;
}
/* ----- END BLOCK 01.02 ----- */

/* ==========================================================================
   SECTION 02 - SHARED CONTENT WIDTHS AND SECTION SPACING
   --------------------------------------------------------------------------
   Shared max-width containers and top-level section padding.
   ========================================================================== */

/* ----- BLOCK 02.01: Shared centered content widths ----- */
.event-listings-header-inner,
.event-toolbar-inner,
.event-listings-filters-panel,
.event-listings-status-text,
.event-listings-grid,
.event-pagination-inner,
.event-calendar-section {
  max-width: 1240px;
  margin: 0 auto;
}
/* ----- END BLOCK 02.01 ----- */

/* ----- BLOCK 02.02: Top-level page section spacing ----- */
.event-listings-toolbar,
.event-listings-filters,
.event-listings-status,
.event-listings-calendar-wrap,
.event-listings-grid-wrap,
.event-listings-pagination {
  background: #F7F3E8;
  padding-left: 24px;
  padding-right: 24px;
}

.event-listings-toolbar {
  padding-top: 24px;
  padding-bottom: 12px;
}

.event-listings-filters {
  padding-top: 0;
  padding-bottom: 8px;
}

.event-listings-status {
  padding-top: 8px;
  padding-bottom: 18px;
}

.event-listings-calendar-wrap {
  padding-top: 8px;
  padding-bottom: 18px;
}

.event-listings-grid-wrap {
  padding-top: 8px;
  padding-bottom: 24px;
}

.event-listings-pagination {
  padding-top: 4px;
  padding-bottom: 32px;
}
/* ----- END BLOCK 02.02 ----- */

/* ==========================================================================
   SECTION 03 - HEADER
   --------------------------------------------------------------------------
   Hero/header presentation for list mode and detail mode.
   ========================================================================== */

/* ----- BLOCK 03.01: Header section background and layout ----- */
.event-listings-header {
  background-image: url("https://www.getsupporttogether.com/backgrounds/get-support-together-mental-health-provider-header.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px 24px;
}

.event-listings-header-inner {
  text-align: center;
}
/* ----- END BLOCK 03.01 ----- */

/* ----- BLOCK 03.02: Header typography and count pills ----- */
.event-listings-title {
  margin: 0 0 10px;
  font-family: Lora, Georgia, serif;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  color: #EE964B;
}

.event-listings-subtitle {
  margin: 0 auto 18px;
  max-width: 900px;
  font-size: 17px;
  line-height: 1.6;
  color: #333333;
}

.event-listings-counts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.event-listings-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #62B6CB;
  color: #F7F3E8;
  font-weight: 700;
  font-size: 14px;
}
/* ----- END BLOCK 03.02 ----- */

/* ==========================================================================
   SECTION 04 - TOOLBAR
   --------------------------------------------------------------------------
   Search, view toggle, sorting, page-size, and action buttons.
   ========================================================================== */

/* ----- BLOCK 04.01: Toolbar layout ----- */
.event-toolbar-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.event-toolbar-search {
  min-width: 0;
}

.event-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
/* ----- END BLOCK 04.01 ----- */

/* ----- BLOCK 04.02: Search input ----- */
.event-search-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(13, 59, 102, 0.18);
  border-radius: 14px;
  background: #ffffff;
  color: #333333;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
}
/* ----- END BLOCK 04.02 ----- */

/* ----- BLOCK 04.03: Toolbar buttons ----- */
.event-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #EE964B;
  color: #000000;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.event-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
  opacity: 0.96;
}

.event-btn-secondary {
  background: #62B6CB;
  color: #F7F3E8;
}

.event-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}
/* ----- END BLOCK 04.03 ----- */

/* ----- BLOCK 04.04: Select controls and labels ----- */
.event-page-size-wrap,
.event-sort-wrap,
.event-view-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.event-page-size-label,
.event-sort-label,
.event-view-toggle-label {
  font-size: 14px;
  font-weight: 700;
  color: #0D3B66;
  white-space: nowrap;
}

.event-page-size-select,
.event-sort-select {
  min-height: 40px;
  min-width: 88px;
  padding: 8px 12px;
  border: 1px solid rgba(13, 59, 102, 0.18);
  border-radius: 12px;
  background: #ffffff;
  color: #333333;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}
/* ----- END BLOCK 04.04 ----- */

/* ----- BLOCK 04.05: View toggle buttons ----- */
.event-view-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(13, 59, 102, 0.06);
}

.event-view-btn {
  cursor: pointer;
  min-height: 36px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0D3B66;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.event-view-btn.is-active {
  background: #62B6CB;
  color: #F7F3E8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
/* ----- END BLOCK 04.05 ----- */

/* ----- BLOCK 04.06: Focus states for toolbar controls ----- */
.event-search-input:focus,
.event-page-size-select:focus,
.event-sort-select:focus,
.event-btn:focus,
.event-view-btn:focus {
  outline: 2px solid #62B6CB;
  outline-offset: 1px;
}
/* ----- END BLOCK 04.06 ----- */

/* ==========================================================================
   SECTION 05 - FILTER PANEL AND ACCORDIONS
   --------------------------------------------------------------------------
   Expand/collapse filters panel and accordion-style filter groups.
   ========================================================================== */

/* ----- BLOCK 05.01: Filters panel shell ----- */
.event-listings-filters-panel {
  display: none;
  padding: 20px 22px;
  border-radius: 18px;
  background: #F7F3E8;
  border: 1px solid rgba(13, 59, 102, 0.10);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.event-listings-filters-panel.is-open {
  display: block;
}

.event-filters-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ----- END BLOCK 05.01 ----- */

/* ----- BLOCK 05.02: Accordion group shell ----- */
.event-filter-accordion-group {
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.event-filter-accordion-toggle {
  width: 100%;
  border: 0;
  background: #ffffff;
  color: #0D3B66;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.event-filter-accordion-toggle:hover {
  background: #F7F3E8;
}
/* ----- END BLOCK 05.02 ----- */

/* ----- BLOCK 05.03: Accordion header details ----- */
.event-filter-accordion-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.event-filter-accordion-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.event-filter-accordion-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #62B6CB;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.event-filter-accordion-chevron {
  font-size: 18px;
  line-height: 1;
  color: #0D3B66;
  transition: transform 0.15s ease;
}
/* ----- END BLOCK 05.03 ----- */

/* ----- BLOCK 05.04: Accordion panel and option list ----- */
.event-filter-accordion-panel {
  display: none;
  padding: 0 16px 14px;
  border-top: 1px solid rgba(13, 59, 102, 0.08);
  background: #ffffff;
}

.event-filter-accordion-group.is-open .event-filter-accordion-panel {
  display: block;
}

.event-filter-accordion-group.is-open .event-filter-accordion-chevron {
  transform: rotate(45deg);
}

.event-filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding-top: 12px;
  padding-right: 4px;
}

.event-filter-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: #333333;
}
/* ----- END BLOCK 05.04 ----- */

/* ==========================================================================
   SECTION 06 - STATUS
   --------------------------------------------------------------------------
   Result status line above list or calendar content.
   ========================================================================== */

/* ----- BLOCK 06.01: Status text ----- */
.event-listings-status-text {
  font-size: 16px;
  line-height: 1.5;
  color: #0D3B66;
  font-weight: 700;
}
/* ----- END BLOCK 06.01 ----- */

/* ==========================================================================
   SECTION 07 - EVENT GRID
   --------------------------------------------------------------------------
   Grid used for list-mode event cards.
   ========================================================================== */

/* ----- BLOCK 07.01: Grid layout ----- */
.event-listings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
/* ----- END BLOCK 07.01 ----- */

/* ==========================================================================
   SECTION 08 - EVENT CARDS
   --------------------------------------------------------------------------
   Shared styling for summary cards and detail cards.
   ========================================================================== */

/* ----- BLOCK 08.01: Card shell and hover state ----- */
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #F7F3E8;
  border: 1px solid rgba(13, 59, 102, 0.18);
  border-radius: 16px;
  min-height: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  z-index: 1;
}

.event-card[data-event-id] {
  cursor: pointer;
}

.event-card:hover,
.event-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(13, 59, 102, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card-detail:hover,
.event-card-detail:focus-within {
  transform: none;
}
/* ----- END BLOCK 08.01 ----- */

/* ----- BLOCK 08.02: Flyer image area ----- */
.event-card-flyer {
  display: flex;
  justify-content: center;
  padding: 18px 18px 0;
  background: #F7F3E8;
}

.event-card-flyer-detail {
  padding: 24px 24px 0;
}

.event-flyer-thumb {
  cursor: pointer;
  display: block;
  width: 100%;
  max-width: 220px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.event-flyer-thumb-detail {
  width: auto;
  max-width: min(50%, 520px);
}

.event-flyer-thumb__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(13, 59, 102, 0.14);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
  background: #ffffff;
}

.event-flyer-thumb-detail .event-flyer-thumb__image {
  width: auto;
  max-width: 100%;
  max-height: min(70vh, 720px);
}
/* ----- END BLOCK 08.02 ----- */

/* ----- BLOCK 08.03: Card header ----- */
.event-card-head {
  background: #0D3B66;
  padding: 18px 18px 16px;
  text-align: center;
}

.event-card-head,
.event-card-head .event-card-title,
.event-card-head .event-card-date,
.event-card-head .event-card-timezone,
.event-card-head .event-card-location {
  color: #F9FAFB;
}

.event-card-title {
  margin: 0;
  font-family: Lora, Georgia, serif;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.event-card-date {
  margin-top: 6px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.event-card-date strong {
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
}
/* ----- END BLOCK 08.03 ----- */

/* ----- BLOCK 08.04: Card body and text fields ----- */
.event-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}

.event-card-free-text {
  margin: 0 0 8px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: #EE964B;
}

.event-card-details {
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #333333;
}

.event-card-field {
  margin: 0;
}

.event-card-field-label {
  margin: 0 0 2px;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  color: #EE964B;
}

.event-card-field-value {
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  color: #333333;
}

.event-card-location {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  color: #333333;
}

.event-card-inline-label {
  font-weight: 700;
}

.event-card-inline-link {
  color: #0D3B66;
  text-decoration: none;
  font-weight: 700;
}

.event-card-inline-link:hover {
  text-decoration: underline;
}
/* ----- END BLOCK 08.04 ----- */

/* ----- BLOCK 08.05: Card actions ----- */
.event-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  padding-top: 6px;
}

.event-card-action,
.event-card-flyer-mount a {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #EE964B;
  color: #000000;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.event-card-action:hover,
.event-card-flyer-mount a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
  opacity: 0.96;
  text-decoration: none;
}

.event-card-flyer-mount {
  display: inline-flex;
}
/* ----- END BLOCK 08.05 ----- */

/* ==========================================================================
   SECTION 09 - SINGLE-EVENT DETAIL SUPPORT
   --------------------------------------------------------------------------
   Layout adjustments used when a single event detail card is rendered.
   ========================================================================== */

/* ----- BLOCK 09.01: Detail card width and grid overrides ----- */
.event-card-detail {
  width: 100%;
  max-width: 100%;
  grid-column: 1 / -1;
}

.event-listings-grid .event-card-detail {
  width: 100%;
  max-width: 100%;
}

.event-listings-grid:has(.event-card-detail) {
  grid-template-columns: 1fr;
}

.event-card-details-detail {
  white-space: pre-wrap;
}

.event-card-detail .event-card-date,
.event-card-detail .event-card-timezone,
.event-card-detail .event-card-body {
  text-align: left;
}

.event-card-detail .event-card-field-communities {
  margin-top: 18px;
}
/* ----- END BLOCK 09.01 ----- */

/* ----- BLOCK 09.02: Detail map support classes ----- */
.event-card-detail-location,
.event-card-detail-map-link-wrap {
  margin-top: 8px;
}

.event-card-detail-map-link {
  color: #0D3B66;
  font-weight: 700;
  text-decoration: none;
}

.event-card-detail-map-link:hover {
  text-decoration: underline;
}

.event-card-detail-map-wrap {
  margin-top: 12px;
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(13, 59, 102, 0.14);
}

.event-card-detail-map {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.event-card-timezone {
  margin-top: 4px;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: #333333;
}

/* ----- END BLOCK 09.02 ----- */

/* ----- BLOCK 09.03: Rebuilt detail hero ----- */
.event-listings-header:has(.event-detail-hero-inner) {
  background-image: none;
  background-color: #0D3B66;
  padding: 42px 24px;
}

.event-detail-hero-inner {
  text-align: left;
}

.event-detail-hero-kicker {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #EE964B;
}

.event-detail-hero-title {
  margin-bottom: 18px;
  color: #F9FAFB;
  font-size: 48px;
}

.event-detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 14px;
}

.event-detail-hero-meta-item,
.event-detail-hero-price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #F9FAFB;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
}

.event-detail-hero-price {
  margin-bottom: 22px;
  color: #F4D35E;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-detail-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #EE964B;
  color: #000000;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
}

.event-detail-hero-action-secondary {
  background: #F9FAFB;
  color: #0D3B66;
}
/* ----- END BLOCK 09.03 ----- */

/* ----- BLOCK 09.04: Rebuilt detail content shell ----- */
.event-card-detail.event-detail-page {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.event-card-detail.event-detail-page:hover,
.event-card-detail.event-detail-page:focus-within {
  box-shadow: none;
}

.event-detail-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-detail-section {
  padding: 24px;
  border: 1px solid rgba(13, 59, 102, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.event-detail-section-title {
  margin: 0 0 16px;
  font-family: Lora, Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  color: #0D3B66;
}

.event-detail-copy {
  max-width: 860px;
  text-align: left;
}

.event-detail-copy p,
.event-detail-disclosure p,
.event-detail-faith-note {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.7;
  color: #333333;
}

.event-detail-copy p:last-child,
.event-detail-disclosure p:last-child,
.event-detail-faith-note:last-child {
  margin-bottom: 0;
}
/* ----- END BLOCK 09.04 ----- */

/* ----- BLOCK 09.05: Quick facts and badges ----- */
.event-detail-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.event-detail-fact {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 8px;
  background: #F9FAFB;
  text-align: left;
}

.event-detail-fact-icon {
  font-size: 22px;
  line-height: 1;
}

.event-detail-fact-label {
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #EE964B;
}

.event-detail-fact-value {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
  color: #333333;
}

.event-detail-fact-link {
  color: #0D3B66;
  font-weight: 700;
  text-decoration: none;
}

.event-detail-fact-link:hover,
.event-detail-fact-link:focus {
  text-decoration: underline;
}

.event-detail-fact-line {
  display: block;
}

.event-detail-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-detail-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(238, 150, 75, 0.18);
  color: #333333;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.event-detail-focus-badges .event-detail-badge::before {
  content: none;
}

.event-detail-focus-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.event-detail-focus-badges .event-detail-badge {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.event-detail-focus-extra {
  margin-top: 10px;
}

.event-detail-toggle-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 14px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: #62B6CB;
  color: #F7F3E8;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}

.event-detail-community-badge {
  background: rgba(98, 182, 203, 0.22);
  color: #0D3B66;
}

.event-detail-community-badge::before {
  content: "■";
  margin-right: 8px;
  color: #62B6CB;
  font-size: 12px;
}

.event-detail-gallery {
  margin: -8px 0 4px;
  overflow: hidden;
}

.event-detail-gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 360px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 4px 4px 14px;
  scrollbar-width: thin;
}

.event-detail-gallery__item {
  margin: 0;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  background: rgba(13, 59, 102, 0.08);
  border: 1px solid rgba(13, 59, 102, 0.12);
}

.event-detail-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ----- END BLOCK 09.05 ----- */

/* ----- BLOCK 09.06: Faith, location, and advanced sections ----- */
.event-detail-faith-section {
  border-left: 6px solid #F4D35E;
  background: #FFFCF0;
}

.event-detail-faith-callout {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
  color: #0D3B66;
}

.event-detail-hosted-by,
.event-detail-contact,
.event-detail-location-address {
  font-size: 18px;
  line-height: 1.6;
  color: #333333;
}

.event-detail-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-detail-location-address {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  text-align: left;
}

.event-detail-map-action {
  margin-bottom: 18px;
}

.event-detail-map-block {
  margin-top: 18px;
  text-align: left;
}

.event-detail-disclosure {
  margin-top: 12px;
  padding: 0;
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 8px;
  background: #F9FAFB;
}

.event-detail-disclosure:first-child {
  margin-top: 0;
}

.event-detail-disclosure summary {
  cursor: pointer;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  color: #0D3B66;
}

.event-detail-disclosure[open] {
  padding-bottom: 18px;
}

.event-detail-disclosure[open] > .event-detail-badge-list,
.event-detail-disclosure[open] > p,
.event-detail-disclosure[open] > .event-detail-section {
  margin-left: 18px;
  margin-right: 18px;
}

.event-detail-disclosure .event-detail-section {
  padding: 0;
  border: 0;
  background: transparent;
}

.event-detail-disclosure .event-detail-section-title {
  display: none;
}
/* ----- END BLOCK 09.06 ----- */

/* ==========================================================================
   SECTION 10 - FLYER OVERLAY
   --------------------------------------------------------------------------
   Full-size image overlay used from both card and detail page flyer images.
   ========================================================================== */

/* ----- BLOCK 10.01: Overlay shell ----- */
body.event-flyer-overlay-open {
  overflow: hidden;
}

.event-flyer-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
}

.event-flyer-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 59, 102, 0.72);
}

.event-flyer-overlay__dialog {
  position: relative;
  z-index: 1;
  width: calc(100vw - 32px);
  max-width: 1200px;
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  display: flex;
  flex-direction: column;
}

.event-flyer-overlay__close {
  align-self: flex-end;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  margin-bottom: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0D3B66;
  font-size: 28px;
  line-height: 1;
}

.event-flyer-overlay__body {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.event-flyer-overlay__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 96px);
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
}
/* ----- END BLOCK 10.01 ----- */

/* ==========================================================================
   SECTION 11 - CALENDAR WRAPPER AND TOOLBAR
   --------------------------------------------------------------------------
   Alternate summary-mode calendar section shell and top controls.
   ========================================================================== */

/* ----- BLOCK 11.01: Calendar section shell ----- */
.event-calendar-section {
  margin: 0 auto 28px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(13, 59, 102, 0.14);
  border-radius: 14px;
}
/* ----- END BLOCK 11.01 ----- */

/* ----- BLOCK 11.02: Calendar toolbar layout ----- */
.event-calendar-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.event-calendar-toolbar-left,
.event-calendar-toolbar-right {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.event-calendar-toolbar-right {
  justify-content: flex-end;
}

.event-calendar-title {
  margin: 0;
  text-align: center;
  font-family: Lora, Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  color: #0D3B66;
}
/* ----- END BLOCK 11.02 ----- */

/* ----- BLOCK 11.03: Calendar toolbar buttons ----- */
.event-calendar-nav-btn,
.event-calendar-view-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: #62B6CB;
  color: #F7F3E8;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.event-calendar-nav-btn:hover,
.event-calendar-view-btn:hover {
  opacity: 0.95;
}

.event-calendar-view-btn.is-active {
  background: #0D3B66;
  color: #F7F3E8;
}
/* ----- END BLOCK 11.03 ----- */

/* ==========================================================================
   SECTION 12 - CALENDAR WEEK VIEW
   --------------------------------------------------------------------------
   Seven-column weekly grid and day-card styling.
   ========================================================================== */

/* ----- BLOCK 12.01: Weekly grid ----- */
.event-calendar-grid-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
/* ----- END BLOCK 12.01 ----- */

/* ----- BLOCK 12.02: Weekly day cards ----- */
.event-calendar-day-card {
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 12px;
  min-height: 220px;
  background: #ffffff;
}

.event-calendar-day-card.is-today {
  border-color: #0D3B66;
}

.event-calendar-day-head {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(13, 59, 102, 0.10);
}

.event-calendar-day-name {
  font-size: 14px;
  font-weight: 700;
  color: #0D3B66;
}

.event-calendar-day-date {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.3;
  color: #333333;
}

.event-calendar-day-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* ----- END BLOCK 12.02 ----- */

/* ==========================================================================
   SECTION 13 - CALENDAR MONTH VIEW
   --------------------------------------------------------------------------
   Monthly grid, weekday row, and month cells.
   ========================================================================== */

/* ----- BLOCK 13.01: Month grid shell ----- */
.event-calendar-grid-month {
  display: block;
}

.event-calendar-weekday-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.event-calendar-weekday-cell {
  padding: 8px 10px;
  font-weight: 700;
  color: #0D3B66;
  border-bottom: 1px solid rgba(13, 59, 102, 0.12);
}

.event-calendar-month-cells {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
/* ----- END BLOCK 13.01 ----- */

/* ----- BLOCK 13.02: Month cells ----- */
.event-calendar-month-cell {
  min-height: 150px;
  border-right: 1px solid rgba(13, 59, 102, 0.10);
  border-bottom: 1px solid rgba(13, 59, 102, 0.10);
  padding: 8px;
  background: #ffffff;
}

.event-calendar-month-cell.is-today {
  border-color: #0D3B66;
}

.event-calendar-month-cell.is-outside-month {
  background: #F7F3E8;
  opacity: 0.7;
}

.event-calendar-month-date {
  margin-bottom: 8px;
  font-weight: 700;
  color: #0D3B66;
}

.event-calendar-month-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* ----- END BLOCK 13.02 ----- */

/* ==========================================================================
   SECTION 14 - CALENDAR EVENT CHIPS AND TOOLTIPS
   --------------------------------------------------------------------------
   Event boxes inside the calendar plus hover summary card styling.
   ========================================================================== */

/* ----- BLOCK 14.01: Empty-state copy inside calendar ----- */
.event-calendar-empty {
  opacity: 0.6;
  font-size: 14px;
}
/* ----- END BLOCK 14.01 ----- */

/* ----- BLOCK 14.02: Calendar event chips ----- */
.event-calendar-chip {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px 10px;
  text-align: left;
  background: #ffffff;
  border: 1px solid rgba(13, 59, 102, 0.14);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  z-index: 1;
}

.event-calendar-chip:hover,
.event-calendar-chip:focus,
.event-calendar-chip:focus-visible,
.event-calendar-chip:focus-within {
  background: #F7F3E8;
  border-color: rgba(13, 59, 102, 0.28);
  box-shadow: 0 6px 18px rgba(13, 59, 102, 0.12);
  outline: none;
  z-index: 9999;
}

.event-calendar-chip-inner {
  display: block;
  min-width: 0;
}

.event-calendar-chip-time-row {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: #0D3B66;
}

.event-calendar-chip-title-row {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  color: #333333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-calendar-chip-location-row {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.8;
  margin-top: 2px;
}

/* hard stop: nothing image-like should ever render directly in the visible chip */
.event-calendar-chip > .event-card-flyer,
.event-calendar-chip > img,
.event-calendar-chip > .event-flyer-thumb,
.event-calendar-chip-inner img,
.event-calendar-chip-inner .event-card-flyer,
.event-calendar-chip-inner .event-flyer-thumb,
.event-calendar-chip-inner .event-flyer-thumb__image {
  display: none !important;
}
/* ----- END BLOCK 14.02 ----- */

/* ----- BLOCK 14.03: Calendar hover overlay shell ----- */
.event-calendar-hover-overlay {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: min(420px, 80vw);
  min-width: 320px;
  z-index: 2147483647;
  pointer-events: none;
}

.event-calendar-chip:hover > .event-calendar-hover-overlay,
.event-calendar-chip:focus > .event-calendar-hover-overlay,
.event-calendar-chip:focus-visible > .event-calendar-hover-overlay,
.event-calendar-chip:focus-within > .event-calendar-hover-overlay {
  display: block !important;
}

.event-calendar-tooltip-card,
.event-calendar-tooltip-card--summary {
  display: block;
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(13, 59, 102, 0.16);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(13, 59, 102, 0.18);
  overflow: hidden;
  pointer-events: auto;
}
/* ----- END BLOCK 14.03 ----- */

/* ----- BLOCK 14.04: Tooltip summary layout ----- */
.event-calendar-tooltip-summary {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.event-calendar-tooltip-summary .event-card-flyer {
  display: flex;
  justify-content: center;
  padding: 16px 16px 0;
  background: #ffffff;
}

.event-calendar-tooltip-summary .event-flyer-thumb {
  width: 100%;
  max-width: 220px;
  cursor: pointer;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.event-calendar-tooltip-summary .event-flyer-thumb__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(13, 59, 102, 0.14);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
  background: #ffffff;
}

.event-calendar-tooltip-summary__head {
  padding: 14px 16px 8px;
  border-bottom: 1px solid rgba(13, 59, 102, 0.08);
  background: linear-gradient(180deg, rgba(247, 243, 232, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
}

.event-calendar-tooltip-summary__title {
  margin: 0;
  font-family: Lora, Georgia, serif;
  font-size: 17px;
  line-height: 1.25;
  color: #0D3B66;
  font-weight: 700;
}

.event-calendar-tooltip-summary__date {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #333333;
}

.event-calendar-tooltip-summary__location {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #333333;
}

.event-calendar-tooltip-summary__body {
  padding: 12px 16px 16px;
}

.event-calendar-tooltip-summary__body .event-card-free-text {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0D3B66;
}

.event-calendar-tooltip-summary__body .event-card-details {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #333333;
}

.event-calendar-tooltip-summary__body .event-card-field {
  margin-top: 8px;
}

.event-calendar-tooltip-summary__body .event-card-field:first-child {
  margin-top: 0;
}

.event-calendar-tooltip-summary__body .event-card-field-label {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #333333;
}

.event-calendar-tooltip-summary__body .event-card-field-value,
.event-calendar-tooltip-summary__body .event-card-location {
  font-size: 13px;
  line-height: 1.4;
  color: #333333;
}

.event-calendar-tooltip-summary__body .event-card-location {
  margin-top: 8px;
}

.event-calendar-tooltip-summary__body .event-card-inline-label {
  font-weight: 700;
  color: #0D3B66;
}

.event-calendar-tooltip-summary__body .event-card-inline-link {
  color: #0D3B66;
  text-decoration: none;
}

.event-calendar-tooltip-summary__body .event-card-inline-link:hover,
.event-calendar-tooltip-summary__body .event-card-inline-link:focus {
  text-decoration: underline;
}
/* ----- END BLOCK 14.04 ----- */

/* ----- BLOCK 14.05: See-more modal and stacking support ----- */
.event-calendar-see-more-btn {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 7px 10px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #0D3B66;
  background: rgba(13, 59, 102, 0.06);
  border: 1px dashed rgba(13, 59, 102, 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.event-calendar-see-more-btn:hover,
.event-calendar-see-more-btn:focus,
.event-calendar-see-more-btn:focus-visible {
  background: rgba(13, 59, 102, 0.1);
  border-color: rgba(13, 59, 102, 0.32);
  outline: none;
}

.event-calendar-day-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
}

.event-calendar-day-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 59, 102, 0.38);
  backdrop-filter: blur(1px);
}

.event-calendar-day-modal__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 6vh auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(13, 59, 102, 0.12);
  box-shadow: 0 24px 64px rgba(13, 59, 102, 0.24);
  padding: 16px;
  max-height: 80vh;
  overflow: auto;
}

.event-calendar-day-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.event-calendar-day-modal__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #0D3B66;
}

.event-calendar-day-modal__close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #333333;
  cursor: pointer;
}

.event-calendar-day-modal__close:hover,
.event-calendar-day-modal__close:focus,
.event-calendar-day-modal__close:focus-visible {
  color: #0D3B66;
  outline: none;
}

.event-calendar-day-modal__body .event-calendar-chip {
  margin-top: 8px;
}

.event-calendar-day-modal__body .event-calendar-chip:first-child {
  margin-top: 0;
}

.event-calendar-day-modal__body .event-calendar-hover-overlay {
  display: none !important;
}

.event-calendar-section,
.event-calendar-toolbar,
.event-calendar-grid,
.event-calendar-grid-week,
.event-calendar-grid-month,
.event-calendar-day-card,
.event-calendar-day-head,
.event-calendar-day-body,
.event-calendar-month-cell,
.event-calendar-month-events,
.event-calendar-month-cells,
.event-calendar-weekday-row {
  overflow: visible;
}

.event-calendar-day-card,
.event-calendar-month-cell {
  position: relative;
  z-index: 1;
}

.event-calendar-day-card:hover,
.event-calendar-day-card:focus-within,
.event-calendar-month-cell:hover,
.event-calendar-month-cell:focus-within {
  z-index: 9998;
}

.event-calendar-day-body,
.event-calendar-month-events {
  position: relative;
  z-index: 1;
}
/* ----- END BLOCK 14.05 ----- */

/* ==========================================================================
   SECTION 15 - EMPTY / ERROR STATES
   --------------------------------------------------------------------------
   Shared presentation for no-results and load-error states.
   ========================================================================== */

/* ----- BLOCK 15.01: Empty and error messages ----- */
.event-listings-empty,
.event-listings-error {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 24px;
  border-radius: 18px;
  background: #ffffff;
  text-align: center;
  color: #333333;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
/* ----- END BLOCK 15.01 ----- */

/* ==========================================================================
   SECTION 16 - PAGINATION
   --------------------------------------------------------------------------
   List-mode pagination controls.
   ========================================================================== */

/* ----- BLOCK 16.01: Pagination layout ----- */
.event-pagination-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.event-page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
/* ----- END BLOCK 16.01 ----- */

/* ----- BLOCK 16.02: Pagination buttons ----- */
.event-page-nav,
.event-page-btn {
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: #EE964B;
  color: #000000;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.event-page-btn.is-active {
  background: #62B6CB;
  color: #F7F3E8;
}

.event-page-nav[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}
/* ----- END BLOCK 16.02 ----- */

/* ==========================================================================
   SECTION 17 - RESPONSIVE LAYOUT
   --------------------------------------------------------------------------
   Breakpoint behavior for list mode, toolbar, and calendar layouts/tooltips.
   ========================================================================== */

/* ----- BLOCK 17.01: Large-tablet adjustments ----- */
@media (max-width: 1200px) {
  .event-listings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* ----- END BLOCK 17.01 ----- */

/* ----- BLOCK 17.02: Tablet adjustments ----- */
@media (max-width: 1100px) {
  .event-detail-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-calendar-toolbar {
    grid-template-columns: 1fr;
  }

  .event-calendar-toolbar-center {
    order: -1;
  }

  .event-calendar-grid-week,
  .event-calendar-weekday-row,
  .event-calendar-month-cells {
    grid-template-columns: 1fr;
  }

  .event-calendar-tooltip-card {
    left: 0;
    top: 100%;
    margin-left: 0;
    margin-top: 8px;
    width: min(320px, calc(100vw - 60px));
  }
}

@media (max-width: 1024px) {
  .event-toolbar-inner {
    grid-template-columns: 1fr;
  }

  .event-toolbar-actions {
    justify-content: flex-start;
  }

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

  .event-flyer-thumb-detail {
    max-width: min(70%, 520px);
  }
}
/* ----- END BLOCK 17.02 ----- */

/* ----- BLOCK 17.03: Mobile adjustments ----- */
@media (max-width: 640px) {
  .event-listings-toolbar,
  .event-listings-filters,
  .event-listings-status,
  .event-listings-calendar-wrap,
  .event-listings-grid-wrap,
  .event-listings-pagination,
  .event-listings-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .event-listings-title {
    font-size: 30px;
  }

  .event-detail-hero-title {
    font-size: 34px;
  }

  .event-detail-hero-meta,
  .event-detail-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-detail-hero-action {
    width: 100%;
  }

  .event-detail-section {
    padding: 20px;
  }

  .event-detail-section-title {
    font-size: 24px;
  }

  .event-detail-facts-grid {
    grid-template-columns: 1fr;
  }

  .event-detail-gallery__track {
    grid-auto-columns: minmax(220px, 82vw);
    gap: 12px;
  }

  .event-detail-focus-badges {
    grid-template-columns: 1fr;
  }

  .event-detail-copy p,
  .event-detail-disclosure p,
  .event-detail-faith-note,
  .event-detail-hosted-by,
  .event-detail-contact,
  .event-detail-location-address {
    font-size: 17px;
  }

  .event-listings-grid {
    grid-template-columns: 1fr;
  }

  .event-toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .event-page-size-wrap,
  .event-sort-wrap,
  .event-view-toggle-wrap {
    justify-content: space-between;
  }

  .event-flyer-thumb-detail {
    max-width: 100%;
  }

  .event-flyer-thumb-detail .event-flyer-thumb__image {
    max-height: 420px;
  }

  .event-flyer-overlay__dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
  }

  .event-flyer-overlay__image {
    max-height: calc(100vh - 84px);
  }
}
/* ----- END BLOCK 17.03 ----- */
