/* Shared Xtreme menu for the company pages (loaded after each company's own stylesheet) */
/* Urgent Help and Book take the colors of the company page they are on:
   Book in its main color, Urgent Help in its lighter accent (from the company stylesheet) */
.bar nav .nav-cta { background: var(--orange); color: var(--on-accent); }
.bar nav .nav-urgent { background: var(--gold); color: #0b0a09; } /* dark text reads on every light accent */
.bar nav .nav-cta:hover, .bar nav .nav-cta:focus-visible, .bar nav .nav-cta[aria-current="page"] { filter: brightness(1.15); }
.bar nav .nav-cta + .nav-cta { margin-left: -8px; }
@media (max-width: 1180px) and (min-width: 561px) {
  .bar { flex-wrap: wrap; row-gap: 14px; }
  .bar nav { width: 100%; justify-content: flex-start; }
}
/* Companies list in the menu */
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.nav-drop[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.nav-drop summary:hover, .nav-drop summary:focus-visible, .nav-drop[open] summary { color: var(--gold); }
.nav-drop ul { position: absolute; top: calc(100% + 14px); left: -14px; z-index: 30; min-width: 250px; margin: 0; padding: 8px; list-style: none; background: #14110f; border: 1px solid #2e2721; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.nav-drop li a { display: block; padding: 11px 12px 11px 14px; border-left: 3px solid var(--c); color: #f4eee6; text-decoration: none; letter-spacing: .1em; }
.nav-drop li + li { margin-top: 4px; }
.nav-drop li a:hover, .nav-drop li a:focus-visible, .nav-drop li a[aria-current="page"] { background: color-mix(in srgb, var(--c) 16%, transparent); }
@media (max-width: 820px) { .bar nav { position: relative; } .nav-drop { position: static; } .nav-drop ul { left: 0; right: 0; top: calc(100% + 8px); min-width: 0; } }
/* The company's own section links, in its color, under the shared menu */
.co-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 0 0 6px; padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--c); background: color-mix(in srgb, var(--c) 9%, transparent); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.co-bar a { color: var(--muted); text-decoration: none; }
.co-bar a:hover, .co-bar a:focus-visible { color: var(--t); }
.co-bar .co-name { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--t); font-weight: 500; }
.co-bar .co-cta { padding: 7px 12px; background: var(--c); color: var(--on-accent); }
.co-bar .co-cta:hover, .co-bar .co-cta:focus-visible { color: var(--on-accent); filter: brightness(1.12); }
@media (max-width: 560px) { .co-bar { gap: 8px 16px; } .co-bar .co-name { width: 100%; } }

/* Company hero drawings (same style as the Information Technology hero and the desktop wallpapers) */
.hero-art { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.hero[style*="hero-art.svg"] { background: var(--bg) !important; overflow: hidden; }
.hero[style*="hero-art.svg"]::before { content: ""; position: absolute; top: 60px; bottom: 150px; right: 4%; width: 36%; background: var(--hero) no-repeat center / contain; pointer-events: none; }
.hero[style*="hero-art.svg"] .hero-inner, .hero[style*="hero-art.svg"] .facts { position: relative; z-index: 1; }
/* 3D Print Creations: its one-line heading is long, so its drawing stays smaller and further right */
.hero[style*="3d-print-creations"]::before { top: 150px; bottom: 140px; width: 25%; right: 3%; }
@media (max-width: 1000px) { .hero[style*="hero-art.svg"]::before { width: 44%; right: 0; opacity: .55; } }
@media (max-width: 820px) {
  .hero[style*="hero-art.svg"]::before { top: 30%; bottom: 140px; right: -14%; width: 88%; opacity: .3; }
  .hero-art { max-width: 300px; }
}

/* "Managed Services & Information Technology" sits under the XTREME logo (all screen sizes) */
.bar .mark.brand { flex-direction: column; align-items: flex-start; gap: 7px; }
.bar .mark.brand small { display: block; margin: 0; font-size: 0.58rem; letter-spacing: 0.14em; line-height: 1.2; white-space: nowrap; }
@media (max-width: 560px) { .bar .mark.brand small { font-size: 0.54rem; } }
