
/* Aerocone Conference mobile compatibility layer — v0.7.8 */
@media (max-width: 767px) {
  body, #page, .site, #main-content { max-width:100%; overflow-x:clip; }
  .ac-event-page, .ac-event-page * { min-width:0; }
  .acx-wrap, .content-shell, .ac-event-page > section { width:auto!important; max-width:100%!important; margin-left:auto!important; margin-right:auto!important; padding-left:16px!important; padding-right:16px!important; }
  .acx-hero { min-height:0!important; padding:34px 18px 28px!important; display:flex!important; flex-direction:column!important; gap:20px!important; background-position:center!important; }
  .acx-hero-content { width:100%!important; max-width:100%!important; }
  .acx-hero h1 { font-size:clamp(1.8rem,8vw,2.6rem)!important; line-height:1.08!important; overflow-wrap:anywhere; }
  .acx-hero-intro { font-size:1rem!important; line-height:1.5!important; }
  .acx-hero-meta { display:grid!important; grid-template-columns:1fr!important; gap:9px!important; }
  .acx-actions { display:grid!important; grid-template-columns:1fr!important; gap:10px!important; }
  .acx-actions a,.acx-button { width:100%!important; min-height:48px; justify-content:center; }
  .acx-hero-side { position:static!important; width:100%!important; }
  .acx-section-heading { max-width:100%!important; }
  .acx-section-heading h2 { font-size:clamp(1.45rem,6vw,2rem)!important; line-height:1.18!important; }
  .acx-benefit-grid,.acx-speaker-grid,.acx-exhibitor-grid { display:grid!important; grid-template-columns:1fr!important; gap:14px!important; }
  .acx-benefit-card,.acx-speaker-card,.acx-exhibitor-card { width:100%!important; max-width:100%!important; }
  .acx-speaker-card { grid-template-columns:76px minmax(0,1fr)!important; gap:12px!important; }
  .acx-speaker-card img,.acx-speaker-placeholder { width:76px!important; height:76px!important; object-fit:cover; }
  .acx-programme { display:block!important; width:100%!important; max-width:100%!important; }
  .acx-programme-layout,.acx-programme-grid,.acx-programme-inner { display:flex!important; flex-direction:column!important; width:100%!important; gap:16px!important; }
  .acx-programme-main,.acx-programme-content,.acx-programme-track,.acx-programme-sticky-stage { width:100%!important; max-width:100%!important; min-width:0!important; }
  .acx-programme-sticky { position:relative!important; top:auto!important; height:auto!important; min-height:0!important; }
  .acx-programme-track { overflow:visible!important; transform:none!important; }
  .acx-programme-card,.acx-session-card { width:100%!important; max-width:100%!important; min-height:0!important; }
  .acx-programme-sidebar,.acx-programme-advertiser,.acx-ad-rail,.acx-ad-slot { width:100%!important; max-width:100%!important; min-width:0!important; margin:14px 0!important; }
  .acx-programme-sidebar iframe,.acx-ad-slot iframe,.acx-programme-sidebar img,.acx-ad-slot img { max-width:100%!important; height:auto!important; }
  .acx-programme-day,.acx-programme-day-content { width:100%!important; max-width:100%!important; }
  .acx-ticket-frame,.aet-choice-list,.aet-choice-list.acx-ticket-deck { width:100%!important; max-width:100%!important; }
  .aet-choice-list.acx-ticket-deck { display:flex!important; flex-direction:column!important; gap:12px!important; }
  .aet-choice-list.acx-ticket-deck .aet-choice-card { position:relative!important; inset:auto!important; transform:none!important; width:100%!important; max-width:100%!important; opacity:1!important; }
  .acx-exhibitor-buy,.acx-ticket-frame a,.woocommerce a.button,.woocommerce button.button { display:flex!important; width:100%!important; min-height:48px!important; align-items:center; justify-content:center; }
  .acx-title-sponsor-feature { max-width:100%!important; overflow:hidden; }
  .acx-title-sponsor-feature img { max-width:100%!important; height:auto!important; }
  .acx-programme table,.acx-event-page table { display:block; width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .acx-event-page [style*="grid-template-columns"] { grid-template-columns:1fr!important; }
  .acx-event-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.acx-event-page select,.acx-event-page textarea { width:100%!important; max-width:100%!important; min-height:46px; font-size:16px!important; }
  .acx-event-page button,.acx-event-page input[type=submit] { min-height:46px; }
  .acx-event-page .wp-block-columns { display:flex!important; flex-direction:column!important; }
  .site-footer .footer-grid { display:grid!important; grid-template-columns:1fr 1fr!important; gap:20px!important; }
  .site-footer .footer-about,.site-footer .footer-col:last-child { grid-column:1/-1; }
  body { padding-bottom:calc(76px + env(safe-area-inset-bottom)); }
  .aemo-bottom-nav { z-index:99990!important; }
  .aemo-drawer-trigger { z-index:99991!important; }
  .aemo-mobile-drawer { z-index:99999!important; }
  .aemo-bottom-nav a { min-height:48px; }
  /* Avoid common floating chat widgets covering checkout or navigation controls. */
  .crisp-client,.tawk-min-container,.tawk-button,.fb_dialog,.intercom-lightweight-app { max-width:calc(100vw - 20px)!important; }
}
@media (min-width:768px) and (max-width:1100px) {
  .acx-benefit-grid,.acx-speaker-grid,.acx-exhibitor-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .acx-programme-layout { grid-template-columns:minmax(0,1fr) 300px!important; }
}
