/* Events page: polished, brand-aligned cards and submission form */
body.page-id-1795 .entry-content {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.page-id-1795 .tribe-events-widget-events-list__header-title {
  margin: 0 0 1.25rem;
  color: #122b3b;
  font: 750 clamp(1.7rem, 3vw, 2.25rem)/1.15 system-ui, sans-serif;
  letter-spacing: -.035em;
}
body.page-id-1795 .tribe-events-widget-events-list__event-wrapper {
  margin: 0 0 .8rem;
}
body.page-id-1795 .tribe-events-widget-events-list__event {
  padding: 1.1rem 1.35rem;
  border: 1px solid #e2e9ed;
  border-left: 4px solid #28a8bb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(14, 39, 55, .055);
  transition: transform .18s ease, box-shadow .18s ease;
}
body.page-id-1795 .tribe-events-widget-events-list__event:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 39, 55, .1);
}
body.page-id-1795 .tribe-events-widget-events-list__event-datetime {
  color: #4b6473;
  font: 600 .9rem/1.4 system-ui, sans-serif;
}
body.page-id-1795 .tribe-events-widget-events-list__event-title {
  margin: .3rem 0 0;
  font: 700 1.12rem/1.35 system-ui, sans-serif;
  letter-spacing: -.015em;
}
body.page-id-1795 .tribe-events-widget-events-list__event-title-link {
  color: #123348;
  text-decoration: none;
}
body.page-id-1795 .tribe-events-widget-events-list__event-title-link:hover {
  color: #168b9f;
}
body.page-id-1795 .tribe-events-widget-events-list__view-more {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: #123348;
  color: #fff;
  font: 650 .95rem/1.2 system-ui, sans-serif;
  text-decoration: none;
}
body.page-id-1795 .tribe-events-widget-events-list__view-more:hover {
  background: #168b9f;
  color: #fff;
}
body.page-id-1795 .entry-content > .wp-block-heading {
  margin: 3rem 0 .65rem;
  padding-left: 1rem;
  border-left: 5px solid #ef6745;
  color: #122b3b;
  font: 750 clamp(1.8rem, 3vw, 2.5rem)/1.15 system-ui, sans-serif;
  letter-spacing: -.04em;
}
body.page-id-1795 .entry-content > .wp-block-paragraph {
  max-width: 740px;
  color: #516571;
  font: 400 1.05rem/1.7 system-ui, sans-serif;
}
body.page-id-1795 .jetpack-contact-form-container {
  max-width: 800px;
  margin-top: 1.5rem;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid #e2e9ed;
  border-radius: 18px;
  background: #f7fafb;
  box-shadow: 0 12px 34px rgba(14, 39, 55, .07);
}
body.page-id-1795 .jetpack-contact-form-container label {
  color: #1b3443;
  font: 650 .96rem/1.4 system-ui, sans-serif;
}
body.page-id-1795 .jetpack-contact-form-container input:not([type="checkbox"]):not([type="radio"]),
body.page-id-1795 .jetpack-contact-form-container textarea,
body.page-id-1795 .jetpack-contact-form-container select {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  border: 1px solid #cbd8df;
  border-radius: 9px;
  background: #fff;
  color: #182e3b;
  font: 400 1rem/1.45 system-ui, sans-serif;
}
body.page-id-1795 .jetpack-contact-form-container textarea { min-height: 135px; }
body.page-id-1795 .jetpack-contact-form-container input:focus,
body.page-id-1795 .jetpack-contact-form-container textarea:focus,
body.page-id-1795 .jetpack-contact-form-container select:focus {
  border-color: #188ea3;
  outline: 3px solid rgba(40, 168, 187, .2);
}
body.page-id-1795 .jetpack-contact-form-container button,
body.page-id-1795 .jetpack-contact-form-container input[type="submit"] {
  min-height: 48px;
  padding: .8rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: #123348;
  color: #fff;
  font: 700 1rem/1.2 system-ui, sans-serif;
  cursor: pointer;
}
body.page-id-1795 .jetpack-contact-form-container button:hover,
body.page-id-1795 .jetpack-contact-form-container input[type="submit"]:hover {
  background: #168b9f;
}
@media (max-width: 600px) {
  body.page-id-1795 .tribe-events-widget-events-list__event { padding: 1rem; }
  body.page-id-1795 .entry-content > .wp-block-heading { margin-top: 2.25rem; }
}

/* Full-width district map page */
body.postid-1668 .wp-block-post-date { display:none !important; }
body.postid-1668 main { width:100%; max-width:none; margin:0; padding:0; }
body.postid-1668 main > .wp-block-spacer { display:none; }
body.postid-1668 .entry-content, body.postid-1668 .mapster-wp-maps-container { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
body.postid-1668 #mapster-wp-maps-1668 { position:relative !important; width:100% !important; height:max(500px,calc(100svh - 260px)) !important; margin:0 !important; }
body.postid-1668 main, body.postid-1668 .entry-content, body.postid-1668 .mapster-wp-maps-container { height:auto !important; min-height:0 !important; }
body.postid-1668 .wp-block-post-navigation-link { display:none; }

body.postid-1668 main { width:100vw !important; margin-left:calc(50% - 50vw) !important; }
body.postid-1668 .wp-block-group:has(> .wp-block-post-title) { padding-top:20px !important; padding-bottom:20px !important; }
body.postid-1668 .wp-block-post-title { margin-top:0 !important; margin-bottom:0 !important; }

body.postid-1668 main { width:auto !important; margin-left:calc(-1 * var(--wp--style--root--padding-left, 40px)) !important; margin-right:calc(-1 * var(--wp--style--root--padding-right, 40px)) !important; }

/* Keep the shared footer aligned with the full-width map. */
body.postid-1668 main > .wp-block-group.alignfull { width:100%; margin:0 !important; }
body.postid-1668 .mapster-wp-maps-container:has(.maplibregl-map) > .mapster-wp-maps-loader-container { display:none !important; }
