/**
 * ASOR — topbar desktop (≥993px) stile CEDIM
 * Orari sx | numero blu CENTRATO | email dx
 * Il numero usa position:absolute left:50% — stesso asse del logo hero sotto
 */
@media (min-width: 993px) {
  html body .ja-topbar,
  html.itemid-101.home .ja-topbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
    position: relative !important;
    overflow: hidden !important;
  }

  html body .ja-topbar .container.asor-topbar-row,
  html.itemid-101.home .ja-topbar .container.asor-topbar-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    min-height: 68px !important;
    height: 68px !important;
    padding: 0 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1240px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* annulla grid legacy */
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    column-gap: 0 !important;
  }

  html body .ja-topbar .topbar-left.pull-left,
  html.itemid-101.home .ja-topbar .topbar-left.pull-left {
    flex: 1 1 auto !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    z-index: 1 !important;
  }

  html body .ja-topbar .topbar-right.pull-right,
  html.itemid-101.home .ja-topbar .topbar-right.pull-right {
    flex: 1 1 auto !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: right !important;
    display: block !important;
    z-index: 1 !important;
  }

  html body .ja-topbar .customtopbar-max912px {
    display: none !important;
  }

  html body .ja-topbar .customtopbar-min913px,
  html.itemid-101.home .ja-topbar .customtopbar-min913px {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body .ja-topbar .customtopbar-min913px p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    font-weight: 500 !important;
  }

  html body .ja-topbar .topbar-list > li a,
  html body .ja-topbar .email-item a {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #fff !important;
  }

  html body .ja-topbar .topbar-icon,
  html body .ja-topbar .email-item .email-icon {
    display: inline-block !important;
    font-size: 18px !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Numero blu — centrato come CEDIM (.cedim-topbar-numero-desktop) */
  html body .ja-topbar .asor-topbar-call-wrap,
  html body .ja-topbar .asor-topbar-call-wrap--wide,
  html body .ja-topbar .asor-topbar-call-wrap.asor-topbar-numero-center,
  html.itemid-101 .ja-topbar .asor-topbar-call-wrap.asor-topbar-numero-center,
  html.itemid-101.home .ja-topbar .asor-topbar-call-wrap,
  html.itemid-101.home .ja-topbar .asor-topbar-call-wrap.asor-topbar-call-wrap--wide,
  html.itemid-101.home .ja-topbar .asor-topbar-call-wrap.asor-topbar-numero-center {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    -webkit-transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
    width: 150px !important;
    max-width: 150px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    flex: none !important;
    grid-column: unset !important;
    grid-row: unset !important;
    justify-self: unset !important;
    align-self: unset !important;
    line-height: 0 !important;
    pointer-events: auto !important;
  }

  html body .ja-topbar .asor-topbar-call-wrap--wide .asor-numero-blu-forma:not(.asor-numero-blu-forma--compact):not(.asor-numero-blu-forma--floating),
  html.itemid-101.home .ja-topbar .asor-topbar-call-wrap--wide .asor-numero-blu-forma {
    display: inline-block !important;
    width: 100% !important;
    max-width: 150px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 10px !important;
    line-height: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    vertical-align: middle !important;
  }

  html body .ja-topbar .asor-topbar-call-wrap--wide .asor-numero-blu-forma:not(.asor-numero-blu-forma--compact):not(.asor-numero-blu-forma--floating) .asor-numero-blu-img,
  html.itemid-101.home .ja-topbar .asor-topbar-call-wrap--wide .asor-numero-blu-forma .asor-numero-blu-img,
  html body .ja-topbar .asor-topbar-call-wrap--wide .asor-numero-blu-forma .asor-numero-blu-img {
    width: 100% !important;
    max-width: 150px !important;
    height: auto !important;
    max-height: 58px !important;
    min-height: 52px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
  }
}
