/*
 * Mindenhol betöltődő apró javítások. Receptcímek soha nincsenek levágva (sem „…”, sem 2–3 sorra korlátozva) – kártyákon, listákon, javaslatokban.
 * Minden oldalon utolsóként töltődik (AssetVersion::rewriteHtml szúrja be), ezért felülírja a korábbi vágásokat.
 */
:root body :is(
  .result-recipe-card h3, .recipes-proto .result-recipe-card h3, .recipes-proto :is(#resultsGrid,#recentRecipesGrid) h3,
  .result-recipe-card.rp-edition-card .rp-ed-base,
  .mk2-recipe-info h3, .mk2-today-recipe-copy strong, .mk2-home-challenge-copy h3, .mk2-chal-title,
  .v2-mini-card b, .v2-featured-carousel .v2-featured-overlay h3, .v2-challenge-card strong,
  .proto-recipe-copy b, .proto-quick-card b, .proto-community-detail .proto-community-recipe,
  .recipe-name-suggestion-copy b, .app-name-search-suggestions b, .app-name-suggestion-copy > b,
  .recipe-v4-similar-card b, .recipe-phone-copy > b, .mk-recipe-variations > a strong,
  .cardbody h3, .recent-recipe-copy h3, .feed-today-card b, .app-saved-card b, .app-history-recipe-copy b,
  .mk-week-slot-title, .chef-edition-card h3, .mkc-recipe-card span
) {
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
  overflow-wrap: break-word; /* csak a soha ki nem férő szót törjük, kötőjel nélkül */
  hyphens: manual;
}

/* Süti-sáv: keskeny képernyőn a gombok felirata ne lógjon ki (egymás alá kerülnek, a szöveg tördelhető). */
@media (max-width: 520px) {
  :root body .cookie-banner .cookie-actions { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
  :root body .cookie-banner .cookie-actions :is(button, a) { width: 100% !important; min-width: 0 !important; white-space: normal !important; overflow-wrap: anywhere; }
}
