/* Task 008: one small set of homepage tokens, plus the existing story section.
 * IDs were checked against Elementor's rendered local page. */
body.page-id-2725 {
	--kp-olive: #45552c;
	--kp-ink: #303a23;
	--kp-muted: #626756;
	--kp-paper: #f6f2eb;
	--kp-surface: #fffefb;
	--kp-edge: #e0e3d5;
	--kp-content: 1180px;
	--kp-radius-card: 16px;
	--kp-radius-button: 9px;
	--kp-section-space: 56px;
	--kp-section-title: clamp(26px, 2.4vw, 32px);
}

/* Let the homepage own its widths instead of stretching beyond the scrollbar. */
/* XTRA's tablet/mobile .row width is declared !important. */
.page-id-2725 #page_content > .row { width: 100% !important; max-width: none; }
.page-id-2725 #kp-values-title { scroll-margin-top: 32px; }
.page-id-2725 .elementor-2725 .elementor-element-ef2fd61,
.page-id-2725 .elementor-2725 .elementor-element-73e7461 { display: none; }
/* Collapse only verified empty containers, so later owner content remains visible. */
.page-id-2725 .elementor-2725 :is(.elementor-element-ab0643e, .elementor-element-6bea427, .elementor-element-9e1a27d):not(:has(.elementor-widget)) { display: none; }

.page-id-2725 .elementor.elementor-2725 .elementor-element-204bf86 > .elementor-container,
.page-id-2725 .elementor.elementor-2725 .elementor-element-131df66 > .elementor-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--kp-content);
	padding: 0;
	margin-inline: auto;
}

.page-id-2725 .elementor.elementor-2725 .elementor-element-wky5usm {
	position: relative;
	display: flex;
	box-sizing: border-box;
	width: calc(100% - 48px);
	max-width: var(--kp-content);
	min-height: 440px;
	margin: var(--kp-section-space) auto;
	padding: 0;
	background: var(--kp-surface);
	border: 1px solid var(--kp-edge);
	border-radius: var(--kp-radius-card);
	overflow: hidden;
}
.page-id-2725 .elementor-element-wky5usm::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 52%;
	background: #d8c2a8 url("/wp-content/uploads/koohpaye/prefooter-story-bg.webp") 18% center / cover no-repeat;
}
.page-id-2725 .elementor.elementor-2725 .elementor-element-wky5usm > .elementor-container {
	width: 100%;
	min-height: inherit;
	margin: 0;
	padding: 0;
	align-items: stretch;
}
.page-id-2725 .elementor-element-wky5usm .elementor-element-420ee68 { width: 48%; }
.page-id-2725 .elementor-element-wky5usm .elementor-element-1caef5a { width: 52%; }
.page-id-2725 .elementor-2725 .elementor-element-wky5usm .elementor-element-420ee68 > .elementor-element-populated {
	align-content: center;
	margin: 0;
	padding: 40px;
	background: var(--kp-surface);
	border-radius: 0;
	box-shadow: none;
	color: var(--kp-ink);
}
.page-id-2725 .elementor-2725 .elementor-element-wky5usm .cz_title {
	/* Counter XTRA's cz_mobile_text_center !important on these two widgets. */
	text-align: right !important;
}
.page-id-2725 .elementor-2725 .elementor-element-wky5usm :is(.elementor-element-cb011bb, .elementor-element-39c3eb0) { margin: 0; }
.page-id-2725 .elementor-element-wky5usm .cz_title_line { display: none; }
.page-id-2725 .elementor-2725 .elementor-element-cb011bb .cz_title .cz_title_content {
	margin: 0 0 16px;
	color: var(--kp-ink);
	font-size: var(--kp-section-title);
	font-weight: 700;
	line-height: 1.65;
}
.page-id-2725 .elementor-element-cb011bb .cz_wpe_content :is(h2, p) { margin: 0; color: inherit; font: inherit; }
.page-id-2725 .elementor-2725 .elementor-element-39c3eb0 .cz_title .cz_title_content {
	margin: 0;
	color: var(--kp-muted);
	font-size: 15px;
	font-weight: 400;
	line-height: 2;
}
.page-id-2725 .elementor-element-39c3eb0 .cz_wpe_content p { margin: 0 0 12px; }
.page-id-2725 .elementor-element-39c3eb0 .cz_wpe_content p:last-child { margin-bottom: 0; }
.page-id-2725 .elementor-2725 .elementor-element-091e65a { width: 100%; max-width: 100%; margin: 24px 0 0; }
.page-id-2725 .elementor-element-091e65a .cz_btn_center { display: flex; justify-content: flex-start; }
.page-id-2725 .elementor-2725 .elementor-element-091e65a .cz_btn {
	display: inline-flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 10px 20px;
	border: 1px solid var(--kp-olive);
	border-radius: var(--kp-radius-button);
	background: var(--kp-olive);
	color: var(--kp-surface);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.8;
	box-shadow: none;
	transition: background-color 160ms ease, color 160ms ease;
}
.page-id-2725 .elementor-2725 .elementor-element-091e65a .cz_btn:hover { background: #344321; color: var(--kp-surface); }
/* XTRA emits a second label and hover plates even for its no-effect buttons. */
.page-id-2725 .elementor-element-091e65a .cz_btn :is(b, .cz_btn_onhover),
.page-id-2725 .elementor-element-091e65a .cz_btn::before,
.page-id-2725 .elementor-element-091e65a .cz_btn::after { display: none; }
.page-id-2725 .kp-hero-deck :is(a, button):focus-visible,
.page-id-2725 .elementor-element-131df66 a:focus-visible,
.page-id-2725 .elementor-element-wky5usm a:focus-visible,
.page-id-2725 #site_header a:focus-visible,
.page-id-2725 #site_footer a:focus-visible {
	/* The theme's global a/button focus reset uses !important. */
	outline: 3px solid #747545 !important;
	outline-offset: 4px;
}
.page-id-2725 .xtra-fixed-mobile-nav a:focus-visible { outline: 3px solid var(--kp-surface) !important; outline-offset: -5px; }

.page-id-2725 #site_footer { border-top-width: 1px; border-bottom: 0; box-shadow: none; }
.page-id-2725 #site_footer .cz_middle_footer > .row { border-radius: var(--kp-radius-card); box-shadow: none; background: var(--kp-paper); }
.page-id-2725 #site_footer .koohpaye-footer-contact__phone { min-height: 44px; }
.page-id-2725 .cz_fixed_bottom_border { display: none; }

@media (min-width: 768px) and (max-width: 1024px) {
	.page-id-2725 .elementor-2725 .elementor-element-wky5usm .elementor-element-420ee68 > .elementor-element-populated { padding: 28px; }
}
@media (max-width: 767px) {
	body.page-id-2725 { --kp-section-space: 36px; }
	.page-id-2725 .elementor.elementor-2725 .elementor-element-wky5usm { width: calc(100% - 32px); min-height: 0; flex-direction: column; }
	.page-id-2725 .elementor-element-wky5usm::before { position: relative; display: block; inset: auto; width: 100%; height: 220px; flex-shrink: 0; background-position: left 46%; }
	.page-id-2725 .elementor.elementor-2725 .elementor-element-wky5usm > .elementor-container { min-height: 0; }
	.page-id-2725 .elementor-element-wky5usm .elementor-element-420ee68 { width: 100%; }
	.page-id-2725 .elementor-element-wky5usm .elementor-element-1caef5a { display: none; }
	.page-id-2725 .elementor-2725 .elementor-element-wky5usm .elementor-element-420ee68 > .elementor-element-populated { padding: 26px 24px 28px; }
	.page-id-2725 .elementor-2725 .elementor-element-39c3eb0 .cz_title .cz_title_content { font-size: 14px; }
	.page-id-2725 .elementor-2725 .elementor-element-091e65a .cz_btn { min-height: 48px; font-size: 13px; }
}
@media (max-width: 768px) {
	.page-id-2725 .xtra-fixed-mobile-nav { background: var(--kp-olive); padding-bottom: env(safe-area-inset-bottom, 0px); }
	.page-id-2725 .xtra-fixed-mobile-nav > a { box-sizing: border-box; min-height: 52px; padding: 8px 16px; font-size: 13px; }
}
@media (max-width: 900px) {
	/* XTRA already reserves the fixed navigation's actual height with a margin. */
	.page-id-2725 #site_footer { padding-bottom: 16px; }
}
@media (max-width: 640px) {
	/* The old 102px minimum for the empty social column overflowed at 320px. */
	.page-id-2725 #site_footer #codevz_about-2 > div { grid-template-columns: 90px minmax(0, 1fr) 82px; }
}
@media (prefers-reduced-motion: reduce) {
	.page-id-2725 .elementor-element-wky5usm a { transition: none; }
}
