/* Keep list markers and disclosure state independent of emoji fonts. */

/* The menu starts closed even while its deferred controller is downloading.
   Browsers with scripting disabled keep the original, usable list of links. */
@media (scripting: enabled) and (width <= 1200px) {
  .site-header .nav-wrap:not(.is-open) {
    display: none;
  }
}

.v9-list li::before,
.service-display li::before {
  content: "";
  width: .32em;
  height: .32em;
  top: 1.36em;
  border-radius: 50%;
  background: currentcolor;
}

.iv-align-ad::before,
.iv-align-page::before {
  content: "";
  width: 1px;
  height: 22px;
  top: -23px;
  background: var(--border);
}

.nav-group > summary:not(:has(> .nav-indicator))::after {
  content: "";
  box-sizing: border-box;
  flex: none;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentcolor;
  border-bottom: 1.5px solid currentcolor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-group[open] > summary:not(:has(> .nav-indicator))::after {
  transform: translateY(2px) rotate(225deg);
}

.attention-layout:not(:has(> .attention-arrow)) {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.service-directory-row:not(:has(> .service-directory-arrow)) {
  grid-template-columns: 2ch minmax(0, 1fr);
}

.sd-scope-item summary:not(:has(> .sd-scope-index)) {
  grid-template-columns: minmax(0, 1fr) 26px;
}

@media (width <= 600px) {
  .attention-layout:not(:has(> .attention-arrow)) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* An independent, versioned choice governs analytics. Only show a second choice
   when the CMS actually has additional scripts waiting for that separate consent. */
@media (scripting: enabled) {
  body:has([data-oz-metrika-banner]:not([hidden])) .t-cookie[data-oz-mode="afterConsent"],
  body:has([data-oz-metrika-banner]) .t-cookie[data-oz-mode="afterConsent"]:not(:has(template[data-oz-gated])) {
    display: none;
  }
}
