/* SweetMeet Local Places — Refined editorial image pills
 * Version: 1.0.2 | 24 November 2026
 * CSS-only replacement over v1.0.1; preserves PHP and editorial field logic.
 * Delicate ivory/gold outlined labels, top corners of image, no coloured blocks.
 */
.sm-local-place__image,
.smj-places-page .smj-place-card .smj-card-image { position: relative; }

.sm-lp-editorial {
  position: absolute;
  z-index: 4;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  box-sizing: border-box;
  pointer-events: none;
}

.sm-lp-editorial__roundel {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-height: 0;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(200,169,106,.76);
  background: rgba(252,251,247,.96);
  color: #181818;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .055em;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0,0,0,.14);
}

.sm-lp-editorial__roundel--pick {
  background: rgba(252,251,247,.97);
  color: #181818;
}

.sm-lp-editorial__roundel--new {
  margin-left: auto; /* Keep New on right, even if Pick isn't assigned. */
  height: 23px;
  padding: 0 9px;
  border-color: rgba(200,169,106,.74);
  background: rgba(252,251,247,.97);
  color: #181818;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .095em;
}

/* Replace the heavy filled ◆ with a small, faceted outline gem.
 * The existing PHP span remains unchanged, avoiding a second PHP deployment. */
.sm-lp-editorial__diamond {
  display: inline-block;
  flex: 0 0 11px;
  box-sizing: border-box;
  width: 11px;
  height: 11px;
  margin: 0 6px 0 0;
  padding: 0;
  font-size: 0; /* Hide the original solid diamond character. */
  line-height: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211b14' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12l4 6-10 13L2 9l4-6z'/%3E%3Cpath d='M2 9h20'/%3E%3Cpath d='M12 22 8 9l2-6'/%3E%3Cpath d='M12 22 16 9l-2-6'/%3E%3C/svg%3E");
}

.sm-lp-editorial__word {
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
}

/* Keep pill proportions tidy on smaller and mini cards. */
@media (max-width: 600px) {
  .sm-lp-editorial { top: 9px; right: 9px; left: 9px; gap: 6px; }
  .sm-lp-editorial__roundel--pick { height: 23px; padding: 0 8px; }
  .sm-lp-editorial__roundel--new { height: 22px; padding: 0 8px; font-size: 9px; }
  .sm-lp-editorial__diamond { width: 10px; height: 10px; flex-basis: 10px; margin-right: 5px; }
  .sm-lp-editorial__word { font-size: 9px; }
}
.sm-local-place--layout-mini .sm-lp-editorial { top: 6px; right: 6px; left: 6px; gap: 4px; }
.sm-local-place--layout-mini .sm-lp-editorial__roundel--pick { height: 20px; padding: 0 7px; }
.sm-local-place--layout-mini .sm-lp-editorial__roundel--new { height: 20px; padding: 0 7px; font-size: 8px; }
.sm-local-place--layout-mini .sm-lp-editorial__diamond { width: 9px; height: 9px; flex-basis: 9px; margin-right: 4px; }
.sm-local-place--layout-mini .sm-lp-editorial__word { font-size: 8px; }
