:root {
  color-scheme: light;
  color: #505153;
  background: #eae9e7;
  font-family: "Fira Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #eae9e7;
}

a {
  color: #0078eb;
}

.container {
  width: min(100% - 40px, 1170px);
  margin: 0 auto;
}

.preview-notice {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 5px 20px;
  color: #fff;
  background: #333;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-align: center;
}

.preview-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 4px;
}

.preview-switch button {
  border: 0;
  padding: 4px 9px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.preview-switch button[aria-pressed="true"] {
  color: #222;
  background: #fff;
}

.site-header {
  background: #fff;
}

.site-header__utility {
  min-height: 34px;
  border-bottom: 1px solid #ececed;
}

.utility-links {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  min-height: 34px;
}

.utility-links a {
  display: flex;
  align-items: center;
  border-left: 1px solid #ececed;
  padding: 0 14px;
  color: #505153;
  font-size: 13px;
  text-decoration: none;
}

.utility-links a:hover {
  color: #0078eb;
}

.utility-links .login {
  color: #fff;
  background: #00519d;
}

.utility-links .login:hover {
  color: #fff;
  background: #0078eb;
}

.brand-row {
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
}

.brand img {
  display: block;
  width: 221px;
  height: auto;
}

.search-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-button span {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid #505153;
  border-radius: 50%;
}

.search-button span::after {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  background: #505153;
  content: "";
  transform: rotate(45deg);
}

.main-navigation {
  border-top: 1px solid #e0e1e3;
  border-bottom: 4px solid #00519d;
}

.main-navigation .container {
  display: flex;
  gap: 0;
}

.main-navigation a {
  display: block;
  padding: 13px 22px 12px 0;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.main-navigation a:hover {
  color: #0078eb;
}

.page-head {
  padding: 32px 0 30px;
  background: #fff;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  color: #898a8c;
  font-size: 13px;
}

.breadcrumbs a {
  text-decoration: none;
}

.page-head h1 {
  margin: 0 0 10px;
  color: #00519d;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
}

.page-head p {
  max-width: 790px;
  margin: 0;
  color: #505153;
  font-size: 17px;
  line-height: 1.65;
}

.navigator-area {
  padding: 38px 0 72px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 28px;
  align-items: start;
}

.navigator-content {
  min-width: 0;
}

.widget-demo-copy {
  display: none;
  min-height: 380px;
  border-top: 5px solid #00519d;
  padding: clamp(28px, 5vw, 58px);
  background: #fff;
}

.widget-demo-copy h2 {
  margin: 0 0 16px;
  color: #00519d;
  font-size: clamp(25px, 3vw, 36px);
}

.widget-demo-copy p {
  max-width: 680px;
  color: #505153;
  font-size: 17px;
  line-height: 1.7;
}

body[data-preview-variant="widget"] .navigator-content {
  display: none;
}

body[data-preview-variant="widget"] .widget-demo-copy {
  display: block;
}

.context {
  border-top: 5px solid #00519d;
  padding: 20px;
  background: #fff;
}

.context h2 {
  margin: 0 0 15px;
  border-bottom: 1px solid #e0e1e3;
  padding-bottom: 8px;
  color: #333;
  font-size: 20px;
  font-weight: 600;
}

.context > a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e0e1e3;
  padding: 10px 0;
  color: #00519d;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.context > a:hover {
  color: #0078eb;
}

.context p {
  margin: 18px 0 0;
  color: #76777a;
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  padding: 35px 0 42px;
  color: #fff;
  background: #00519d;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-grid strong {
  font-size: 22px;
}

.footer-grid p {
  max-width: 470px;
  margin: 6px 0 0;
  line-height: 1.55;
}

.footer-grid > div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 16px;
}

.footer-grid a {
  color: #fff;
  text-decoration: none;
}

.widget-launcher,
.widget-panel {
  display: none;
}

body[data-preview-variant="widget"] .widget-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #fff;
  background: #00519d;
  box-shadow: 0 10px 35px rgb(0 43 84 / 28%);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.widget-launcher:hover {
  background: #0078eb;
}

.widget-launcher span {
  font-size: 25px;
  line-height: 1;
}

body[data-preview-variant="widget"] .widget-panel:not([hidden]) {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 29;
  display: grid;
  width: min(680px, calc(100vw - 48px));
  max-height: min(800px, calc(100vh - 120px));
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #d8d9db;
  background: #eae9e7;
  box-shadow: 0 20px 60px rgb(0 43 84 / 28%);
}

.widget-panel__header {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 20px;
  color: #fff;
  background: #00519d;
}

.widget-panel__header button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.widget-panel__body {
  overflow: auto;
  padding: 16px;
}

@media (max-width: 860px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, 1170px);
  }

  .brand-row {
    min-height: 94px;
  }

  .brand img {
    width: 180px;
  }

  .main-navigation {
    overflow-x: auto;
  }

  .main-navigation .container {
    width: max-content;
    min-width: 100%;
    padding-left: 12px;
  }

  .main-navigation a {
    padding-right: 18px;
    white-space: nowrap;
  }

  .page-head {
    padding-top: 24px;
  }

  .navigator-area {
    padding-top: 24px;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-grid > div:last-child {
    justify-content: flex-start;
  }

  .preview-notice {
    flex-wrap: wrap;
    gap: 5px 12px;
  }
}

@media (max-width: 500px) {
  .utility-links a:first-child {
    display: none;
  }

  .utility-links a {
    padding-inline: 10px;
  }

  body[data-preview-variant="widget"] .widget-launcher {
    right: 12px;
    bottom: 12px;
  }

  body[data-preview-variant="widget"] .widget-panel:not([hidden]) {
    inset: 52px 0 0;
    width: 100%;
    max-height: none;
    border: 0;
  }
}
