.mtc-nav-ready > .topbar,
.mtc-nav-ready > .header,
.mtc-nav-ready > .site-header,
.mtc-nav-ready > .float-contact,
.mtc-nav-ready > footer:not(.mtc-global-footer) {
  display: none !important;
}

.mtc-global-topbar,
.mtc-global-header,
.mtc-global-footer,
.mtc-global-floating,
.mtc-wechat-modal {
  box-sizing: border-box;
  font-family: "Noto Sans SC", "Noto Sans TC", "Noto Sans KR", "Barlow", Arial, sans-serif;
}

.mtc-global-topbar *,
.mtc-global-header *,
.mtc-global-footer *,
.mtc-global-floating *,
.mtc-wechat-modal * {
  box-sizing: border-box;
}

.mtc-global-topbar {
  background: #0b1f3a;
  min-height: 32px;
  padding: 6px 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 1100;
}

.mtc-global-lang {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.mtc-global-lang::-webkit-scrollbar {
  display: none;
}

.mtc-global-lang a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.mtc-global-lang a:hover,
.mtc-global-lang a.is-active {
  color: #e07b20;
}

.mtc-global-header {
  height: 68px;
  padding: 0 40px;
  background: #fff;
  border-bottom: 1px solid #e0e5ef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1090;
}

.mtc-global-logo {
  display: flex;
  align-items: center;
  width: 210px;
  min-width: 210px;
  height: 68px;
  text-decoration: none;
  overflow: visible;
  flex-shrink: 0;
}

.mtc-global-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 54px;
  max-width: 100%;
  object-fit: contain;
}

.mtc-global-menu {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  height: 68px;
  margin-left: 20px;
}

.mtc-global-menu a {
  color: #0b1f3a;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  padding: 0 10px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.mtc-global-menu a:hover,
.mtc-global-menu a.is-active {
  color: #e07b20;
  border-bottom-color: #e07b20;
}

.mtc-global-menu .mtc-rfq {
  height: 32px;
  align-self: center;
  margin-left: 12px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: #e88421;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 32px;
  box-shadow: none;
}

.mtc-global-menu .mtc-rfq:hover {
  background: #d87515;
  color: #fff;
}

.mtc-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d8dfeb;
  border-radius: 4px;
  background: #fff;
  color: #0b1f3a;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.mtc-menu-toggle span,
.mtc-menu-toggle span::before,
.mtc-menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  position: relative;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mtc-menu-toggle span::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.mtc-menu-toggle span::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.mtc-global-header.is-open .mtc-menu-toggle span {
  background: transparent;
}

.mtc-global-header.is-open .mtc-menu-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.mtc-global-header.is-open .mtc-menu-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mtc-global-footer {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 196px !important;
  min-height: 196px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
  color: rgba(255, 255, 255, 0.46) !important;
}

.mtc-global-footer::before,
.mtc-global-footer::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.mtc-global-footer::before {
  right: 48px;
  top: 24px;
  width: 118px;
  height: 118px;
}

.mtc-global-footer::after {
  right: -6px;
  top: 92px;
  width: 118px;
  height: 118px;
}

.mtc-footer-inner {
  width: min(1290px, calc(100% - 150px));
  height: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mtc-footer-inner::after {
  content: "MAJESTIC";
  position: absolute;
  right: 14px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.08);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0 !important;
  pointer-events: none;
}

.mtc-footer-main {
  position: absolute;
  left: 0;
  right: 0;
  top: 38px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.95fr;
  gap: 52px;
  padding: 0;
  border-bottom: 0;
}

.mtc-footer-brand,
.mtc-footer-col,
.mtc-footer-group {
  min-width: 0;
}

.mtc-footer-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 12px;
  text-decoration: none;
}

.mtc-footer-logo-img {
  display: block;
  width: 118px;
  height: auto;
  opacity: 0.92;
}

.mtc-footer-mark {
  display: block;
  position: relative;
  width: 32px;
  height: 21px;
  flex: 0 0 32px;
  opacity: 0.9;
}

.mtc-footer-mark i {
  position: absolute;
  top: 4px;
  width: 14px;
  height: 14px;
  background: currentColor;
  border-radius: 50%;
}

.mtc-footer-mark i:nth-child(1) {
  left: 0;
}

.mtc-footer-mark i:nth-child(2) {
  left: 9px;
  top: 0;
  height: 21px;
  border-radius: 11px;
}

.mtc-footer-mark i:nth-child(3) {
  right: 0;
}

.mtc-footer-logo-text {
  color: currentColor !important;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-footer-intro {
  max-width: 290px;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.43) !important;
  font-size: 11px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
}

.mtc-footer-group + .mtc-footer-group {
  margin-top: 18px;
}

.mtc-footer-group h3 {
  margin: 0 0 8px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.mtc-footer-group p,
.mtc-footer-group a {
  display: block;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.43) !important;
  font-size: 11px !important;
  line-height: 1.72 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}

.mtc-footer-group .mtc-footer-inline,
.mtc-footer-group .mtc-footer-inline a {
  display: inline !important;
}

.mtc-footer-group a:hover,
.mtc-footer-group a:focus-visible {
  color: #e07b20 !important;
  outline: none;
}

.mtc-footer-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 22px;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.34) !important;
  font-size: 10px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

.mtc-global-floating {
  position: fixed;
  right: 0;
  bottom: 60px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mtc-float-btn {
  width: 52px;
  height: 52px;
  background: #0b1f3a;
  border: 0;
  border-left: 3px solid #e07b20;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  cursor: pointer;
  overflow: hidden;
  padding: 0 13px;
  text-decoration: none;
  transition: width 0.22s ease, background 0.22s ease;
}

.mtc-float-btn:hover,
.mtc-float-btn:focus-visible {
  width: 148px;
  background: #0d2d54;
  outline: none;
}

.mtc-float-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mtc-float-label {
  display: none;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.mtc-float-btn:hover .mtc-float-label,
.mtc-float-btn:focus-visible .mtc-float-label {
  display: block;
}

.mtc-wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
}

.mtc-wechat-modal.is-active {
  display: flex;
}

.mtc-wechat-panel {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  width: min(400px, 100%);
}

.mtc-wechat-panel img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
}

.mtc-wechat-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mtc-wechat-close:hover {
  background: #f0f0f0;
}

@media (max-width: 1280px) {
  .mtc-global-header {
    padding: 0 28px;
  }

  .mtc-global-logo {
    width: 190px;
    min-width: 190px;
  }

  .mtc-global-menu a {
    padding: 0 8px;
    font-size: 12px;
  }

  .mtc-global-menu .mtc-rfq {
    padding: 0 16px;
  }
}

@media (max-width: 1080px) {
  .mtc-global-topbar {
    padding: 6px 22px;
  }

  .mtc-global-header {
    height: 66px;
    padding: 0 22px;
  }

  .mtc-global-logo {
    width: 176px;
    min-width: 176px;
  }

  .mtc-menu-toggle {
    display: flex;
  }

  .mtc-global-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    height: auto;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 10px 22px 18px;
    background: #fff;
    border-top: 1px solid #e8edf4;
    box-shadow: 0 16px 28px rgba(11, 31, 58, 0.14);
  }

  .mtc-global-header.is-open .mtc-global-menu {
    display: grid;
  }

  .mtc-global-menu a {
    height: 44px;
    justify-content: flex-start;
    border-bottom: 1px solid #eef1f6;
    padding: 0 10px;
  }

  .mtc-global-menu a.is-active {
    border-bottom-color: #eef1f6;
    color: #e07b20;
  }

  .mtc-global-menu .mtc-rfq {
    height: 32px;
    margin: 12px 0 0;
    padding: 0 18px;
    border-radius: 9px;
    justify-content: center;
    justify-self: start;
    grid-column: 1 / -1;
  }

  .mtc-global-footer {
    height: auto !important;
    min-height: 0 !important;
    padding: 40px 22px 20px !important;
  }

  .mtc-footer-inner {
    width: 100%;
    height: auto;
  }

  .mtc-footer-main {
    position: static;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .mtc-footer-bottom {
    position: static;
    margin-top: 22px !important;
  }

  .mtc-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .mtc-global-topbar {
    justify-content: flex-start;
    padding: 6px 16px;
  }

  .mtc-global-lang {
    justify-content: flex-start;
    gap: 14px;
  }

  .mtc-global-header {
    padding: 0 16px;
  }

  .mtc-global-logo {
    width: 142px;
    min-width: 142px;
  }

  .mtc-global-menu {
    grid-template-columns: 1fr;
    padding: 10px 16px 18px;
  }

  .mtc-global-floating {
    bottom: 28px;
  }

  .mtc-global-footer {
    padding: 34px 16px 24px !important;
  }

  .mtc-global-footer::before {
    right: -34px;
    top: 22px;
  }

  .mtc-global-footer::after {
    right: -72px;
    top: 96px;
  }

  .mtc-footer-inner::after {
    right: -4px;
    bottom: 22px;
  }

  .mtc-footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }

  .mtc-footer-logo {
    margin-bottom: 14px;
  }

  .mtc-footer-logo-img {
    width: 118px;
  }

  .mtc-footer-mark {
    width: 32px;
    height: 21px;
    flex-basis: 32px;
  }

  .mtc-footer-mark i {
    top: 4px;
    width: 14px;
    height: 14px;
  }

  .mtc-footer-mark i:nth-child(2) {
    left: 9px;
    top: 0;
    height: 21px;
    border-radius: 11px;
  }

  .mtc-footer-logo-text {
    font-size: 13px;
  }

  .mtc-footer-intro {
    max-width: none;
  }

  .mtc-footer-bottom {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .mtc-float-btn:hover,
  .mtc-float-btn:focus-visible {
    width: 52px;
  }

  .mtc-float-label {
    display: none !important;
  }
}

/* Market insights page */
.mtc-page-news {
  background: #f4f5f7;
}

.mtc-page-news .page-banner {
  min-height: 610px;
  padding: 0;
  background: #0b1f3a;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mtc-page-news .page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: url("images/news-hero-chip-market.png") right center / auto 128% no-repeat;
  opacity: 0.72;
  pointer-events: none;
}

.mtc-page-news .page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    linear-gradient(90deg, #0b223f 0%, #0b223f 43%, rgba(11, 34, 63, 0.95) 61%, rgba(11, 34, 63, 0.7) 100%),
    linear-gradient(180deg, rgba(3, 14, 28, 0.12) 0%, rgba(3, 14, 28, 0.32) 100%);
  pointer-events: none;
}

.mtc-page-news .page-banner .breadcrumb {
  display: none !important;
}

.mtc-page-news .page-banner h1,
.mtc-page-news .page-banner .sub {
  width: min(1320px, calc(100% - 48px));
  max-width: none;
  margin-left: max(24px, calc((100% - 1320px) / 2));
  margin-right: 24px;
  position: relative;
  z-index: 2;
  letter-spacing: 0 !important;
}

.mtc-page-news .page-banner h1 {
  margin-top: 0;
  margin-bottom: 22px;
  color: #fff;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 800;
}

.mtc-page-news .page-banner .sub {
  margin-top: 0;
  margin-bottom: 0;
  width: min(760px, calc(100% - 48px));
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.mtc-page-news .filter-bar {
  position: static;
  top: auto;
  z-index: auto;
  min-height: 60px;
  padding: 0 max(24px, calc((100% - 1320px) / 2));
  background: #eef0f3;
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: stretch;
  gap: 54px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mtc-page-news .filter-bar::-webkit-scrollbar {
  display: none;
}

.mtc-page-news .filter-btn {
  height: 60px;
  padding: 0;
  border: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  color: #686d73;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.mtc-page-news .filter-btn:hover,
.mtc-page-news .filter-btn.active {
  color: #e77d1a;
  border-bottom-color: #e77d1a;
}

.mtc-page-news .articles-section {
  padding: 0 24px 96px;
  background: #f4f5f7;
}

.mtc-page-news .articles-section .inner {
  width: min(1320px, 100%);
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 38px;
}

.mtc-page-news .articles-section .inner::before {
  content: "Home > Market Insights > All Updates";
  grid-column: 1 / -1;
  display: block;
  padding-top: 26px;
  margin-bottom: 28px;
  color: #8b8f95;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0 !important;
}

html[lang="zh-CN"] .mtc-page-news .articles-section .inner::before {
  content: "首页 > 市场资讯 > 全部资讯";
}

html[lang="zh-HK"] .mtc-page-news .articles-section .inner::before {
  content: "首頁 > 市場資訊 > 全部資訊";
}

html[lang="ja"] .mtc-page-news .articles-section .inner::before {
  content: "ホーム > マーケット情報 > すべての記事";
}

html[lang="vi"] .mtc-page-news .articles-section .inner::before {
  content: "Trang chủ > Thông tin thị trường > Tất cả cập nhật";
}

html[lang="ko"] .mtc-page-news .articles-section .inner::before {
  content: "홈 > 시장 정보 > 전체 기사";
}

.mtc-page-news #featured-wrap,
.mtc-page-news .articles-grid {
  display: contents;
}

.mtc-page-news .featured-card,
.mtc-page-news .article-card {
  min-height: 328px;
  padding: 42px 40px 34px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #303238;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mtc-page-news .featured-card:hover,
.mtc-page-news .article-card:hover,
.mtc-page-news .featured-card:focus-visible,
.mtc-page-news .article-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18, 31, 48, 0.08);
  outline: none;
}

.mtc-page-news .featured-card,
.mtc-page-news .featured-card > div,
.mtc-page-news .article-card {
  display: flex;
  flex-direction: column;
}

.mtc-page-news .featured-card > div {
  flex: 1 1 auto;
  min-width: 0;
}

.mtc-page-news .tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.mtc-page-news .latest-tag,
.mtc-page-news .featured-label,
.mtc-page-news .tag-row .cat-tag,
.mtc-page-news .article-card .cat-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0 !important;
  text-transform: none;
  margin: 0;
}

.mtc-page-news .article-card .cat-tag {
  align-self: flex-start;
}

.mtc-page-news .latest-tag {
  background: #fde8e8;
  color: #e3342f;
}

.mtc-page-news .latest-tag::before {
  content: "";
  width: 9px;
  height: 12px;
  margin-right: 6px;
  background: currentColor;
  border-radius: 9px 9px 9px 2px;
  clip-path: polygon(50% 0, 76% 28%, 100% 58%, 82% 100%, 25% 100%, 0 62%, 24% 32%);
}

.mtc-page-news .tag-market {
  background: #fff3e8;
  color: #df7a18;
}

.mtc-page-news .tag-supply {
  background: #fde8e8;
  color: #df2f35;
}

.mtc-page-news .tag-news {
  background: #eaf0f4;
  color: #1d3346;
}

.mtc-page-news .tag-tech {
  background: #e9f6ed;
  color: #168247;
}

.mtc-page-news .featured-card h2,
.mtc-page-news .article-card h3 {
  margin: 0 0 18px;
  color: #2d3035;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-page-news .featured-card .excerpt,
.mtc-page-news .article-card .excerpt {
  margin: 0 0 24px;
  color: #62676d;
  font-size: 15px;
  line-height: 1.86;
  font-weight: 500;
  letter-spacing: 0 !important;
}

.mtc-page-news .featured-meta,
.mtc-page-news .article-card .card-footer {
  margin-top: auto;
  min-height: 24px;
  color: #989da3;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mtc-page-news .featured-meta {
  padding-right: 132px;
}

.mtc-page-news .featured-card .read-more,
.mtc-page-news .article-card .card-read {
  color: #e77d1a;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  white-space: nowrap;
}

.mtc-page-news .featured-card .read-more {
  position: absolute;
  right: 40px;
  bottom: 34px;
}

.mtc-page-news .article-card .card-footer {
  justify-content: space-between;
  gap: 18px;
}

.mtc-page-news .article-card .card-meta {
  color: #989da3;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  min-width: 0;
}

.mtc-page-news .no-results {
  grid-column: 1 / -1;
  margin: 0;
  padding: 70px 24px;
  border-radius: 10px;
  background: #fff;
  color: #777d84;
}

.mtc-page-news .cta-banner {
  min-height: 350px;
  padding: 82px 24px 76px;
  background: #0b1f3a;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mtc-page-news .cta-banner::before {
  display: none;
}

.mtc-page-news .cta-banner h2 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 31px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-page-news .cta-banner p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: 0 !important;
}

.mtc-page-news .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  background: #e77d1a;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-page-news .btn-primary:hover,
.mtc-page-news .btn-primary:focus-visible {
  background: #d66f12;
  outline: none;
}

@media (max-width: 1080px) {
  .mtc-page-news .page-banner {
    min-height: 520px;
  }

  .mtc-page-news .page-banner::before {
    background-size: auto 124%;
    opacity: 0.62;
  }

  .mtc-page-news .page-banner h1 {
    font-size: 34px;
  }

  .mtc-page-news .page-banner .sub {
    max-width: 650px;
    font-size: 16px;
  }

  .mtc-page-news .articles-section .inner {
    gap: 28px;
  }

  .mtc-page-news .featured-card,
  .mtc-page-news .article-card {
    padding: 34px 30px 30px;
  }

  .mtc-page-news .featured-card .read-more {
    right: 30px;
    bottom: 30px;
  }
}

@media (max-width: 820px) {
  .mtc-page-news .page-banner {
    min-height: 440px;
  }

  .mtc-page-news .page-banner::before {
    inset: 0;
    background-position: 68% center;
    background-size: auto 112%;
    opacity: 0.36;
  }

  .mtc-page-news .page-banner::after {
    background: linear-gradient(90deg, rgba(11, 34, 63, 0.99) 0%, rgba(11, 34, 63, 0.94) 64%, rgba(11, 34, 63, 0.82) 100%);
  }

  .mtc-page-news .filter-bar {
    padding: 0 24px;
    gap: 34px;
  }

  .mtc-page-news .articles-section .inner {
    grid-template-columns: 1fr;
  }

  .mtc-page-news .articles-section {
    padding-bottom: 72px;
  }
}

@media (max-width: 640px) {
  .mtc-page-news .page-banner {
    min-height: 390px;
  }

  .mtc-page-news .page-banner h1,
  .mtc-page-news .page-banner .sub {
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }

  .mtc-page-news .page-banner h1 {
    margin-bottom: 16px;
    font-size: 30px;
  }

  .mtc-page-news .page-banner .sub {
    font-size: 14.5px;
    line-height: 1.72;
  }

  .mtc-page-news .filter-bar {
    min-height: 56px;
    padding: 0 16px;
    gap: 18px;
  }

  .mtc-page-news .filter-btn {
    height: 56px;
    font-size: 13.5px;
  }

  .mtc-page-news .articles-section {
    padding: 0 16px 58px;
  }

  .mtc-page-news .articles-section .inner::before {
    padding-top: 20px;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .mtc-page-news .articles-section .inner {
    padding-right: 54px;
  }

  .mtc-page-news .featured-card,
  .mtc-page-news .article-card {
    min-height: 0;
    padding: 28px 22px 26px;
    border-radius: 8px;
  }

  .mtc-page-news .tag-row {
    gap: 10px;
    margin-bottom: 16px;
  }

  .mtc-page-news .latest-tag,
  .mtc-page-news .featured-label,
  .mtc-page-news .tag-row .cat-tag,
  .mtc-page-news .article-card .cat-tag {
    min-height: 28px;
    padding: 0 11px;
    font-size: 11px;
  }

  .mtc-page-news .featured-card h2,
  .mtc-page-news .article-card h3 {
    font-size: 17px;
    line-height: 1.42;
  }

  .mtc-page-news .featured-card .excerpt,
  .mtc-page-news .article-card .excerpt {
    font-size: 14px;
    line-height: 1.78;
  }

  .mtc-page-news .featured-meta,
  .mtc-page-news .article-card .card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .mtc-page-news .featured-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .mtc-page-news .featured-card .read-more {
    position: static;
    margin-top: 14px;
  }

  .mtc-page-news .featured-meta {
    padding-right: 0;
  }

  .mtc-page-news .cta-banner {
    min-height: 300px;
    padding: 62px 16px 58px;
  }

  .mtc-page-news .cta-banner h2 {
    font-size: 25px;
  }

  .mtc-page-news .cta-banner p {
    font-size: 14px;
  }
}

/* Inventory search page */
.mtc-page-inventory .hero-search {
  min-height: 414px;
  padding: 118px 0 48px;
  background: #0b223f;
  position: relative;
  overflow: hidden;
}

.mtc-page-inventory .hero-search::before {
  content: "";
  position: absolute;
  inset: 0 0 0 39%;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(11, 34, 63, 0.9) 0%, rgba(11, 34, 63, 0.42) 42%, rgba(11, 34, 63, 0.2) 100%),
    url("images/inventory-hero-warehouse.png") right center / cover no-repeat;
  opacity: 1;
}

.mtc-page-inventory .hero-search::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(90deg, #0b223f 0%, #0b223f 41%, rgba(11, 34, 63, 0.86) 56%, rgba(11, 34, 63, 0.46) 100%);
  pointer-events: none;
}

.mtc-page-inventory .hero-search .inner {
  width: min(1320px, calc(100% - 450px));
  max-width: none;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.mtc-page-inventory .breadcrumb {
  display: none;
}

.mtc-page-inventory .hero-search h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-page-inventory .hero-search .sub {
  width: min(720px, 100%);
  margin: 0 0 48px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15.5px;
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: 0 !important;
}

.mtc-page-inventory .search-tabs {
  display: flex;
  gap: 34px;
  margin: 0 0 23px;
}

.mtc-page-inventory .search-tab {
  padding: 0 0 10px;
  color: rgba(255, 255, 255, 0.66);
  border-bottom: 3px solid transparent;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-page-inventory .search-tab.active,
.mtc-page-inventory .search-tab:hover {
  color: #fff;
  border-bottom-color: #e77d1a;
}

.mtc-page-inventory .single-search,
.mtc-page-inventory #panel-multi {
  width: min(666px, 100%);
}

.mtc-page-inventory .single-search {
  display: flex;
  gap: 0;
}

.mtc-page-inventory .single-search input {
  height: 46px;
  padding: 0 30px;
  border: 0;
  border-radius: 8px 0 0 8px;
  background: #fff;
  color: #222;
  font-size: 13px;
  line-height: 46px;
  font-weight: 500;
  box-shadow: none;
}

.mtc-page-inventory .single-search input::placeholder,
.mtc-page-inventory #bulk-input::placeholder {
  color: #9a9a9a;
  opacity: 1;
}

.mtc-page-inventory .btn-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 46px;
  padding: 0 29px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: #e77d1a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0 !important;
  box-shadow: none;
}

.mtc-page-inventory .btn-search:hover,
.mtc-page-inventory .btn-search:focus-visible {
  background: #d66f12;
  outline: none;
}

.mtc-page-inventory #bulk-input {
  width: 100% !important;
  min-height: 118px !important;
  padding: 16px 22px !important;
  border: 0 !important;
  border-radius: 8px 8px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  box-shadow: none !important;
}

.mtc-page-inventory #panel-multi .btn-search {
  width: 100% !important;
  border-radius: 0 0 8px 8px !important;
}

.mtc-page-inventory .disclaimer {
  width: min(666px, 100%);
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: 0 !important;
}

.mtc-page-inventory .results-section {
  padding: 36px 40px;
  background: #f7f8fa;
}

.mtc-page-inventory .results-section .inner {
  max-width: 1200px;
}

.mtc-page-inventory .excess-strip {
  min-height: 236px;
  padding: 48px 40px 44px;
  border-top: 0;
  background: #fff;
}

.mtc-page-inventory .excess-strip .inner {
  max-width: 950px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.mtc-page-inventory .excess-label {
  display: none;
}

.mtc-page-inventory .excess-title {
  margin: 0 0 20px;
  color: #282828;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0 !important;
}

.mtc-page-inventory .excess-text {
  margin: 0 auto 31px;
  color: #6a6d73;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: 0 !important;
}

.mtc-page-inventory .excess-btn,
.mtc-page-inventory .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 234px;
  padding: 0 34px;
  border-radius: 8px;
  background: #e77d1a;
  color: #fff;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0 !important;
  text-decoration: none;
  box-shadow: none;
}

.mtc-page-inventory .excess-btn:hover,
.mtc-page-inventory .excess-btn:focus-visible,
.mtc-page-inventory .btn-primary:hover,
.mtc-page-inventory .btn-primary:focus-visible {
  background: #d66f12;
  outline: none;
}

.mtc-page-inventory .cta-banner {
  min-height: 281px;
  padding: 70px 40px 72px;
  background: #0b223f;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mtc-page-inventory .cta-banner::before,
.mtc-page-inventory .cta-banner::after {
  display: none;
}

.mtc-page-inventory .cta-banner h2 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0 !important;
}

.mtc-page-inventory .cta-banner p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0 !important;
}

@media (max-width: 1180px) {
  .mtc-page-inventory .hero-search .inner {
    width: calc(100% - 80px);
  }
}

@media (max-width: 760px) {
  .mtc-page-inventory .hero-search {
    min-height: 0;
    padding: 72px 20px 46px;
  }

  .mtc-page-inventory .hero-search::before {
    inset: 0;
    opacity: 0.38;
  }

  .mtc-page-inventory .hero-search::after {
    background: linear-gradient(180deg, rgba(11, 34, 63, 0.96) 0%, rgba(11, 34, 63, 0.9) 100%);
  }

  .mtc-page-inventory .hero-search .inner {
    width: 100%;
  }

  .mtc-page-inventory .hero-search h1 {
    font-size: 28px;
  }

  .mtc-page-inventory .hero-search .sub {
    margin-bottom: 36px;
    font-size: 14px;
    line-height: 1.75;
  }

  .mtc-page-inventory .search-tabs {
    gap: 26px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .mtc-page-inventory .search-tabs::-webkit-scrollbar {
    display: none;
  }

  .mtc-page-inventory .search-tab {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .mtc-page-inventory .single-search {
    flex-direction: column;
  }

  .mtc-page-inventory .single-search input {
    width: 100%;
    border-radius: 8px 8px 0 0;
    padding: 0 18px;
  }

  .mtc-page-inventory .btn-search {
    width: 100%;
    min-width: 0;
    border-radius: 0 0 8px 8px;
  }

  .mtc-page-inventory .results-section {
    padding: 28px 18px;
  }

  .mtc-page-inventory .results-header {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }

  .mtc-page-inventory .excess-strip {
    min-height: 0;
    padding: 42px 20px 44px;
  }

  .mtc-page-inventory .excess-title,
  .mtc-page-inventory .cta-banner h2 {
    font-size: 22px;
  }

  .mtc-page-inventory .excess-text,
  .mtc-page-inventory .cta-banner p {
    font-size: 13px;
  }

  .mtc-page-inventory .excess-btn,
  .mtc-page-inventory .btn-primary {
    width: 100%;
    min-width: 0;
    padding: 0 18px;
  }

  .mtc-page-inventory .cta-banner {
    min-height: 0;
    padding: 58px 72px 62px 20px;
  }
}

@media (max-width: 420px) {
  .mtc-page-inventory .hero-search {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mtc-page-inventory .hero-search .sub,
  .mtc-page-inventory .disclaimer,
  .mtc-page-inventory .excess-text,
  .mtc-page-inventory .cta-banner p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mtc-page-inventory .excess-strip {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mtc-page-inventory .cta-banner {
    padding-left: 16px;
    padding-right: 72px;
  }
}

/* Keep the shared footer consistent even on pages with older local overrides. */
body.mtc-nav-ready .mtc-global-footer {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 196px !important;
  min-height: 196px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
  color: rgba(255, 255, 255, 0.46) !important;
}

body.mtc-nav-ready .mtc-footer-inner {
  width: min(1290px, calc(100% - 150px)) !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
}

body.mtc-nav-ready .mtc-footer-main {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 38px !important;
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr 0.95fr !important;
  gap: 52px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.mtc-nav-ready .mtc-footer-intro {
  max-width: 290px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.43) !important;
  font-size: 11px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
}

body.mtc-nav-ready .mtc-footer-bottom {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 15px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.34) !important;
  font-size: 10px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

@media (max-width: 1080px) {
  body.mtc-nav-ready .mtc-global-footer {
    height: auto !important;
    min-height: 0 !important;
    padding: 40px 22px 20px !important;
  }

  body.mtc-nav-ready .mtc-footer-inner {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }

  body.mtc-nav-ready .mtc-footer-main {
    position: static !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }

  body.mtc-nav-ready .mtc-footer-bottom {
    position: static !important;
    margin-top: 22px !important;
  }
}

@media (max-width: 640px) {
  body.mtc-nav-ready .mtc-global-footer {
    padding: 34px 16px 24px !important;
  }

  body.mtc-nav-ready .mtc-footer-main {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-bottom: 24px !important;
  }

  body.mtc-nav-ready .mtc-footer-intro {
    max-width: none !important;
  }

  body.mtc-nav-ready .mtc-footer-bottom {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

/* Contact page */
.mtc-page-contact {
  background: #f4f6f9;
}

.mtc-page-contact .page-banner {
  min-height: 493px;
  padding: 0;
  background: #0b213d;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 170px;
}

.mtc-page-contact .page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: url("images/contact/contact-hero-meeting.png") right center / auto 128% no-repeat;
  pointer-events: none;
}

.mtc-page-contact .page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(90deg, #0b213d 0%, #0b213d 37%, rgba(11, 33, 61, 0.98) 52%, rgba(11, 33, 61, 0.78) 76%, rgba(11, 33, 61, 0.46) 100%);
  pointer-events: none;
}

.mtc-page-contact .page-banner h1,
.mtc-page-contact .page-banner .sub {
  width: min(960px, calc(100% - 360px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.mtc-page-contact .page-banner h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-page-contact .page-banner .sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.9;
  font-weight: 400;
}

.mtc-page-contact .page-banner .breadcrumb {
  width: min(960px, calc(100% - 360px));
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -54px;
  z-index: 3;
  color: #8d96a5;
  font-size: 12px;
  line-height: 1.6;
}

.mtc-page-contact .page-banner .breadcrumb a {
  color: #8d96a5;
}

.mtc-page-contact .page-banner .breadcrumb span {
  color: #252a33;
  font-weight: 800;
}

.mtc-page-contact .section,
.mtc-page-contact .workspace-section {
  padding-left: 40px;
  padding-right: 40px;
}

.mtc-page-contact .section .inner,
.mtc-page-contact .workspace-section .inner {
  width: min(960px, 100%);
  max-width: none;
  margin: 0 auto;
}

.mtc-page-contact .page-banner + .section {
  padding-top: 72px;
  padding-bottom: 39px;
  background: #f4f6f9;
}

.mtc-page-contact .sec-label {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  color: #1c5f9d;
  font-size: 0 !important;
  line-height: 1.2;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 800;
}

.mtc-page-contact .sec-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 66px;
  background: #1c5f9d;
}

.mtc-page-contact .sec-label::after {
  content: "MAJESTIC";
  color: currentColor;
  font-family: "Barlow", "Noto Sans SC", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.mtc-page-contact .sec-title {
  margin: 0 0 34px;
  padding-left: 18px;
  color: #252a33;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-page-contact .gold-line {
  display: none;
}

.mtc-page-contact .office-grid,
.mtc-page-contact .email-grid {
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.mtc-page-contact .office-card {
  min-height: 172px;
  padding: 32px 34px 30px;
  background: #fff;
  border: 0;
  border-top: 3px solid #e87b16;
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(11, 31, 58, 0.04);
}

.mtc-page-contact .office-card h3 {
  margin: 0 0 14px;
  color: #242830;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-page-contact .office-tag {
  display: none;
}

.mtc-page-contact .office-addr {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.mtc-page-contact .office-addr li {
  display: block;
  color: #30343b;
  font-size: 13px;
  line-height: 1.9;
  gap: 0;
}

.mtc-page-contact .office-addr li::before {
  display: none;
}

.mtc-page-contact .map-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.mtc-page-contact .map-btn {
  min-height: 30px;
  padding: 6px 13px;
  border: 1px solid #e4e8ef;
  border-radius: 7px;
  background: #fff;
  color: #0b1f3a;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.mtc-page-contact .map-btn svg {
  width: 15px;
  height: 15px;
}

.mtc-page-contact .map-btn:hover,
.mtc-page-contact .map-btn:focus-visible {
  border-color: #e87b16;
  color: #e87b16;
  outline: none;
}

.mtc-page-contact .section.gray {
  padding-top: 48px;
  padding-bottom: 44px;
  background: #0b213d;
  position: relative;
  overflow: hidden;
}

.mtc-page-contact .section.gray::before {
  content: "MAJESTIC";
  position: absolute;
  left: -8px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 220px;
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: 0 !important;
  pointer-events: none;
  white-space: nowrap;
}

.mtc-page-contact .section.gray .inner {
  position: relative;
  z-index: 1;
}

.mtc-page-contact .section.gray .sec-label {
  color: #e87b16;
}

.mtc-page-contact .section.gray .sec-label::before {
  background: #e87b16;
}

.mtc-page-contact .section.gray .sec-title {
  color: #fff;
  margin-bottom: 26px;
}

.mtc-page-contact .email-box {
  min-height: 0;
  padding: 22px 34px;
  background: #40536a;
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mtc-page-contact .email-box .ebox-label {
  margin: 0 0 6px;
  color: #e87b16;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.mtc-page-contact .email-box h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-page-contact .email-box p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
  flex: 1;
}

.mtc-page-contact .email-btn,
.mtc-page-contact .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 32px;
  padding: 0 19px;
  border-radius: 7px;
  background: #e87b16;
  color: #fff !important;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0 !important;
  transition: background 0.18s ease, transform 0.18s ease;
}

.mtc-page-contact .email-btn:hover,
.mtc-page-contact .email-btn:focus-visible,
.mtc-page-contact .btn-primary:hover,
.mtc-page-contact .btn-primary:focus-visible {
  background: #cc690f;
  transform: translateY(-1px);
  outline: none;
}

.mtc-page-contact .section.gray + .section {
  padding-top: 48px;
  padding-bottom: 38px;
  background: #fff;
}

.mtc-page-contact .social-row {
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.mtc-page-contact .social-btn {
  min-width: 0;
  min-height: 70px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0b1f3a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
}

.mtc-page-contact .social-btn:hover,
.mtc-page-contact .social-btn:focus-visible {
  color: #e87b16;
  outline: none;
}

.mtc-page-contact .social-btn svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 8px 13px rgba(11, 31, 58, 0.08));
}

.mtc-page-contact .workspace-section {
  padding-top: 58px;
  padding-bottom: 58px;
  background: #f4f6f9;
}

.mtc-page-contact .workspace-label {
  min-height: 72px;
  margin: 0 0 36px;
  padding: 27px 0 0 18px;
  position: relative;
  color: #252a33;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.mtc-page-contact .workspace-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 72px;
  background: #1c5f9d;
}

.mtc-page-contact .workspace-label::after {
  content: "MAJESTIC";
  position: absolute;
  left: 18px;
  top: 0;
  color: #1c5f9d;
  font-family: "Barlow", "Noto Sans SC", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.mtc-page-contact .photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  justify-content: stretch;
  align-items: stretch;
}

.mtc-page-contact .photo-row img {
  width: 100%;
  height: 130px;
  border: 0;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.mtc-page-contact .cta-banner {
  padding: 54px 40px 56px;
  background: #0b213d;
  text-align: center;
  overflow: hidden;
}

.mtc-page-contact .cta-banner::before,
.mtc-page-contact .cta-banner::after {
  display: none;
}

.mtc-page-contact .cta-banner h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 28px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0 !important;
}

.mtc-page-contact .cta-banner p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .mtc-page-contact .page-banner {
    min-height: 390px;
    padding-top: 138px;
  }

  .mtc-page-contact .page-banner h1,
  .mtc-page-contact .page-banner .sub,
  .mtc-page-contact .page-banner .breadcrumb,
  .mtc-page-contact .section .inner,
  .mtc-page-contact .workspace-section .inner {
    width: min(900px, calc(100% - 64px));
  }

  .mtc-page-contact .page-banner::before {
    opacity: 0.72;
  }

  .mtc-page-contact .page-banner::after {
    background: linear-gradient(90deg, #0b213d 0%, rgba(11, 33, 61, 0.95) 52%, rgba(11, 33, 61, 0.55) 100%);
  }

  .mtc-page-contact .office-grid,
  .mtc-page-contact .email-grid {
    width: 100%;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .mtc-page-contact .page-banner {
    min-height: 340px;
    padding-top: 0;
    justify-content: center;
  }

  .mtc-page-contact .page-banner::before {
    background-position: center center;
    opacity: 0.42;
  }

  .mtc-page-contact .page-banner::after {
    background: rgba(11, 33, 61, 0.78);
  }

  .mtc-page-contact .page-banner h1,
  .mtc-page-contact .page-banner .sub,
  .mtc-page-contact .page-banner .breadcrumb,
  .mtc-page-contact .section .inner,
  .mtc-page-contact .workspace-section .inner {
    width: calc(100% - 36px);
  }

  .mtc-page-contact .page-banner h1 {
    font-size: 34px;
  }

  .mtc-page-contact .page-banner .sub {
    font-size: 15px;
    line-height: 1.75;
  }

  .mtc-page-contact .page-banner .breadcrumb {
    bottom: -42px;
  }

  .mtc-page-contact .page-banner + .section {
    padding-top: 86px;
    padding-bottom: 52px;
  }

  .mtc-page-contact .section,
  .mtc-page-contact .workspace-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mtc-page-contact .sec-title,
  .mtc-page-contact .workspace-label {
    font-size: 26px;
  }

  .mtc-page-contact .office-grid,
  .mtc-page-contact .email-grid,
  .mtc-page-contact .photo-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mtc-page-contact .office-card,
  .mtc-page-contact .email-box {
    min-height: 0;
    padding: 26px 22px;
  }

  .mtc-page-contact .section.gray {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .mtc-page-contact .section.gray::before {
    font-size: 120px;
    bottom: 18px;
  }

  .mtc-page-contact .section.gray + .section {
    padding-top: 54px;
    padding-bottom: 44px;
  }

  .mtc-page-contact .social-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .mtc-page-contact .workspace-section {
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .mtc-page-contact .workspace-label {
    margin-bottom: 28px;
  }

  .mtc-page-contact .photo-row img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .mtc-page-contact .cta-banner {
    padding: 58px 18px 62px;
  }

  .mtc-page-contact .cta-banner h2 {
    font-size: 24px;
  }
}

/* Unified inner-page hero sizing and title placement. */
body.mtc-nav-ready:is(
  .mtc-page-about,
  .mtc-page-products,
  .mtc-page-quality,
  .mtc-page-services,
  .mtc-page-inventory,
  .mtc-page-news,
  .mtc-page-careers,
  .mtc-page-contact
) {
  --mtc-inner-hero-height: 336px;
  --mtc-inner-hero-top: 116px;
  --mtc-inner-hero-bottom: 72px;
  --mtc-inner-hero-width: 1320px;
  --mtc-inner-hero-side: max(24px, calc((100vw - var(--mtc-inner-hero-width)) / 2));
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero,
body.mtc-nav-ready.mtc-page-products .page-hero,
body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner,
body.mtc-nav-ready.mtc-page-inventory .hero-search {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: var(--mtc-inner-hero-height) !important;
  padding: var(--mtc-inner-hero-top) 0 var(--mtc-inner-hero-bottom) !important;
  display: block !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
}

body.mtc-nav-ready.mtc-page-quality .hero::before {
  background-image:
    linear-gradient(90deg, #0b1f3a 0%, #0b1f3a 39%, rgba(11, 31, 58, 0.97) 56%, rgba(11, 31, 58, 0.76) 78%, rgba(11, 31, 58, 0.44) 100%),
    url("images/quality/quality-hero-lab-robot.png") !important;
  background-position: right center !important;
  background-size: auto 100% !important;
  background-repeat: no-repeat !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero > .container,
body.mtc-nav-ready.mtc-page-products .page-hero > .product-container,
body.mtc-nav-ready.mtc-page-services .page-banner > .page-hero-inner,
body.mtc-nav-ready.mtc-page-inventory .hero-search > .inner {
  box-sizing: border-box !important;
  width: var(--mtc-inner-hero-width) !important;
  max-width: calc(100% - 48px) !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
  position: relative !important;
  z-index: 3 !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero-copy {
  margin-top: 0 !important;
}

body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-inventory, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner .breadcrumb,
body.mtc-nav-ready.mtc-page-inventory .hero-search .breadcrumb {
  display: none !important;
}

body.mtc-nav-ready:is(.mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner > h1,
body.mtc-nav-ready:is(.mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner > .sub {
  width: min(560px, calc(100% - 48px)) !important;
  max-width: 560px !important;
  margin-left: clamp(56px, 16vw, 232px) !important;
  margin-right: auto !important;
  position: relative !important;
  z-index: 3 !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero-copy h1,
body.mtc-nav-ready.mtc-page-products .page-hero h1,
body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner h1,
body.mtc-nav-ready.mtc-page-inventory .hero-search h1 {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  color: #fff !important;
  font-size: 32px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero-copy p,
body.mtc-nav-ready.mtc-page-products .page-hero p,
body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner .sub,
body.mtc-nav-ready.mtc-page-inventory .hero-search .sub {
  width: min(720px, 100%) !important;
  max-width: 720px !important;
  margin-top: 0 !important;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 15.5px !important;
  line-height: 1.8 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-products, .mtc-page-quality) .hero-copy p,
body.mtc-nav-ready.mtc-page-products .page-hero p,
body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner .sub {
  margin-bottom: 0 !important;
}

body.mtc-nav-ready.mtc-page-inventory .hero-search .sub {
  margin-bottom: 0 !important;
}

@media (min-width: 761px) {
  body.mtc-nav-ready.mtc-page-inventory .hero-search {
    height: var(--mtc-inner-hero-height) !important;
    min-height: var(--mtc-inner-hero-height) !important;
  }

  body.mtc-nav-ready.mtc-page-inventory .hero-search > .inner {
    height: 100% !important;
  }

  body.mtc-nav-ready.mtc-page-inventory .search-tabs,
  body.mtc-nav-ready.mtc-page-inventory .search-panel,
  body.mtc-nav-ready.mtc-page-inventory .disclaimer {
    position: absolute !important;
    left: 0 !important;
    z-index: 4 !important;
  }

  body.mtc-nav-ready.mtc-page-inventory .search-tabs {
    top: 92px !important;
    margin: 0 !important;
  }

  body.mtc-nav-ready.mtc-page-inventory .search-panel {
    top: 126px !important;
    width: min(520px, 100%) !important;
  }

  body.mtc-nav-ready.mtc-page-inventory .disclaimer {
    top: 184px !important;
    width: min(520px, 100%) !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
  }
}

body.mtc-nav-ready.mtc-page-products .page-hero {
  background-position: 72% center !important;
  background-size: cover !important;
}

body.mtc-nav-ready.mtc-page-products .page-hero::before {
  background:
    linear-gradient(90deg,#0b1f3a 0%,#0b1f3a 40%,rgba(11,31,58,.97) 52%,rgba(11,31,58,.78) 76%,rgba(11,31,58,.62) 100%),
    linear-gradient(0deg,rgba(3,15,30,.18),rgba(3,15,30,.18)) !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero > .container,
body.mtc-nav-ready.mtc-page-products .page-hero > .product-container,
body.mtc-nav-ready.mtc-page-services .page-banner > .page-hero-inner,
body.mtc-nav-ready.mtc-page-inventory .hero-search > .inner {
  width: min(560px, calc(100% - 48px)) !important;
  margin-left: clamp(56px, 16vw, 232px) !important;
  margin-right: auto !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero-copy h1,
body.mtc-nav-ready.mtc-page-products .page-hero h1,
body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner h1,
body.mtc-nav-ready.mtc-page-inventory .hero-search h1 {
  margin-bottom: 18px !important;
  font-size: 26px !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero-copy p,
body.mtc-nav-ready.mtc-page-products .page-hero p,
body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner .sub,
body.mtc-nav-ready.mtc-page-inventory .hero-search .sub {
  width: min(520px, 100%) !important;
  max-width: 520px !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
}

body.mtc-nav-ready.mtc-page-quality .hero {
  isolation: isolate;
  background: #0b1f3a !important;
}

body.mtc-nav-ready.mtc-page-quality .hero::before {
  z-index: 0 !important;
  background-image: url("images/quality/quality-hero-lab-robot.png") !important;
  background-position: right center !important;
  background-size: 72% auto !important;
  background-repeat: no-repeat !important;
  opacity: 0.82 !important;
}

body.mtc-nav-ready.mtc-page-quality .hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, #0b1f3a 0%, #0b1f3a 38%, rgba(11, 31, 58, 0.99) 50%, rgba(11, 31, 58, 0.9) 64%, rgba(11, 31, 58, 0.68) 82%, rgba(11, 31, 58, 0.46) 100%),
    linear-gradient(180deg, rgba(4, 17, 33, 0.1) 0%, rgba(4, 17, 33, 0.22) 100%) !important;
}

body.mtc-nav-ready.mtc-page-services .agreement-section {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: #0b1f3a !important;
}

body.mtc-nav-ready.mtc-page-services .agreement-section::before,
body.mtc-nav-ready.mtc-page-services .agreement-section::after {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.mtc-nav-ready.mtc-page-services .agreement-section::before {
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 52px !important;
  background-image: url("images/services-agreement-left.png") !important;
  background-position: left center !important;
  opacity: 1 !important;
}

body.mtc-nav-ready.mtc-page-services .agreement-section::after {
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: min(28vw, 340px) !important;
  height: auto !important;
  background-image: url("images/services-agreement-right.png") !important;
  background-position: right center !important;
  opacity: 1 !important;
}

body.mtc-nav-ready.mtc-page-services .agreement-section .inner {
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 1080px) {
  body.mtc-nav-ready:is(
    .mtc-page-about,
    .mtc-page-products,
    .mtc-page-quality,
    .mtc-page-services,
    .mtc-page-inventory,
    .mtc-page-news,
    .mtc-page-careers,
    .mtc-page-contact
  ) {
    --mtc-inner-hero-height: 336px;
    --mtc-inner-hero-top: 116px;
    --mtc-inner-hero-bottom: 72px;
  }
}

@media (max-width: 760px) {
  body.mtc-nav-ready:is(
    .mtc-page-about,
    .mtc-page-products,
    .mtc-page-quality,
    .mtc-page-services,
    .mtc-page-inventory,
    .mtc-page-news,
    .mtc-page-careers,
    .mtc-page-contact
  ) {
    --mtc-inner-hero-height: 320px;
    --mtc-inner-hero-top: 104px;
    --mtc-inner-hero-bottom: 58px;
    --mtc-inner-hero-side: 18px;
  }

  body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero > .container,
  body.mtc-nav-ready.mtc-page-products .page-hero > .product-container,
  body.mtc-nav-ready.mtc-page-services .page-banner > .page-hero-inner,
  body.mtc-nav-ready.mtc-page-inventory .hero-search > .inner {
    width: calc(100% - 36px) !important;
  }

  body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero-copy h1,
  body.mtc-nav-ready.mtc-page-products .page-hero h1,
  body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner h1,
  body.mtc-nav-ready.mtc-page-inventory .hero-search h1 {
    font-size: 30px !important;
  }

  body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero-copy p,
  body.mtc-nav-ready.mtc-page-products .page-hero p,
  body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner .sub,
  body.mtc-nav-ready.mtc-page-inventory .hero-search .sub {
    font-size: 14.5px !important;
    line-height: 1.72 !important;
  }

  body.mtc-nav-ready.mtc-page-products .page-hero {
    background-position: 68% center !important;
  }

  body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero > .container,
  body.mtc-nav-ready.mtc-page-products .page-hero > .product-container,
  body.mtc-nav-ready.mtc-page-services .page-banner > .page-hero-inner,
  body.mtc-nav-ready.mtc-page-inventory .hero-search > .inner {
    width: calc(100% - 48px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
  }

  body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero-copy h1,
  body.mtc-nav-ready.mtc-page-products .page-hero h1,
  body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner h1,
  body.mtc-nav-ready.mtc-page-inventory .hero-search h1 {
    font-size: 24px !important;
  }

  body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero-copy p,
  body.mtc-nav-ready.mtc-page-products .page-hero p,
  body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner .sub,
  body.mtc-nav-ready.mtc-page-inventory .hero-search .sub {
    font-size: 13px !important;
  }
}

@media (max-width: 420px) {
  body.mtc-nav-ready:is(
    .mtc-page-about,
    .mtc-page-products,
    .mtc-page-quality,
    .mtc-page-services,
    .mtc-page-inventory,
    .mtc-page-news,
    .mtc-page-careers,
    .mtc-page-contact
  ) {
    --mtc-inner-hero-top: 92px;
    --mtc-inner-hero-bottom: 40px;
  }
}

/* Editable moments carousel. */
.moments-board.is-dynamic,
.moments-board.is-static-scroll {
  position: relative;
  overflow: hidden;
}

.moments-board.is-dynamic .moments-scroll,
.moments-board.is-static-scroll .moments-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
}

.moments-board.is-dynamic .moments-scroll::-webkit-scrollbar,
.moments-board.is-static-scroll .moments-scroll::-webkit-scrollbar {
  display: none;
}

.moments-board.is-dynamic {
  padding: 18px 16px 34px;
}

.moments-board.is-dynamic .moments-track {
  width: max-content;
  display: flex;
}

.moments-board.is-dynamic .moments-sequence {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.moments-board.is-dynamic .moments-group {
  flex: 0 0 auto;
  width: min(1060px, calc(100vw - 120px));
  min-width: 780px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: repeat(var(--moments-rows, 2), 118px);
  gap: 10px;
}

.moments-board.is-dynamic .moments-item {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  grid-column: var(--moments-col-start, auto) / span var(--moments-col-span, 1);
  grid-row: var(--moments-row, auto);
}

.moments-board.is-dynamic .moments-item img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.moments-board.is-dynamic .moments-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.36);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0 !important;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.moments-board.is-static-scroll {
  aspect-ratio: 3958 / 1418;
}

.moments-board.is-static-scroll .moments-scroll {
  height: 100%;
}

.moments-board.is-static-scroll .moments-track {
  width: max-content;
  height: 100%;
  display: flex;
}

.moments-board.is-static-scroll .moments-track img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  flex: 0 0 auto;
}

.moments-board.is-dynamic.is-single {
  padding: 0;
}

.moments-board.is-dynamic.is-single .moments-track {
  width: 100%;
  display: block;
}

.moments-board.is-dynamic.is-single .moments-caption {
  display: none;
}

.moments-board.is-dynamic.is-single .moments-sequence {
  display: block;
  width: 100%;
}

.moments-board.is-dynamic.is-single .moments-group {
  width: 100%;
  min-width: 0;
  display: block;
}

.moments-board.is-dynamic.is-single .moments-item {
  width: 100%;
  border-radius: 0;
}

.moments-board.is-dynamic.is-single .moments-item img {
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .moments-board.is-dynamic {
    padding: 14px 12px 30px;
  }

  .moments-board.is-dynamic .moments-sequence {
    gap: 8px;
    padding-right: 8px;
  }

  .moments-board.is-dynamic .moments-group {
    width: 640px;
    min-width: 640px;
    grid-template-rows: repeat(var(--moments-rows, 2), 90px);
    gap: 6px;
  }

  .moments-board.is-dynamic .moments-caption {
    left: 12px;
    right: 12px;
    bottom: 10px;
    font-size: 9px;
  }
}

/* Footer spacing: keep copyright separated from the contact/navigation text. */
body.mtc-nav-ready .mtc-global-footer,
.mtc-global-footer {
  height: auto !important;
  min-height: 224px !important;
  padding: 38px 0 22px !important;
  overflow: hidden !important;
}

body.mtc-nav-ready .mtc-footer-inner,
.mtc-footer-inner {
  width: min(1290px, calc(100% - 150px)) !important;
  height: auto !important;
  min-height: 164px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

body.mtc-nav-ready .mtc-footer-main,
.mtc-footer-main {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr 0.95fr !important;
  gap: 52px !important;
  padding: 0 0 26px !important;
  border: 0 !important;
}

body.mtc-nav-ready .mtc-footer-bottom,
.mtc-footer-bottom {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 24px !important;
  margin: 16px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.36) !important;
  font-size: 10px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

@media (max-width: 1080px) {
  body.mtc-nav-ready .mtc-global-footer,
  .mtc-global-footer {
    min-height: 0 !important;
    padding: 40px 22px 22px !important;
  }

  body.mtc-nav-ready .mtc-footer-inner,
  .mtc-footer-inner {
    width: 100% !important;
    min-height: 0 !important;
  }

  body.mtc-nav-ready .mtc-footer-main,
  .mtc-footer-main {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    padding-bottom: 24px !important;
  }

  body.mtc-nav-ready .mtc-footer-bottom,
  .mtc-footer-bottom {
    margin-top: 18px !important;
  }
}

@media (max-width: 640px) {
  body.mtc-nav-ready .mtc-global-footer,
  .mtc-global-footer {
    padding: 34px 16px 24px !important;
  }

  body.mtc-nav-ready .mtc-footer-main,
  .mtc-footer-main {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.mtc-nav-ready .mtc-footer-bottom,
  .mtc-footer-bottom {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

/* Footer outline artwork. */
body.mtc-nav-ready .mtc-global-footer::before,
.mtc-global-footer::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  right: -34px !important;
  top: 50% !important;
  width: 310px !important;
  height: 194px !important;
  transform: translateY(-50%) !important;
  background: url("images/footer-majestic-outline.png") right center / contain no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 0.28 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

body.mtc-nav-ready .mtc-global-footer::after,
.mtc-global-footer::after,
body.mtc-nav-ready .mtc-footer-inner::after,
.mtc-footer-inner::after {
  content: "" !important;
  display: none !important;
}

@media (max-width: 640px) {
  body.mtc-nav-ready .mtc-global-footer::before,
  .mtc-global-footer::before {
    right: -92px !important;
    top: 24px !important;
    width: 240px !important;
    height: 150px !important;
    transform: none !important;
    opacity: 0.18 !important;
  }
}

/* Real footer outline image. */
body.mtc-nav-ready .mtc-global-footer::before,
.mtc-global-footer::before,
body.mtc-nav-ready .mtc-global-footer::after,
.mtc-global-footer::after,
body.mtc-nav-ready .mtc-footer-inner::after,
.mtc-footer-inner::after {
  content: "" !important;
  display: none !important;
}

body.mtc-nav-ready .mtc-footer-outline-img,
.mtc-footer-outline-img {
  display: block !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  width: 260px !important;
  height: auto !important;
  max-width: none !important;
  transform: translateY(-50%) !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

@media (max-width: 640px) {
  body.mtc-nav-ready .mtc-footer-outline-img,
  .mtc-footer-outline-img {
    right: -40px !important;
    top: 40px !important;
    width: 220px !important;
    transform: none !important;
    opacity: 0.45 !important;
  }
}

/* Inventory batch search final layout. */
body.mtc-nav-ready.mtc-page-inventory .bulk-search {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

body.mtc-nav-ready.mtc-page-inventory #bulk-input {
  display: block !important;
  width: 100% !important;
  height: 86px !important;
  min-height: 86px !important;
  max-height: 86px !important;
  padding: 12px 20px !important;
  border: 0 !important;
  border-radius: 8px 8px 0 0 !important;
  resize: none !important;
  overflow-y: auto !important;
  background: #fff !important;
  color: #222 !important;
  box-shadow: none !important;
}

body.mtc-nav-ready.mtc-page-inventory #panel-multi .btn-search {
  display: flex !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 0 0 8px 8px !important;
}

body.mtc-nav-ready.mtc-page-inventory #panel-multi.active + .disclaimer {
  top: 266px !important;
}

@media (min-width: 761px) {
  body.mtc-nav-ready.mtc-page-inventory .hero-search:has(#panel-multi.active) {
    height: 430px !important;
    min-height: 430px !important;
  }
}

@media (max-width: 760px) {
  body.mtc-nav-ready.mtc-page-inventory .hero-search {
    min-height: 370px !important;
    overflow: hidden !important;
  }

  body.mtc-nav-ready.mtc-page-inventory #bulk-input {
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
  }

  body.mtc-nav-ready.mtc-page-inventory #panel-multi.active + .disclaimer {
    margin-top: 12px !important;
  }
}

/* Elastic text guards for translated pages. */
body.mtc-nav-ready .mtc-global-topbar,
.mtc-global-topbar {
  height: auto !important;
  min-height: 32px !important;
  align-items: flex-start !important;
}

body.mtc-nav-ready .mtc-global-lang,
.mtc-global-lang {
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  flex-wrap: wrap !important;
  row-gap: 4px !important;
  overflow: visible !important;
}

body.mtc-nav-ready .mtc-global-lang a,
.mtc-global-lang a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 20px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

body.mtc-nav-ready .mtc-global-header,
.mtc-global-header {
  height: auto !important;
  min-height: 68px !important;
  align-items: stretch !important;
}

body.mtc-nav-ready .mtc-global-menu,
.mtc-global-menu {
  height: auto !important;
  min-height: 68px !important;
  flex-wrap: wrap !important;
  align-content: center !important;
  row-gap: 0 !important;
  min-width: 0 !important;
}

body.mtc-nav-ready .mtc-global-menu a,
.mtc-global-menu a {
  height: auto !important;
  min-height: 44px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  white-space: normal !important;
  text-align: center !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

body.mtc-nav-ready .mtc-global-menu .mtc-rfq,
.mtc-global-menu .mtc-rfq {
  height: auto !important;
  min-height: 32px !important;
  line-height: 1.25 !important;
}

body.mtc-nav-ready .mtc-page-news .latest-tag,
body.mtc-nav-ready .mtc-page-news .featured-label,
body.mtc-nav-ready .mtc-page-news .tag-row .cat-tag,
body.mtc-nav-ready .mtc-page-news .article-card .cat-tag,
body.mtc-nav-ready .mtc-page-news .filter-btn,
body.mtc-nav-ready .mtc-page-news .btn-primary,
body.mtc-nav-ready .mtc-page-inventory .search-tab,
body.mtc-nav-ready .mtc-page-inventory .btn-search,
body.mtc-nav-ready .mtc-page-inventory .excess-btn,
body.mtc-nav-ready .mtc-page-inventory .btn-primary,
body.mtc-nav-ready .btn-primary,
body.mtc-nav-ready .btn-secondary {
  height: auto !important;
  min-height: 32px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-align: center !important;
}

body.mtc-nav-ready .mtc-page-news .featured-card,
body.mtc-nav-ready .mtc-page-news .article-card,
body.mtc-nav-ready .mtc-page-inventory .hero-search,
body.mtc-nav-ready .mtc-page-inventory .excess-strip,
body.mtc-nav-ready .mtc-page-inventory .cta-banner,
body.mtc-nav-ready .svc-card,
body.mtc-nav-ready .about-card,
body.mtc-nav-ready .qstat,
body.mtc-nav-ready .quality-pledge,
body.mtc-nav-ready .stats-bar,
body.mtc-nav-ready .stat,
body.mtc-nav-ready .certs-band,
body.mtc-nav-ready footer,
body.mtc-nav-ready .mtc-global-footer {
  height: auto !important;
  min-height: var(--mtc-elastic-min-height, 0) !important;
}

body.mtc-nav-ready .mtc-page-news .featured-card,
body.mtc-nav-ready .mtc-page-news .article-card,
body.mtc-nav-ready .svc-card,
body.mtc-nav-ready .about-card,
body.mtc-nav-ready .qstat,
body.mtc-nav-ready .quality-pledge {
  overflow: visible !important;
}

body.mtc-nav-ready h1,
body.mtc-nav-ready h2,
body.mtc-nav-ready h3,
body.mtc-nav-ready h4,
body.mtc-nav-ready p,
body.mtc-nav-ready li,
body.mtc-nav-ready cite,
body.mtc-nav-ready blockquote,
body.mtc-nav-ready .sec-headline,
body.mtc-nav-ready .sec-sub,
body.mtc-nav-ready .hero-headline,
body.mtc-nav-ready .hero-sub,
body.mtc-nav-ready .hero-badge,
body.mtc-nav-ready .hero-tagline,
body.mtc-nav-ready .stat .val,
body.mtc-nav-ready .stat .label,
body.mtc-nav-ready .stat .label-cn,
body.mtc-nav-ready .stat .label-en,
body.mtc-nav-ready .cert-item,
body.mtc-nav-ready .card-meta,
body.mtc-nav-ready .card-footer,
body.mtc-nav-ready .excerpt,
body.mtc-nav-ready .mtc-footer-intro,
body.mtc-nav-ready .mtc-footer-col,
body.mtc-nav-ready .mtc-footer-bottom {
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-overflow: clip !important;
}

@media (max-width: 1080px) {
  body.mtc-nav-ready .mtc-global-header,
  .mtc-global-header {
    min-height: 66px !important;
  }

  body.mtc-nav-ready .mtc-global-menu,
  .mtc-global-menu {
    top: 66px !important;
    max-height: calc(100vh - 66px) !important;
  }

  body.mtc-nav-ready .mtc-global-menu a,
  .mtc-global-menu a {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

/* Page sections must grow with translated content instead of clipping it. */
body.mtc-nav-ready .hero,
body.mtc-nav-ready .page-hero,
body.mtc-nav-ready .page-banner,
body.mtc-nav-ready .hero-search,
body.mtc-nav-ready .about-section,
body.mtc-nav-ready .services-section,
body.mtc-nav-ready .brands-section,
body.mtc-nav-ready .quality-section,
body.mtc-nav-ready .brand-section,
body.mtc-nav-ready .line-section,
body.mtc-nav-ready .applications-section,
body.mtc-nav-ready .quality-info,
body.mtc-nav-ready .rfq-cta,
body.mtc-nav-ready .cta-section,
body.mtc-nav-ready .cta-banner,
body.mtc-nav-ready .excess-strip {
  height: auto !important;
  min-height: var(--mtc-section-min-height, 0) !important;
}

body.mtc-nav-ready .hero {
  min-height: 740px !important;
}

body.mtc-nav-ready .page-hero {
  min-height: 336px !important;
}

body.mtc-nav-ready .page-banner {
  min-height: 390px !important;
}

body.mtc-nav-ready .services-section {
  min-height: 519px !important;
}

body.mtc-nav-ready .brands-section {
  min-height: 923px !important;
}

body.mtc-nav-ready .brand-section {
  min-height: 1243px !important;
}

body.mtc-nav-ready .line-section {
  min-height: 1074px !important;
}

body.mtc-nav-ready .applications-section {
  min-height: 883px !important;
}

body.mtc-nav-ready .rfq-cta {
  min-height: 346px !important;
}

body.mtc-nav-ready .cta-section,
body.mtc-nav-ready .cta-banner {
  min-height: 262px !important;
}

body.mtc-nav-ready .hero-content,
body.mtc-nav-ready .page-hero .product-container,
body.mtc-nav-ready .anchor-nav,
body.mtc-nav-ready .anchor-nav .product-container,
body.mtc-nav-ready .stats-bar,
body.mtc-nav-ready .stat,
body.mtc-nav-ready .certs-band,
body.mtc-nav-ready .svc-card,
body.mtc-nav-ready .about-card,
body.mtc-nav-ready .brand-card,
body.mtc-nav-ready .line-card,
body.mtc-nav-ready .app-card,
body.mtc-nav-ready .app-card h3,
body.mtc-nav-ready .quality-card,
body.mtc-nav-ready .quality-pledge,
body.mtc-nav-ready .qstat {
  height: auto !important;
}

body.mtc-nav-ready .hero-content {
  min-height: 585px !important;
}

body.mtc-nav-ready .anchor-nav,
body.mtc-nav-ready .anchor-nav .product-container {
  min-height: 60px !important;
}

body.mtc-nav-ready .stat {
  min-height: 112px !important;
}

body.mtc-nav-ready .svc-card {
  min-height: 137px !important;
}

body.mtc-nav-ready .brand-card {
  min-height: 120px !important;
}

body.mtc-nav-ready .app-card h3 {
  min-height: 45px !important;
}

body.mtc-nav-ready .brand-grid,
body.mtc-nav-ready .line-grid,
body.mtc-nav-ready .app-grid,
body.mtc-nav-ready .services-grid,
body.mtc-nav-ready .mfr-grid,
body.mtc-nav-ready .quality-inner,
body.mtc-nav-ready .about-grid,
body.mtc-nav-ready .about-section .about-grid {
  height: auto !important;
  grid-auto-rows: minmax(0, auto) !important;
  align-items: stretch !important;
}

body.mtc-nav-ready .app-grid {
  grid-auto-rows: minmax(190px, auto) !important;
}

body.mtc-nav-ready .line-grid {
  grid-template-rows: auto !important;
}

body.mtc-nav-ready .hero,
body.mtc-nav-ready .page-hero,
body.mtc-nav-ready .page-banner,
body.mtc-nav-ready .hero-search,
body.mtc-nav-ready .quality-section,
body.mtc-nav-ready .quality-info,
body.mtc-nav-ready .cta-section,
body.mtc-nav-ready .cta-banner,
body.mtc-nav-ready .svc-card,
body.mtc-nav-ready .line-card,
body.mtc-nav-ready .app-card,
body.mtc-nav-ready .mfr-pill {
  overflow: visible !important;
}

body.mtc-nav-ready .mfr-pill,
body.mtc-nav-ready .mfr-pill img,
body.mtc-nav-ready .brand-card img,
body.mtc-nav-ready .moments-item,
body.mtc-nav-ready .moments-item img {
  overflow: hidden !important;
}

/* Final elastic overrides for body-level page classes. */
body.mtc-nav-ready.mtc-page-news .featured-card,
body.mtc-nav-ready.mtc-page-news .article-card,
body.mtc-nav-ready.mtc-page-inventory .hero-search,
body.mtc-nav-ready.mtc-page-inventory .excess-strip,
body.mtc-nav-ready.mtc-page-inventory .cta-banner,
body.mtc-nav-ready.mtc-page-services .page-banner,
body.mtc-nav-ready.mtc-page-services .section,
body.mtc-nav-ready.mtc-page-services .service-section,
body.mtc-nav-ready.mtc-page-services #situations,
body.mtc-nav-ready.mtc-page-services #shortage,
body.mtc-nav-ready.mtc-page-services .agreement-section,
body.mtc-nav-ready.mtc-page-services #logistics,
body.mtc-nav-ready.mtc-page-services #bom,
body.mtc-nav-ready.mtc-page-services #excess,
body.mtc-nav-ready.mtc-page-services .closing-section,
body.mtc-nav-ready.mtc-page-services .cta-banner,
body.mtc-nav-ready.mtc-page-quality .hero,
body.mtc-nav-ready.mtc-page-quality .thirdparty,
body.mtc-nav-ready.mtc-page-quality .quote-band,
body.mtc-nav-ready.mtc-page-quality .cta,
body.mtc-nav-ready.mtc-page-contact .page-banner,
body.mtc-nav-ready.mtc-page-contact .section,
body.mtc-nav-ready.mtc-page-contact .workspace-section,
body.mtc-nav-ready.mtc-page-contact .office-card,
body.mtc-nav-ready.mtc-page-contact .email-box,
body.mtc-nav-ready.mtc-page-contact .cta-banner,
body.mtc-nav-ready.mtc-page-careers .page-banner,
body.mtc-nav-ready.mtc-page-careers .section,
body.mtc-nav-ready.mtc-page-careers .position-card,
body.mtc-nav-ready.mtc-page-careers .cta-banner {
  height: auto !important;
  overflow: visible !important;
}

body.mtc-nav-ready.mtc-page-services .page-banner {
  min-height: 390px !important;
}

body.mtc-nav-ready.mtc-page-services #situations {
  min-height: 356px !important;
}

body.mtc-nav-ready.mtc-page-services .service-section {
  min-height: 298px !important;
}

body.mtc-nav-ready.mtc-page-services #shortage {
  min-height: 344px !important;
}

body.mtc-nav-ready.mtc-page-services .agreement-section {
  min-height: 469px !important;
}

body.mtc-nav-ready.mtc-page-services #logistics {
  min-height: 429px !important;
}

body.mtc-nav-ready.mtc-page-services #bom {
  min-height: 449px !important;
}

body.mtc-nav-ready.mtc-page-services #excess {
  min-height: 365px !important;
}

body.mtc-nav-ready.mtc-page-services .closing-section {
  min-height: 223px !important;
}

body.mtc-nav-ready.mtc-page-services .cta-banner {
  min-height: 260px !important;
}

body.mtc-nav-ready.mtc-page-services .page-hero-inner,
body.mtc-nav-ready.mtc-page-services .closing-section .inner,
body.mtc-nav-ready.mtc-page-quality .hero .container,
body.mtc-nav-ready.mtc-page-quality .thirdparty .container,
body.mtc-nav-ready.mtc-page-contact .section .inner,
body.mtc-nav-ready.mtc-page-contact .workspace-section .inner {
  height: auto !important;
}

body.mtc-nav-ready.mtc-page-services .scenario-grid,
body.mtc-nav-ready.mtc-page-services .service-grid,
body.mtc-nav-ready.mtc-page-services .split-card-grid,
body.mtc-nav-ready.mtc-page-quality .card-grid,
body.mtc-nav-ready.mtc-page-quality .test-grid,
body.mtc-nav-ready.mtc-page-contact .office-grid,
body.mtc-nav-ready.mtc-page-contact .email-grid,
body.mtc-nav-ready.mtc-page-contact .social-row,
body.mtc-nav-ready.mtc-page-contact .photo-row {
  height: auto !important;
  grid-auto-rows: minmax(0, auto) !important;
  align-items: stretch !important;
}

body.mtc-nav-ready.mtc-page-services .scenario-item,
body.mtc-nav-ready.mtc-page-services .svc-deep-card,
body.mtc-nav-ready.mtc-page-services .info-card,
body.mtc-nav-ready.mtc-page-services .agreement-card,
body.mtc-nav-ready.mtc-page-quality .info-card,
body.mtc-nav-ready.mtc-page-quality .test-card,
body.mtc-nav-ready.mtc-page-contact .office-card,
body.mtc-nav-ready.mtc-page-contact .email-box,
body.mtc-nav-ready.mtc-page-careers .position-card {
  height: auto !important;
  overflow: visible !important;
}

body.mtc-nav-ready.mtc-page-services .info-card .card-head,
body.mtc-nav-ready.mtc-page-services .step-item,
body.mtc-nav-ready.mtc-page-quality .anchor-bar,
body.mtc-nav-ready.mtc-page-quality .anchor-scroll a {
  height: auto !important;
  min-height: var(--mtc-control-min-height, 45px) !important;
}

/* Quality page third-party testing decorative artwork. */
body.mtc-nav-ready.mtc-page-quality .thirdparty {
  overflow: hidden !important;
}

body.mtc-nav-ready.mtc-page-quality .thirdparty-art-left {
  left: 22px !important;
  top: 50% !important;
  width: auto !important;
  height: clamp(300px, 25vw, 390px) !important;
  max-height: calc(100% - 96px) !important;
  transform: translateY(-50%) !important;
}

body.mtc-nav-ready.mtc-page-quality .thirdparty-art-right {
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  height: 100% !important;
  max-height: none !important;
  transform: none !important;
}

@media (max-width: 760px) {
  body.mtc-nav-ready.mtc-page-quality .thirdparty-art-left {
    left: 10px !important;
    height: 300px !important;
    opacity: 0.72 !important;
  }

  body.mtc-nav-ready.mtc-page-quality .thirdparty-art-right {
    right: 0 !important;
    height: 100% !important;
    opacity: 0.68 !important;
  }
}

body.mtc-nav-ready.mtc-page-news .filter-btn,
body.mtc-nav-ready.mtc-page-news .btn-primary,
body.mtc-nav-ready.mtc-page-inventory .search-tab,
body.mtc-nav-ready.mtc-page-inventory .btn-search,
body.mtc-nav-ready.mtc-page-inventory .excess-btn,
body.mtc-nav-ready.mtc-page-inventory .btn-primary,
body.mtc-nav-ready.mtc-page-contact .email-btn,
body.mtc-nav-ready.mtc-page-contact .btn-primary,
body.mtc-nav-ready.mtc-page-services .btn-primary,
body.mtc-nav-ready.mtc-page-quality .btn-primary {
  height: auto !important;
  min-height: 32px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
}

body.mtc-nav-ready.mtc-page-services .page-banner,
body.mtc-nav-ready.mtc-page-services .agreement-section,
body.mtc-nav-ready.mtc-page-services .closing-section,
body.mtc-nav-ready.mtc-page-services .cta-banner,
body.mtc-nav-ready.mtc-page-quality .quote-band,
body.mtc-nav-ready.mtc-page-quality .cta,
body.mtc-nav-ready.mtc-page-contact .section.gray,
body.mtc-nav-ready.mtc-page-contact .photo-row img {
  overflow: hidden !important;
}

/* Homepage hero: match the supplied dark PCB banner treatment. */
body.mtc-nav-ready.mtc-page-home .hero {
  height: auto !important;
  min-height: 740px !important;
  background:
    radial-gradient(circle at 82% 48%, rgba(0, 124, 150, 0.22) 0%, rgba(0, 124, 150, 0.08) 28%, rgba(5, 22, 42, 0) 58%),
    linear-gradient(90deg, #061a31 0%, #071d35 46%, #082845 100%) !important;
  overflow: hidden !important;
  display: block !important;
}

body.mtc-nav-ready.mtc-page-home .hero::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  inset: 0 0 155px 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg, #061a31 0%, rgba(6, 26, 49, 0.98) 41%, rgba(6, 26, 49, 0.82) 61%, rgba(6, 26, 49, 0.48) 100%) !important;
  pointer-events: none !important;
}

body.mtc-nav-ready.mtc-page-home .hero::after {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 155px !important;
  height: 1px !important;
  z-index: 4 !important;
  background: rgba(255, 255, 255, 0.03) !important;
  pointer-events: none !important;
}

body.mtc-nav-ready.mtc-page-home .hero-bg-pcb-right {
  left: 48% !important;
  right: 0 !important;
  top: 0 !important;
  bottom: auto !important;
  width: 52% !important;
  height: 585px !important;
  z-index: 0 !important;
  background-image: url("images/home-hero-banner.avif") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  opacity: 0.52 !important;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 16%, rgba(0, 0, 0, 0.78) 48%, #000 100%) !important;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 16%, rgba(0, 0, 0, 0.78) 48%, #000 100%) !important;
}

body.mtc-nav-ready.mtc-page-home .hero > div[style*="width:100%"] {
  position: relative !important;
  z-index: 3 !important;
}

body.mtc-nav-ready.mtc-page-home .hero-content {
  width: min(1050px, calc(100% - 150px)) !important;
  height: 585px !important;
  padding-top: 145px !important;
  margin: 0 auto !important;
}

body.mtc-nav-ready.mtc-page-home .hero-badge {
  margin-bottom: 28px !important;
}

body.mtc-nav-ready.mtc-page-home .hero-headline {
  max-width: 565px !important;
}

body.mtc-nav-ready.mtc-page-home .hero-sub {
  max-width: 590px !important;
}

body.mtc-nav-ready.mtc-page-home .hero-btns .btn-primary {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 24px !important;
  border-radius: 6px !important;
}

@media (max-width: 900px) {
  body.mtc-nav-ready.mtc-page-home .hero {
    min-height: 0 !important;
  }

  body.mtc-nav-ready.mtc-page-home .hero::before {
    inset: 0 !important;
    background: rgba(6, 26, 49, 0.78) !important;
  }

  body.mtc-nav-ready.mtc-page-home .hero::after {
    display: none !important;
  }

  body.mtc-nav-ready.mtc-page-home .hero-bg-pcb-right {
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.36 !important;
    background-size: cover !important;
    background-position: center center !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  body.mtc-nav-ready.mtc-page-home .hero-content {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    height: auto !important;
    padding-top: 72px !important;
    padding-bottom: 48px !important;
  }
}

/* Final unified inner-page banner image and mask treatment. */
body.mtc-nav-ready.mtc-page-about {
  --mtc-inner-hero-image: url("images/about/about-hero-custom.svg");
}

body.mtc-nav-ready.mtc-page-products {
  --mtc-inner-hero-image: url("images/products-hero-circuit.png");
}

body.mtc-nav-ready.mtc-page-quality {
  --mtc-inner-hero-image: url("images/quality/quality-hero-lab-robot.png");
}

body.mtc-nav-ready.mtc-page-services {
  --mtc-inner-hero-image: url("images/services-hero-globe.png");
}

body.mtc-nav-ready.mtc-page-inventory {
  --mtc-inner-hero-image: url("images/inventory-hero-custom.svg");
}

body.mtc-nav-ready.mtc-page-news {
  --mtc-inner-hero-image: url("images/news-hero-chip-market.png");
}

body.mtc-nav-ready.mtc-page-careers {
  --mtc-inner-hero-image: url("images/hr-hero-custom.svg");
}

body.mtc-nav-ready.mtc-page-contact {
  --mtc-inner-hero-image: url("images/contact/contact-hero-meeting.png");
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero,
body.mtc-nav-ready.mtc-page-products .page-hero,
body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner,
body.mtc-nav-ready.mtc-page-inventory .hero-search {
  min-height: 390px !important;
  padding: 116px 0 72px !important;
  background: #0b1f3a !important;
  isolation: isolate !important;
  overflow: hidden !important;
  position: relative !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero::before,
body.mtc-nav-ready.mtc-page-products .page-hero::before,
body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner::before,
body.mtc-nav-ready.mtc-page-inventory .hero-search::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 42% !important;
  width: auto !important;
  height: auto !important;
  z-index: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-image: var(--mtc-inner-hero-image) !important;
  background-size: cover !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
  opacity: 0.74 !important;
  pointer-events: none !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero::after,
body.mtc-nav-ready.mtc-page-products .page-hero::after,
body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner::after,
body.mtc-nav-ready.mtc-page-inventory .hero-search::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background:
    linear-gradient(90deg, #0b1f3a 0%, #0b1f3a 38%, rgba(11, 31, 58, 0.98) 51%, rgba(11, 31, 58, 0.82) 68%, rgba(11, 31, 58, 0.52) 100%),
    linear-gradient(180deg, rgba(3, 14, 28, 0.08) 0%, rgba(3, 14, 28, 0.22) 100%) !important;
  pointer-events: none !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero > .container,
body.mtc-nav-ready.mtc-page-products .page-hero > .product-container,
body.mtc-nav-ready.mtc-page-services .page-banner > .page-hero-inner,
body.mtc-nav-ready.mtc-page-inventory .hero-search > .inner {
  position: relative !important;
  z-index: 3 !important;
  width: min(560px, calc(100% - 48px)) !important;
  max-width: calc(100% - 48px) !important;
  margin-left: clamp(56px, 16vw, 232px) !important;
  margin-right: auto !important;
  padding: 0 !important;
  height: auto !important;
}

body.mtc-nav-ready:is(.mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner > h1,
body.mtc-nav-ready:is(.mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner > .sub {
  position: relative !important;
  z-index: 3 !important;
  width: min(560px, calc(100% - 48px)) !important;
  max-width: 560px !important;
  margin-left: clamp(56px, 16vw, 232px) !important;
  margin-right: auto !important;
}

body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero-copy,
body.mtc-nav-ready.mtc-page-services .page-hero-inner,
body.mtc-nav-ready.mtc-page-inventory .hero-search .inner {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero,
  body.mtc-nav-ready.mtc-page-products .page-hero,
  body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner,
  body.mtc-nav-ready.mtc-page-inventory .hero-search {
    min-height: 320px !important;
    padding: 104px 0 58px !important;
  }

  body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero::before,
  body.mtc-nav-ready.mtc-page-products .page-hero::before,
  body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner::before,
  body.mtc-nav-ready.mtc-page-inventory .hero-search::before {
    left: 0 !important;
    opacity: 0.32 !important;
    background-position: center center !important;
  }

  body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero::after,
  body.mtc-nav-ready.mtc-page-products .page-hero::after,
  body.mtc-nav-ready:is(.mtc-page-services, .mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner::after,
  body.mtc-nav-ready.mtc-page-inventory .hero-search::after {
    background: rgba(11, 31, 58, 0.84) !important;
  }

  body.mtc-nav-ready:is(.mtc-page-about, .mtc-page-quality) .hero > .container,
  body.mtc-nav-ready.mtc-page-products .page-hero > .product-container,
  body.mtc-nav-ready.mtc-page-services .page-banner > .page-hero-inner,
  body.mtc-nav-ready.mtc-page-inventory .hero-search > .inner,
  body.mtc-nav-ready:is(.mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner > h1,
  body.mtc-nav-ready:is(.mtc-page-news, .mtc-page-careers, .mtc-page-contact) .page-banner > .sub {
    width: calc(100% - 48px) !important;
    max-width: calc(100% - 48px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
  }
}

/* About page client moments: keep the board and images more compact. */
@keyframes mtcMomentsScrollLeft {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes mtcMomentsScrollRight {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

body.mtc-nav-ready.mtc-page-about .moments {
  padding-top: 64px;
  padding-bottom: 56px;
}

body.mtc-nav-ready.mtc-page-about .moments .section-head {
  margin-bottom: 28px;
}

body.mtc-nav-ready.mtc-page-about .moments-board {
  width: min(100%, 1136px);
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
}

body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background: radial-gradient(ellipse at center, #112244 0%, #060f1e 70%);
  box-shadow: none;
}

body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel::before,
body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #060f1e 0%, rgba(6, 15, 30, 0) 100%);
}

body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #060f1e 0%, rgba(6, 15, 30, 0) 100%);
}

body.mtc-nav-ready.mtc-page-about .moments-carousel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.mtc-nav-ready.mtc-page-about .moments-row {
  overflow: hidden;
}

body.mtc-nav-ready.mtc-page-about .moments-row .moments-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

body.mtc-nav-ready.mtc-page-about .moments-row.is-left .moments-track {
  animation: mtcMomentsScrollLeft var(--moments-duration) linear infinite;
}

body.mtc-nav-ready.mtc-page-about .moments-row.is-right .moments-track {
  animation: mtcMomentsScrollRight var(--moments-duration) linear infinite;
}

body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel:hover .moments-track {
  animation-play-state: paused;
}

body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel .moments-sequence {
  display: flex;
  gap: 8px;
  padding-right: 8px;
  flex: 0 0 auto;
}

body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel .moments-item {
  width: 180px;
  height: 135px;
  flex: 0 0 auto;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel .moments-item img {
  width: 180px;
  height: 135px;
  max-width: none;
  object-fit: cover;
}

body.mtc-nav-ready.mtc-page-about .moments-board.is-static-scroll {
  max-height: 390px;
}

body.mtc-nav-ready.mtc-page-about .moments-board > img {
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  body.mtc-nav-ready.mtc-page-about .moments {
    padding-top: 50px;
    padding-bottom: 46px;
  }

  body.mtc-nav-ready.mtc-page-about .moments .section-head {
    margin-bottom: 22px;
  }

  body.mtc-nav-ready.mtc-page-about .moments-board {
    width: 100%;
    border-radius: 14px;
  }

  body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel {
    padding: 14px 0;
  }

  body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel::before,
  body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel::after {
    width: 32px;
  }

  body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel .moments-item,
  body.mtc-nav-ready.mtc-page-about .moments-board.is-carousel .moments-item img {
    width: 180px;
    height: 135px;
  }
}
