/*
  events-extra.css
  Small additions for the server-rendered events pages (the design files are plain prototypes).
  Used by both the events list and the event page.
*/

.fm-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Controls the script switches on. The .fm-btn / .fm-views display rules would otherwise win over the hidden attribute. */
.fm-views[hidden], #fm-locate[hidden] { display: none; }

/* Buttons that are links (Subscribe to calendar, Show more, Reset) */
a.fm-btn { text-decoration: none; }
.fm-shows__more .fm-btn { display: inline-flex; }

/* Chips are submit buttons (the filter form works without JavaScript) */
.fm-chip { font-family: inherit; }

/* "Contact organiser" result message */
.fm-contact__status { min-height: 1.4em; margin-top: 0.4rem; font-size: var(--fm-t-sm); font-weight: 600; }
.fm-contact__status.is-ok { color: #1a6b3a; }
.fm-contact__status.is-error { color: #a12626; }
.fm-contact .g-recaptcha { margin-top: 0.6rem; }

/* Event page title card: .fm-card clips everything outside it, which cut off the Share / Add to calendar menus.
   The card lets them hang out; the photo rounds its own top corners instead. */
.fm-show-hero { overflow: visible; }
.fm-show-hero .fm-media { border-radius: var(--fm-radius) var(--fm-radius) 0 0; }
