/* Shared desktop header for the front page and subpages. */
@media (min-width: 1200px) {
  body.cdrm-ready .cdrm-original-header,
  body.cdrm-ready #content .cdrm-original-header {
    display: none !important;
  }

  body .cdrm-header,
  body .cdrm-header * {
    box-sizing: border-box;
  }

  body .cdrm-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--cdrm-line);
    font-family: inherit;
  }

  body.admin-bar .cdrm-header {
    top: 32px;
  }

  body .cdrm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 70px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 3px 147px 3px 10px;
  }

  body .cdrm-brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    min-width: 0;
  }

  body .cdrm-brand__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cdrm-navy);
    text-decoration: none;
  }

  body .cdrm-brand__symbol {
    display: block;
    flex: 0 0 80px;
    width: 80px;
    height: auto;
    object-fit: contain;
  }

  body .cdrm-brand__title {
    display: block;
    margin: 0;
    padding: 0;
    color: #173f50;
    font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: .35px;
    text-transform: uppercase;
  }

  body .cdrm-brand__title span {
    display: block;
    white-space: nowrap;
  }

  body .cdrm-open,
  body .cdrm-overlay {
    display: none !important;
  }

  body .cdrm-wide-nav {
    display: block;
    min-width: 0;
    margin-left: auto;
  }

  body .cdrm-wide-list,
  body .cdrm-wide-list .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body .cdrm-wide-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 23px;
  }

  body .cdrm-wide-list > li {
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
    min-height: 44px;
  }

  /* Reserve the toggle width before JavaScript inserts the buttons. */
  body .cdrm-wide-list > li.menu-item-has-children {
    padding-right: 30px;
  }

  body .cdrm-wide-list a {
    color: var(--cdrm-navy);
    text-decoration: none;
  }

  body .cdrm-wide-list > li > a {
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
  }

  body .cdrm-wide-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 30px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cdrm-navy);
    cursor: pointer;
  }

  body .cdrm-wide-toggle svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 200ms ease-out;
  }

  body .cdrm-wide-expanded > .cdrm-wide-toggle svg {
    transform: rotate(180deg);
  }

  body .cdrm-wide-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    min-width: 220px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--cdrm-line);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgb(25 50 60 / 14%);
  }

  body .cdrm-wide-expanded > .sub-menu {
    display: block;
  }

  body .cdrm-wide-list .sub-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.3;
  }

  body .cdrm-wide-list a:hover,
  body .cdrm-wide-list .current-menu-item > a,
  body .cdrm-wide-list .sub-menu a:focus-visible {
    color: var(--cdrm-green);
  }

  body .cdrm-wide-list .sub-menu a:hover,
  body .cdrm-wide-list .sub-menu a:focus-visible {
    background: #f1f6f0;
  }

  body .cdrm-wide-list a:focus-visible,
  body .cdrm-wide-toggle:focus-visible {
    outline: 3px solid var(--cdrm-green);
    outline-offset: 2px;
  }
}
