/* КитайМастер.рф — portable styles for dynamic Elementor templates. */
:root {
	--km-ink: #17362e;
	--km-text: #5d766e;
	--km-green: #2f6c5b;
	--km-line: #cfded8;
	--km-surface: #ffffff;
	--km-soft: #eaf3ee;
	--km-accent: #ddf36a;
}

html,
body,
button,
input,
select,
textarea {
	font-family: Manrope, sans-serif;
}

/* Archive 1140: explicit layout rules keep the V4 composition consistent
 * when Elementor renders it through a theme archive request. */
.elementor-1140 .elementor-element-b6219cf {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-1140 .elementor-element-9b633ed {
	display: block !important;
	width: 100% !important;
	padding: clamp(3.75rem, 8vw, 7rem) 1.25rem !important;
	box-sizing: border-box;
	background: #f2f7f4;
}

.elementor-1140 .elementor-element-647a4b1,
.elementor-1140 .elementor-element-a3f7b52 {
	display: flex !important;
	flex-direction: column !important;
	gap: 1.25rem !important;
	width: 100% !important;
	max-width: 71.25rem !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

.elementor-1140 .elementor-element-3bc6b14,
.elementor-1140 [data-interaction-id="3bc6b14"] {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0 !important;
	color: var(--km-text);
	font-size: 0.86rem;
	line-height: 1.45;
}

/* Template 02 (Object Guide): Elementor V4 front-end fallback.
 * The template remains editable in Elementor; these rules only restore the
 * intended layout when atomic containers lose their generated directions. */
.elementor-292 {
	overflow: clip;
	color: var(--km-ink);
	background: #fff;
}

.elementor-292 > section {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(3.5rem, 7vw, 6rem) 1.25rem !important;
	box-sizing: border-box;
}

.elementor-292 > section:nth-child(even) {
	background: #f6f9f7;
}

.elementor-292 > section:first-child {
	padding-top: clamp(3.5rem, 7vw, 6.5rem) !important;
	padding-bottom: clamp(4rem, 8vw, 7rem) !important;
	background: #f2f7f4;
}

.elementor-292 > section > .e-con {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 1.25rem !important;
	width: 100% !important;
	max-width: 71.25rem !important;
	min-height: 0 !important;
	margin: 0 auto !important;
	padding: 0 !important;
	box-sizing: border-box;
}

.elementor-292 .e-heading-base,
.elementor-292 .e-paragraph-base {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 !important;
	box-sizing: border-box;
}

.elementor-292 h1.e-heading-base {
	max-width: 46rem;
	color: var(--km-ink);
	font-size: clamp(2.75rem, 6vw, 5.1rem);
	font-weight: 790;
	letter-spacing: -0.055em;
	line-height: 1.02;
	text-wrap: balance;
}

.elementor-292 h2.e-heading-base {
	max-width: 54rem;
	color: var(--km-ink);
	font-size: clamp(2rem, 4vw, 3.1rem);
	font-weight: 760;
	letter-spacing: -0.035em;
	line-height: 1.1;
	text-wrap: balance;
}

.elementor-292 h3.e-heading-base,
.elementor-292 aside h3 {
	color: var(--km-ink);
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	font-weight: 750;
	line-height: 1.25;
}

.elementor-292 p.e-paragraph-base {
	max-width: 49rem;
	color: var(--km-text);
	font-size: 1rem;
	line-height: 1.72;
}

.elementor-292 .elementor-element-f1e2280 {
	display: flex !important;
	flex-direction: column !important;
	gap: 2rem !important;
}

.elementor-292 .elementor-element-f1e2280 > p:first-child {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	max-width: none;
	font-size: 0.86rem;
	line-height: 1.45;
}

.elementor-292 .elementor-element-e4223ea {
	display: grid !important;
	grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr) !important;
	grid-template-rows: auto !important;
	grid-auto-rows: auto !important;
	align-items: stretch !important;
	gap: clamp(2rem, 5vw, 5rem) !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-292 .elementor-element-119edff {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 1.35rem !important;
	width: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-292 .elementor-element-064bcde {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.55rem !important;
	width: 100% !important;
	min-height: 0 !important;
	margin: 0.5rem 0 0 !important;
	padding: 1.15rem 1.25rem !important;
	border: 1px solid var(--km-line);
	border-left: 0.3rem solid var(--km-green);
	border-radius: 0.35rem;
	background: rgba(255, 255, 255, 0.82);
}

.elementor-292 .elementor-element-064bcde p:first-child {
	color: var(--km-ink);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.elementor-292 .elementor-element-5e81fed {
	position: relative;
	display: flex !important;
	align-items: stretch !important;
	justify-content: stretch !important;
	width: 100% !important;
	min-height: 30rem !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid var(--km-line);
	border-radius: 0.45rem;
	background-color: var(--km-soft);
	background-image: linear-gradient(135deg, rgba(47, 108, 91, 0.055) 25%, transparent 25%, transparent 50%, rgba(47, 108, 91, 0.055) 50%, rgba(47, 108, 91, 0.055) 75%, transparent 75%);
	background-size: 2.25rem 2.25rem;
}

.elementor-292 .elementor-element-d6f4fd3 {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 30rem !important;
	margin: 0 !important;
	padding: 2rem !important;
}

.elementor-292 .elementor-element-5e81fed > img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.elementor-292 .elementor-element-5e81fed:has(> img[src]:not([src=""])) .elementor-element-d6f4fd3 {
	display: none !important;
}

.elementor-292 .elementor-element-5e81fed:has(> img[src]:not([src=""])) > img {
	position: static;
}

.elementor-292 .e-paragraph-base:has(> .kmdb-root),
.elementor-292 .e-paragraph-base:has(> .kmdb-card),
.elementor-292 .e-paragraph-base:has(> .kmdb-chip) {
	max-width: none;
}

.elementor-292 .e-paragraph-base > .kmdb-root {
	width: 100%;
}

.elementor-292 aside.e-con {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 1rem !important;
	width: 100% !important;
	min-height: 0 !important;
	margin: 1rem 0 0 !important;
	padding: clamp(1.5rem, 4vw, 2.5rem) !important;
	border: 1px solid var(--km-line);
	border-radius: 0.45rem;
	background: #fff;
}

.elementor-292 .elementor-element-5e880eb,
.elementor-292 .elementor-element-b8af524 {
	background: #edf5f1;
}

.elementor-292 .elementor-element-1a65066 {
	background: var(--km-ink) !important;
}

.elementor-292 .elementor-element-1a65066 :is(h2, h3, p) {
	color: #fff;
}

.elementor-292 .elementor-element-1a65066 a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 3rem;
	padding: 0.8rem 1.2rem;
	border-radius: 999px;
	background: var(--km-accent);
	color: var(--km-ink);
	font-weight: 780;
	text-decoration: none;
}

.elementor-292 .elementor-element-e40d3d9 {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 2rem !important;
	width: 100% !important;
	padding: clamp(2rem, 5vw, 3.5rem) !important;
	border-radius: .35rem;
	background: var(--km-ink) !important;
}

.elementor-292 .elementor-element-2e4257a {
	display: flex !important;
	flex: 1 1 34rem !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: .8rem !important;
	min-width: 0 !important;
	padding: 0 !important;
}

.elementor-292 .elementor-element-2e4257a > * {
	width: auto !important;
	max-width: 44rem !important;
}

@media (max-width: 900px) {
	.elementor-292 .elementor-element-e4223ea {
		grid-template-columns: 1fr !important;
	}

	.elementor-292 .elementor-element-5e81fed,
	.elementor-292 .elementor-element-d6f4fd3 {
		min-height: 22rem !important;
	}
}

@media (max-width: 767px) {
	.elementor-292 > section {
		padding: 3.25rem 1rem !important;
	}

	.elementor-292 > section:first-child {
		padding-top: 2.75rem !important;
		padding-bottom: 3.5rem !important;
	}

	.elementor-292 h1.e-heading-base {
		font-size: clamp(2.4rem, 12vw, 3.35rem);
		letter-spacing: -0.045em;
	}

	.elementor-292 .elementor-element-5e81fed,
	.elementor-292 .elementor-element-d6f4fd3 {
		min-height: 16rem !important;
	}

	.elementor-292 .elementor-element-e40d3d9 {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 1.5rem !important;
		padding: 2rem 1.5rem !important;
	}

	.elementor-292 .elementor-element-2e4257a {
		flex: 0 1 auto !important;
		width: 100% !important;
	}
}

.elementor-1140 .elementor-element-3bc6b14 a,
.elementor-1140 [data-interaction-id="3bc6b14"] a {
	color: var(--km-green);
	text-decoration: none;
}

.elementor-1140 .elementor-element-c52bf25,
.elementor-1140 [data-interaction-id="c52bf25"] {
	max-width: 62rem;
	margin: 0 !important;
	color: var(--km-ink);
	font-size: clamp(2.55rem, 6vw, 4.8rem);
	font-weight: 790;
	letter-spacing: -0.055em;
	line-height: 1.03;
	text-wrap: balance;
}

.elementor-1140 .elementor-element-4ad0d7a,
.elementor-1140 [data-interaction-id="4ad0d7a"] {
	max-width: 48rem;
	margin: 0 !important;
	color: var(--km-text);
	font-size: clamp(1rem, 1.7vw, 1.18rem);
	line-height: 1.72;
}

.elementor-1140 .elementor-element-bdd3165 {
	display: block !important;
	width: 100% !important;
	padding: clamp(3rem, 6vw, 5rem) 1.25rem 1.5rem !important;
	box-sizing: border-box;
	background: #fff;
}

.elementor-1140 .elementor-element-b1b65cb,
.elementor-1140 [data-interaction-id="b1b65cb"] {
	margin: 0 !important;
	color: var(--km-ink);
	font-size: clamp(2rem, 4vw, 3.1rem);
	font-weight: 760;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.elementor-1140 .elementor-element-b9e27e7,
.elementor-1140 [data-interaction-id="b9e27e7"] {
	max-width: 48rem;
	margin: 0 !important;
	color: var(--km-text);
	font-size: 1rem;
	line-height: 1.7;
}

.elementor-1140 .elementor-widget-loop-grid {
	width: 100% !important;
	max-width: 73.75rem !important;
	margin: 0 auto !important;
	padding: 0 1.25rem clamp(4rem, 8vw, 7rem) !important;
	box-sizing: border-box;
}

/* Elementor V4 Loop Items need an explicit front-end fallback when rendered
 * by the legacy Loop Grid widget. The template itself remains fully dynamic. */
.elementor-1127 article {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 27rem;
	margin: 0;
	padding: 0;
	overflow: hidden;
	box-sizing: border-box;
	border: 1px solid var(--km-line);
	border-radius: 0.3rem;
	background: var(--km-surface);
	color: var(--km-ink);
}

.elementor-1127 article > :first-child {
	width: 100% !important;
	min-height: 13rem;
	flex: 0 0 auto;
	overflow: hidden;
	background-color: var(--km-soft);
	background-image: linear-gradient(
		135deg,
		rgba(47, 108, 91, 0.06) 25%,
		transparent 25%,
		transparent 50%,
		rgba(47, 108, 91, 0.06) 50%,
		rgba(47, 108, 91, 0.06) 75%,
		transparent 75%
	);
	background-size: 2rem 2rem;
}

.elementor-1127 article > :first-child img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	min-height: 13rem;
	object-fit: cover;
}

.elementor-1127 article > :last-child {
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0.9rem;
	width: 100% !important;
	min-width: 0;
	padding: 1.35rem;
	box-sizing: border-box;
}

.elementor-1127 article h3 {
	margin: 0;
	color: var(--km-ink);
	font-size: clamp(1.2rem, 2.4vw, 1.55rem);
	font-weight: 760;
	letter-spacing: -0.025em;
	line-height: 1.22;
	word-break: normal;
	overflow-wrap: break-word;
}

.elementor-1127 article p {
	margin: 0;
	color: var(--km-text);
	font-size: 0.94rem;
	line-height: 1.62;
}

.elementor-1127 article p:first-of-type {
	color: var(--km-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.elementor-1127 article a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 2.8rem;
	margin-top: auto;
	padding: 0.7rem 1.05rem;
	border: 0;
	border-radius: 999px;
	background: var(--km-accent);
	color: var(--km-ink);
	font-size: 0.86rem;
	font-weight: 780;
	line-height: 1.1;
	text-decoration: none;
	white-space: normal;
}

.elementor-widget-loop-grid .elementor-loop-container {
	align-items: stretch;
	gap: clamp(1rem, 2vw, 1.5rem);
}

.elementor-widget-loop-grid .elementor-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 2.5rem;
}

.elementor-widget-loop-grid .elementor-pagination a,
.elementor-widget-loop-grid .elementor-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--km-line);
	border-radius: 999px;
	color: var(--km-ink);
	text-decoration: none;
}

.elementor-widget-loop-grid .elementor-pagination .current {
	border-color: var(--km-green);
	background: var(--km-green);
	color: #fff;
}

@media (max-width: 767px) {
	.elementor-1140 .elementor-element-9b633ed {
		padding-top: 3rem !important;
		padding-bottom: 3.25rem !important;
	}

	.elementor-1140 .elementor-element-c52bf25 {
		font-size: clamp(2.25rem, 12vw, 3.25rem);
		letter-spacing: -0.045em;
	}

	.elementor-1140 .elementor-element-bdd3165 {
		padding-top: 2.75rem !important;
	}

	.elementor-1127 article {
		min-height: 23rem;
	}

	.elementor-1127 article > :first-child,
	.elementor-1127 article > :first-child img {
		min-height: 10rem;
	}
}
