/* Shared navigation, based on the second-edition Home header. */
:where(html) { scroll-padding-top: 100px; }

.aubson-header,
.aubson-footer {
  font: 400 16px/1.6 Arial, Helvetica, sans-serif;
}

.aubson-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: #222;
  background: #ffffffed;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #dce3e7;
}

.aubson-nav, .aubson-footer-wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.aubson-header .aubson-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 88px;
}

.aubson-header a, .aubson-footer a {
  color: inherit;
  text-decoration: none;
}

.aubson-header :focus-visible, .aubson-footer :focus-visible {
  outline: 3px solid #10b4eb;
  outline-offset: 5px;
}

.aubson-home img {
  display: block;
  width: 165px;
  height: auto;
}

.aubson-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.aubson-header .aubson-links a {
  font: inherit;
  line-height: 1.5;
  white-space: nowrap;
}

.aubson-header .aubson-links a:hover,
.aubson-header .aubson-links [aria-current="page"] {
  color: #087eb7;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.aubson-header .aubson-links .aubson-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  color: white;
  background: #087eb7;
  font-weight: 700;
}

.aubson-header .aubson-links .aubson-contact:hover {
  background: #096694;
}

.aubson-menu {
  display: none;
  padding: 9px 12px;
  border: 1px solid #dce3e7;
  color: #222;
  background: white;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .aubson-links { gap: 14px; font-size: 14px; }
  .aubson-home img { width: 145px; }
  .aubson-header .aubson-links .aubson-contact { padding: 12px 16px; }
}

@media (max-width: 900px) {
  .aubson-header .aubson-nav { height: 78px; }
  .aubson-links { gap: 12px; flex-wrap: wrap; }
  .aubson-header[data-menu] .aubson-menu { display: block; }
  .aubson-header[data-menu] .aubson-links {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 24px;
    background: white;
    flex-direction: column;
    align-items: stretch;
    font-size: 16px;
    flex-wrap: nowrap;
  }
  .aubson-header[data-menu] .aubson-links.open { display: flex; }
}

@media (max-width: 700px) {
  .aubson-nav, .aubson-footer-wrap { width: calc(100% - 40px); }
  .aubson-header:not([data-menu]) .aubson-nav { height: auto; flex-wrap: wrap; padding-block: 12px; }
}

/* Home footer defaults that otherwise come from Home's page styles. */
.aubson-footer { border-top: 1px solid #31404f; }
.aubson-footer .footer-company p { line-height: 1.6; }
.aubson-footer h2 { font-family:Arial, sans-serif; font-weight: 700; letter-spacing:normal; }
.aubson-footer .footer-bottom a:hover { text-decoration: underline; }

.aubson-footer {
  padding: 52px 0 20px;
  background: #0a1a2a;
  border-top-color: #31404f;
  color: #d1dce4;
  font-size: 16px;
}
.aubson-footer .footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
}
.aubson-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}
.aubson-footer .footer-brand img {
  display: block;
  width: 180px;
}
.aubson-footer .footer-company p {
  margin: 0 0 14px;
  color: inherit;
  font-size: inherit;
  text-align: justify;
}
.aubson-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 21px;
  line-height: 1.4;
}
.aubson-footer address {
  font-style: normal;
}
.aubson-footer .footer-contacts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0;
}
.aubson-footer .footer-contacts dt {
  color: #fff;
  font-weight: 700;
}
.aubson-footer .footer-contacts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.aubson-footer .footer-contacts a {
  color: #92dcf4;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.aubson-footer .footer-bottom {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid #31404f;
  text-align: right;
  font-size: 14px;
}
@media (max-width: 800px) {
  .aubson-footer {
    padding-top: 38px;
  }
  .aubson-footer .footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .aubson-footer .footer-company p {
    text-align: left;
  }
}
@media (max-width: 400px) {
  .aubson-footer .footer-contacts {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
  .aubson-footer .footer-contacts dd {
    margin-bottom: 8px;
  }
}

.aubson-footer .footer-contacts dt { font-size: inherit; }
.aubson-footer .footer-contacts a { text-decoration-thickness: auto; }

@media (max-width: 700px) {
  .aubson-footer .footer-company p { line-height: 1.65; }
}

.aubson-header .aubson-links .aubson-contact[aria-current="page"] { color: white; }

/* Matching background for the product and company introductions and site footer. */
.product-hero,
main > .hero[aria-labelledby="headline"],
.aubson-footer {
  background-color: #17344b;
}

/* Match the home partnership section with the product enquiry section. */
#partners.dark { background-color: #20455e; }

/* Standard typography across all four pages and form controls. */
:where(html, body, button, input, select, textarea) {
  font-family: Arial, sans-serif;
  letter-spacing: normal;
}
