.crdb-spot-hub {
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-wrap: anywhere;
}

.crdb-spot-hub__map {
  width: 100%;
  height: 360px;
  margin-bottom: 1.25rem;
  border: 1px solid #dcdcde;
  border-radius: 0.5rem;
  background: #f0f0f1;
  overflow: hidden;
}

.crdb-spot-hub__map-summary {
  margin: -0.5rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #dcdcde;
  border-radius: 0.5rem;
  background: #fff;
}

.crdb-spot-hub__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin-bottom: 0.75rem;
  color: #50575e;
  font-size: 0.85em;
}

.crdb-spot-hub__legend > span { display: inline-flex; align-items: center; gap: 0.35rem; }

.crdb-spot-legend-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--crdb-category-color, #646970);
}

.crdb-spot-hub__marker-heading {
  margin: 0 0 0.55rem;
  font-size: 1em;
  line-height: 1.5;
}

.crdb-spot-hub__marker-heading span { color: #646970; font-size: 0.88em; font-weight: 500; }

.crdb-spot-hub__marker-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 1.5rem;
  margin: 0;
  padding-left: 1.5rem;
}

.crdb-spot-hub__marker-list a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.crdb-spot-hub__marker-list .no-marker { color: #646970; }
.crdb-spot-hub__review-star { color: #dba617; }
.crdb-spot-hub__no-marker { font-size: 0.82em; }
.crdb-spot-hub__star-note { margin: 0.65rem 0 0; color: #646970; font-size: 0.8em; }

.crdb-spot-hub__list {
  display: grid;
  gap: 1.25rem;
}

.crdb-spot-card {
  padding: 1rem;
  border: 1px solid #dcdcde;
  border-radius: 0.5rem;
  background: #fff;
  color: #1d2327;
  transition: border-color 0.2s, box-shadow 0.2s;
  scroll-margin-top: 1.5rem;
}

.crdb-spot-card--highlight {
  border-color: #2271b1;
  box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
}

.crdb-spot-card__header {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.crdb-spot-card__header h3 {
  margin: 0;
  font-size: 1.2em;
  line-height: 1.45;
}

.crdb-spot-card__number,
.crdb-spot-marker span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #2271b1;
  color: #fff;
  font-weight: 700;
}

.crdb-category-color-0 { --crdb-category-color: #2271b1; }
.crdb-category-color-1 { --crdb-category-color: #9b51e0; }
.crdb-category-color-2 { --crdb-category-color: #d63638; }
.crdb-category-color-3 { --crdb-category-color: #008a20; }
.crdb-category-color-4 { --crdb-category-color: #b26200; }
.crdb-category-color-5 { --crdb-category-color: #007c89; }
.crdb-category-color-6 { --crdb-category-color: #8a2424; }
.crdb-category-color-7 { --crdb-category-color: #50575e; }

.crdb-spot-marker span { background: var(--crdb-category-color, #2271b1); }

.crdb-spot-marker {
  background: transparent;
  border: 0;
}

.crdb-spot-marker span {
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.crdb-spot-card__category {
  margin: 0.5rem 0 0 2.75rem;
  font-size: 0.85em;
}

.crdb-spot-category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.7em;
  padding: 0.15em 0.7em;
  border: 1px solid var(--crdb-category-color, #646970);
  border-radius: 999px;
  background: #f6f7f7;
  color: #2c3338;
  line-height: 1.35;
}

.crdb-spot-card__summary {
  margin: 1rem 0;
  line-height: 1.8;
}

.crdb-spot-card__details {
  margin: 1rem 0;
}

.crdb-spot-card__details > div {
  display: grid;
  grid-template-columns: 6em minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-top: 1px solid #f0f0f1;
}

.crdb-spot-card__details dt { font-weight: 600; }
.crdb-spot-card__details dd { margin: 0; }

.crdb-spot-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
}

.crdb-spot-card__reviews {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #dcdcde;
}

.crdb-spot-card__reviews h4 { margin: 0 0 0.75rem; }
.crdb-spot-hub-empty { margin: 0.75rem 0; }

@media (max-width: 600px) {
  .crdb-spot-hub__map { height: 320px; }
  .crdb-spot-card { padding: 0.9rem; }
  .crdb-spot-card__details > div { grid-template-columns: 1fr; gap: 0.15rem; }
	.crdb-spot-hub__marker-list { grid-template-columns: 1fr; }
	.crdb-spot-hub__map-summary { padding: 0.75rem; }
	.crdb-spot-card__header { gap: 0.55rem; }
	.crdb-spot-card__header h3 { font-size: 1.08em; }
	.crdb-spot-card__category { margin-left: 2.55rem; }
}
