/*
Theme Name: Truck Child Theme
Theme URI: https://truck.ancorathemes.com/
Description: Truck is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AncoraThemes
Author URI: https://ancorathemes.com/
Version: 1.10.0
Tested up to: 6.7
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: truck
Template: truck
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
/* ==========================================================================
   SEO: na stránce je jediný H1 (titulek v hlavičce). Nadpisy sekcí, které byly
   dříve H1, jsou H2 s třídou .bt-title-h1 – vizuálně zůstávají jako H1.
   Hodnoty kopírují typografii H1 šablony Truck (skins/default/css/__responsive.css).
   ========================================================================== */
.bt-title-h1 h2.sc_item_title,
.bt-title-h1 h2.elementor-heading-title {
	font-size: var(--theme-font-h1_font-size);
	font-weight: var(--theme-font-h1_font-weight);
	letter-spacing: var(--theme-font-h1_letter-spacing);
}

/* Widget Elementor "Nadpis" si výšku řádku řídí sám (line-height: 1) – přebíráme jen u trx titulků. */
.bt-title-h1 h2.sc_item_title {
	line-height: var(--theme-font-h1_line-height);
}

@media (max-width: 1279px) {
	.bt-title-h1 h2.sc_item_title,
	.bt-title-h1 h2.elementor-heading-title {
		font-size: 46px;
		letter-spacing: -1px;
	}
}

@media (max-width: 1023px) {
	.bt-title-h1 h2.sc_item_title,
	.bt-title-h1 h2.elementor-heading-title {
		font-size: 38px;
		letter-spacing: -0.8px;
	}

	.bt-title-h1 h2.sc_item_title {
		line-height: 42px;
	}
}

@media (max-width: 767px) {
	.bt-title-h1 h2.sc_item_title,
	.bt-title-h1 h2.elementor-heading-title {
		font-size: 30px;
		letter-spacing: 0;
	}

	.bt-title-h1 h2.sc_item_title {
		line-height: 34px;
	}
}

@media (max-width: 479px) {
	.bt-title-h1 h2.sc_item_title,
	.bt-title-h1 h2.elementor-heading-title {
		font-size: 26px;
	}

	.bt-title-h1 h2.sc_item_title {
		line-height: 30px;
	}
}

/* Textový blok sázený jako H1 (Kariéra – „Zavolejte nám teď / Nebo pošlete životopis“).
   Dříve to byly 4 nadpisy H1; obsah je nyní jeden odstavec, vzhled odpovídá původní verzi. */
.bt-text-h1 p {
	font-family: var(--theme-font-h1_font-family);
	font-size: 57px; /* = H1 šablony (3.353em z 17px); em nelze – widget má vlastní velikost písma */
	line-height: var(--theme-font-h1_line-height);
	font-weight: 300;
	letter-spacing: var(--theme-font-h1_letter-spacing);
}

.bt-text-h1 p strong,
.bt-text-h1 p a {
	font-weight: 500;
}

@media (max-width: 1279px) {
	.bt-text-h1 p {
		font-size: 46px;
		letter-spacing: -1px;
	}
}

@media (max-width: 1023px) {
	.bt-text-h1 p {
		font-size: 38px;
		line-height: 42px;
		letter-spacing: -0.8px;
	}
}

@media (max-width: 767px) {
	.bt-text-h1 p {
		font-size: 30px;
		line-height: 34px;
		letter-spacing: 0;
	}
}

@media (max-width: 479px) {
	.bt-text-h1 p {
		font-size: 26px;
		line-height: 30px;
	}
}

/* Kariéra: fotka vlevo se roztáhne na výšku (delšího) formuláře vpravo – jen desktop. */
@media (min-width: 1024px) {
	.bt-career-col > .elementor-widget-wrap {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.bt-career-col > .elementor-widget-wrap > .elementor-inner-section {
		flex: 1 1 auto;
		display: flex;
	}

	.bt-career-col > .elementor-widget-wrap > .elementor-inner-section > .elementor-container {
		flex: 1 1 auto;
	}
}
