.r8-site-chrome > .header {
  position: relative;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid var(--r8-green-line);
}
.r8-site-chrome .header-inner {
  width: min(1160px, calc(100% - 2rem));
  min-height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.r8-site-chrome .header a { color: #163b30; text-decoration: none; }
.r8-site-chrome .header a:hover { color: var(--r8-green); text-decoration: underline; }
.r8-site-chrome .header .brand { display: flex; align-items: center; gap: 9px; font-weight: 800; line-height: 1.25; }
.r8-site-chrome .header .brand img { flex: none; }
.r8-site-chrome .header .brand small { display: block; margin-top: 3px; font-size: 10px; font-weight: 500; }
.r8-site-chrome .header .nav { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 700; }
.r8-site-chrome .header .nav a { display: inline-flex; align-items: center; min-height: 44px; }
.r8-site-chrome .header .nav .contact { padding-inline: 13px; border: 1px solid #c9dcd1; border-radius: 24px; }
.r8-site-chrome .header .mobile-menu { display: none; }
.r8-site-chrome .ub-footer { background: #084e39; }
.r8-site-chrome .ub-footer > .ub-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 20px;
}
.r8-site-chrome .ub-footer nav { border: 0; padding: 0; font-size: 13px; }
.r8-site-chrome .ub-footer nav a { padding-block: 5px; }
.r8-site-chrome .home-footer-brand p { margin: 2px 0; font-size: 12px; }
.r8-site-chrome .ub-footer small {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #ffffff40;
  font-size: 12px;
}
@media (max-width: 800px) {
  .r8-site-chrome .header .nav { display: none; }
  .r8-site-chrome .header .mobile-menu { display: block; }
  .r8-site-chrome .mobile-menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    list-style: none;
    cursor: pointer;
  }
  .r8-site-chrome .mobile-menu summary::-webkit-details-marker { display: none; }
  .r8-site-chrome .mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    padding: 8px 16px;
    background: white;
    box-shadow: var(--r8-shell-shadow);
  }
  .r8-site-chrome .mobile-nav a { padding: 10px 8px; font-weight: 700; }
}
@media (max-width: 620px) {
  .r8-site-chrome:not(.r8-footer-compact-late) .ub-footer > .ub-container { grid-template-columns: minmax(0, 1fr); }
  .r8-site-chrome:not(.r8-footer-compact-late) .ub-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .r8-site-chrome.r8-footer-compact-late .ub-footer > .ub-container { grid-template-columns: minmax(0, 1fr); }
  .r8-site-chrome.r8-footer-compact-late .ub-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
