/* Isolated top contact component. Old .topline layout rules do not apply. */
.contact-ribbon {
  position: relative;
  z-index: 70;
  display: block;
  background: var(--navy-dark, #0b2030);
  color: #edf2f6;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0;
}
.contact-ribbon *,
.contact-ribbon *::before,
.contact-ribbon *::after {
  box-sizing: border-box;
}
.contact-ribbon > .ribbon-inner {
  position: relative;
  display: block;
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.contact-ribbon a {
  color: inherit;
  text-decoration: none;
}
.contact-ribbon svg {
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  flex-shrink: 0;
  color: #cfb183;
}
.contact-ribbon .ribbon-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 7px;
  border-bottom: 1px solid #ffffff17;
}
.contact-ribbon .ribbon-context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 12px;
  min-width: 0;
}
.contact-ribbon .ribbon-scope {
  font-size: 11px;
  color: #d2dfe8;
}
.contact-ribbon .ribbon-role {
  flex-shrink: 0;
  padding: 1px 7px;
  border: 1px solid #ffffff1c;
  border-radius: 4px;
  color: #aebfcd;
  font-size: 9px;
  white-space: nowrap;
}
.contact-ribbon .ribbon-actions {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-shrink: 0;
  max-width: 48%;
}
.contact-ribbon .ribbon-actions > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 29px;
  max-width: 300px;
  padding: 4px 0;
  color: #e0c492;
  font-size: 11px;
  line-height: 1.55;
}
.contact-ribbon .ribbon-actions > a > span {
  min-width: 0;
  white-space: normal;
}
.contact-ribbon .ribbon-actions b {
  flex-shrink: 0;
  font-weight: 400;
}
.contact-ribbon .ribbon-primary {
  padding-inline: 11px !important;
  border: 1px solid #c5a16b48;
  border-radius: 4px;
  background: #c5a16b0a;
  font-weight: 600;
}
.contact-ribbon .ribbon-actions > a:hover {
  color: #fff0d4;
}
.contact-ribbon .ribbon-primary:hover {
  background: #c5a16b16;
  border-color: #c5a16b80;
}
.contact-ribbon .ribbon-contacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 9px;
}
.contact-ribbon .ribbon-contacts > a,
.contact-ribbon .ribbon-contacts > details {
  min-width: 0;
  min-height: 37px;
  padding-left: 22px;
  border-left: 1px solid #ffffff1b;
}
.contact-ribbon .ribbon-contacts > :first-child {
  padding-left: 0;
  border-left: 0;
}
.contact-ribbon .ribbon-phone {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 0 9px;
}
.contact-ribbon .ribbon-phone > svg {
  grid-row: 1 / 3;
}
.contact-ribbon .ribbon-country {
  grid-column: 2;
  font-size: 10px;
  line-height: 1.5;
  color: #aebfcd;
}
.contact-ribbon .ribbon-phone strong {
  grid-column: 2;
  font-family: Manrope, var(--sans, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.contact-ribbon .ribbon-email {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: Manrope, var(--sans, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.contact-ribbon .ribbon-contacts > a:hover,
.contact-ribbon .ribbon-locations[open] > summary {
  color: #e8cfa6;
}
.contact-ribbon a:focus-visible,
.contact-ribbon summary:focus-visible {
  outline: 2px solid #dfbc82;
  outline-offset: 4px;
  border-radius: 4px;
}
.contact-ribbon .ribbon-locations {
  position: relative;
  max-width: none;
  z-index: 75;
}
.contact-ribbon .ribbon-locations > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 37px;
  list-style: none;
  cursor: pointer;
  color: #edf2f6;
  font-size: 11px;
  line-height: 1.65;
  white-space: normal;
}
.contact-ribbon .ribbon-locations > summary::-webkit-details-marker {
  display: none;
}
.contact-ribbon .ribbon-locations > summary::marker {
  content: '';
}
.contact-ribbon .ribbon-locations > summary > span {
  min-width: 0;
}
.contact-ribbon .ribbon-locations > summary > b {
  flex-shrink: 0;
  margin-left: auto;
  color: #d8bd8e;
  font-size: 12px;
  font-weight: 400;
}
.contact-ribbon .topline-map-menu {
  position: absolute;
  top: 100%;
  right: 0;
  bottom: auto;
  left: auto;
  z-index: 90;
  width: min(370px, calc(100vw - 48px));
  max-height: min(570px, calc(100dvh - 160px));
  margin-top: 10px;
  padding: 18px 20px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d9e2e8;
  border-top: 2px solid #c5a16b;
  border-radius: 6px;
  background: #fff;
  color: #102a43;
  box-shadow: 0 14px 38px #102a432b;
}
.contact-ribbon .topline-map-menu > p {
  margin: 0 0 7px;
  color: #85683d;
  font-size: 12px;
  letter-spacing: 0;
}
.contact-ribbon .topline-map-menu > a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #e1e7ed;
  color: #102a43;
  font-size: 12px;
  line-height: 1.8;
}
.contact-ribbon .topline-map-menu strong {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
}
.contact-ribbon .topline-map-menu strong b {
  flex-shrink: 0;
  color: #9b7944;
  font-weight: 400;
}
.contact-ribbon .topline-map-menu > a:hover strong {
  color: #967441;
}
.contact-ribbon .topline-map-menu > a > span {
  display: block;
  margin-top: 4px;
  color: #526b7d;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.contact-ribbon .topline-map-menu > a > small {
  display: block;
  margin-top: 4px;
  color: #647d8e;
  font-size: 10px;
}
.contact-ribbon .topline-visit-note {
  display: block;
  margin-top: 12px;
  color: #657a8a;
  font-size: 11px;
}
@media (max-width: 1049px) {
  .contact-ribbon > .ribbon-inner {
    width: calc(100% - 64px);
  }
  .contact-ribbon .ribbon-contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 8px;
  }
  .contact-ribbon .ribbon-contacts > :nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .contact-ribbon .ribbon-locations {
    position: static;
  }
  .contact-ribbon .topline-map-menu {
    top: 100%;
    right: 0;
    left: auto;
    width: min(370px, 100%);
    max-height: min(570px, calc(100dvh - 220px));
  }
}
@media (max-width: 767px) {
  .contact-ribbon > .ribbon-inner {
    width: calc(100% - 38px);
  }
  .contact-ribbon .ribbon-caption {
    display: block;
    padding-top: 7px;
    padding-bottom: 8px;
  }
  .contact-ribbon .ribbon-context {
    gap: 4px 8px;
    margin-bottom: 7px;
  }
  .contact-ribbon .ribbon-scope {
    font-size: 9px;
    line-height: 1.65;
  }
  .contact-ribbon .ribbon-role {
    padding: 0 5px;
    font-size: 8px;
  }
  .contact-ribbon .ribbon-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: none;
  }
  .contact-ribbon .ribbon-actions > a {
    max-width: none;
    min-height: 34px;
    padding: 5px 7px;
    font-size: 10px;
    text-align: center;
  }
  .contact-ribbon .ribbon-contacts {
    padding-block: 9px;
    row-gap: 7px;
  }
  .contact-ribbon .ribbon-contacts > a,
  .contact-ribbon .ribbon-contacts > details {
    min-height: 35px;
    padding-left: 12px;
  }
  .contact-ribbon .ribbon-contacts > :nth-child(odd) {
    padding-left: 0;
  }
  .contact-ribbon .ribbon-phone {
    gap: 0 7px;
  }
  .contact-ribbon .ribbon-country {
    font-size: 9px;
  }
  .contact-ribbon .ribbon-phone strong {
    font-size: 11px;
    letter-spacing: 0;
  }
  .contact-ribbon .ribbon-email {
    gap: 7px;
    font-size: 11px;
  }
  .contact-ribbon .ribbon-locations > summary {
    min-height: 35px;
    gap: 6px;
    font-size: 10px;
    line-height: 1.55;
  }
  .contact-ribbon .ribbon-locations > summary > b {
    font-size: 10px;
  }
  .contact-ribbon .topline-map-menu {
    width: 100%;
    max-height: min(570px, calc(100dvh - 300px));
    margin-top: 7px;
    padding: 16px 17px;
  }
}

/* Preserve hover while crossing the visual gap into the office menu. */
@media (hover: hover) and (pointer: fine) {
  .contact-ribbon .ribbon-locations[open]::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: min(370px, calc(100vw - 48px));
    height: 12px;
    pointer-events: auto;
  }
}
