/*
 * Canonical section system for all non-home pages.
 * Mirrors the homepage rhythm: Google Sans body, strong Eurostile headings,
 * light showroom shell, centered section headers and soft white content areas.
 */

:root {
	--fc-section-font: var(--fc-font-main, var(--fc-font-body, "Google Sans", system-ui, sans-serif));
	--fc-section-title-font: var(--fc-font-title, "SFU Eurostile", "Google Sans", sans-serif);
	--fc-section-title-ext-font: var(--fc-font-title-ext, "SFU Eurostile Extended", "SFU Eurostile", "Google Sans", sans-serif);
	--fc-section-bg: var(--fc-shell, #f2f5f3);
	--fc-section-surface: #fff;
	--fc-section-ink: #17241d;
	--fc-section-muted: #617067;
	--fc-section-line: #dce5df;
	--fc-section-soft: #eef4f0;
	--fc-section-shadow: 0 14px 38px rgba(24, 49, 35, 0.07);
	--fc-section-radius: 1.125rem;
	--fc-section-y: clamp(3.75rem, 6vw, 6rem);
	--fc-section-edge: 1rem;
	--fc-section-container: 76rem;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) {
	background: var(--fc-section-bg) !important;
	color: var(--fc-section-ink) !important;
	font-family: var(--fc-section-font) !important;
	-webkit-font-smoothing: antialiased;
	text-rendering: geometricPrecision;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) #wrapper,
body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) #main,
body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .main {
	background: var(--fc-section-bg) !important;
	color: var(--fc-section-ink) !important;
	font-family: var(--fc-section-font) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	p,
	li,
	a,
	span,
	small,
	strong,
	em,
	label,
	input,
	select,
	textarea,
	button,
	td,
	th,
	.post_content,
	.entry-content
) {
	font-family: var(--fc-section-font) !important;
	letter-spacing: 0 !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	.sec_title,
	.fc-heading,
	.fc-map-title,
	.fc-booking-title,
	.fc-default-hero h1,
	.fc-single-hero-title,
	.fc-article-main-title,
	.fc-section-title,
	.fc-news-banner-title,
	.fc-post-card h3,
	.fc-gwm-page-hero h1,
	.fc-gwm-copy h2,
	.fc-gwm-editorial-grid h2
) {
	font-family: var(--fc-section-title-font) !important;
	letter-spacing: 0 !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.title_background,
	.heading_group .title_background
) {
	font-family: var(--fc-section-title-ext-font) !important;
	letter-spacing: 0 !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.grid-container,
	.fc-container
) {
	box-sizing: border-box !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) #main > :is(
	section,
	main,
	.fc-default-page,
	.fc-gwm-page,
	.fc-gwm-single
) {
	font-family: var(--fc-section-font) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) #main > section:not(.banner_section):not(.breadcrumbs),
body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.page_default,
	.content_page,
	.news_page,
	.services_page,
	.about_page,
	.system_page,
	.recruit_page,
	.contact_page,
	.products_page,
	.installment_page,
	.fc-gwm-page-section,
	.fc-gwm-single-content,
	.fc-single-related-section
) {
	padding-block: var(--fc-section-y) !important;
	background: var(--fc-section-bg) !important;
	color: var(--fc-section-ink) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.breadcrumbs,
	.products_breadcrumbs,
	.services_breadcrumbs,
	.page_breadcrumbs,
	.news_breadcrumbs,
	.single_post_breadcrumbs,
	.fc-news-crumbs,
	.fc-gwm-single-breadcrumb
) {
	margin: 0 !important;
	padding: 0.8rem 0 !important;
	background: #edf3ef !important;
	border-bottom: 1px solid var(--fc-section-line) !important;
	color: var(--fc-section-muted) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.breadcrumbs,
	.products_breadcrumbs,
	.services_breadcrumbs,
	.page_breadcrumbs,
	.news_breadcrumbs,
	.single_post_breadcrumbs,
	.fc-news-crumbs,
	.fc-gwm-single-breadcrumb
) :is(a, cite, li, span, .divider) {
	color: var(--fc-section-muted) !important;
	-webkit-text-fill-color: var(--fc-section-muted) !important;
	font-size: 0.8125rem !important;
	line-height: 1.45 !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.breadcrumbs,
	.products_breadcrumbs,
	.services_breadcrumbs,
	.page_breadcrumbs,
	.news_breadcrumbs,
	.single_post_breadcrumbs,
	.fc-news-crumbs,
	.fc-gwm-single-breadcrumb
) a:hover {
	color: var(--primary-color, #e60012) !important;
	-webkit-text-fill-color: var(--primary-color, #e60012) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .heading_group {
	position: relative !important;
	max-width: 52rem !important;
	margin: 0 auto clamp(1.8rem, 3vw, 2.5rem) !important;
	padding-top: clamp(1.5rem, 3vw, 2.65rem) !important;
	text-align: center !important;
	overflow: visible !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .heading_group .sec_title {
	position: relative !important;
	z-index: 2 !important;
	margin: 0 !important;
	color: var(--primary-color, #e60012) !important;
	-webkit-text-fill-color: var(--primary-color, #e60012) !important;
	font-size: clamp(1.75rem, 3vw, 2.65rem) !important;
	font-weight: 820 !important;
	line-height: 1.12 !important;
	text-transform: uppercase !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .heading_group .title_background {
	position: absolute !important;
	top: 0 !important;
	left: 50% !important;
	z-index: 0 !important;
	width: max-content !important;
	max-width: calc(100vw - 2rem) !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
	-webkit-text-stroke: 1px rgba(230, 0, 18, 0.2) !important;
	font-size: clamp(3.5rem, 10vw, 8.25rem) !important;
	font-weight: 900 !important;
	line-height: 0.85 !important;
	text-transform: uppercase !important;
	opacity: 0.42 !important;
	pointer-events: none !important;
	transform: translateX(-50%) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.fc-section-header,
	.fc-section-head,
	.fc-news-head
) {
	max-width: 52rem !important;
	margin: 0 auto clamp(1.8rem, 3vw, 2.5rem) !important;
	padding: 0 !important;
	text-align: center !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.fc-subheading,
	.fc-section-desc,
	.fc-news-desc,
	.fc-gwm-page-hero span,
	.fc-default-hero p
) {
	max-width: 45rem !important;
	margin: 0.8rem auto 0 !important;
	color: var(--fc-section-muted) !important;
	-webkit-text-fill-color: var(--fc-section-muted) !important;
	font-size: 0.98rem !important;
	font-weight: 500 !important;
	line-height: 1.6 !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.post_content,
	.entry-content,
	.fc-article-body-content,
	.fc-gwm-copy__content,
	.fc-default-content
) {
	color: var(--fc-section-muted) !important;
	font-size: 0.98rem !important;
	line-height: 1.72 !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.post_content,
	.entry-content,
	.fc-article-body-content,
	.fc-gwm-copy__content,
	.fc-default-content
) :is(p, li, td, th) {
	color: var(--fc-section-muted) !important;
	-webkit-text-fill-color: var(--fc-section-muted) !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.post_content,
	.entry-content,
	.fc-article-body-content,
	.fc-gwm-copy__content,
	.fc-default-content
) :is(h1, h2, h3, h4, h5, h6) {
	color: var(--fc-section-ink) !important;
	-webkit-text-fill-color: var(--fc-section-ink) !important;
	font-weight: 820 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.post_content,
	.entry-content,
	.fc-article-body-content,
	.fc-gwm-copy__content,
	.fc-default-content
) a {
	color: var(--primary-color, #e60012) !important;
	-webkit-text-fill-color: var(--primary-color, #e60012) !important;
	text-decoration: none !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.fc-default-content,
	.fc-gwm-copy__content,
	.fc-single-article,
	.fc-sidebar-sticky-card,
	.fc-news-empty,
	.fc-gwm-contact-form,
	.fc-gwm-copy aside
) {
	background: var(--fc-section-surface) !important;
	border: 1px solid var(--fc-section-line) !important;
	border-radius: var(--fc-section-radius) !important;
	box-shadow: var(--fc-section-shadow) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .fc-default-page {
	padding-bottom: var(--fc-section-y) !important;
	background: var(--fc-section-bg) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .fc-default-content {
	padding: clamp(1.4rem, 3vw, 2.5rem) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .fc-default-hero,
body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(.banner_section, .fc-news-banner, .fc-gwm-page-hero) {
	font-family: var(--fc-section-font) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .fc-default-hero h1,
body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .fc-news-banner-title,
body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .fc-gwm-page-hero h1 {
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	font-size: clamp(2.05rem, 5vw, 4.15rem) !important;
	font-weight: 860 !important;
	line-height: 1.08 !important;
	text-transform: uppercase !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.fc-news-grid,
	.fc-gwm-editorial-grid
) {
	gap: clamp(1rem, 2vw, 1.5rem) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.fc-post-card,
	.news_page .post_item,
	.fc-gwm-editorial-grid article
) {
	background: #fff !important;
	border: 1px solid var(--fc-section-line) !important;
	border-radius: var(--fc-section-radius) !important;
	box-shadow: 0 12px 32px rgba(24, 49, 35, 0.06) !important;
	overflow: hidden !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.fc-post-card,
	.news_page .post_item,
	.fc-gwm-editorial-grid article
) :is(.cont_wrap, h2, h3, a, p, time, span) {
	font-family: var(--fc-section-font) !important;
	letter-spacing: 0 !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.fc-post-card h3,
	.news_page .post_item h3,
	.fc-gwm-editorial-grid article h2
) {
	color: var(--fc-section-ink) !important;
	-webkit-text-fill-color: var(--fc-section-ink) !important;
	font-family: var(--fc-section-title-font) !important;
	font-size: clamp(1rem, 1.35vw, 1.18rem) !important;
	font-weight: 780 !important;
	line-height: 1.35 !important;
	text-transform: none !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.fc-post-card-meta,
	.fc-post-card-cat,
	.fc-post-card-date,
	.fc-news-count,
	.fc-gwm-editorial-grid article > p
) {
	color: var(--fc-section-muted) !important;
	-webkit-text-fill-color: var(--fc-section-muted) !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	text-transform: uppercase !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .fc-post-card-cat {
	color: var(--primary-color, #e60012) !important;
	-webkit-text-fill-color: var(--primary-color, #e60012) !important;
}

@media (hover: hover) and (pointer: fine) {
	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
		.fc-post-card,
		.news_page .post_item,
		.fc-gwm-editorial-grid article
	):hover {
		transform: translateY(-3px) !important;
		border-color: rgba(230, 0, 18, 0.28) !important;
		box-shadow: 0 18px 44px rgba(16, 26, 21, 0.12) !important;
	}
}

body.single-post .fc-gwm-single,
body.single-post #main {
	background: var(--fc-section-bg) !important;
	font-family: var(--fc-section-font) !important;
}

body.single-post .fc-gwm-single-content {
	padding-block: var(--fc-section-y) !important;
}

body.single-post .fc-single-article {
	padding: clamp(1.4rem, 3vw, 2.5rem) !important;
	color: var(--fc-section-muted) !important;
}

body.single-post .fc-article-main-title {
	color: var(--fc-section-ink) !important;
	-webkit-text-fill-color: var(--fc-section-ink) !important;
	font-family: var(--fc-section-title-font) !important;
	font-size: clamp(1.55rem, 2.4vw, 2.35rem) !important;
	line-height: 1.18 !important;
	text-transform: uppercase !important;
}

body.single-post .fc-article-body-content {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.single-post .fc-single-sidebar :is(h3, h4),
body.single-post .fc-article-cta-box :is(h3, p, span, a) {
	font-family: var(--fc-section-font) !important;
	letter-spacing: 0 !important;
}

body:is(.blog, .category, .archive, .tag, .search-results) #main {
	background: var(--fc-section-bg) !important;
}

body:is(.blog, .category, .archive, .tag, .search-results) .news_page {
	padding-block: var(--fc-section-y) !important;
	background: var(--fc-section-bg) !important;
}

@media only screen and (max-width: 767px) {
	:root {
		--fc-section-y: clamp(2.75rem, 12vw, 4rem);
		--fc-section-edge: 0.875rem;
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .heading_group {
		padding-top: 1.45rem !important;
		margin-bottom: 1.5rem !important;
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .heading_group .sec_title {
		font-size: clamp(1.45rem, 8vw, 2rem) !important;
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .heading_group .title_background {
		font-size: clamp(2.75rem, 18vw, 4.5rem) !important;
		opacity: 0.3 !important;
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
		.post_content,
		.entry-content,
		.fc-article-body-content,
		.fc-gwm-copy__content,
		.fc-default-content
	) {
		font-size: 0.92rem !important;
		line-height: 1.68 !important;
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) .fc-default-content,
	body.single-post .fc-single-article {
		padding: 1.2rem !important;
		border-radius: 0.9rem !important;
	}
}

/* Desktop fluid responsive shell: match homepage resize/zoom behavior. */
body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) {
	--fc-container-max: 1280px;
	--fc-edge: 32px;
	--fc-section-container: var(--fc-container-max);
	overflow-x: hidden !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) #wrapper,
body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) #main {
	width: 100% !important;
	max-width: none !important;
	overflow-x: clip !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.container,
	.row,
	.grid-container,
	.fc-container,
	.fc-products-showroom-vip .fc-container,
	.fc-pricing-page-vip .fc-container,
	.fc-services-page-vip .fc-container,
	.fc-about-page-vip .fc-container,
	.fc-news-page-vip .fc-container,
	.fc-recruit-page-vip .fc-container,
	.fc-contact-page-vip .fc-container,
	.products_page > .container,
	.services_page > .container,
	.about_page > .container,
	.news_page > .container,
	.system_page > .container,
	.recruit_page > .container,
	.contact_page > .container,
	.page_default > .container,
	.content_page > .container,
	.installment_page > .container
) {
	box-sizing: border-box !important;
	width: min(100%, var(--fc-container-max)) !important;
	max-width: var(--fc-container-max) !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-right: var(--fc-edge) !important;
	padding-left: var(--fc-edge) !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.row,
	.grid,
	[class*="grid"],
	[class*="_grid"],
	[class*="-grid"],
	[class*="layout"],
	[class*="_layout"],
	[class*="-layout"],
	[class*="list"],
	[class*="_list"],
	[class*="-list"],
	[class*="cards"],
	[class*="_cards"],
	[class*="-cards"],
	[class*="bar"],
	[class*="_bar"],
	[class*="-bar"],
	[class*="wrap"],
	[class*="_wrap"],
	[class*="-wrap"],
	[class*="inner"],
	[class*="_inner"],
	[class*="-inner"],
	[class*="content"],
	[class*="_content"],
	[class*="-content"],
	[class*="body"],
	[class*="_body"],
	[class*="-body"],
	[class^="col_"],
	[class*=" col_"],
	.col,
	.column
) {
	min-width: 0 !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	img,
	video,
	canvas,
	iframe,
	svg
) {
	max-width: 100% !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.post_content,
	.entry-content,
	.fc-article-body-content,
	.fc-gwm-copy__content,
	.fc-default-content,
	.fc-single-article
) :is(table, pre, code) {
	max-width: 100% !important;
}

body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
	.post_content,
	.entry-content,
	.fc-article-body-content,
	.fc-gwm-copy__content,
	.fc-default-content,
	.fc-single-article
) table {
	display: block !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch;
}

@media (min-width: 1101px) and (max-width: 1280px) {
	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) {
		--fc-container-max: 1160px;
		--fc-edge: 24px;
		--fc-section-y: clamp(3.25rem, 5vw, 5rem);
	}
}

@media (min-width: 850px) and (max-width: 1100px) {
	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) {
		--fc-container-max: 940px;
		--fc-edge: 24px;
		--fc-section-y: clamp(3rem, 5vw, 4.5rem);
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
		.fc-quick-actions-bar,
		.fc-models-grid,
		.fc-services-grid,
		.fc-services-process-grid,
		.fc-about-stats-row,
		.fc-about-vm-section,
		.fc-about-cv-section,
		.fc-news-grid,
		.fc-recruit-benefits-grid,
		.products_page .product_grid,
		.products_page .list_products,
		.news_page .post_grid,
		.news_page .list_posts,
		.services_page .list_services,
		.system_page .list_stores
	) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
		.fc-prod-hero-stage .fc-container,
		.fc-pricing-hero-stage .fc-container,
		.fc-services-hero-stage .fc-container,
		.fc-about-story-section,
		.fc-recruit-env-grid,
		.fc-contact-main-grid,
		.fc-gwm-editorial-grid,
		.fc-gwm-single-content,
		.single_post_wrap,
		.post_single_wrap,
		.product_details_1 .row,
		.service_details_1 .row,
		.contact_page .row,
		.installment_page .row
	) {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 849px) {
	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) {
		--fc-container-max: 100%;
		--fc-edge: 16px;
		--fc-section-y: clamp(2.75rem, 12vw, 4rem);
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
		.container,
		.row,
		.grid-container,
		.fc-container
	) {
		padding-right: var(--fc-edge) !important;
		padding-left: var(--fc-edge) !important;
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
		.fc-models-grid,
		.fc-services-grid,
		.fc-services-process-grid,
		.fc-about-stats-row,
		.fc-about-vm-section,
		.fc-about-cv-section,
		.fc-news-grid,
		.fc-recruit-benefits-grid,
		.fc-recruit-env-grid,
		.fc-contact-main-grid,
		.fc-gwm-editorial-grid,
		.fc-gwm-single-content,
		.products_page .product_grid,
		.products_page .list_products,
		.news_page .post_grid,
		.news_page .list_posts,
		.services_page .list_services,
		.system_page .list_stores,
		.contact_page .row,
		.installment_page .row
	) {
		grid-template-columns: 1fr !important;
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
		[class^="col_"],
		[class*=" col_"],
		.col,
		.column
	) {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}
}

@media (max-width: 640px) {
	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) {
		--fc-edge: 16px;
	}

	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) :is(
		.fc-quick-btn,
		.fc-info-row,
		.fc-job-row
	) {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 390px) {
	body:not(.home):not(.page-template-home):not(.page-template-templateshome-php) {
		--fc-edge: 14px;
	}
}
