:root {
  --dm-text: #1b1d22;
  --dm-muted: #6a7280;
  --dm-bg: #f2f4f8;
  --dm-card: #ffffff;
  --dm-border: #e7e9ef;
  --dm-accent: #4153a0;
  --dm-brand-1: #f18767;
  --dm-brand-2: #472682;
  --dm-brand-3: #544093;
  --dm-brand-4: #293171;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--dm-text);
  background: var(--dm-bg);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.dm-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.dm-site-header {
  background: rgba(12, 16, 34, 0.68);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
}

.dm-header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dm-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.dm-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 14px;
}

.dm-nav a {
  opacity: 0.9;
  color: #fff;
}

.dm-nav a:hover {
  opacity: 1;
  color: #fff;
}

.dm-contact-cta {
  height: 38px;
  padding: 0 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--dm-brand-3), var(--dm-brand-4));
  font-size: 14px;
}

.dm-main {
  min-height: calc(100vh - 140px);
  /* padding-top: 74px; */
}

.dm-hero {
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  padding: 140px 0 110px;
  background-color: #121a36;
  color: #fff;
}

.dm-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.dm-hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(127deg, rgba(84, 64, 147, 0.72), rgba(41, 41, 113, 0.74)),
    radial-gradient(
      circle at 20% 30%,
      rgba(241, 135, 103, 0.32),
      transparent 44%
    ),
    radial-gradient(circle at 80% 0%, rgba(71, 38, 130, 0.36), transparent 40%);
}

.dm-hero .dm-container {
  position: relative;
  z-index: 2;
}

.dm-hero h1 {
  margin: 0 0 18px;
  font-size: 56px;
  letter-spacing: 2px;
  line-height: 1.2;
  max-width: 760px;
}

.dm-hero p {
  margin: 0;
  max-width: 760px;
  line-height: 1.7;
  opacity: 0.95;
  font-size: 20px;
}

.dm-hero-button {
  display: inline-flex;
  margin-top: 30px;
  height: 56px;
  padding: 0 28px;
  border-radius: 28px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-image: linear-gradient(
    131deg,
    var(--dm-brand-1),
    var(--dm-brand-2)
  );
  font-weight: 700;
}

.dm-section {
  padding: 76px 0;
}

#mirrorVerse,
#team {
  background: linear-gradient(127deg, var(--dm-brand-3) 0%, #292971 100%);
  color: #fff;
}

#mirrorVerse,
#dm-tech-capability,
#history,
#team,
#news,
#careers {
  scroll-margin-top: 92px;
}

#dm-tech-capability,
#history,
#news {
  background: #fff;
}

#mirrorVerse .dm-list-card,
#team .dm-team-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

#mirrorVerse .dm-list-card h3,
#team .dm-team-card h3,
#mirrorVerse h2,
#team h2 {
  color: #fff;
}

#mirrorVerse .dm-list-card p,
#team .dm-team-card p,
#mirrorVerse .dm-mini-list,
#team .dm-mini-list {
  color: rgba(255, 255, 255, 0.88);
}

.dm-section h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

.dm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.dm-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dm-list-card,
.dm-team-card {
  background: #fff;
  border: 1px solid var(--dm-border);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 10px 20px rgba(24, 34, 66, 0.06);
}

.dm-list-card h3,
.dm-team-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.dm-list-card p,
.dm-team-card p {
  margin: 0;
  color: var(--dm-muted);
  line-height: 1.7;
}

.dm-bullet-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.9;
  color: #2f3542;
}

.dm-mini-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #596273;
  line-height: 1.7;
}

.dm-tech-block {
  margin-bottom: 20px;
}

.dm-tech-block h3 {
  margin: 0 0 8px;
}

.dm-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dm-career {
  text-align: center;
  background: linear-gradient(135deg, #f6f2ff, #eef3ff);
  border: 1px solid #dfe5f9;
  border-radius: 16px;
  padding: 40px 24px;
}

.dm-career p {
  margin-bottom: 16px;
  color: var(--dm-muted);
}

.dm-post-card {
  background: var(--dm-card);
  border-radius: 12px;
  border: 1px solid var(--dm-border);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dm-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(28, 33, 55, 0.12);
}

.dm-post-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.dm-post-card-body {
  padding: 14px;
}

.dm-post-card-date {
  color: var(--dm-muted);
  font-size: 13px;
}

.dm-post-card-title {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.dm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--dm-accent);
  color: #fff;
  font-weight: 600;
}

.dm-section-action {
  margin-top: 24px;
}

.dm-article,
.dm-page {
  background: #fff;
  border: 1px solid var(--dm-border);
  border-radius: 12px;
  padding: 28px;
}

.dm-editor-content {
  line-height: 1.8;
}

.dm-editor-content h1,
.dm-editor-content h2,
.dm-editor-content h3 {
  line-height: 1.35;
}

.dm-article-content,
.dm-page-content {
  line-height: 1.85;
}

.dm-article-content img,
.dm-page-content img {
  max-width: 100%;
  height: auto;
}

.dm-article-meta {
  color: var(--dm-muted);
  margin-bottom: 16px;
}

.dm-article-nav {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.dm-site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #5d3e92 0%, #3e3085 100%);
  color: #f4f5fa;
  position: relative;
  overflow: hidden;
}

.dm-site-footer::before,
.dm-site-footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.dm-site-footer::before {
  width: 280px;
  height: 280px;
  left: -90px;
  top: 40px;
}

.dm-site-footer::after {
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -120px;
}

.dm-footer-slogan {
  padding-top: 34px;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
}

.dm-footer-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.dm-footer-qr .dm-qr-box {
  width: 168px;
  height: 168px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-footer-qr .dm-qr-box img {
  width: 140px;
  height: 140px;
}

.dm-footer-col h4 {
  margin: 0 0 8px;
  color: #e2e6ff;
}

.dm-footer-col a {
  color: #c8d0ff;
}

.dm-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dm-social-links a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 5px 10px;
  border-radius: 14px;
  font-size: 13px;
}

.dm-footer-bottom {
  margin-top: 24px;
  padding: 14px 0 28px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.dm-footer-bottom a {
  color: #b7c0f5;
  font-size: 13px;
}

@media (max-width: 960px) {
  .dm-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dm-list-grid {
    grid-template-columns: 1fr;
  }

  .dm-team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dm-footer-grid {
    grid-template-columns: 1fr;
  }

  .dm-footer-slogan {
    font-size: 26px;
  }

  .dm-hero h1 {
    font-size: 42px;
  }

  .dm-hero p {
    font-size: 18px;
  }
}

@media (max-width: 680px) {
  .dm-grid {
    grid-template-columns: 1fr;
  }

  .dm-team-grid {
    grid-template-columns: 1fr;
  }

  .dm-hero h1 {
    font-size: 30px;
    max-width: 100%;
  }

  .dm-hero {
    padding: 104px 0 72px;
    min-height: 70vh;
  }

  .dm-hero-button {
    height: 42px;
    padding: 0 16px;
    border-radius: 21px;
    font-size: 13px;
  }

  .dm-nav {
    display: none;
  }

  .dm-contact-cta {
    display: none;
  }

  .dm-footer-slogan {
    font-size: 22px;
  }

  .dm-hero p {
    font-size: 14px;
  }

  .dm-section {
    padding: 58px 0;
  }
}
/* =========================
   ========================= */

.dm-site-header {
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.dm-site-header__inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    min-height: 72px;
    padding: 10px 18px 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    background: rgba(8, 8, 18, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    pointer-events: auto;
    box-sizing: border-box;
}

.dm-site-header.is-scrolled .dm-site-header__inner {
    background: rgba(8, 8, 18, 0.82);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dm-site-header__brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-width: 0;
}

.dm-site-header__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.dm-site-header__logo img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.dm-site-header__logo-text {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #fff;
}

.dm-site-header__nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.dm-site-header__menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.dm-site-header__menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dm-site-header__menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;

    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;

    transition:
        color .25s ease,
        background .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.dm-site-header__menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.dm-site-header__menu a.is-active,
.dm-site-header__menu .current-menu-item > a,
.dm-site-header__menu .current_page_item > a {
    color: #fff;
    background: linear-gradient(135deg, rgba(136, 108, 255, 0.40), rgba(76, 56, 198, 0.58));
    box-shadow:
        0 6px 20px rgba(106, 74, 255, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.dm-site-header__toggle {
    display: none !important;
}

.dm-mobile-menu {
    display: none !important;
}

/* 避免主题旧样式污染 header 导航 */
.dm-site-header ul,
.dm-site-header li {
    margin-left: 0;
}

.dm-site-header nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.dm-site-header nav a {
    text-decoration: none;
}

/* header 覆盖在首屏上时，给首屏留足顶部空间可按需开启 */
/*
.home .dm-hero,
.home #home {
    padding-top: 110px;
}
*/

@media (max-width: 1200px) {
    .dm-site-header__inner {
        width: calc(100% - 32px);
        gap: 16px;
    }

    .dm-site-header__logo img {
        max-width: 200px;
        height: 38px;
    }

    .dm-site-header__menu a {
        padding: 0 14px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .dm-site-header {
        top: 12px;
    }

    .dm-site-header__inner {
        width: calc(100% - 24px);
        min-height: 64px;
        padding: 10px 14px;
        border-radius: 16px;
    }

    .dm-site-header__logo img {
        height: 34px;
        max-width: 170px;
    }

    .dm-site-header__nav {
        overflow-x: auto;
        justify-content: flex-end;
        scrollbar-width: none;
    }

    .dm-site-header__nav::-webkit-scrollbar {
        display: none;
    }

    .dm-site-header__menu {
        flex-wrap: nowrap;
    }

    .dm-site-header__menu a {
        height: 38px;
        padding: 0 12px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .dm-site-header__inner {
        width: calc(100% - 20px);
        min-height: 58px;
        padding: 8px 10px;
        gap: 12px;
    }

    .dm-site-header__logo img {
        height: 28px;
        max-width: 140px;
    }

    .dm-site-header__menu a {
        height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/* =========================
   DeepMirror Header Final
   ========================= */

header.dm-site-header,
#dmSiteHeader.dm-site-header {
    position: absolute !important;
    top: 18px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    pointer-events: none !important;
}

header.dm-site-header .dm-site-header__inner,
#dmSiteHeader .dm-site-header__inner {
    width: min(1240px, calc(100% - 48px)) !important;
    margin: 0 auto !important;
    min-height: 72px !important;
    height: 72px !important;
    max-height: 72px !important;
    padding: 10px 20px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;

    background: rgba(8, 8, 18, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;

    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;

    overflow: hidden !important;
    pointer-events: auto !important;
}

header.dm-site-header .dm-site-header__brand,
#dmSiteHeader .dm-site-header__brand {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    height: 100% !important;
}

header.dm-site-header .dm-site-header__logo,
#dmSiteHeader .dm-site-header__logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100% !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

header.dm-site-header .dm-site-header__logo img,
#dmSiteHeader .dm-site-header__logo img {
    display: block !important;
    width: auto !important;
    height: 42px !important;
    max-height: 42px !important;
    max-width: 220px !important;
    object-fit: contain !important;
}

header.dm-site-header .dm-site-header__logo-text,
#dmSiteHeader .dm-site-header__logo-text {
    display: inline-block !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #fff !important;
    white-space: nowrap !important;
}

header.dm-site-header .dm-site-header__nav,
#dmSiteHeader .dm-site-header__nav {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
    height: 100% !important;
}

header.dm-site-header .dm-site-header__menu,
#dmSiteHeader .dm-site-header__menu,
header.dm-site-header nav ul,
#dmSiteHeader nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

header.dm-site-header .dm-site-header__menu li,
#dmSiteHeader .dm-site-header__menu li,
header.dm-site-header nav li,
#dmSiteHeader nav li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

header.dm-site-header .dm-site-header__menu a,
#dmSiteHeader .dm-site-header__menu a,
header.dm-site-header nav a,
#dmSiteHeader nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;

    color: rgba(255, 255, 255, 0.84) !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    white-space: nowrap !important;

    transition:
        color .25s ease,
        background .25s ease,
        box-shadow .25s ease !important;
}

header.dm-site-header .dm-site-header__menu a:hover,
#dmSiteHeader .dm-site-header__menu a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

header.dm-site-header .dm-site-header__menu a.is-active,
#dmSiteHeader .dm-site-header__menu a.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(136, 108, 255, 0.40), rgba(76, 56, 198, 0.58)) !important;
    box-shadow:
        0 6px 20px rgba(106, 74, 255, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

header.dm-site-header .dm-site-header__toggle,
#dmSiteHeader .dm-site-header__toggle,
header.dm-site-header .dm-mobile-menu,
#dmSiteHeader .dm-mobile-menu {
    display: none !important;
}

body.admin-bar header.dm-site-header,
body.admin-bar #dmSiteHeader.dm-site-header {
    top: 50px !important;
}

@media (max-width: 1200px) {
    header.dm-site-header .dm-site-header__inner,
    #dmSiteHeader .dm-site-header__inner {
        width: calc(100% - 32px) !important;
    }

    header.dm-site-header .dm-site-header__logo img,
    #dmSiteHeader .dm-site-header__logo img {
        max-width: 180px !important;
        height: 38px !important;
        max-height: 38px !important;
    }

    header.dm-site-header .dm-site-header__menu a,
    #dmSiteHeader .dm-site-header__menu a {
        padding: 0 14px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 991px) {
    header.dm-site-header,
    #dmSiteHeader.dm-site-header {
        top: 12px !important;
    }

    body.admin-bar header.dm-site-header,
    body.admin-bar #dmSiteHeader.dm-site-header {
        top: 58px !important;
    }

    header.dm-site-header .dm-site-header__inner,
    #dmSiteHeader .dm-site-header__inner {
        width: calc(100% - 24px) !important;
        min-height: 64px !important;
        height: 64px !important;
        max-height: 64px !important;
        padding: 10px 14px !important;
        border-radius: 16px !important;
    }

    header.dm-site-header .dm-site-header__logo img,
    #dmSiteHeader .dm-site-header__logo img {
        height: 34px !important;
        max-height: 34px !important;
        max-width: 160px !important;
    }

    header.dm-site-header .dm-site-header__menu a,
    #dmSiteHeader .dm-site-header__menu a {
        height: 38px !important;
        padding: 0 12px !important;
        font-size: 14px !important;
    }
}


html {
    scroll-behavior: smooth;
}

/* 页内锚点跳转时避免被固定头部挡住 */
#home,
#mirrorVerse,
#dm-tech-capability,
#products,
#investor,
#about,
#careers {
    scroll-margin-top: 110px;
}


/* ===== DM Header Fixed Floating (single source) ===== */
:root {
  --dm-admin-offset: 0px;
  --dm-header-gap: 12px;
  --dm-header-height: 72px;
  --dm-header-total: calc(var(--dm-admin-offset) + var(--dm-header-gap) + var(--dm-header-height));
}
#dmSiteHeader.dm-site-header {
  position: fixed !important;
  top: var(--dm-admin-offset) !important;
  left: 0;
  width: 100%;
  z-index: 9999;
  pointer-events: none;
}
#dmSiteHeader .dm-site-header__inner {
  pointer-events: auto;
  margin: var(--dm-header-gap) auto 0;
  width: min(1240px, calc(100% - 24px));
  min-height: 64px;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(8, 8, 18, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#dmSiteHeader.is-scrolled .dm-site-header__inner {
  background: rgba(8, 8, 18, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.30);
  border-color: rgba(255, 255, 255, 0.14);
}
body {
  padding-top: var(--dm-header-total);
}
html {
  scroll-padding-top: calc(var(--dm-header-total) + 8px);
}
section[id], div[id] {
  scroll-margin-top: calc(var(--dm-header-total) + 8px);
}
@media (max-width: 991px) {
  :root { --dm-header-gap: 10px; }
  #dmSiteHeader .dm-site-header__inner {
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px 10px;
    border-radius: 14px;
  }
}
/* force remove active blue background in header nav */
#dmSiteHeader .dm-site-header__menu a.is-active,
#dmSiteHeader .dm-site-header__menu .current-menu-item > a,
#dmSiteHeader .dm-site-header__menu .current_page_item > a {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff !important;
}

/* Homepage hero video waiting / ready / mobile highlight sync */
.elementor-780 .elementor-element.elementor-element-c5a94a7 {
  background-color: #000 !important;
}

.elementor-780 .elementor-element.elementor-element-c5a94a7 .elementor-background-video-container {
  background: #000 !important;
}

.elementor-780 .elementor-element.elementor-element-c5a94a7 video.elementor-background-video-hosted {
  opacity: 0 !important;
  transition: opacity 0.45s ease !important;
}

.elementor-780 .elementor-element.elementor-element-c5a94a7 > .elementor-background-overlay {
  transition: opacity 0.8s ease !important;
}

.elementor-780 .elementor-element.elementor-element-c5a94a7.dm-hero-video-waiting:not(.dm-hero-highlight-active) > .elementor-background-overlay {
  opacity: 0.88 !important;
}

.elementor-780 .elementor-element.elementor-element-c5a94a7.dm-hero-video-ready .elementor-background-video-container {
  background-image: none !important;
}

.elementor-780 .elementor-element.elementor-element-c5a94a7.dm-hero-video-ready video.elementor-background-video-hosted {
  opacity: 1 !important;
}

.elementor-780 .elementor-element.elementor-element-c5a94a7.dm-hero-highlight-active > .elementor-background-overlay {
  opacity: 0.3 !important;
}

@media (max-width: 767px) {
  .elementor-780 .elementor-element.elementor-element-c5a94a7 .elementor-background-video-container {
    display: block !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  .elementor-780 .elementor-element.elementor-element-c5a94a7 video.elementor-background-video-hosted {
    object-fit: cover !important;
  }

  .elementor-780 .elementor-element.elementor-element-c5a94a7.dm-hero-highlight-active > .elementor-background-overlay {
    opacity: 0.3 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elementor-780 .elementor-element.elementor-element-c5a94a7 video.elementor-background-video-hosted,
  .elementor-780 .elementor-element.elementor-element-c5a94a7 > .elementor-background-overlay {
    transition: none !important;
  }
}

/* Products page mobile video section fix */
@media (max-width: 767px) {
  .elementor-1008 .elementor-element.elementor-element-0da77b1 {
    padding: 0 !important;
    overflow: hidden !important;
  }

  .elementor-1008 .elementor-element.elementor-element-0da77b1 > .elementor-container {
    min-height: 0 !important;
  }

  .elementor-1008 .elementor-element.elementor-element-d51b4e9 {
    --margin-top: 0px !important;
    --margin-bottom: 0px !important;
    --padding-top: 24px !important;
    --padding-bottom: 24px !important;
    --padding-left: 16px !important;
    --padding-right: 16px !important;
    --gap: 12px 12px !important;
    --row-gap: 12px !important;
    --column-gap: 12px !important;
  }

  .elementor-1008 .elementor-element.elementor-element-5823d2b,
  .elementor-1008 .elementor-element.elementor-element-ceaafa8 {
    margin-top: 0 !important;
  }

  .elementor-1008 .elementor-element.elementor-element-0da77b1 .elementor-background-video-container.elementor-hidden-mobile {
    display: block !important;
    inset: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .elementor-1008 .elementor-element.elementor-element-0da77b1 .elementor-background-video-container.elementor-hidden-mobile video.elementor-background-video-hosted {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
  }
}

/* Products page mobile video-element adaptation without changing semantics */
@media (max-width: 767px) {
  .elementor-1008 .elementor-element.elementor-element-0da77b1 {
    padding: 0 !important;
    overflow: hidden !important;
  }

  .elementor-1008 .elementor-element.elementor-element-0da77b1 > .elementor-container {
    min-height: 0 !important;
  }

  .elementor-1008 .elementor-element.elementor-element-d51b4e9 {
    --margin-top: 0px !important;
    --margin-bottom: 0px !important;
    --padding-top: 24px !important;
    --padding-bottom: 24px !important;
    --padding-left: 16px !important;
    --padding-right: 16px !important;
    --gap: 12px 12px !important;
    --row-gap: 12px !important;
    --column-gap: 12px !important;
  }

  .elementor-1008 .elementor-element.elementor-element-5823d2b,
  .elementor-1008 .elementor-element.elementor-element-ceaafa8 {
    margin-top: 0 !important;
  }

  .elementor-1008 .elementor-element.elementor-element-0da77b1 video.elementor-background-video-hosted {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
  }
}
