@media(max-width:900px){.tih-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tih-profile-top{grid-template-columns:180px 1fr}.tih-profile-body{grid-template-columns:1fr}.tih-dashboard-grid{grid-template-columns:1fr}.tih-directory-search{grid-template-columns:1fr 1fr}.tih-directory-search .tih-btn{grid-column:1/-1}.tih-field-grid{grid-template-columns:1fr}.tih-span-2{grid-column:auto}}
@media(max-width:620px){.tih-card-grid{grid-template-columns:1fr}.tih-profile-top{grid-template-columns:1fr;text-align:center}.tih-profile-photo{width:min(240px,80vw);margin:auto}.tih-badges{justify-content:center}.tih-directory-search{grid-template-columns:1fr}.tih-directory-search .tih-btn{grid-column:auto}.tih-profile-form,.tih-modal-card{padding:20px}.tih-dashboard-hero{align-items:flex-start;flex-direction:column}.tih-nova-shell{border-radius:20px}.tih-commerce .wc-block-components-sidebar-layout{display:block!important}.tih-commerce .wc-block-components-main,.tih-commerce .wc-block-components-sidebar{width:100%!important}}


/* v1.3.10 — mobile header compaction + Nova keyboard/viewport safety */
@media (max-width:767px){
  /* Compact the Elementor global header without changing desktop presentation. */
  body:not(.elementor-editor-active) header.elementor-location-header{
    position:sticky!important;
    top:0!important;
    z-index:99990!important;
    min-height:0!important;
    height:auto!important;
    background:#050506;
    transition:transform .2s ease;
  }
  body:not(.elementor-editor-active) header.elementor-location-header > .e-con,
  body:not(.elementor-editor-active) header.elementor-location-header > .elementor-element.e-con,
  body:not(.elementor-editor-active) header.elementor-location-header .e-con.e-parent:first-child{
    min-height:0!important;
    height:auto!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
    row-gap:10px!important;
  }
  body:not(.elementor-editor-active) header.elementor-location-header .elementor-widget-theme-site-logo img,
  body:not(.elementor-editor-active) header.elementor-location-header .elementor-widget-image img{
    width:min(230px,62vw)!important;
    max-width:230px!important;
    max-height:88px!important;
    object-fit:contain!important;
  }
  body:not(.elementor-editor-active) header.elementor-location-header .elementor-menu-toggle{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    min-height:48px!important;
    padding:10px!important;
    margin:0!important;
    line-height:1!important;
  }
  body:not(.elementor-editor-active) header.elementor-location-header .elementor-button,
  body:not(.elementor-editor-active) header.elementor-location-header .tih-member-nav-link{
    min-height:44px!important;
    padding:10px 18px!important;
    font-size:15px!important;
    line-height:1.15!important;
  }
  body:not(.elementor-editor-active) header.elementor-location-header .elementor-widget-button,
  body:not(.elementor-editor-active) header.elementor-location-header .tih-member-nav-link{
    margin-top:0!important;
    margin-bottom:0!important;
  }

  /* Keep the live Nova widget above the header and safe when the mobile keyboard opens. */
  #sgx-nova-root,#sgx-nova-widget,#sgx-nova-bubble,#sgx-nova-panel,
  [id^="sgx-nova-"],[data-sgx-nova]{
    z-index:2147483000!important;
  }
  body.tih-nova-keyboard-open header.elementor-location-header{
    transform:translateY(-110%)!important;
    pointer-events:none!important;
  }
  body.tih-nova-keyboard-open{
    scroll-padding-top:12px!important;
  }
  body.tih-nova-keyboard-open #sgx-nova-root,
  body.tih-nova-keyboard-open #sgx-nova-widget,
  body.tih-nova-keyboard-open #sgx-nova-panel,
  body.tih-nova-keyboard-open [id^="sgx-nova-"]{
    max-height:var(--tih-visual-viewport-height,100dvh)!important;
  }
}
\n\n/* v1.3.11 — compact global header, remove duplicate actions, and keep Nova below sticky header */\nheader.elementor-location-header [data-tih-header-duplicate="1"]{display:none!important}\n\n@media (min-width:768px){\n  body:not(.elementor-editor-active) header.elementor-location-header{\n    min-height:0!important;height:auto!important;z-index:99990!important;background:#050506;\n  }\n  body:not(.elementor-editor-active) header.elementor-location-header > .e-con,\n  body:not(.elementor-editor-active) header.elementor-location-header > .elementor-element.e-con,\n  body:not(.elementor-editor-active) header.elementor-location-header .e-con.e-parent:first-child{\n    min-height:0!important;height:auto!important;padding-top:12px!important;padding-bottom:12px!important;gap:14px!important;\n  }\n  body:not(.elementor-editor-active) header.elementor-location-header .elementor-widget-theme-site-logo img,\n  body:not(.elementor-editor-active) header.elementor-location-header .elementor-widget-image img{\n    max-height:74px!important;width:auto!important;object-fit:contain!important;\n  }\n  body:not(.elementor-editor-active) header.elementor-location-header .elementor-nav-menu--main .elementor-item{\n    padding-top:12px!important;padding-bottom:12px!important;\n  }\n  body:not(.elementor-editor-active) header.elementor-location-header .elementor-button{\n    min-height:44px!important;padding:10px 18px!important;\n  }\n  #sgx-nova-root,#sgx-nova-widget,#sgx-nova-panel,[id^="sgx-nova-"],[data-sgx-nova]{\n    scroll-margin-top:120px!important;\n  }\n}\n\n@media (max-width:767px){\n  body:not(.elementor-editor-active) header.elementor-location-header > .e-con,\n  body:not(.elementor-editor-active) header.elementor-location-header > .elementor-element.e-con,\n  body:not(.elementor-editor-active) header.elementor-location-header .e-con{\n    min-height:0!important;height:auto!important;\n    padding-top:4px!important;padding-bottom:4px!important;\n    row-gap:5px!important;column-gap:7px!important;gap:7px!important;\n  }\n  body:not(.elementor-editor-active) header.elementor-location-header .elementor-widget-theme-site-logo img,\n  body:not(.elementor-editor-active) header.elementor-location-header .elementor-widget-image img{\n    width:min(190px,54vw)!important;max-width:190px!important;max-height:62px!important;\n  }\n  body:not(.elementor-editor-active) header.elementor-location-header .elementor-menu-toggle{\n    width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:8px!important;\n  }\n  body:not(.elementor-editor-active) header.elementor-location-header .elementor-button{\n    min-height:40px!important;padding:8px 14px!important;font-size:14px!important;\n  }\n  body:not(.elementor-editor-active) header.elementor-location-header .elementor-widget{\n    margin-top:0!important;margin-bottom:0!important;\n  }\n  #sgx-nova-root,#sgx-nova-widget,#sgx-nova-panel,[id^="sgx-nova-"],[data-sgx-nova]{scroll-margin-top:92px!important}\n}\n