/* Shared product sub-navigation: ensure the authenticated Customer Login
   button remains visible for all eleven Veyora product pages.
   Older product-pages.css intentionally hides .p-subnav-login on phones.
   This stylesheet is loaded last on marketing pages to override that rule. */
.p-page .p-subnav>.h-wrap{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:clamp(10px,1.35vw,20px);
  min-width:0;
  max-width:1320px;
}
.p-page .p-subnav-brand{flex:0 0 auto}
.p-page .p-subnav>.h-wrap>div{
  display:flex;
  flex:1 1 auto;
  min-width:0;
  margin-left:0;
  align-items:center;
  gap:clamp(12px,1.45vw,25px);
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
}
.p-page .p-subnav>.h-wrap>div::-webkit-scrollbar{display:none}
.p-page .p-subnav>.h-wrap>div>a{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  min-height:42px;
  line-height:1.35;
  scroll-snap-align:start;
}
.p-page .p-subnav .p-subnav-login{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  white-space:nowrap;
  min-height:43px;
  min-width:120px;
  padding:10px 17px!important;
  border:1px solid #7286ff!important;
  border-radius:10px;
  background:#0022EE!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:750;
  line-height:1.25;
  text-decoration:none!important;
  box-shadow:0 3px 11px rgba(0,0,0,.16);
  touch-action:manipulation;
}
.p-page .p-subnav .p-subnav-login:hover{
  background:#1537ff!important;
  border-color:#c7d0ff!important;
  color:#fff!important;
}
.p-page .p-subnav .p-subnav-login:focus-visible{
  outline:3px solid #b7caff!important;
  outline-offset:3px!important;
}
@media(max-width:1250px){
  .p-page .p-subnav-brand{display:none}
  .p-page .p-subnav>.h-wrap{gap:12px}
}
@media(max-width:700px){
  /* Keep section tabs scrollable while the login button stays pinned
     to the right, rather than hiding it or causing horizontal overflow. */
  .p-page .p-subnav>.h-wrap{
    display:flex!important;
    width:100%;
    min-height:58px;
    padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));
    gap:9px;
  }
  .p-page .p-subnav-brand{display:none!important}
  .p-page .p-subnav>.h-wrap>div{
    flex:1 1 auto;
    min-width:0;
    padding:0;
    gap:18px;
    scroll-padding-inline:4px;
  }
  .p-page .p-subnav>.h-wrap>div>a{
    min-height:43px;
    font-size:11px;
  }
  .p-page .p-subnav .p-subnav-login{
    display:inline-flex!important;
    flex:0 0 auto;
    min-height:43px;
    min-width:0;
    padding:9px 12px!important;
    font-size:11px!important;
    border-radius:9px;
  }
}
@media(max-width:365px){
  .p-page .p-subnav>.h-wrap{gap:6px}
  .p-page .p-subnav>.h-wrap>div{gap:14px}
  .p-page .p-subnav .p-subnav-login{padding:9px 10px!important;font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){
  .p-page .p-subnav>.h-wrap>div{scroll-behavior:auto}
}


/* AURTIV universal marketing product bar.
   New specialist products use this scoped layout rather than inheriting the
   legacy .p-page shell rules. Keep the login action pinned on narrow screens. */
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar{
  position:sticky!important;
  top:88px!important;
  z-index:85!important;
  display:block!important;
  width:100%;
  max-width:none;
  margin:88px 0 0!important;
  padding:0!important;
  background:rgba(252,251,255,.97)!important;
  border-block:1px solid #e2dded!important;
  backdrop-filter:blur(20px);
  box-shadow:0 10px 28px #30275a0a;
}
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__inner{
  width:min(1280px,calc(100% - 64px));
  min-height:76px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:clamp(12px,1.7vw,28px);
  min-width:0;
}
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__brand{
  flex:0 1 195px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  color:#38315a!important;
}
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__links{
  flex:1 1 auto;
  display:flex;
  min-width:0;
  align-items:center;
  gap:clamp(16px,2.5vw,38px);
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
}
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__links::-webkit-scrollbar{display:none}
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__links>a{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  min-height:42px;
  white-space:nowrap;
  scroll-snap-align:start;
  color:#283650!important;
  text-decoration:none!important;
  font-size:clamp(12px,1.05vw,15px);
  font-weight:600;
  line-height:1.35;
  transition:color .18s ease;
}
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__links>a:hover{
  color:#4d43df!important;
}
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__login{
  display:inline-flex!important;
  flex:0 0 auto;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:12px clamp(16px,1.9vw,28px)!important;
  border:1px solid #5147e9!important;
  border-radius:17px!important;
  background:linear-gradient(135deg,#5546e7,#473bd7)!important;
  color:#fff!important;
  font-size:clamp(12px,1.15vw,16px)!important;
  font-weight:750!important;
  line-height:1.25;
  text-align:center;
  text-decoration:none!important;
  white-space:nowrap;
  box-shadow:0 10px 28px #4d43df22;
  touch-action:manipulation;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__login:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px #4d43df30;
}
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar :focus-visible{
  outline:3px solid #796eff!important;
  outline-offset:3px!important;
}
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar~main section[id],
html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar~main [id="business-value"]{
  scroll-margin-top:183px!important;
}
@media(max-width:1180px){
  html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__brand{display:none}
}
@media(max-width:760px){
  html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__inner{
    width:100%;
    min-height:64px;
    padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));
    gap:10px;
  }
  html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__links{gap:18px;scroll-padding-inline:6px}
  html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__links>a{font-size:12px;min-height:42px}
  html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__login{
    min-height:42px;
    min-width:0;
    padding:10px 13px!important;
    border-radius:12px!important;
    font-size:12px!important;
  }
}
@media(max-width:365px){
  html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__inner{gap:7px}
  html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__links{gap:13px}
  html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__login{padding:10px 11px!important;font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){
  html[data-aurtiv-page="marketing"] .aurtiv-product-login-bar__login{transition:none!important}
}
