/* Shared application header: link to the editorial guides and examples. */
.topbar.cr-global-nav .cr-header-actions{
  grid-column:3!important;grid-row:1!important;
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:clamp(8px,1.1vw,18px)!important;min-width:0!important
}
.topbar.cr-global-nav .cr-seo-entry{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:40px!important;padding:5px 0!important;
  color:#f0d69a!important;text-decoration:none!important;
  font-size:clamp(.8rem,.95vw,1rem)!important;font-weight:750!important;
  line-height:1.2!important;white-space:nowrap!important
}
.topbar.cr-global-nav .cr-seo-entry:hover,
.topbar.cr-global-nav .cr-seo-entry:focus-visible{
  color:#fff4dc!important;text-decoration:underline!important;text-underline-offset:5px!important
}
.topbar.cr-global-nav .cr-seo-entry:focus-visible{outline:2px solid #f0d69a!important;outline-offset:3px!important}

/* Android tablets: five links fit the available width. */
@media(max-width:900px){
  .topbar.cr-global-nav .cr-header-actions{grid-column:2!important;grid-row:1!important}
  body .topbar.cr-global-nav .main-navigation.cr-nav-v3{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:stretch!important;justify-items:stretch!important;
    gap:4px 7px!important;overflow-x:visible!important;overflow-y:visible!important;
    min-width:0!important;width:100%!important
  }
  body .topbar.cr-global-nav .main-navigation.cr-nav-v3 a{
    display:flex!important;align-items:center!important;justify-content:center!important;
    flex:initial!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;
    min-height:44px!important;padding:7px 3px!important;
    white-space:normal!important;overflow-wrap:break-word!important;text-align:center!important;
    line-height:1.2!important;font-size:.82rem!important
  }
}

/* Phones: a compact header and one swipeable row, including long translations. */
@media(max-width:600px){
  html:root{--cr-global-nav-height:104px}
  body .topbar.cr-global-nav>.shell.nav,body .topbar.cr-global-nav .shell.nav{
    box-sizing:border-box!important;min-height:0!important;
    padding:4px 10px!important;gap:0 6px!important;
    grid-template-rows:44px auto!important
  }
  body .topbar.cr-global-nav .main-navigation.cr-nav-v3{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
    gap:14px!important;padding:0 0 4px!important;margin:0!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    scrollbar-width:thin!important;scrollbar-color:#d9b56d #142d47!important;
    -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain
  }
  body .topbar.cr-global-nav .main-navigation.cr-nav-v3::-webkit-scrollbar{
    display:block!important;height:4px!important
  }
  body .topbar.cr-global-nav .main-navigation.cr-nav-v3::-webkit-scrollbar-thumb{
    background:#d9b56d;border-radius:4px
  }
  body .topbar.cr-global-nav .main-navigation.cr-nav-v3 a{
    flex:0 0 auto!important;width:auto!important;white-space:nowrap!important;
    font-size:.8rem!important;line-height:1.2!important;min-height:44px!important;
    padding:7px 3px!important
  }
  body .topbar.cr-global-nav .main-navigation.cr-nav-v3 a[aria-current="page"]{
    text-underline-offset:5px!important
  }
  body .topbar.cr-global-nav .main-navigation #cristariva-vivaldi-header{
    flex:0 0 44px!important;width:44px!important;min-width:44px!important;
    height:44px!important;margin:0!important
  }
  body .topbar.cr-global-nav #cristariva-finish-chime{
    width:44px!important;height:44px!important
  }
  .topbar.cr-global-nav .cr-header-actions{gap:6px!important;min-width:0!important}
  /* Keep the full translated name, never replace it with the technical "SEO". */
  .topbar.cr-global-nav .cr-seo-entry{
    font-size:.75rem!important;min-width:0!important;max-width:100px!important;
    white-space:normal!important;text-align:center!important;
    min-height:44px!important;padding:3px 1px!important
  }
  body .topbar.cr-global-nav .cr-brand-c{font-size:1.45rem!important}
  body .topbar.cr-global-nav .cr-brand-rest{font-size:1.02rem!important;letter-spacing:.04em!important}
  body .topbar.cr-global-nav .brand small{display:none!important}
  .topbar.cr-global-nav #langBtn.lang{
    box-sizing:border-box!important;width:44px!important;height:44px!important;
    min-width:44px!important;min-height:44px!important;
    padding:4px!important;font-size:.84rem!important
  }
}
