/* Restored layout for the missing Elementor masthead template (post 8342). */
/* Scoped to this header so original Foxiz content, article and footer styling is preserved. */
@media(min-width:1025px){
  .header-template-inner .elementor-8342 {width:100%;}
  .elementor-8342 > .elementor-element-21934c7{width:100%;background:#fff;border-bottom:1px solid #ededed;}
  .elementor-8342 > .elementor-element-21934c7 > .e-con-inner {box-sizing:border-box;max-width:1200px;width:100%;margin:0 auto;padding:10px 22px;display:flex;flex-flow:row nowrap!important;align-items:center;justify-content:space-between;gap:20px;min-height:48px;}
  .elementor-8342 .elementor-element-276ea4f {min-width:0;display:flex;align-items:center;}
  .elementor-8342 .elementor-element-05906e0 {display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:18px;width:auto;max-width:72%;}
  .elementor-8342 .elementor-element-276ea4f {flex:1 1 auto;width:auto!important;padding:0!important;}
  .elementor-8342 .elementor-element-05906e0 {flex:0 0 auto;width:auto!important;max-width:none!important;flex-wrap:nowrap!important;padding:0!important;}
  .elementor-8342 .elementor-element-05906e0 > .elementor-widget {width:auto!important;flex:0 0 auto;margin:0;padding:0!important;}
  .elementor-8342 .elementor-element-05906e0 .header-social-list .e-social-holder {display:flex;gap:9px;align-items:center;}
  .elementor-8342 > .elementor-element-daf007e {display:flex;align-items:center;justify-content:center;padding:12px 16px 12px;}
  .elementor-8342 .elementor-element-e692a4b {width:100%;display:flex;justify-content:center;}
  .elementor-8342 .elementor-element-74bbca9 {width:100%;display:flex;justify-content:center;}
  .elementor-8342 .elementor-element-74bbca9 .elementor-widget-container {max-width:570px;width:100%;margin:auto;}
  .elementor-8342 .elementor-element-74bbca9 .the-logo {width:100%;max-width:570px;margin:0 auto;}
  .elementor-8342 .elementor-element-74bbca9 .the-logo a {display:block;width:100%;}
  .elementor-8342 .elementor-element-74bbca9 .the-logo img {display:block;max-width:100%;width:100%;height:auto;object-fit:contain;}
  .elementor-8342 .elementor-element-74bbca9 .the-logo img[data-mode="dark"] {display:none;}
  body[data-theme="dark"] .elementor-8342 .elementor-element-74bbca9 .the-logo img[data-mode="dark"]{display:block;}
  body[data-theme="dark"] .elementor-8342 .elementor-element-74bbca9 .the-logo img[data-mode="default"]{display:none;}
  .elementor-8342 > .elementor-element-89686ad {border-top:1px solid #eee;border-bottom:1px solid #eee;}
  .elementor-8342 > .elementor-element-89686ad > .e-con-inner {box-sizing:border-box;width:100%;max-width:1200px;min-height:53px;padding:7px 16px;margin:auto;display:flex;flex-flow:row nowrap!important;align-items:center;justify-content:center;gap:18px;}
  .elementor-8342 .elementor-element-a4318da {flex:1 1 auto;width:auto!important;min-width:0;max-width:100%;display:flex;justify-content:center;padding:0!important;}
  .elementor-8342 .elementor-element-bfac6e5,.elementor-8342 .elementor-element-20709e0 {flex:0 0 auto;width:30px!important;max-width:30px;padding:0!important;}
  .elementor-8342 .elementor-element-a4318da .elementor-widget-container {width:auto;max-width:100%;}
  .elementor-8342 .elementor-element-bfac6e5 .popup-trigger-svg {display:inline-block;width:21px;height:18px;background:linear-gradient(to bottom,currentColor 0 2px,transparent 2px 8px,currentColor 8px 10px,transparent 10px 16px,currentColor 16px 18px);border-radius:0;}
  .elementor-8342 #site-navigation > .main-menu {display:flex;align-items:center;justify-content:center;gap:0;flex-wrap:nowrap;white-space:nowrap;}
  .elementor-8342 #site-navigation > .main-menu > li > a {padding:9px 8px;}
}
/* A missing source template otherwise leaves a huge logo at tablet widths. */
@media(min-width:768px) and (max-width:1024px){
  .elementor-8342 .elementor-element-74bbca9 .the-logo {max-width:500px;margin:auto;}
  .elementor-8342 .elementor-element-74bbca9 .the-logo img {width:100%;height:auto;}
}
/* Keep existing Foxiz mobile header in charge, without changing menus/content. */
@media(max-width:767px){
 .header-mobile .mobile-logo-wrap img{max-width:100%;height:auto;object-fit:contain;}
 .header-mobile .mobile-qview {overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;}
 .header-mobile .mobile-qview-inner {display:flex;flex-wrap:nowrap;width:max-content;min-width:100%;}
 .header-mobile .mobile-qview-inner > li {flex:0 0 auto;}
}
