/* TMT-Media production stylesheet — Stage 28.0 */

/* Source owner: tmt-clean-header.css */
/* Historical navigation rules retained before the final clean header owner. */
#tmt-header{position:sticky;top:0;z-index:9999;background:rgba(255,255,255,.96);box-shadow:0 1px 0 rgba(0,0,0,.08);backdrop-filter:saturate(180%) blur(14px);}
html[data-tmt-theme="dark"] #tmt-header{background:rgba(7,7,7,.96);box-shadow:0 1px 0 rgba(255,255,255,.08);}
#tmt-header-inner{width:min(1200px,92%);margin:0 auto;min-height:var(--tmt-static-header-h);display:flex;align-items:center;justify-content:space-between;gap:1rem;}
.tmt-site-branding a{font-weight:800;text-decoration:none;font-size:1.08rem;letter-spacing:.01em;color:inherit;}
#tmt-primary-nav{display:flex;align-items:center;gap:clamp(.7rem,2vw,1.35rem);list-style:none;margin:0;padding:0;}
#tmt-primary-nav a{text-decoration:none;font-weight:600;font-size:.95rem;color:inherit;white-space:nowrap;}
#tmt-primary-nav a:hover{opacity:.72;}
.menu-item-lang-flag img{display:block;width:24px;height:24px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.08);}
/* Static prototype header alignment */
#tmt-header{
  background:#070707;
}
html[data-tmt-theme="light"] #tmt-header{
  background:#ffffff;
}
#tmt-header-inner{
  min-height:96px;
}
.tmt-site-branding .tmt-logo-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  text-decoration:none;
}
.tmt-site-branding .tmt-logo{
  display:block;
  width:150px;
  height:auto;
  max-height:80px;
  object-fit:contain;
}
.tmt-site-branding .tmt-site-title-fallback{
  display:none;
  font-weight:800;
  color:inherit;
  letter-spacing:.01em;
}
#tmt-primary-nav{
  justify-content:flex-end;
}
#tmt-primary-nav a{
  font-size:.88rem;
  font-weight:600;
}
.menu-item-lang-flag a.lang-flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  min-height:28px;
  font-size:.78rem;
  font-weight:700;
}
.menu-item-lang-flag .lang-label{
  display:none;
}
.menu-item-lang-flag img[style*="display: none"] + .lang-label,
.menu-item-lang-flag img:not([src]) + .lang-label{
  display:inline-block;
}
@media (max-width:900px){
  #tmt-header-inner{
    min-height:auto;
    align-items:center;
    flex-direction:column;
    padding:14px 0 12px;
  }
  .tmt-site-branding .tmt-logo{
    width:126px;
    max-height:68px;
  }
  #tmt-primary-nav{
    justify-content:center;
    padding:0 0 3px;
  }
}
@media (max-width:520px){
  #tmt-primary-nav a{font-size:.82rem;}
  .tmt-site-branding .tmt-logo{width:112px;}
}


/* Static menu dropdown and page helpers */
#tmt-primary-nav .menu-item-has-children{position:relative;}
#tmt-primary-nav .sub-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:150px;
  display:none;
  list-style:none;
  margin:0;
  padding:.55rem 0;
  background:#111;
  border:1px solid rgba(255,255,255,.08);
  border-radius:4px;
  box-shadow:0 16px 34px rgba(0,0,0,.34);
}
#tmt-primary-nav .menu-item-has-children:hover > .sub-menu,
#tmt-primary-nav .menu-item-has-children:focus-within > .sub-menu{display:block;}
#tmt-primary-nav .sub-menu a{
  display:block;
  padding:.55rem .9rem;
  color:#fff;
  font-size:.82rem;
  font-weight:500;
}
#tmt-primary-nav .sub-menu a:hover{background:rgba(255,255,255,.08);opacity:1;}
html[data-tmt-theme="light"] #tmt-primary-nav .sub-menu{
  background:#fff;
  border-color:rgba(0,0,0,.08);
  box-shadow:0 16px 34px rgba(0,0,0,.14);
}
html[data-tmt-theme="light"] #tmt-primary-nav .sub-menu a{color:#111;}
html[data-tmt-theme="light"] #tmt-primary-nav .sub-menu a:hover{background:rgba(0,0,0,.05);}
.tmt-static-page .container{width:min(1200px,92%);}
.tmt-static-page h1{margin:0 0 1.25rem;font-size:clamp(1.75rem,3vw,2.5rem);}
.tmt-static-gallery .tmt-gallery-mount{margin-top:.5rem;}
@media (max-width:900px){
  #tmt-primary-nav .sub-menu{position:static;display:none;margin-top:.35rem;min-width:0;width:max-content;}
  #tmt-primary-nav .menu-item-has-children:focus-within > .sub-menu,
  #tmt-primary-nav .menu-item-has-children:hover > .sub-menu{display:block;}
}

#tmt-primary-nav .menu-item-has-children{position:relative;}
#tmt-primary-nav .sub-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:150px;
  display:none;
  list-style:none;
  margin:0;
  padding:.55rem 0;
  background:#111;
  border:1px solid rgba(255,255,255,.08);
  border-radius:4px;
  box-shadow:0 16px 34px rgba(0,0,0,.34);
}
#tmt-primary-nav .menu-item-has-children:hover > .sub-menu,
#tmt-primary-nav .menu-item-has-children:focus-within > .sub-menu{display:block;}
#tmt-primary-nav .sub-menu a{
  display:block;
  padding:.55rem .9rem;
  color:#fff;
  font-size:.82rem;
  font-weight:500;
}
#tmt-primary-nav .sub-menu a:hover{background:rgba(255,255,255,.08);opacity:1;}
html[data-tmt-theme="light"] #tmt-primary-nav .sub-menu{
  background:#fff;
  border-color:rgba(0,0,0,.08);
  box-shadow:0 16px 34px rgba(0,0,0,.14);
}
html[data-tmt-theme="light"] #tmt-primary-nav .sub-menu a{color:#111;}
html[data-tmt-theme="light"] #tmt-primary-nav .sub-menu a:hover{background:rgba(0,0,0,.05);}
.tmt-static-page .container{width:min(1200px,92%);}
.tmt-static-page h1{margin:0 0 1.25rem;font-size:clamp(1.75rem,3vw,2.5rem);}
.tmt-static-gallery .tmt-gallery-mount{margin-top:.5rem;}
@media (max-width:900px){
  #tmt-primary-nav .sub-menu{position:static;display:none;margin-top:.35rem;min-width:0;width:max-content;}
  #tmt-primary-nav .menu-item-has-children:focus-within > .sub-menu,
  #tmt-primary-nav .menu-item-has-children:hover > .sub-menu{display:block;}
}

/* Static 1.0.3 alignment fixes */
body{
  font-family:"Noto Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
html.lang-zh body,
html[lang^="zh"] body{
  font-family:system-ui,-apple-system,"Segoe UI",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",sans-serif;
}
#tmt-primary-nav .menu-item-has-children{position:relative;}
#tmt-primary-nav .menu-item-has-children::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:12px;
}
#tmt-primary-nav .sub-menu{
  top:100%;
  margin-top:8px;
  z-index:10000;
}
.menu-item-lang-flag a.lang-flag{
  min-width:30px;
  min-height:22px;
  padding:0 !important;
}
.menu-item-lang-flag img{
  width:28px !important;
  height:18px !important;
  border-radius:3px !important;
  object-fit:cover !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.22) !important;
}

.menu-item-lang-flag a.lang-flag{
  min-width:30px !important;
  min-height:30px !important;
  padding:0 !important;
  border-radius:999px !important;
}

.menu-item-lang-flag img{
  width:28px !important;
  height:28px !important;
  border-radius:999px !important;
  object-fit:cover !important;
  object-position:50% 50% !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.20),0 1px 2px rgba(0,0,0,.24) !important;
}

.menu-item-lang-flag img[src*="Zh-CN"],
.menu-item-lang-flag img[alt*="中文"],
.menu-item-lang-flag img[alt*="Chinese"]{
  object-position:30% 50% !important;
}

html[data-tmt-theme="light"] .menu-item-lang-flag img{
  box-shadow:0 0 0 1px rgba(0,0,0,.16),0 1px 2px rgba(0,0,0,.12) !important;
}

/* Keep the cute round flags, but bring them back to menu scale. */
#tmt-primary-nav .menu-item-lang-flag a.lang-flag{
  min-width:22px !important;
  min-height:22px !important;
  width:22px !important;
  height:22px !important;
  padding:0 !important;
  border-radius:999px !important;
  overflow:hidden !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

#tmt-primary-nav .menu-item-lang-flag img{
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  min-height:20px !important;
  border-radius:999px !important;
  object-fit:cover !important;
  object-position:50% 50% !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.22) !important;
}

#tmt-primary-nav .menu-item-lang-flag img[src*="Zh-CN"],
#tmt-primary-nav .menu-item-lang-flag img[alt*="中文"],
#tmt-primary-nav .menu-item-lang-flag img[alt*="Chinese"]{
  object-position:0% 50% !important;
}

html[data-tmt-theme="light"] #tmt-primary-nav .menu-item-lang-flag img{
  box-shadow:0 0 0 1px rgba(0,0,0,.14),0 1px 2px rgba(0,0,0,.12) !important;
}

.menu-item-search .tmt-search-link{display:inline-flex;align-items:center;justify-content:center;gap:.45rem}
.tmt-search-link-icon{display:inline-block;width:15px;height:15px;border:1.8px solid currentColor;border-radius:50%;position:relative;box-sizing:border-box}
.tmt-search-link-icon::after{content:"";position:absolute;width:6px;height:1.8px;background:currentColor;right:-5px;bottom:-2px;transform:rotate(45deg);transform-origin:left center;border-radius:2px}
.tmt-search-link-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:1024px){
  .menu-item-search .tmt-search-link{justify-content:flex-start;gap:.75rem}
  .tmt-search-link-label{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal}
}

:root{--tmt-desktop-header-h:112px;--tmt-mobile-header-h:82px;--tmt-breadcrumb-h:42px;--tmt-header-menu-size:1.05rem}
#tmt-primary-nav>.menu-item>a{position:relative;font-size:var(--tmt-header-menu-size)!important;line-height:1.4;opacity:1!important}
#tmt-primary-nav>.menu-item:not(.menu-item-lang-flag)>a::after{content:"";position:absolute;left:0;bottom:.15rem;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left center;transition:transform .24s ease}
#tmt-primary-nav>.menu-item:not(.menu-item-lang-flag)>a:hover::after,#tmt-primary-nav>.menu-item:not(.menu-item-lang-flag)>a:focus-visible::after{transform:scaleX(1)}
@media(min-width:901px){#tmt-header-inner{min-height:var(--tmt-desktop-header-h)!important}.lang-label{display:none!important}}
.tmt-menu-toggle{display:none;border:0;background:transparent;color:inherit;width:46px;height:46px;padding:0;align-items:center;justify-content:center;cursor:pointer;position:relative}.tmt-menu-toggle span,.tmt-menu-toggle::before,.tmt-menu-toggle::after{content:"";display:block;position:absolute;width:24px;height:2px;background:currentColor;transition:.2s}.tmt-menu-toggle::before{transform:translateY(-7px)}.tmt-menu-toggle::after{transform:translateY(7px)}.tmt-menu-toggle[aria-expanded="true"] span{opacity:0}.tmt-menu-toggle[aria-expanded="true"]::before{transform:rotate(45deg)}.tmt-menu-toggle[aria-expanded="true"]::after{transform:rotate(-45deg)}
@media(max-width:900px){
 #tmt-header{overflow:visible!important}
 #tmt-header-inner{position:relative!important;min-height:var(--tmt-mobile-header-h)!important;height:var(--tmt-mobile-header-h)!important;width:100%!important;padding:0 32px!important;display:block!important;box-sizing:border-box!important}
 .tmt-site-branding{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;z-index:2}
 .tmt-site-branding .tmt-logo{width:118px!important;max-height:64px!important}
 .tmt-menu-toggle{display:flex;position:absolute;right:32px;top:50%;transform:translateY(-50%);z-index:4}
 #tmt-header .main-navigation{position:fixed;left:50vw;right:auto;top:var(--tmt-mobile-header-h);transform:translateX(-50%);z-index:100001;width:min(360px,calc(100vw - 64px));box-sizing:border-box!important;display:none}
 #tmt-header.is-menu-open .main-navigation{display:block}
 #tmt-primary-nav{width:100%!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;margin:0!important;padding:.75rem!important;overflow:visible!important;border:1px solid var(--tmt-border)!important;border-radius:12px!important;background:var(--tmt-panel-grad)!important;box-shadow:var(--tmt-shadow-hover)!important}
 #tmt-primary-nav li,#tmt-primary-nav .sub-menu li{display:block!important;width:100%!important;margin:0!important;padding:0!important}
 #tmt-primary-nav>li>a,#tmt-primary-nav .sub-menu a{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:46px!important;padding:.55rem .75rem!important;font-size:1rem!important;font-weight:600!important;line-height:1.3!important}
 #tmt-primary-nav>li.menu-item-has-children>ul.sub-menu{position:static!important;inset:auto!important;display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
 #tmt-primary-nav>li.menu-item-has-children::after{display:none!important;content:none!important}
 #tmt-primary-nav>li.menu-item-lang-flag{display:block!important;width:100%!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}
 #tmt-primary-nav>li.menu-item-lang-flag>a.lang-flag{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:center!important;justify-content:start!important;column-gap:.8rem!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:46px!important;padding:.55rem .75rem!important;margin:0!important;border-radius:0!important;overflow:visible!important;box-sizing:border-box!important}
 #tmt-primary-nav>li.menu-item-lang-flag>a.lang-flag>img{display:block!important;width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;min-height:26px!important;max-height:26px!important;margin:0!important;padding:0!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;clip-path:circle(50%)!important;transform:none!important;overflow:visible!important}
 #tmt-primary-nav>li.menu-item-lang-flag>a.lang-flag>.lang-label{display:block!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;font-size:1rem!important;font-weight:600!important;line-height:1.3!important;white-space:nowrap!important;text-align:left!important}
}

/* Final clean header owner. */
body.tmt-static-site #tmt-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  overflow: visible;
}

body.tmt-static-site #tmt-header-inner {
  width: min(var(--clean-content-max), 92%);
  min-height: var(--clean-header-desktop-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

body.tmt-static-site .tmt-site-branding,
body.tmt-static-site .tmt-logo-link {
  display: flex;
  align-items: center;
}

body.tmt-static-site .tmt-logo-link {
  text-decoration: none;
}

body.tmt-static-site .tmt-site-branding .tmt-logo {
  display: block;
  width: 174px;
  height: auto;
  max-height: 112px;
  object-fit: contain;
}

body.tmt-static-site .tmt-site-title-fallback {
  display: none;
}

body.tmt-static-site #tmt-header .main-navigation {
  display: block;
  margin-left: auto;
}

body.tmt-static-site #tmt-primary-nav,
body.tmt-static-site #tmt-primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.tmt-static-site #tmt-primary-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

body.tmt-static-site #tmt-primary-nav > li {
  position: relative;
  margin: 0;
  padding: 0;
}

body.tmt-static-site #tmt-primary-nav a {
  color: inherit;
  text-decoration: none;
}

body.tmt-static-site #tmt-primary-nav > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--clean-header-menu-size);
  line-height: 1.4;
  opacity: 1;
}

body.tmt-static-site #tmt-primary-nav > li:not(.menu-item-lang-flag):not(.menu-item-search) > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .15rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s ease;
}

body.tmt-static-site #tmt-primary-nav > li:not(.menu-item-lang-flag):not(.menu-item-search) > a:hover::after,
body.tmt-static-site #tmt-primary-nav > li:not(.menu-item-lang-flag):not(.menu-item-search) > a:focus-visible::after {
  transform: scaleX(1);
}

body.tmt-static-site #tmt-primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 180px;
  padding: .55rem;
  border: 1px solid var(--tmt-border);
  border-radius: 10px;
  background: var(--tmt-panel-grad);
  box-shadow: var(--tmt-shadow-hover);
}

body.tmt-static-site #tmt-primary-nav li:hover > .sub-menu,
body.tmt-static-site #tmt-primary-nav li:focus-within > .sub-menu {
  display: block;
}

body.tmt-static-site #tmt-primary-nav .sub-menu a {
  display: block;
  padding: .55rem .7rem;
  white-space: nowrap;
}

body.tmt-static-site .menu-item-lang-flag {
  margin-left: 0;
}

body.tmt-static-site .lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.tmt-static-site .lang-flag img {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}



body.tmt-static-site .lang-flag,
body.tmt-static-site .tmt-search-link,
body.tmt-static-site .lang-flag:hover,
body.tmt-static-site .lang-flag:focus-visible,
body.tmt-static-site .tmt-search-link:hover,
body.tmt-static-site .tmt-search-link:focus-visible {
  text-decoration: none;
}

body.tmt-static-site .lang-flag::before,
body.tmt-static-site .lang-flag::after,
body.tmt-static-site .tmt-search-link::before,
body.tmt-static-site .tmt-search-link::after {
  content: none;
}

body.tmt-static-site .tmt-menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  body.tmt-static-site #tmt-header-inner {
    position: relative;
    width: 100%;
    min-height: var(--clean-header-mobile-h);
    height: var(--clean-header-mobile-h);
    padding-inline: var(--clean-mobile-gutter);
    display: block;
  }

  body.tmt-static-site .tmt-site-branding {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  body.tmt-static-site .tmt-site-branding .tmt-logo {
    width: 118px;
    max-height: 64px;
  }

  body.tmt-static-site .tmt-menu-toggle {
    position: absolute;
    right: var(--clean-mobile-gutter);
    top: 50%;
    transform: translateY(-50%);
    z-index: 100003;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  body.tmt-static-site .tmt-menu-toggle span,
  body.tmt-static-site .tmt-menu-toggle span::before,
  body.tmt-static-site .tmt-menu-toggle span::after {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  body.tmt-static-site .tmt-menu-toggle span {
    position: relative;
  }

  body.tmt-static-site .tmt-menu-toggle span::before,
  body.tmt-static-site .tmt-menu-toggle span::after {
    position: absolute;
    left: 0;
  }

  body.tmt-static-site .tmt-menu-toggle span::before {
    top: -7px;
  }

  body.tmt-static-site .tmt-menu-toggle span::after {
    top: 7px;
  }

  body.tmt-static-site #tmt-header .main-navigation {
    position: fixed;
    left: 50vw;
    right: auto;
    top: var(--clean-header-mobile-h);
    z-index: 100001;
    display: none;
    width: min(360px, calc(100vw - 64px));
    margin: 0;
    transform: translateX(-50%);
  }

  body.tmt-static-site #tmt-header.is-menu-open .main-navigation {
    display: block;
  }

  body.tmt-static-site #tmt-primary-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .75rem;
    border: 1px solid var(--tmt-border);
    border-radius: 12px;
    background: var(--tmt-panel-grad);
    box-shadow: var(--tmt-shadow-hover);
  }

  body.tmt-static-site #tmt-primary-nav li,
  body.tmt-static-site #tmt-primary-nav .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body.tmt-static-site #tmt-primary-nav > li > a,
  body.tmt-static-site #tmt-primary-nav .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 46px;
    padding: .55rem .75rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
  }

  body.tmt-static-site #tmt-primary-nav > li > a::after {
    display: none;
  }

  body.tmt-static-site #tmt-primary-nav .sub-menu {
    position: static;
    inset: auto;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.tmt-static-site #tmt-primary-nav > li.menu-item-lang-flag > a.lang-flag {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  body.tmt-static-site #tmt-primary-nav > li.menu-item-lang-flag > a.lang-flag > img {
    width: 26px;
    height: 26px;
    min-width: 26px;
    margin: 0;
  }

}

body.tmt-static-site .menu-item-lang-flag > a,
body.tmt-static-site .menu-item-search > a,
body.tmt-static-site .menu-item-lang-flag > a:hover,
body.tmt-static-site .menu-item-lang-flag > a:focus-visible,
body.tmt-static-site .menu-item-search > a:hover,
body.tmt-static-site .menu-item-search > a:focus-visible {
  text-decoration: none;
  text-decoration-line: none;
}

body.tmt-static-site .menu-item-lang-flag > a::before,
body.tmt-static-site .menu-item-lang-flag > a::after,
body.tmt-static-site .menu-item-search > a::before,
body.tmt-static-site .menu-item-search > a::after,
body.tmt-static-site .menu-item-lang-flag::before,
body.tmt-static-site .menu-item-lang-flag::after,
body.tmt-static-site .menu-item-search::before,
body.tmt-static-site .menu-item-search::after {
  content: none;
  display: none;
}

body.tmt-static-site .lang-label,
body.tmt-static-site .tmt-search-link-label {
  display: none !important;
}

body.tmt-static-site #tmt-header,
body.tmt-static-site #tmt-header * {
  text-shadow: none;
}

body.tmt-static-site #tmt-header a,
body.tmt-static-site #tmt-header button {
  -webkit-text-fill-color: currentColor;
}

body.tmt-static-site #tmt-header .lang-flag,
body.tmt-static-site #tmt-header .tmt-search-link {
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Keep icon-only nav items optically centered independently of font metrics. */
@media (min-width: 901px) {
  body.tmt-static-site #tmt-primary-nav > .menu-item-lang-flag,
  body.tmt-static-site #tmt-primary-nav > .menu-item-search {
    display: flex;
    align-items: center;
    height: 44px;
    line-height: 0;
  }

  body.tmt-static-site #tmt-primary-nav > .menu-item-lang-flag > a,
  body.tmt-static-site #tmt-primary-nav > .menu-item-search > a {
    height: 44px;
    min-height: 44px;
    line-height: 0;
  }
}
