/*
 * INTL-MULTI-01 — locale typography for storefront routes in a language other than English. Loaded ONLY on those routes
 * (pp_enqueue_locale_styles(), inc/assets.php): the GLOBAL root and every English route never request this file, so
 * their rendering is exactly the approved design. Same type family, weights and layout — only the measures that
 * English copy length was tuned for.
 */

/* Homepage hero: longer headlines (German compounds, Spanish phrasing) take the copy column instead of the English
   14ch measure, one size step smaller on desktop, with balanced line breaks — two lines instead of three. */
.pp-home-section--hero .pp-home-hero-title {
	text-wrap: balance;
}
@media (min-width: 1025px) {
	.pp-home-section--hero .pp-home-hero-title {
		max-width: 22ch;
		font-size: clamp(2rem, 3.1vw, 2.875rem);
	}
}

/* Section headings and card titles: break inside a long compound word rather than overflow a narrow column. */
.pp-home-section-title,
.pp-brand-page h2,
.pp-home-hero-title {
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Narrow cells at phone widths: a long single word (de "Geschmacksrichtungen", "Wassermelone"; es "Efervescente")
   breaks inside its own cell instead of running past it — the Brand Page facts grid (whose text column may shrink
   below its longest word) and guide cards, and the homepage flavour tiles. */
.pp-bp-stat > div {
	min-width: 0;
}
.pp-bp-stat b,
.pp-bp-stat span,
.pp-bp-guide-card b,
.pp-home-flavour-name {
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* Small phones: one size step smaller, so a long localized headline keeps two lines at 360px. */
@media (max-width: 480px) {
	.pp-home-section--hero .pp-home-hero-title {
		font-size: clamp(1.875rem, 8.4vw, 2.75rem);
	}
}

/* INTL-MULTI-02-S3 — notices only a localized route shows: an article that exists in English only, and a legal page
   showing translation drafts (inc/legal-content.php; the English stays binding). */
.pp-ed-lang-note { padding-block: 16px 0; }
.pp-ed-lang-note p { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 14px; border-radius: var(--pp-radius-md); background: var(--pp-navy-tint); color: var(--pp-ink); font: 500 14px/1.45 var(--pp-font-body); }
.pp-ed-lang-note .pp-i { flex: none; margin-top: 2px; color: var(--pp-navy); }
.pp-legal-draft { margin: 0 0 24px; padding: 12px 16px; border-radius: var(--pp-radius-md); border-inline-start: 3px solid var(--pp-navy); background: var(--pp-navy-tint); color: var(--pp-ink); font: 500 14px/1.5 var(--pp-font-body); }
.pp-legal-draft a { font-weight: 600; color: var(--pp-navy); }

/* Knowledge section heads: a longer "more" label (de "Weitere Reportagen") must not push the head past a phone's edge.
   The head wraps the label onto its own line instead; it stays right-aligned (margin-inline-start: auto). English fits on one
   line, and GLOBAL never loads this file. */
.pp-ed-sec-head { flex-wrap: wrap; row-gap: 6px; }

/* INTL-MULTI-03 — the Knowledge topic strip: a long localized section name (de "Geschmacksrichtungen") hyphenates
   inside its tile instead of running past it, and on a phone past the screen edge. The name is the tile's anonymous
   flex item, so only `anywhere` lets it shrink below its longest word. */
.pp-ed-wt-n { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }

/* INTL-MULTI-03 — Knowledge card kickers: a long localized section and type ("GESCHMACKSRICHTUNGEN · ERKLÄRTEXT") wrap
   onto a second line, and a single long word hyphenates, instead of widening the card and its grid track past a
   phone's screen (English fits on one line). */
.pp-ed-kicker { flex-wrap: wrap; row-gap: 2px; }
.pp-ed-kicker-sec, .pp-ed-kicker-type { min-width: 0; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }

/* INTL-MULTI-03 — the smallest phones (320px; the localized-route sweep tools/m03-overflow-sweep.mjs): a long localized
   word breaks or hyphenates inside its own box instead of widening the box past the screen. English fits there. */
/* A Knowledge headline or card title (de "Geschmacksrichtungen", "Forschungsergebnisse" in a 30px H1). */
.pp-ed-h1,
.pp-ed-card-t {
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}
/* Help Centre guide cards (de "Geschmacksrichtungen"): the card and its text column may shrink below the longest word. */
.pp-hc-guide { min-width: 0; }
.pp-hc-guide-body b,
.pp-hc-guide-body span {
	overflow-wrap: anywhere;
	-webkit-hyphens: auto;
	hyphens: auto;
}
/* A brand page's sort control (es "Intensidad (de menor a mayor)"): the select takes what is left of its row. */
.pp-bp-sort select { min-width: 0; max-width: 100%; }
/* Our Story's people band (es "Te presentamos a Sara" at 54px): its column may shrink and the headline hyphenates. */
.pp-os-people > * { min-width: 0; }
.pp-os-h2 {
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* INTL-MULTI-03-V1 — the Club page's member card on a phone: a longer "welcome points" label (de "Willkommenspunkte",
   es "Puntos de bienvenida") would wrap the level badge below it, and the card, whose height its aspect ratio fixes,
   would crowd its name and logo. The badge stays beside the label as on the English card; the label takes a second
   line at a space where it must, never inside a word. */
@media (max-width: 420px) {
	.pp-club-mcard-bot { flex-wrap: nowrap; }
	.pp-club-mcard-bot > div { min-width: 0; }
	.pp-club-mcard-k { letter-spacing: .06em; line-height: 1.2; }
	.pp-club-mcard-tier { flex: none; }
}
/* INTL-MULTI-03-V1 — the Club hero's welcome pill on a narrow desktop (1025–1099 px, where the hero's copy column is
   narrowest): a longer localized pair ("50 Willkommenspunkte · Wert in EUR ausstehend") would wrap with the separator
   opening its second line, so the pill takes its stacked phone form there — two lines, no separator. */
@media (min-width: 1025px) and (max-width: 1099px) {
	.pp-club-offer-v { flex-direction: column; align-items: flex-start; gap: 2px; }
	.pp-club-offer-v i { display: none; }
}

/* LAUNCH-READINESS-02 — category pages: the intro's jump link may wrap (a localized guide title runs longer than the
   English one the design keeps on one line — de "Den passenden blumigen oder exotischen Beutel wählen"); the arrow
   stays with its last word. */
.pp-plp-jump {
	white-space: normal;
}
.pp-plp-jump > span[aria-hidden="true"] {
	white-space: nowrap;
}
