/* SITE-WIDE design rules (every page). Linked last in <head>, after the Squarespace CSS.
   Page-specific tweaks go in assets/css/pages/<slug>.css, which the renderer links only on that page.
   Selectors are doubled up where needed to beat the export's inline grid rules. */

/* Desktop: all buttons site-wide (primary, secondary, tertiary) were too tall; the site default is 1.5rem
   above and below the text. Width (2.2rem sides), font and colours are unchanged. Phones keep the default. */
@media (min-width: 768px) {
  :root {
    --primary-button-padding-top: .85rem;
    --primary-button-padding-bottom: .85rem;
    --secondary-button-padding-top: .85rem;
    --secondary-button-padding-bottom: .85rem;
    --tertiary-button-padding-top: .85rem;
    --tertiary-button-padding-bottom: .85rem;
  }
}

/* Button text: one line on desktop; on phones it wraps as needed (browser default, made explicit) */
@media (min-width: 768px) {
  .sqs-button-element--primary, .sqs-button-element--secondary, .sqs-button-element--tertiary,
  .sqsp-button-primary, .sqsp-button-secondary, .sqsp-button-tertiary,
  .sqs-block-button-element, .header-actions-action--cta .btn {
    white-space: nowrap;
  }
}
@media (max-width: 767px) {
  .sqs-button-element--primary, .sqs-button-element--secondary, .sqs-button-element--tertiary,
  .sqsp-button-primary, .sqsp-button-secondary, .sqsp-button-tertiary,
  .sqs-block-button-element, .header-actions-action--cta .btn {
    white-space: normal;
    max-width: 100%;
  }
}

/* Rule (all pages): content buttons sit centred in their frame (the layout cell they occupy),
   both across and top-to-bottom. The export pins them to the top, and some to the left.
   Header, carousel and form buttons are not button blocks and are not affected. */
.fluid-engine .fe-block .sqs-block[data-definition-name="website.components.button"] {
  justify-content: center;
  align-items: stretch;
}
.fluid-engine .fe-block .sqs-block[data-definition-name="website.components.button"] .sqs-block-content {
  width: 100%;
}
.sqs-block[data-definition-name="website.components.button"] .sqs-block-button-container.sqs-block-button-container--left,
.sqs-block[data-definition-name="website.components.button"] .sqs-block-button-container.sqs-block-button-container--right,
.sqs-block[data-definition-name="website.components.button"] .sqs-block-button-container.sqs-block-button-container--center {
  justify-content: center;
  text-align: center;
}

/* Rule (all pages): font-size presets from the CMS rich-text editors. Relative to the block's own
   design size, so headings, paragraphs and captions each scale from their own size. */
.cms-fs-s  { font-size: .85em; }
.cms-fs-l  { font-size: 1.25em; }
.cms-fs-xl { font-size: 1.5em; line-height: 1.25; }

/* Rule (all pages): the desktop top bar is always one line. The "nav centred" layout gives the menu
   only 34% of the width, so its links wrapped. The menu now takes the width it needs, the links,
   site title and Join Now button never wrap, and the spacing between links tightens on narrower
   desktop screens. Desktop header only (shown from 800px; phones and tablets use the menu button). */
@media screen and (min-width: 800px) {
  .header-display-desktop .header-nav { flex: 0 0 auto; width: auto; }
  .header-display-desktop .header-nav-list { flex-wrap: nowrap; }
  .header-display-desktop .header-nav-item { margin-left: clamp(6px, 1vw, 18px); margin-right: clamp(6px, 1vw, 18px); }
  .header-display-desktop .header-nav-item a,
  .header-display-desktop .header-title-text,
  .header-display-desktop .header-title-text a,
  .header-display-desktop .header-actions-action--cta .btn { white-space: nowrap; }
  .header-display-desktop .header-title { min-width: max-content; }
}

/* Footer (all pages), phones: "Membership  Contact" centred on one line, full width of the footer
   (the export put it in the right half, where it wrapped onto two lines). */
@media (max-width: 767px) {
  footer .fluid-engine .fe-block.fe-block-c755da59ce48d0d7fdf5 { grid-area: 4/2/7/10; }
  footer .fe-block-c755da59ce48d0d7fdf5 pre,
  footer .fe-block-c755da59ce48d0d7fdf5 pre code { text-align: center !important; white-space: nowrap !important; }
  footer .fe-block-c755da59ce48d0d7fdf5 pre a + a,
  footer .fe-block-c755da59ce48d0d7fdf5 pre code a:last-child { margin-left: 1.5em; }
}

/* Footer (all pages), phones: every element centred: each block spans the footer's full width
   (keeping its row), its text is centred, and the social icons sit in the middle. */
@media (max-width: 767px) {
  footer .fluid-engine .fe-block { grid-column: 2 / 10 !important; }
  footer .fe-block .sqs-block { justify-content: center; }
  footer .fe-block .sqs-html-content,
  footer .fe-block .sqs-html-content p,
  footer .fe-block .sqs-html-content h1, footer .fe-block .sqs-html-content h2,
  footer .fe-block .sqs-html-content h3, footer .fe-block .sqs-html-content h4,
  footer .fe-block pre, footer .fe-block pre code { text-align: center !important; }
  footer .fe-block [id^="block-"] { --social-icons-justify-content: center !important; }
  footer .fe-block .social-icons, footer .fe-block .sqs-svg-icon--list { justify-content: center !important; }
  footer .fe-block .sqs-block-button-container { justify-content: center; text-align: center; }
  footer .fe-block .social-icon-alignment-left .sqs-svg-icon--wrapper { margin: 0 4px !important; }   /* even spacing both sides, so the row is truly centred */
}

/* SEO (2026-11-29): main heading added for search engines / screen readers on pages whose design has none (gadmin/inc/cms_seo.php). Not visible. */
.lag-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
