/* MATT Racing global header/footer. No rules target displayBelowHeader or Klaviyo. */
#header > .header-nav, #desktop-header, #desktop-header .header-top,
#desktop-header .iqit-megamenu-container, #desktop-header .iqitmegamenu-wrapper,
#mobile-header, #mobile-header-sticky, #mobile-header .mobile-buttons-bar, .matt-mobile-universe {
  background:#000!important; color:#fff;
}
#header > .header-nav > .container, #header > .container,
#desktop-header-container, #desktop-header .iqit-megamenu-container,
#footer-container-main > .container, #footer-copyrights > .container {
  max-width:1300px!important; width:calc(100% - 40px); margin-inline:auto;
}
#desktop-header .header-top {padding-block:22px}
#desktop-header .iqit-megamenu-container {padding-block:8px}
#desktop-header #iqitmegamenu-horizontal:not(.cbp-sticky) {width:100%;margin:0!important;padding:0!important}
#header .header-nav .row {align-items:center}
#header .header-nav .center-nav {flex-grow:0;white-space:nowrap}
#header .header-nav .right-nav {flex-grow:1}
#header .header-nav button.expand-more, #header .m-nav-btn {
  border:0; background:transparent; color:inherit; font-family:inherit; cursor:pointer;
}
#header .header-nav button.expand-more {font-size:inherit;line-height:inherit;padding:6px}
#header .header-nav .dropdown-menu {background:#000;color:#fff;border:1px solid #363636}
#header .header-nav .dropdown-item {color:#fff}
#header .header-nav .dropdown-item:hover, #header .header-nav .dropdown-item:focus {background:#242424}
#mobile-header button.m-nav-btn {width:100%;min-height:44px;padding:0}
#mobile-header .col-mobile-logo img {max-width:100%;height:auto}
.matt-universe-nav {display:flex;justify-content:flex-end;align-items:center;gap:22px;flex-wrap:wrap}
#header .matt-universe-nav a {display:inline-flex;align-items:center;min-height:44px;color:#fff!important;font-size:14px;font-weight:600;text-decoration:none}
#header .matt-universe-nav a:hover {color:#ff4c4c!important;text-decoration:underline;text-underline-offset:5px}
.matt-mobile-universe {display:none}
.matt-global-footer {background:#000;color:#fff;font-family:inherit;width:100%}
.matt-footer-inner {width:100%;max-width:1300px;margin-inline:auto;padding:0 20px}
.matt-footer-links {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px;padding:44px 0}
.matt-footer-group {min-width:0}
.matt-footer-group summary {list-style:none}
.matt-footer-group summary::-webkit-details-marker {display:none}
.matt-footer-links h2 {margin:0 0 20px;color:#fff;font-family:inherit;font-size:19px;font-weight:700;line-height:1.3}
.matt-footer-links ul {list-style:none;margin:0;padding:0}
.matt-footer-links li {margin:0 0 12px}
.matt-global-footer a {color:#d8d8d8;font-size:15px;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.matt-global-footer a:hover {color:#ff4c4c;text-decoration:underline;text-underline-offset:4px}
.matt-global-footer a:focus-visible, .matt-footer-group summary:focus-visible,
.matt-universe-nav a:focus-visible, #mobile-header .m-nav-btn:focus-visible,
#header .header-nav button:focus-visible {outline:2px solid #ff4c4c;outline-offset:4px}
.matt-footer-contact {border-top:1px solid #333;padding:28px 0;display:flex;justify-content:space-between;gap:28px;flex-wrap:wrap}
.matt-footer-contact address {font-style:normal;font-size:14px;line-height:1.8;margin:0}
.matt-footer-contact strong {display:block;color:#fff;margin-bottom:6px}
.matt-footer-social {display:flex;gap:22px;flex-wrap:wrap;align-items:center}
.matt-footer-social a {display:inline-flex;align-items:center;min-height:44px}
.matt-sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:768px) {
  .matt-footer-group summary {cursor:default}
}
@media(max-width:1024px) {
  #header .header-nav .matt-universe-nav {display:none}
  .matt-footer-links {grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
  .matt-universe-nav {gap:16px}
  .matt-mobile-universe {display:block;border-top:1px solid #252525}
  .matt-mobile-universe .matt-universe-nav {max-width:1300px;margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 12px}
  .matt-mobile-universe a {justify-content:center;font-size:14px}
}
@media(max-width:767px) {
  #header > .header-nav > .container, #header > .container,
  #desktop-header-container, #footer-container-main > .container,
  #footer-copyrights > .container {width:calc(100% - 32px)}
  .matt-footer-inner {padding:0 4px}
  .matt-footer-links {grid-template-columns:1fr;gap:0;padding:20px 0}
  .matt-footer-group {border-bottom:1px solid #333}
  .matt-footer-group summary {display:flex;justify-content:space-between;align-items:center;cursor:pointer;min-height:56px;padding:12px 0}
  .matt-footer-group summary::after {content:'+';font-size:24px;color:#ff4c4c}
  .matt-footer-group[open] summary::after {content:'−'}
  .matt-footer-links h2 {margin:0;font-size:18px}
  .matt-footer-links ul {padding:0 0 12px}
  .matt-footer-links li {margin:0}
  .matt-footer-links a {display:flex;align-items:center;min-height:44px}
  .matt-footer-contact {flex-direction:column;gap:20px}
  .matt-footer-social {gap:8px 22px}
}
