/*
  Based on the CSS of Pandoc's `data/templates/styles.html`, licensed
  under the BSD 3-clause license. Copyright (c) 2014--2023, John MacFarlane.
  See https://github.com/jgm/pandoc for details.
*/

.maplibregl-popup-content {
  hyphens: auto;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0px !important;
}

.maplibregl-popup-content h1, h2, h3, h4 {
  font-weight: bold;
  margin: 0 0 0.5em;
}

.maplibregl-popup-content h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.maplibregl-popup-content h2 {
  font-size: 1.5rem;
  line-height: 2rem;
}

.maplibregl-popup-content h3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.maplibregl-popup-content h4 {
  font-size: 1rem;
  line-height: 1.5rem;
}

.maplibregl-popup-content p {
  margin: 0 0 1em;
}

.maplibregl-popup-content a {
  color: blue;
  text-decoration-line: underline;
}

.maplibregl-popup-content img {
  max-width: 100%;
}

.maplibregl-popup-content svg {
  height: auto;
  max-width: 100%;
}

.maplibregl-popup-content ul {
  list-style-type: disc;
}

.maplibregl-popup-content ol {
  list-style-type: decimal;
}

.maplibregl-popup-content ol, ul {
  padding-left: 1.7em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.maplibregl-popup-content li > ol, li > ul {
  margin-top: 0;
}

.maplibregl-popup-content blockquote {
  margin: 1em 0 1em 1.7em;
  padding-left: 1em;
  border-left: 2px solid #e6e6e6;
  color: #606060;
}

.maplibregl-popup-content code {
  font-family: monospace, Menlo, Monaco, Consolas, 'Lucida Console';
  margin: 0;
  hyphens: manual;
}

.maplibregl-popup-content pre {
  margin: 1em 0;
  overflow: auto;
}

.maplibregl-popup-content pre code {
  padding: 0;
  overflow: visible;
  overflow-wrap: normal;
}

.maplibregl-popup-content hr {
  background-color: #1a1a1a;
  border: none;
  height: 1px;
  margin: 1em 0;
}

.maplibregl-popup-content code {
  white-space: pre-wrap;
}

.poi-popup {
    --tw-drop-shadow: drop-shadow(0 20px 13px rgb(0 0 0 / 0.09)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.24));
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
