/* v1.9.18.2 — single-row social dropdown and touch behavior.
   Queued after the mobile/tablet and header styles so older grid rules do not win.
   Uses CSS only: normal links follow their href without delayed JavaScript taps. */

/* All mobile/tablet dropdowns: one horizontal social row, never a wrapped grid.
   If social icons do not all fit, swipe this row sideways. */
.site-header .mobile-nav .mobile-social-icons {
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
.site-header .mobile-nav .mobile-social-icons .chakras-icon-links {
  position:relative!important;
  inset:auto!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  box-sizing:border-box!important;
  direction:ltr!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:16px 0 5px!important;
  padding:5px 2px 9px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.site-header .mobile-nav .mobile-social-icons .chakras-social-link {
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex:0 0 var(--chakras-link-size,34px)!important;
  width:var(--chakras-link-size,34px)!important;
  height:var(--chakras-link-size,34px)!important;
  min-width:var(--chakras-link-size,34px)!important;
  margin:0!important;
  padding:0!important;
  position:relative!important;
  direction:ltr!important;
}
.site-header.mobile-align-center .mobile-nav .mobile-social-icons .chakras-icon-links {
  /* In a scrolling row, keep the first icon reachable even when centered. */
  justify-content:safe center!important;
}
.site-header.mobile-align-right .mobile-nav .mobile-social-icons .chakras-icon-links {
  justify-content:safe flex-end!important;
}

/* The translucent blue flash is the mobile browser's default tap highlight. */
@media (hover:none), (pointer:coarse) {
  html, body, body *, body *::before, body *::after {
    -webkit-tap-highlight-color:transparent!important;
  }
  /* Preserve accessible keyboard focus, but avoid a persistent touch outline. */
  body :is(a,button,[role="button"],input,select,textarea):focus:not(:focus-visible) {
    outline:none!important;
  }
  body :is(a,button,[role="button"],input[type="submit"],.wp-block-button__link) {
    touch-action:manipulation;
  }
  /* No click/hover effects on touch targets; functional menus/dialogs still open. */
  body :is(a,button,[role="button"],.chakras-gallery-tile,.wp-block-button__link),
  body :is(a,button,[role="button"],.chakras-gallery-tile,.wp-block-button__link)::before,
  body :is(a,button,[role="button"],.chakras-gallery-tile,.wp-block-button__link)::after,
  body :is(a,button,[role="button"],.chakras-gallery-tile,.wp-block-button__link) * {
    animation:none!important;
    transition:none!important;
  }
  /* Limit hover-transform suppression to elements which are not positioned
     using transforms (for example centered call-to-action links). */
  .site-header .mobile-nav .chakras-social-link:hover,
  .site-header .mobile-nav .chakras-social-link:active,
  body .chakras-gallery-tile:hover, body .chakras-gallery-tile:active,
  body .play-button:hover,body .play-button:active { transform:none!important; }
  .site-header .mobile-nav:not([hidden]) {animation:none!important;transition:none!important;}
  .site-header .mobile-toggle, .site-header .mobile-toggle span {animation:none!important;transition:none!important;}
  .site-header .mobile-toggle[aria-expanded="true"] span {transform:none!important;opacity:1!important;}
  /* Remove touchscreen hover/tap paint without changing the chosen active-page style. */
  .site-header .mobile-menu-items a:hover:not([aria-current="page"]),
  .site-header .mobile-menu-items a:active:not([aria-current="page"]) {
    color:var(--cm-text)!important;
    background:transparent!important;
    filter:none!important;
  }
  .site-header .mobile-tickets:hover,.site-header .mobile-tickets:active {
    filter:none!important;
  }
  .site-header .mobile-toggle:hover {background:var(--cm-toggle-bg)!important;}
  .site-header .mobile-nav .mobile-social-icons .chakras-social-link:hover,
  .site-header .mobile-nav .mobile-social-icons .chakras-social-link:active {
    background:transparent!important;
    filter:none!important;
    opacity:1!important;
  }
}
