/* A row of story bubbles, swiped sideways on small screens; centred when it fits. */
.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring {
  padding-block: var(--sol-space-5);
}

/* Brand revision R06 + final brief S29: on phones the gap between the bubbles and the hero slider equals the gap above
   them (12px each; the hero brings its own 12px, so nothing is added below). Editor spacing values still win. */
@media (max-width: 767px) {
  /* 24 Nov revision: less space above and below the row (12 → 8 px each; the hero's top padding follows). */
  .cc_UvrFCXV67c_hl79aEW5Bx .sol-sring {
    padding-top: var(--sol-space-2);
    padding-bottom: 0;
  }
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring[hidden] {
  display: none;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring__inner {
  display: grid;
  gap: var(--sol-space-4);
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring__title {
  margin: 0;
  color: var(--sol-ink);
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring__track {
  display: flex;
  align-items: flex-start;
  justify-content: safe center;
  gap: var(--sol-space-4);
  margin: 0 calc(-1 * var(--sol-gutter));
  padding: var(--sol-space-1) var(--sol-gutter);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring__track::-webkit-scrollbar {
  display: none;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring__track [hidden] {
  display: none;
}

/* On a product page without its own stories every bubble renders nothing: hide the heading too. */
.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring:not(.is-editor):not(:has(.sol-sring__item)) {
  display: none;
}

/* Grouped row ("Hikâyeleri Gruplara Topla", user 30 Oct: too many bubbles): one bubble per group, labelled with the
   group's name; the group's other stories stay in the page for the viewer but get no bubble (marked by the inline
   script and again after the category filter). */
.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring.is-grouped .sol-sring__item[data-group] .sol-sring__label:not(.sol-sring__label--group) {
  display: none;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring.is-grouped .sol-sring__item[data-group] .sol-sring__label--group {
  /* The same single line as the story title (StoryItem styles, R1). */
  display: block;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring.is-grouped .sol-sring__item[data-grouped] {
  display: none;
}

/* 3 Nov revision (item 6): the first bubble lines up with the menu button and does not jump left when the row snaps on
   load (the snap now respects the page margin); on phones the bubbles sit a little closer so the last one peeks in and
   shows the row scrolls. */
.cc_UvrFCXV67c_hl79aEW5Bx .sol-sring__track {
  scroll-padding-inline: var(--sol-gutter);
}

@media (max-width: 767px) {
  /* 24 Nov revision: 8 → 4 px (see StoryItem: four and a half bubbles show). */
  .cc_UvrFCXV67c_hl79aEW5Bx .sol-sring__track {
    gap: var(--sol-space-1);
  }
}
