/* NT 2026-09-29 FINAL-D (pklawfirm.sk stand 8084). Loaded after nt-zz-final-c.css by the module loader (css/mod/nt-*.css,
   alphabetical). Front end only, no stored data. Rollback: delete this file (and inc/mod/nt-zz-final-d.php).
   Item 3 (page without JavaScript) lives in inc/mod/nt-zz-final-d.php as a <noscript> style. */

/* ===== 1) English pages, dark block "why us": "we are here 24/7" (home) / "on call 24/7" (service and branch pages),
   heading 16c28da, DM Mono. It broke into two lines where Slovak "sme tu 24/7" stays on one. One line on all widths:
   no wrap, and the size goes down only when the line would not fit its box (cqi = 1% of the heading box width).
   DM Mono is monospace: the home line is 6.72 x font size wide, "on call 24/7" 5.24 x, so 14.5cqi / 18.6cqi fill
   about 97% of the box. Where the text fits already (e.g. "on call 24/7" at 1440) the size stays as set in Elementor. */
html[lang|="en"] body .elementor-element-16c28da .constructum-heading-widget {
	container-type: inline-size; /* 1) block inside the widget, width comes from the column, not from the text */
}
html[lang|="en"] body .elementor-element-16c28da .constructum-heading-content {
	white-space: nowrap; /* 1) one line */
	font-size: min(1em, 18.6cqi); /* 1) "on call 24/7" on service and branch pages */
}
html[lang|="en"] body.home .elementor-element-16c28da .constructum-heading-content {
	font-size: min(1em, 14.5cqi); /* 1) longer "we are here 24/7" on /en/ */
}

/* ===== 2) Russian pages: Cyrillic set in fonts without Cyrillic. The theme heading font is DM Sans (and DM Mono in 16c28da);
   nt-i18n.php only maps the Cyrillic glyphs of these families to Manrope files, so a Russian heading mixed Manrope
   letters with DM Sans spaces, digits and punctuation. Russian pages: the heading text elements (all found by
   finD-probe.py on the 9 Russian pages at 1440 and 390) use Manrope, the theme text font. !important because the
   Elementor widget typography rules are more specific; icons are not in the list. The two big "24/7" headings
   (16c28da, 79bc068) are left out here: their words get Manrope below, the digits keep their display font. */
html[lang|="ru"] body :is(h1, h2, h3, h4, h5, h6,
	.constructum-heading, .constructum-heading-content, .constructum-heading-content > span, .constructum-heading-content > span > span,
	.word, .word-inner, .page-title-heading, .widget-title, .field-label, .step-title, .history-title, .service-post-title,
	.e-n-accordion-item-title-text, .elementor-icon-box-title > span, .elementor-icon-box-title > a, .nt-about-area-title > a,
	.team-item-tag, .team-experience-item-title, .team-additional-text-small, .team-contact-info h4):not(
	.elementor-element-16c28da *, .elementor-element-79bc068 *) {
	font-family: "Manrope", sans-serif !important; /* 2) Cyrillic in Manrope */
}

/* 2) Footer "на связи 24/7" (79bc068, 180px): words in Manrope, one line on all widths. The size goes down only when the
   line would not fit its box (cqi = 1% of the heading box width); "24/7" keeps DM Sans like on SK and EN. */
html[lang|="ru"] body .elementor-element-79bc068 .constructum-heading-widget {
	container-type: inline-size; /* 2) block inside the widget, width comes from the column, not from the text */
}
html[lang|="ru"] body .elementor-element-79bc068 .constructum-heading-content {
	white-space: nowrap; /* 2) one line */
	font-size: min(1em, 25.5cqi); /* 2) fit the box (line = 3.82 x font size, 25.5cqi fills about 97%) */
}
html[lang|="ru"] body .elementor-element-79bc068 .constructum-heading-content > span {
	font-family: "Manrope", sans-serif; /* 2) "на связи" in Manrope (same as 16c28da in nt-zz-final-c.css item 7) */
	letter-spacing: -0.04em; /* 2) as 16c28da */
}
