html,
body {
  overflow-x: clip;
  background: var(--color-dynamic-background-primary);
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

iframe {
  width: 90vw;
  max-width: 100%;
  height: 90vh;
  max-height: 100%;
}
.map-wrapper iframe {
  max-height: 420px;
}

table {
  border-collapse: separate;
  border-spacing: 0px 0.5rem;
}
table th {
  font-family: var(--font-family-bold);
}

:root {
  --h-scroll-wrapper-height: 180px;
}

.horizontal-scroll-wrapper {
  display: flex;
  flex-wrap: nowrap;
  height: var(--h-scroll-wrapper-height);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: var(--number-space-2);
  scroll-behavior: smooth;
  scrollbar-width: thin;
  /* Hide scrollbar for Chrome/Safari but keep functionality */
}
.horizontal-scroll-wrapper > .image-wrapper {
  flex: 0 0 auto;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--number-corner-1);
}
.horizontal-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}
.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.2);
}

.has-content-hidden {
  position: relative;
}
.has-content-hidden .content-hidden.hide + .content-hidden-overlay::before {
  display: flex;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 10rem;
  background: var(--color-static-background-light-primary);
  background: var(--color-gradient-white);
  content: "";
  pointer-events: none;
}
.has-content-hidden .content-hidden.hide ~ [class*=btn] {
  z-index: 1;
  position: relative;
}
.has-content-hidden p:last-of-type,
.has-content-hidden .content-hidden:not(.hide) {
  margin-bottom: 1.85rem;
}

.list-multi-column {
  break-inside: avoid-column; /* Prevents breaking inside elements */
}
.list-multi-column--3 {
  column-count: 3;
}
.list-multi-column--3 li {
  break-inside: avoid-column; /* Specifically prevents breaking inside list items */
  page-break-inside: avoid; /* Older browser support */
}

ul {
  margin-left: 2ch;
}
ul li {
  padding-left: 0.25ch;
  line-height: var(--text-line-height-default);
  list-style-type: disc;
}
ul li::marker {
  color: var(--color-key-primary);
}
ul li + li {
  margin-top: var(--number-space-1);
}

.ul-reset {
  margin-left: unset;
}
.ul-reset > li {
  padding-left: unset;
  line-height: unset;
  list-style-type: unset;
}
.ul-reset > li + li {
  margin-top: unset;
}
