/* -----------------------------------------------
   PATTERN: valencia/likes-dislikes — valencia-badge-row (+ badge pills below)
   The wrapping row the pills sit in. flex-wrap + gap on a container aren't
   in the group style_data schema, so the layout lives here (name-only
   registration in functions.php, like the emphasis band).
   ----------------------------------------------- */
.wp-block-group.valencia-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Editor wrapper mirror: the block editor wraps each child in
   .block-editor-block-list__layout > .wp-block, which breaks the flex row.
   Mirror the flex onto the wrapper so pills wrap in the editor too.
   Ignored on the frontend (those elements don't exist there). */
.wp-block-group.valencia-badge-row > .block-editor-block-list__layout {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wp-block-group.valencia-badge-row > .block-editor-block-list__layout > .wp-block {
  margin-top: 0;
  max-width: none;
  width: auto;
}

/* -----------------------------------------------
   Badge pills: valencia-badge-like / -badge-dislike (loaded with the row)
   Likes & Dislikes pills. These are class names, not registered block
   styles, so colour, weight and the pill shape all live here. Like is
   ink-deep on a sky tint, dislike is accent-strong on the accent tint
   (swapped 2026-09-17: like had been red and dislike sage, which read
   backwards).
   Mockup: valencia-mockups/experience-badges.html (Part 2, Variant 3).
   ----------------------------------------------- */
.wp-block-paragraph.valencia-badge-like,
.wp-block-paragraph.valencia-badge-dislike {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.2;
  margin: 0;
}

.wp-block-paragraph.valencia-badge-like {
  color: var(--wp--preset--color--ink-deep);
  background-color: var(--wp--custom--sky-tint);
  font-weight: 600;
}

.wp-block-paragraph.valencia-badge-dislike {
  color: var(--wp--preset--color--accent-strong);
  background-color: var(--wp--custom--accent-tint);
  font-weight: 600;
}
