/* Allemand, russe, polonais : textes plus longs que le français.
   Le français (et les langues qui tiennent dans la maquette) garde les lignes forcées.
   Ici le texte revient à la ligne dans la largeur déjà prévue, sans élargir la page. */

html[lang|="de"] .elementor-widget-text-editor,
html[lang|="de"] .elementor-widget-text-editor p,
html[lang|="ru"] .elementor-widget-text-editor,
html[lang|="ru"] .elementor-widget-text-editor p,
html[lang|="pl"] .elementor-widget-text-editor,
html[lang|="pl"] .elementor-widget-text-editor p,
html[lang|="de"] .nl-qui-citation .nl-signature .elementor-heading-title,
html[lang|="ru"] .nl-qui-citation .nl-signature .elementor-heading-title,
html[lang|="pl"] .nl-qui-citation .nl-signature .elementor-heading-title,
html[lang|="de"] .nl-citation .nl-signature .elementor-heading-title,
html[lang|="ru"] .nl-citation .nl-signature .elementor-heading-title,
html[lang|="pl"] .nl-citation .nl-signature .elementor-heading-title {
	white-space: normal;
}

/* La citation d'accueil est en largeur « max-content » : un texte long pousse hors de l'écran. */
html[lang|="de"] .nl-citation .nl-citation-texte.elementor-widget,
html[lang|="ru"] .nl-citation .nl-citation-texte.elementor-widget,
html[lang|="pl"] .nl-citation .nl-citation-texte.elementor-widget,
html[lang|="de"] .nl-qui-citation .elementor-widget-text-editor,
html[lang|="ru"] .nl-qui-citation .elementor-widget-text-editor,
html[lang|="pl"] .nl-qui-citation .elementor-widget-text-editor,
html[lang|="de"] .nl-qui-citation-capeb.elementor-widget,
html[lang|="ru"] .nl-qui-citation-capeb.elementor-widget,
html[lang|="pl"] .nl-qui-citation-capeb.elementor-widget {
	width: auto !important;
	max-width: 100% !important;
	--container-widget-width: 100% !important;
}

/* Grilles d'atouts calées sur le mot français le plus long : une colonne « max-content » ou une largeur fixe
   laisse « Energieeffizienz » sortir de l'écran. Colonnes égales, le mot revient à la ligne. */
@media (min-width: 1025px) {
	html[lang|="de"] .nl-saunas-grille.nl-etapes,
	html[lang|="ru"] .nl-saunas-grille.nl-etapes,
	html[lang|="pl"] .nl-saunas-grille.nl-etapes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		justify-content: stretch;
	}
	html[lang|="de"] .nl-domes-atouts-liste.nl-etapes,
	html[lang|="ru"] .nl-domes-atouts-liste.nl-etapes,
	html[lang|="pl"] .nl-domes-atouts-liste.nl-etapes {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}
html[lang|="de"] .nl-etapes li,
html[lang|="ru"] .nl-etapes li,
html[lang|="pl"] .nl-etapes li,
html[lang|="de"] .nl-liste-num li,
html[lang|="ru"] .nl-liste-num li,
html[lang|="pl"] .nl-liste-num li {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Légendes des essences : le nom traduit peut être plus long que « Cèdre rouge de l'Ouest ».
   Coupure aux espaces, césure de la langue en cours si un mot dépasse la colonne. */
html[lang|="de"] .nl-carte-essence .elementor-heading-title,
html[lang|="ru"] .nl-carte-essence .elementor-heading-title,
html[lang|="pl"] .nl-carte-essence .elementor-heading-title,
html[lang|="en"] .nl-carte-essence .elementor-heading-title,
html[lang|="es"] .nl-carte-essence .elementor-heading-title,
html[lang|="pt"] .nl-carte-essence .elementor-heading-title {
	max-width: 100%;
	hyphens: auto;
	overflow-wrap: break-word;
}
/* Frise : dès 1280 le français reste sur les lignes de la maquette (nowrap).
   Les traductions plus longues sortent de leur année et empiètent sur la suivante.
   Ici chaque ligne revient dans la colonne, le français n'est pas concerné. */
@media (min-width: 1280px) {
	html[lang|="en"] .nl-qui-timeline .lt-desc,
	html[lang|="de"] .nl-qui-timeline .lt-desc,
	html[lang|="pl"] .nl-qui-timeline .lt-desc,
	html[lang|="ru"] .nl-qui-timeline .lt-desc,
	html[lang|="es"] .nl-qui-timeline .lt-desc,
	html[lang|="pt"] .nl-qui-timeline .lt-desc {
		white-space: normal;
		overflow-wrap: break-word;
		hyphens: auto;
	}
	html[lang|="en"] .nl-qui-timeline .lt-desc .pb-insecable,
	html[lang|="de"] .nl-qui-timeline .lt-desc .pb-insecable,
	html[lang|="pl"] .nl-qui-timeline .lt-desc .pb-insecable,
	html[lang|="ru"] .nl-qui-timeline .lt-desc .pb-insecable,
	html[lang|="es"] .nl-qui-timeline .lt-desc .pb-insecable,
	html[lang|="pt"] .nl-qui-timeline .lt-desc .pb-insecable {
		white-space: normal;
	}
}

/* Scierie, 6 colonnes : un nom traduit très long (« Riesenlebensbaum ») tient sur la vignette. */
@media (max-width: 1599px) {
	html[lang|="de"] .nl-scierie-grille-essences .nl-carte-essence--mini .elementor-heading-title,
	html[lang|="ru"] .nl-scierie-grille-essences .nl-carte-essence--mini .elementor-heading-title,
	html[lang|="pl"] .nl-scierie-grille-essences .nl-carte-essence--mini .elementor-heading-title,
	html[lang|="en"] .nl-scierie-grille-essences .nl-carte-essence--mini .elementor-heading-title,
	html[lang|="es"] .nl-scierie-grille-essences .nl-carte-essence--mini .elementor-heading-title,
	html[lang|="pt"] .nl-scierie-grille-essences .nl-carte-essence--mini .elementor-heading-title {
		font-size: 1.02rem !important;
	}
}
