/* 10x.fi ONE SHARED MENU CSS */
html {
  overflow-y: scroll !important;
}

body {
  padding-top: 78px !important;
}

.tenx-site-header,
.tenx-site-header * {
  box-sizing: border-box !important;
}

.tenx-site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 78px !important;
  z-index: 999999 !important;
  background: rgba(3,7,18,.90) !important;
  border-bottom: 1px solid rgba(214,180,106,.18) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.34) !important;
  backdrop-filter: blur(20px) !important;
  overflow: visible !important;
}

.tenx-site-nav {
  max-width: 1200px !important;
  height: 78px !important;
  margin: 0 auto !important;
  padding: 0 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 22px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  overflow: visible !important;
}


.tenx-site-logo {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 172px !important;
  min-width: 172px !important;
  height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-decoration: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}


.tenx-site-logo img {
  display: block !important;
  width: 166px !important;
  max-width: 166px !important;
  max-height: 46px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 16px rgba(255,230,163,.18)) !important;
}

.tenx-site-menu {
  height: 78px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.tenx-site-menu a,
.tenx-site-dropbtn {
  height: 40px !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 13px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #e5e7eb !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.tenx-site-menu a:hover,
.tenx-site-services:hover .tenx-site-dropbtn {
  color: #ffe6a3 !important;
  background: rgba(214,180,106,.08) !important;
}

.tenx-site-cta {
  background: linear-gradient(135deg,#ffe6a3,#d6b46a) !important;
  color: #07111f !important;
  padding: 0 18px !important;
  font-weight: 950 !important;
  box-shadow: 0 14px 30px rgba(214,180,106,.20) !important;
}

.tenx-site-services {
  position: relative !important;
  height: 78px !important;
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}

.tenx-site-dropdown {
  position: absolute !important;
  top: 68px !important;
  left: 0 !important;
  width: 330px !important;
  padding: 12px !important;
  background: rgba(7,17,31,.98) !important;
  border: 1px solid rgba(214,180,106,.24) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.42) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 1000000 !important;
}

.tenx-site-dropdown::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: -18px !important;
  height: 20px !important;
}

.tenx-site-services:hover .tenx-site-dropdown,
.tenx-site-services:focus-within .tenx-site-dropdown,
.tenx-site-dropdown:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.tenx-site-dropdown a {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  color: #e5e7eb !important;
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
}

.tenx-site-dropdown a:hover {
  background: rgba(214,180,106,.10) !important;
  color: #ffe6a3 !important;
}

/* Hide old menu systems everywhere */
.tenx-clean-header,
.tenx-locked-header,
.tenx-unified-shell,
.nav-shell,
.site-header,
.header,
.wrap > .nav,
.wrap > nav:not(.tenx-site-nav),
body > nav,
body > header:not(.tenx-site-header) {
  display: none !important;
}

.tenx-site-header,
.tenx-site-header nav,
.tenx-site-header .tenx-site-nav,
.tenx-site-header .tenx-site-menu {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 900px) {
  body {
    padding-top: 78px !important;
  }

  .tenx-site-nav {
    padding: 0 12px !important;
    gap: 10px !important;
  }

  .tenx-site-logo {
    width: 112px !important;
    min-width: 112px !important;
    height: 48px !important;
  }

  .tenx-site-logo img {
    width: 108px !important;
    max-width: 108px !important;
    max-height: 34px !important;
  }

  .tenx-site-menu {
    flex: 1 !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scrollbar-width: none !important;
  }

  .tenx-site-menu::-webkit-scrollbar {
    display: none !important;
  }

  .tenx-site-menu a,
  .tenx-site-dropbtn {
    font-size: 13px !important;
    padding: 0 9px !important;
  }

  .tenx-site-dropdown {
    position: fixed !important;
    top: 72px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(92vw, 330px) !important;
    max-height: calc(100vh - 90px) !important;
    overflow-y: auto !important;
  }
}
/* /10x.fi ONE SHARED MENU CSS */


/* 10X MOBILE CTA FIX */
@media (max-width: 900px) {
  .tenx-site-header {
    height: 76px !important;
  }

  .tenx-site-nav {
    height: 76px !important;
    padding: 0 12px !important;
    gap: 8px !important;
    justify-content: space-between !important;
  }

  .tenx-site-logo {
    width: 104px !important;
    min-width: 104px !important;
    height: 46px !important;
  }

  .tenx-site-logo img {
    width: 100px !important;
    max-width: 100px !important;
    max-height: 32px !important;
  }

  .tenx-site-menu {
    flex: 1 !important;
    height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }

  /* Mobiilissa pidetään ylämenu rauhallisena */
  .tenx-site-menu > a[href="/"],
  .tenx-site-menu > a[href="/hinnoittelu/"] {
    display: none !important;
  }

  .tenx-site-services {
    height: 76px !important;
    flex: 0 0 auto !important;
  }

  .tenx-site-dropbtn {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
  }

  .tenx-site-cta {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    height: 38px !important;
    min-height: 38px !important;
    min-width: 104px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .tenx-site-dropdown {
    position: fixed !important;
    top: 72px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(92vw, 330px) !important;
    max-height: calc(100vh - 90px) !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 370px) {
  .tenx-site-nav {
    padding: 0 9px !important;
    gap: 6px !important;
  }

  .tenx-site-logo {
    width: 92px !important;
    min-width: 92px !important;
  }

  .tenx-site-logo img {
    width: 88px !important;
    max-width: 88px !important;
  }

  .tenx-site-dropbtn {
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  .tenx-site-cta {
    min-width: 92px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
  }
}
/* /10X MOBILE CTA FIX */



/* 10X REAL LOGO SIZE FIX */
@media (max-width: 900px) {
  .tenx-site-logo {
    width: 124px !important;
    min-width: 124px !important;
  }

  .tenx-site-logo img {
    width: 120px !important;
    max-width: 120px !important;
    max-height: 36px !important;
  }
}

@media (max-width: 370px) {
  .tenx-site-logo {
    width: 108px !important;
    min-width: 108px !important;
  }

  .tenx-site-logo img {
    width: 104px !important;
    max-width: 104px !important;
  }
}
/* /10X REAL LOGO SIZE FIX */
