/*
 * Long-label safety shared by every appearance package.
 * Keep compound words and translated labels inside their own grid/flex item.
 */
.footer-top,
.footer-brand,
.footer-links,
.footer-column,
.region-grid,
.region-card,
.region-card__link,
.region-card__body,
.category-grid,
.category-card,
.filter-card,
.filter-card__head,
.filter-accordion__toggle,
.filter-accordion__body,
.filter-option,
.segmented-control,
.segmented-option,
.archive-toolbar,
.archive-toolbar__group {
  min-width: 0;
}

.footer-column strong,
.footer-column a,
.footer-column a span,
.footer-brand h3,
.footer-brand p,
.region-card h3,
.region-card p,
.category-card h3,
.category-card p,
.filter-card__head,
.filter-accordion__toggle > span:first-child,
.filter-option > span,
.segmented-option span {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.footer-column a,
.category-card h3,
.category-card p,
.region-card h3,
.region-card p,
.segmented-option span {
  width: 100%;
}

.category-card,
.region-card,
.segmented-option span {
  overflow: hidden;
}

.category-card h3,
.region-card h3,
.segmented-option span {
  text-wrap: balance;
}

.segmented-option span {
  min-height: 48px;
  height: auto;
  padding-block: 10px;
  line-height: 1.35;
}

.segmented-option {
  display: flex;
}

.segmented-option span {
  flex: 1 1 auto;
}

.filter-accordion__toggle > span:first-child {
  flex: 1 1 auto;
  text-align: start;
}

.filter-option > span {
  flex: 1 1 auto;
}

.filter-option > small,
.filter-accordion__toggle > span:last-child {
  flex: 0 0 auto;
}
