/*
Theme Name:   Divi Child – Peoplelab
Theme URI:    https://peoplelab.lt
Description:  Child theme for Divi on peoplelab.lt. Site-specific code lives here so it survives Divi updates.
Author:       Tomas
Template:     Divi
Version:      1.0.2
Text Domain:  divi-child
*/

/* Add custom CSS below this line. */

/*
 * Homepage services row (6 columns, LT and EN front pages).
 * Divi 4 breaks long words mid-word (overflow-wrap: break-word), which split
 * titles like "ORGANIZATIONA-L". Wrap only between words and scale the
 * font to the column width on desktop; tablet/phone stack the columns anyway.
 */
@media only screen and (min-width: 981px) {
	.et_pb_row_6col .et_pb_text,
	.et_pb_row_6col .et_pb_text * {
		overflow-wrap: normal !important;
		word-wrap: normal !important;
	}
	/* Size the text to the column itself: "©ORGANIZATIONAL" needs ~9.3x the font size. */
	.et_pb_row_6col > .et_pb_column {
		container-type: inline-size;
	}
	.et_pb_row_6col .et_pb_text .et_pb_text_inner,
	.et_pb_row_6col .et_pb_text .et_pb_text_inner * {
		font-size: clamp(9px, 10.4cqi, 18px) !important;
		line-height: 1.3em !important;
	}
}
