.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.poi-table-wrap {
  overflow: visible !important;
}

.sqs-block-content {
  overflow: visible !important;
}

.poi-table-wrap thead th {
  position: sticky;
  top: 40px;
  z-index: 80;
  background: rgb(16, 132, 82);
  color: white;
  border: 1px solid #ccc;
}

.poi-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.poi-table th,
.poi-table td {
  padding: 10px 20px 10px 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.poi-table a {
  text-decoration: underline;
}

.poi-loading {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.poi-section {
  margin: 28px 0;
}

.poi-section h2 {
  position: sticky;
  top: 40px;
  background: white;
  z-index: 70;
  padding: 10px 10px 10px 0px;
}

.poi-jump__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-left: 18px;
}

.poi-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* Button styling – match your link look */
.poiMaps {
  position: relative;
  text-align: center;
}

.mapsBtn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  padding: .25rem .5rem;
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  background: rgb(16, 132, 82);
  color: white;
  min-width: 85px;
  width: 75%;
}

.mapsBtn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  text-decoration: none;
}

.mapsBtnCaret {
  margin-left: .25rem;
  font-size: .9em;
  display: inline-block;
  transform-origin: center;
  transition: transform 160ms cubic-bezier(.4, 0, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .mapsBtnCaret {
    transition: none;
  }
}

tr.maps-menu-open .mapsBtnCaret {
  transform: rotate(-90deg);
}

.mapsMenu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 2px solid rgb(16, 132, 82);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .88);
  padding: 6px;
  z-index: 85;
  max-height: 85vh;
  overflow-y: auto;
}

/* Make button menu items look like links */
.mapsMenuItem {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  text-align: left;

  background: none;
  border: 0;
  padding: 10px 5px;

  font: inherit;
  color: inherit;
  text-decoration: none !important;

  cursor: pointer;
}

@supports selector(:focus-visible) {
  .mapsMenuItem:focus {
    outline: none;
  }
}

.mapsMenuItem+.mapsMenuItem {
  border-top: 1px solid rgba(0, 0, 0, 0.45);
}

.mapsMenuItem:focus-visible {
  outline: 2px solid rgb(16, 132, 82) !important;
  outline-offset: -2px !important;
  background: rgba(0, 0, 0, 0.08) !important;
  border-radius: 8px !important;
}

.mapsMenuItem:hover {
  background: rgba(0, 0, 0, 0.06) !important;
  outline: none !important;
  border-radius: 8px !important;
}

.mapsMenuCancel {
  margin-top: 6px;
  padding-top: 12px;
  font-weight: 600;
  border-top: 2px solid rgba(0, 0, 0, 0.75) !important;
}

.mapsBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 9998;
}

@media (max-width: 640px) {
  .mapsMenu {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: auto;
    min-width: 0;
    border-radius: 16px;
    padding: 10px;
    z-index: 9999;
  }

  /*.mapsBtnCaret {
    transform: none !important;
  }*/
}

/* Row highlight while Maps menu is open */
tr.maps-menu-open {
  background: rgba(0, 0, 0, 0.06);
}

/* Optional: also emphasize the name cell */
tr.maps-menu-open td:first-child {
  font-weight: 600;
  padding-right: 5px;
}

/* Maps dropdown title bar */
.mapsMenuTitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 4px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 4px;
}

.mapsMenuTitle__text {
  flex: 1;
  min-width: 0;
}

.mapsMenuTitle__name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a1a1a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mapsMenuTitle__category {
  display: block;
  font-size: 0.72rem;
  color: rgb(16, 132, 82);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.mapsMenuTitle__close {
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.mapsMenuTitle__close:hover {
  background: #f0f0f0;
  color: #111;
  border-color: #999;
}

.mapsMenuTitle__close:focus-visible {
  outline: 2px solid rgb(16, 132, 82);
  outline-offset: 2px;
}