/* KO Insurance shared header layout. Loaded last on every page. */
@media (min-width: 921px) {
  .main-header .navrow.ko-menu-ready {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: minmax(62px, auto) minmax(52px, auto);
    column-gap: 12px;
    row-gap: 6px;
    align-items: center;
    min-height: 0;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .main-header .navrow.ko-menu-ready > .brand {
    grid-area: 1 / 1 / 2 / 5;
    justify-self: start;
    align-self: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
  }
  .main-header .navrow.ko-menu-ready > .brand img {
    display: block;
    width: min(100%, 285px);
    max-width: 100%;
    max-height: 62px;
    height: auto;
    object-fit: contain;
    object-position: left center;
  }
  .main-header .navrow.ko-menu-ready > .ko-header-office {
    grid-area: 1 / 5 / 2 / 9;
    position: static;
    inset: auto;
    transform: none;
    justify-self: center;
    align-self: center;
    max-width: 100%;
    min-width: 0;
    gap: 9px;
    margin: 0;
    z-index: auto;
  }
  .main-header .navrow.ko-menu-ready > .ko-header-office strong {
    font-size: 23px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .main-header .navrow.ko-menu-ready > .ko-header-office small { font-size: 13px; }
  .main-header .navrow.ko-menu-ready > .ko-header-office .ko-header-office-label {
    font-size: 10px;
    letter-spacing: 1.3px;
  }
  .main-header .navrow.ko-menu-ready > .header-social {
    grid-area: 1 / 9 / 2 / 13;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    width: auto;
    max-width: 100%;
    min-width: 0;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    flex-wrap: nowrap;
  }
  .main-header .navrow.ko-menu-ready > .header-social > a {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }
  .main-header .navrow.ko-menu-ready > .navlinks {
    grid-area: 2 / 1 / 3 / 11;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0 12px 0 0;
    gap: 12px;
    border: 0;
    font-size: 14px;
  }
  .main-header .navrow.ko-menu-ready > .navlinks > a,
  .main-header .navrow.ko-menu-ready > .navlinks > div {
    flex: 0 0 auto;
  }
  .main-header .navrow.ko-menu-ready > .navlinks > a,
  .main-header .navrow.ko-menu-ready > .navlinks > div > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .15px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
  }
  .main-header .navrow.ko-menu-ready > .navlinks > a:is(.active, [aria-current="page"]),
  .main-header .navrow.ko-menu-ready > .navlinks > div > a:is(.active, [aria-current="page"]) {
    border-bottom-color: #c8182a;
    color: #c8182a;
  }
  .main-header .navrow.ko-menu-ready > .navlinks > div > button {
    min-width: 24px;
    min-height: 44px;
    padding: 0 3px;
  }
  .main-header .navrow.ko-menu-ready > .nav-cta {
    grid-area: 2 / 11 / 3 / 13;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    align-self: center;
    width: 100%;
    min-width: 0;
    max-width: 180px;
    min-height: 46px;
    margin: 0;
    padding: 12px 10px;
    gap: 8px;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .main-header .navrow.ko-menu-ready > .navlinks .nav-insurance-menu a,
  .main-header .navrow.ko-menu-ready > .navlinks .nav-service-menu a,
  .main-header .navrow.ko-menu-ready > .navlinks .ko-resources-menu a {
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
  }
  .main-header .navrow.ko-menu-ready > .navlinks .nav-insurance-menu {
    left: 0;
    right: auto;
  }
}
@media (min-width: 921px) and (max-width: 1100px) {
  .main-header .navrow.ko-menu-ready > .ko-header-office strong { font-size: 20px; }
  .main-header .navrow.ko-menu-ready > .ko-header-office small { font-size: 12px; }
  .main-header .navrow.ko-menu-ready > .header-social::before { display: none; }
  .main-header .navrow.ko-menu-ready > .navlinks { gap: 8px; padding-right: 4px; }
  .main-header .navrow.ko-menu-ready > .navlinks > a,
  .main-header .navrow.ko-menu-ready > .navlinks > div > a { font-size: 13px; }
  .main-header .navrow.ko-menu-ready > .nav-cta { font-size: 12px; gap: 5px; }
}
