:root {
  color-scheme: light;
}

.osc-map-toolbar {
  align-items: center;
  background: #fff;
  border-bottom: 3px solid #2158e8;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 0.75rem 1.125rem;
  position: relative;
  z-index: 5;
}

.osc-map-brand {
  color: #111827;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.osc-map-brand .the {
  color: #2158e8;
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  margin-right: 0.1875rem;
}

.osc-map-return {
  align-items: center;
  background: #edf3ff;
  border-radius: 999px;
  color: #1743a0;
  display: inline-flex;
  font: 700 0.8125rem/1 Arial, Helvetica, sans-serif;
  gap: 0.375rem;
  padding: 0.625rem 0.875rem;
  text-decoration: none;
}

.osc-map-return:hover,
.osc-map-return:focus-visible {
  background: #dbe8ff;
  color: #102f75;
}

body > main {
  height: calc(100vh - 4.25rem);
  min-height: 30rem;
}

html.embedded-map .osc-map-toolbar {
  display: none;
}

html.embedded-map body > main {
  height: 100vh;
  min-height: 0;
}

@media (max-width: 900px) {
  body > main {
    height: auto;
    min-height: calc(100vh - 4.25rem);
  }

  html.embedded-map body > main {
    display: block;
    height: clamp(30rem, 78svh, 47rem);
    min-height: 0;
  }

  html.embedded-map aside {
    display: none;
  }
}

@media (max-width: 420px) {
  .osc-map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
