/*
Theme Name: HCFA Global
Theme URI: https://deltalab.gr
Author: DeltaLab
Author URI: https://deltalab.gr
Description: Custom classic theme for HCFA Global (European edition).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hcfa-global
Tags: custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   Tokens
   ========================================================= */
:root {
	--hcfa-green: #2C9942;
	--hcfa-green-dark: #237A35;
	--hcfa-green-tint: #E7F4EA;
	--hcfa-navy: #003A70;
	--hcfa-dark: #1A1A1A;
	--hcfa-body: #3A3A3A;
	--hcfa-muted: #5F6B63;
	--hcfa-light: #F4F7F4;
	--hcfa-border: #E4E9E4;
	--hcfa-container: 1280px;
	--hcfa-radius: 6px;
	--hcfa-radius-pill: 100px;
	--hcfa-font: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--hcfa-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--hcfa-body);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--hcfa-green); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--hcfa-green-dark); }
h1, h2, h3, h4 { color: var(--hcfa-dark); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--hcfa-container); margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 9999;
	width: auto; height: auto; clip: auto;
	background: #fff; padding: 10px 16px; border-radius: 4px;
}

/* =========================================================
   Buttons
   ========================================================= */
.hcfa-btn,
button,
input[type="submit"],
.wp-block-button__link {
	display: inline-block;
	background: var(--hcfa-green);
	color: #fff;
	border: 0;
	border-radius: var(--hcfa-radius-pill);
	padding: 13px 30px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

.hcfa-btn:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--hcfa-green-dark);
	color: #fff;
}

.hcfa-btn--ghost {
	background: transparent;
	color: var(--hcfa-dark);
	border: 1px solid var(--hcfa-border);
}

.hcfa-btn--ghost:hover {
	background: var(--hcfa-dark);
	color: #fff;
	border-color: var(--hcfa-dark);
}

.hcfa-btn--light { background: #fff; color: var(--hcfa-dark); }
.hcfa-btn--light:hover { background: #fff; color: var(--hcfa-green-dark); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 300;
	background: #fff;
	border-bottom: 1px solid var(--hcfa-border);
}

/* Keep the sticky header clear of the WordPress admin bar. */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

.header-inner {
	position: relative;
	z-index: 210;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 82px;
}

.custom-logo { max-height: 40px; width: auto; }
.site-title { font-size: 24px; font-weight: 800; color: var(--hcfa-green); }

.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list > li { position: relative; }
.menu-item-row { display: flex; align-items: center; gap: 6px; }
.nav-list > li > .menu-item-row > a {
	color: var(--hcfa-dark);
	font-weight: 600;
	font-size: 15px;
	padding: 28px 0;
	position: relative;
}
.nav-list > li > .menu-item-row > a::after {
	content: "";
	position: absolute; left: 0; bottom: 20px;
	width: 0; height: 2px; background: var(--hcfa-green);
	transition: width .25s ease;
}
.nav-list > li:hover > .menu-item-row > a::after,
.nav-list > li.current-menu-item > .menu-item-row > a::after,
.nav-list > li.current-menu-ancestor > .menu-item-row > a::after { width: 100%; }
.nav-list > li.current-menu-item > .menu-item-row > a,
.nav-list > li.current-menu-ancestor > .menu-item-row > a { color: var(--hcfa-green); }

.submenu-toggle { display: none; }
.submenu-toggle .chev { transition: transform .2s ease; }

.nav-list .sub-menu {
	position: absolute; top: 100%; left: 0;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--hcfa-border);
	border-radius: var(--hcfa-radius);
	box-shadow: 0 18px 40px rgba(0,0,0,.10);
	padding: 10px;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-list > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-list .sub-menu .menu-item-row { display: block; }
.nav-list .sub-menu a {
	display: block; padding: 9px 12px; border-radius: 4px;
	color: var(--hcfa-dark); font-size: 14px; font-weight: 500;
}
.nav-list .sub-menu a:hover { background: var(--hcfa-green-tint); color: var(--hcfa-green-dark); }

/* Header search */
.header-actions { position: relative; z-index: 250; display: flex; align-items: center; gap: 12px; }
.site-branding { position: relative; z-index: 250; }
.search-toggle {
	background: transparent; border: 0; padding: 8px; color: var(--hcfa-green);
}
.search-toggle svg { width: 22px; height: 22px; }

/* Icon-only buttons must not inherit the global green pill hover. */
.search-toggle:hover,
.nav-toggle:hover,
.submenu-toggle:hover {
	background: transparent;
}
.search-toggle:hover { color: var(--hcfa-green); }
.submenu-toggle:hover { color: var(--hcfa-muted); }
.header-search {
	position: absolute; top: calc(100% + 12px); right: 0;
	width: min(340px, 90vw);
	display: none;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--hcfa-border);
	border-radius: var(--hcfa-radius);
	box-shadow: 0 18px 40px rgba(0,0,0,.12);
	padding: 10px;
}
.header-search.is-open { display: flex; }
.header-search input[type="search"] {
	flex: 1; border: 1px solid var(--hcfa-border); border-radius: 4px;
	padding: 10px 12px; font: inherit; min-width: 0;
}
.header-search button { padding: 10px 18px; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--hcfa-green); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

@media (max-width: 1023px) {
	.nav-toggle { display: block; }

	.main-nav {
		position: fixed;
		top: 0; left: 0; right: 0; bottom: 0;
		z-index: 200;
		background: #fff;
		padding: 96px 24px 40px;
		overflow-y: auto;
		display: none;
	}
	.main-nav.is-open { display: block; }

	.nav-list { display: block; }
	.nav-list > li { border-bottom: 1px solid var(--hcfa-border); }
	.nav-list > li > .menu-item-row > a {
		flex: 1;
		padding: 18px 0;
		font-size: 17px;
		font-weight: 700;
		color: var(--hcfa-dark);
	}
	.nav-list > li > .menu-item-row > a::after { display: none; }
	.menu-item-row { justify-content: space-between; }
	.nav-list .sub-menu .menu-item-row { display: flex; align-items: center; justify-content: space-between; }
	.nav-list .sub-menu .menu-item-row > a { flex: 1; }

	.submenu-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; padding: 0;
		background: transparent; border: 0;
		color: var(--hcfa-muted); cursor: pointer;
	}
	.submenu-toggle .chev { transform: rotate(-90deg); }
	.submenu-toggle[aria-expanded="true"] .chev { transform: rotate(0deg); }

	.nav-list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 20px; min-width: 0;
		display: none;
	}
	.nav-list .sub-menu.is-open { display: block; }
	.nav-list .sub-menu > li { border-top: 1px solid var(--hcfa-border); }
	.nav-list .sub-menu .menu-item-row > a {
		padding: 16px 0;
		font-size: 16px;
		font-weight: 500;
		color: var(--hcfa-muted);
	}
	.nav-list .sub-menu .sub-menu.is-open { padding-left: 20px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hcfa-hero {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: center;
	background-color: var(--hcfa-dark);
	background-size: cover;
	background-position: center;
	color: #fff;
}
.hcfa-hero::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10,20,12,.85) 0%, rgba(10,20,12,.45) 60%, rgba(10,20,12,.25) 100%);
}
.hcfa-hero .container { position: relative; z-index: 2; }
.hcfa-hero__eyebrow {
	display: inline-block; margin-bottom: 18px;
	font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: #9FE0AC;
}
.hcfa-hero h1 {
	color: #fff;
	font-size: clamp(2.1rem, 4vw, 3.6rem);
	font-weight: 700;
	max-width: 20ch;
	margin-bottom: .5em;
}
.hcfa-hero p { font-size: 19px; color: #E6EEE7; max-width: 60ch; margin-bottom: 2em; }
.hcfa-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   Sections
   ========================================================= */
.hcfa-section { padding: 90px 0; }
.hcfa-section--tint { background: var(--hcfa-light); }
.hcfa-section--dark { background: var(--hcfa-dark); color: #d9d9d9; }
.hcfa-section--dark h2 { color: #fff; }

.hcfa-section__head { max-width: 720px; margin-bottom: 48px; }
.hcfa-section__head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.hcfa-section__head p { color: var(--hcfa-muted); font-size: 17px; margin: 0; }
.hcfa-section--dark .hcfa-section__head p { color: #b9c2ba; }

/* =========================================================
   Cards / grids
   ========================================================= */
.hcfa-grid { display: grid; gap: 28px; }
.hcfa-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hcfa-grid--4 { grid-template-columns: repeat(4, 1fr); }
.hcfa-grid--5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1023px) {
	.hcfa-grid--5, .hcfa-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.hcfa-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.hcfa-grid--5, .hcfa-grid--4, .hcfa-grid--3 { grid-template-columns: 1fr; }
}

.hcfa-card {
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--hcfa-border);
	border-radius: var(--hcfa-radius);
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hcfa-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 22px 44px rgba(0,0,0,.10);
	border-color: transparent;
}
.hcfa-card__media { overflow: hidden; background: var(--hcfa-light); }
.hcfa-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .5s ease; }
.hcfa-card:hover .hcfa-card__media img { transform: scale(1.06); }
.hcfa-card__body { display: block; padding: 22px 22px 26px; }
.hcfa-card__model { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hcfa-green); margin-bottom: 6px; }
.hcfa-card__title { display: block; font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.hcfa-card__title a { color: var(--hcfa-dark); }
.hcfa-card__title a:hover { color: var(--hcfa-green); }
.hcfa-card__text { display: block; font-size: 15px; color: var(--hcfa-muted); margin: 0 0 14px; }
.hcfa-card__more { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--hcfa-green); }
.hcfa-card__more::after { content: " →"; }

/* Quick links */
.hcfa-quicklinks { border-bottom: 1px solid var(--hcfa-border); }
.hcfa-quicklink {
	display: flex; align-items: center; gap: 16px;
	padding: 26px 28px;
	background: #fff; border: 1px solid var(--hcfa-border);
	border-radius: var(--hcfa-radius);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hcfa-quicklink:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.08); border-color: transparent; }
.hcfa-quicklink img { width: 46px; height: 46px; object-fit: contain; }
.hcfa-quicklink span { font-size: 18px; font-weight: 700; color: var(--hcfa-dark); }

/* News list */
.hcfa-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .hcfa-news { grid-template-columns: 1fr; } }
.hcfa-news__item { border-top: 2px solid var(--hcfa-green); padding-top: 18px; }
.hcfa-news__date { font-size: 13px; color: var(--hcfa-muted); margin-bottom: 8px; }
.hcfa-news__title { font-size: 18px; font-weight: 700; margin: 0; }
.hcfa-news__title a { color: var(--hcfa-dark); }
.hcfa-news__title a:hover { color: var(--hcfa-green); }

/* =========================================================
   Product single
   ========================================================= */
.hcfa-product-hero { background: var(--hcfa-light); padding: 70px 0; border-bottom: 1px solid var(--hcfa-border); }
.hcfa-product-hero__inner { display: grid; grid-template-columns: 45% 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hcfa-product-hero__inner { grid-template-columns: 1fr; gap: 32px; } }
.hcfa-product-hero__media { background: #fff; border: 1px solid var(--hcfa-border); border-radius: var(--hcfa-radius); padding: 30px; }
.hcfa-product-hero__media img { width: 100%; object-fit: contain; }

/* Single solution: the hero media hosts the player when a video exists. */
.hcfa-product-hero__media--video { padding: 0; border: 0; background: #000; overflow: hidden; }
.hcfa-product-hero__media--video .hcfa-solution-player {
	display: block; width: 100%; aspect-ratio: 16 / 9;
	object-fit: cover; background: #000;
}
.hcfa-product-hero__media--video .plyr,
.hcfa-product-hero__media--video .plyr__video-wrapper { width: 100%; }

/* Plyr renders its own controls — keep the global button hover background out
   of the play button so it stays stock (Plyr's own styling otherwise applies). */
.plyr__control--overlaid,
.plyr__control--overlaid:hover,
.plyr__control--overlaid:focus,
.plyr__control--overlaid:focus-visible {
	background: var(--plyr-color-main, #00b2ff);
}
.hcfa-product-model { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hcfa-green); }
.hcfa-product-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
.hcfa-highlights { margin: 0 0 26px; }
.hcfa-highlights li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.hcfa-highlights li::before { content: "✓"; position: absolute; left: 0; color: var(--hcfa-green); font-weight: 700; }

.hcfa-panel { background: var(--hcfa-light); border-radius: var(--hcfa-radius); padding: 32px; }
.hcfa-downloads li { padding: 12px 0; border-bottom: 1px solid var(--hcfa-border); }
.hcfa-downloads li:last-child { border-bottom: 0; }
.hcfa-downloads__type { font-size: 13px; color: var(--hcfa-muted); margin-left: 8px; }
.hcfa-related-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 700px) { .hcfa-related-products { grid-template-columns: 1fr; } }
.hcfa-related-products__item { border: 1px solid var(--hcfa-border); border-radius: var(--hcfa-radius); padding: 16px; }
.hcfa-related-products__title { display: block; margin-top: 10px; font-weight: 600; color: var(--hcfa-dark); }

/* Product documents — links out to the source PDF, no local file. */
.hcfa-docs__head { font-size: 24px; margin: 0 0 24px; }
.hcfa-doc-list { display: grid; gap: 12px; }
.hcfa-doc {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	background: #fff; border: 1px solid var(--hcfa-border);
	border-radius: var(--hcfa-radius); padding: 16px 20px;
}
.hcfa-doc__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hcfa-doc__type { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hcfa-green); }
.hcfa-doc__title { font-size: 15px; font-weight: 600; color: var(--hcfa-dark); line-height: 1.4; }
.hcfa-doc__meta { font-size: 13px; color: var(--hcfa-muted); }
.hcfa-doc__btn {
	flex: none; display: inline-block; padding: 9px 18px; white-space: nowrap;
	border-radius: var(--hcfa-radius-pill); background: var(--hcfa-green);
	color: #fff; font-size: 13px; font-weight: 600;
}
.hcfa-doc__btn:hover { background: var(--hcfa-green-dark); color: #fff; }
@media (max-width: 600px) {
	.hcfa-doc { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Footer (original background)
   ========================================================= */
.site-footer {
	position: relative;
	overflow: hidden;
	background: #0D2032;
	padding: 70px 0 26px;
	color: rgba(255, 255, 255, .8);
}
.site-footer::before {
	content: "";
	position: absolute; top: 0; left: 0;
	width: 100%; height: 10px;
	background: linear-gradient(254deg, #0471FF 0%, #52C76A 83.87%);
}
.site-footer::after {
	content: "";
	position: absolute; right: 0; bottom: 0;
	width: min(1240px, 92vw); height: min(318px, 26vw);
	background: url(assets/images/footer_bg.png) no-repeat right bottom;
	background-size: contain;
	opacity: .55;
	pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 2; }

.footer-top { display: flex; justify-content: center; margin-bottom: 40px; }
.footer-top .custom-logo { max-height: 44px; width: auto; }
.footer-top .site-title { color: #fff; }
.footer-nav {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
	border-top: 2px solid var(--hcfa-green);
	padding-top: 44px;
}
@media (max-width: 1023px) { .footer-nav { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-nav { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 16px; font-weight: 700; margin: 0 0 14px; color: #fff; }
.footer-col h4 a { color: #fff; }
.footer-col h4 a:hover { color: var(--hcfa-green); }
.footer-col a { display: block; font-size: 14px; color: rgba(255, 255, 255, .8); padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-col__sub { margin-top: 24px; }
.footer-email { color: var(--hcfa-green) !important; font-weight: 700; }
.footer-newsletter { display: flex; gap: 8px; margin-top: 12px; max-width: 320px; }
.footer-newsletter input {
	flex: 1; min-width: 0;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: var(--hcfa-radius-pill);
	padding: 10px 16px; font: inherit;
	background: rgba(255, 255, 255, .08);
	color: #fff;
}
.footer-newsletter input::placeholder { color: rgba(255, 255, 255, .55); }
.footer-newsletter button { padding: 10px 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; padding: 0; }
.footer-social a:hover { background: var(--hcfa-green); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; color: rgba(255, 255, 255, .6); }
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: #fff; }
.footer-sep { margin: 0 6px; }

/* =========================================================
   Product search banner (original .sub-banner)
   ========================================================= */
.hcfa-sub-banner { position: relative; }
.hcfa-sub-banner > picture > img { display: block; width: 100%; height: auto; }
.hcfa-sub-banner__main {
	position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 8;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent);
}
.hcfa-sub-banner__main .container { height: 100%; display: flex; align-items: center; }
.hcfa-sub-banner__cell { width: 886px; max-width: 100%; margin: 0 auto; }
.hcfa-sub-banner__title { font-size: 34px; font-weight: 700; line-height: 1.3235; color: #fff; }
.hcfa-sub-banner__box { margin-top: 20px; }
.hcfa-sub-banner__form {
	display: flex; align-items: center; justify-content: space-between;
	height: 64px; border-radius: 8px; background: #fff;
	box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
}
.hcfa-sub-banner__text {
	flex: 1; min-width: 0; height: 40px; border: 0; background: none;
	padding: 0 20px; font: inherit; font-size: 15px; color: rgba(0, 0, 0, .6);
}
.hcfa-sub-banner__text::placeholder { color: rgba(0, 0, 0, .4); }
.hcfa-sub-banner__btn {
	width: 64px; height: 64px; flex: none; border: 0; cursor: pointer;
	background: url(assets/images/search_btn.png) no-repeat center center;
	background-size: 24px 24px; border-radius: 0 8px 8px 0;
}
.hcfa-sub-banner__btn:hover {
	background: url(assets/images/search_btn.png) no-repeat center center var(--hcfa-light);
	background-size: 24px 24px;
}

/* Trending searches (original .hot) */
.hcfa-trending {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
	margin-top: -15px; padding: 26px 20px 13px;
	background: linear-gradient(249.01deg, #0471FF 19.35%, #52C76A 86.57%);
	color: #fff; font-size: 14px; line-height: 1.2857;
	border-radius: 0 0 8px 8px;
}
.hcfa-trending__label { flex: none; margin-right: 15px; text-align: left; }
/* The divider is drawn on the link itself (as in the original), never as its
   own flex item — so a separator can't be orphaned onto a line by itself. */
.hcfa-trending a {
	position: relative;
	margin-right: 15px; padding-right: 15px;
	color: #fff; font-weight: 400;
}
.hcfa-trending a::after {
	content: "";
	position: absolute; right: 0; top: 2px;
	width: 1px; height: 14px; background: #fff;
}
.hcfa-trending a:last-child { margin-right: 0; padding-right: 0; }
.hcfa-trending a:last-child::after { display: none; }
.hcfa-trending a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 767px) {
	.hcfa-sub-banner > picture > img { height: 330px; object-fit: cover; }
	.hcfa-sub-banner__main { background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25)); }
	.hcfa-sub-banner__cell { width: 100%; }
	.hcfa-sub-banner__title { font-size: 24px; }
	.hcfa-sub-banner__form { height: 52px; }
	.hcfa-sub-banner__text { height: 36px; padding: 0 14px; font-size: 14px; }
	.hcfa-sub-banner__btn { width: 52px; height: 52px; background-size: 20px 20px; }
	.hcfa-trending { margin-top: -10px; padding: 14px 16px 12px; }
	/* "Trending searches:" takes its own row and the terms wrap below it. */
	.hcfa-trending__label { width: 100%; margin-right: 0; }
}

/* Breadcrumb with home icon */
.hcfa-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hcfa-muted); margin-bottom: 12px; }
.hcfa-breadcrumb a { color: var(--hcfa-muted); }
.hcfa-breadcrumb a:hover { color: var(--hcfa-green); }
.hcfa-breadcrumb .sep { opacity: .5; }
.hcfa-breadcrumb .current { color: var(--hcfa-dark); }
.hcfa-breadcrumb__home { display: inline-flex; color: var(--hcfa-green); }

/* =========================================================
   Download centre
   ========================================================= */
.hcfa-dl-filters { background: var(--hcfa-light); padding: 48px 0; border-bottom: 1px solid var(--hcfa-border); }
.hcfa-dl-filters h2 { font-size: 28px; margin: 0 0 8px; }
.hcfa-dl-lead { color: var(--hcfa-muted); margin: 0 0 24px; }
.hcfa-dl-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.hcfa-dl-field { display: flex; flex-direction: column; gap: 6px; }
.hcfa-dl-field label { font-size: 13px; font-weight: 600; color: var(--hcfa-muted); }
.hcfa-dl-field select, .hcfa-dl-field input {
	border: 1px solid var(--hcfa-border); border-radius: var(--hcfa-radius-pill);
	padding: 12px 18px; font: inherit; background: #fff; min-width: 240px;
}
.hcfa-dl-reset { color: var(--hcfa-muted); font-size: 14px; text-decoration: underline; padding-bottom: 12px; }
.hcfa-dl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hcfa-dl-tabs a {
	padding: 8px 16px; border-radius: var(--hcfa-radius-pill);
	background: #fff; border: 1px solid var(--hcfa-border);
	font-size: 13px; font-weight: 600; color: var(--hcfa-muted);
}
.hcfa-dl-tabs a:hover { border-color: var(--hcfa-green); color: var(--hcfa-green); }
.hcfa-dl-tabs a.is-active { background: var(--hcfa-green); border-color: var(--hcfa-green); color: #fff; }
.hcfa-dl-heading { font-size: 22px; margin: 0 0 8px; }
.hcfa-dl-results { border-top: 1px solid var(--hcfa-border); }
.hcfa-dl-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--hcfa-border); }
@media (max-width: 700px) { .hcfa-dl-row { flex-direction: column; align-items: flex-start; } }
.hcfa-dl-row__title { font-size: 17px; margin: 0 0 6px; }
.hcfa-dl-row__title a { color: var(--hcfa-dark); }
.hcfa-dl-row__title a:hover { color: var(--hcfa-green); }
.hcfa-dl-row__meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--hcfa-muted); }
.hcfa-dl-row__meta strong { color: var(--hcfa-body); font-weight: 600; }
.hcfa-dl-row__actions { display: flex; gap: 10px; flex-shrink: 0; }
.hcfa-dl-action {
	display: inline-block; padding: 9px 18px; border-radius: var(--hcfa-radius-pill);
	background: var(--hcfa-green); color: #fff; font-size: 13px; font-weight: 600;
}
.hcfa-dl-action:hover { background: var(--hcfa-green-dark); color: #fff; }
.hcfa-dl-action--ghost { background: transparent; border: 1px solid var(--hcfa-border); color: var(--hcfa-dark); }
.hcfa-dl-action--ghost:hover { background: var(--hcfa-dark); border-color: var(--hcfa-dark); color: #fff; }
.hcfa-dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 8px; }

/* =========================================================
   Product category tabs
   ========================================================= */
.hcfa-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--hcfa-border); margin-bottom: 46px; }
.hcfa-tab {
	display: inline-block;
	padding: 14px 22px;
	border-bottom: 3px solid transparent;
	font-size: 16px; font-weight: 600;
	color: var(--hcfa-muted);
	transition: color .2s ease, border-color .2s ease;
}
.hcfa-tab:hover { color: var(--hcfa-dark); background: transparent; }
.hcfa-tab.is-active { color: var(--hcfa-green); border-bottom-color: var(--hcfa-green); }
.hcfa-tab-panel { display: none; }
.hcfa-tab-panel.is-active { display: block; }
.hcfa-section--category { padding-top: 44px; }
.hcfa-tab-panel__head {
	display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
	background: var(--hcfa-light); border-radius: 18px; padding: 56px 60px; margin-bottom: 56px;
}
@media (max-width: 1000px) { .hcfa-tab-panel__head { grid-template-columns: 1fr; gap: 28px; padding: 28px; } }
.hcfa-tab-panel__media { padding: 0; background: transparent; }
.hcfa-tab-panel__media img { width: 100%; display: block; }
.hcfa-tab-panel__head h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); margin: 0 0 14px; letter-spacing: -0.01em; }
.hcfa-tab-panel__head h2 a { color: var(--hcfa-dark); }
.hcfa-tab-panel__head h2 a:hover { color: var(--hcfa-green); }
.hcfa-tab-panel__head p { color: var(--hcfa-muted); line-height: 1.75; max-width: 52ch; margin: 0; }
.hcfa-tab-panel__sub { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hcfa-muted); margin: 0 0 20px; }
.hcfa-series-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 38px; }
.hcfa-series-tab {
	display: inline-block; padding: 10px 20px;
	border: 1px solid var(--hcfa-border); border-radius: var(--hcfa-radius-pill);
	background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--hcfa-dark);
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.hcfa-series-tab:hover { border-color: var(--hcfa-green); color: var(--hcfa-green); background: var(--hcfa-green-tint); }
.hcfa-series-tab.is-active { background: var(--hcfa-green); border-color: var(--hcfa-green); color: #fff; }
.hcfa-series-tab.is-active:hover { background: var(--hcfa-green-dark); border-color: var(--hcfa-green-dark); color: #fff; }
.hcfa-series-panel { display: none; }
.hcfa-series-panel.is-active { display: block; }
.hcfa-tab-panel .hcfa-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.hcfa-archive-desc { max-width: 680px; color: var(--hcfa-muted); margin-top: 10px; }

/* =========================================================
   Solutions (video cards + modal)
   ========================================================= */
.hcfa-solution-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--hcfa-border); margin-bottom: 44px; }
.hcfa-solution-tabs a { display: inline-block; padding: 14px 20px; border-bottom: 3px solid transparent; font-size: 15px; font-weight: 600; color: var(--hcfa-muted); }
.hcfa-solution-tabs a:hover { color: var(--hcfa-dark); }
.hcfa-solution-tabs a.is-active { color: var(--hcfa-green); border-bottom-color: var(--hcfa-green); }

.hcfa-solution-card {
	display: block; width: 100%; padding: 0;
	border: 1px solid var(--hcfa-border); border-radius: var(--hcfa-radius);
	background: #fff; cursor: pointer; overflow: hidden; text-align: left; font: inherit;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hcfa-solution-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0,0,0,.10); border-color: transparent; background: #fff; color: var(--hcfa-dark); }
.hcfa-solution-card__media { position: relative; display: block; overflow: hidden; background: var(--hcfa-light); }
.hcfa-solution-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .5s ease; }
.hcfa-solution-card:hover .hcfa-solution-card__media img { transform: scale(1.05); }
.hcfa-solution-card__play {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 66px; height: 66px; border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	backdrop-filter: blur(8px) saturate(140%);
	-webkit-backdrop-filter: blur(8px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, .5);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	display: flex; align-items: center; justify-content: center;
	transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.hcfa-solution-card__play::after { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.hcfa-solution-card:hover .hcfa-solution-card__play { transform: translate(-50%, -50%) scale(1.1); background: rgba(255, 255, 255, .3); border-color: rgba(255, 255, 255, .75); }
.hcfa-solution-card__title { display: block; padding: 18px 20px; font-size: 16px; font-weight: 600; color: var(--hcfa-dark); line-height: 1.4; }

.hcfa-video-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.hcfa-video-modal[hidden] { display: none; }
.hcfa-video-modal__backdrop { position: absolute; inset: 0; background: rgba(6, 14, 26, .88); }
.hcfa-video-modal__dialog { position: relative; z-index: 2; width: min(1000px, 100%); }
.hcfa-video-modal__close {
	position: absolute; top: -54px; right: 0;
	width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 50%;
	background: #fff; color: var(--hcfa-dark);
	font-size: 24px; line-height: 1;
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}
.hcfa-video-modal__close:hover { background: #EDEDED; color: var(--hcfa-dark); transform: scale(1.05); }
.hcfa-video-modal__title { color: #fff; font-weight: 600; margin: 0 0 10px; font-size: 16px; }
.hcfa-video-modal__video { width: 100%; display: block; background: #000; border-radius: 8px; }
body.video-open { overflow: hidden; }
.hcfa-dl-pagination { margin-top: 32px; }
.hcfa-dl-pagination ul { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hcfa-dl-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--hcfa-radius-pill);
	border: 1px solid var(--hcfa-border); color: var(--hcfa-dark); font-size: 14px;
}
.hcfa-dl-pagination .page-numbers.current, .hcfa-dl-pagination .page-numbers:hover { background: var(--hcfa-green); border-color: var(--hcfa-green); color: #fff; }

/* =========================================================
   Archives / misc
   ========================================================= */
.hcfa-archive-head { background: var(--hcfa-light); padding: 60px 0; border-bottom: 1px solid var(--hcfa-border); }
.hcfa-archive-head h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.hcfa-breadcrumb { font-size: 13px; color: var(--hcfa-muted); margin-bottom: 10px; }

.entry-content h2 { margin-top: 1.5em; }

/* Product single layout */
.hcfa-product-body { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .hcfa-product-body { grid-template-columns: 1fr; } }

/* Download list */
.hcfa-download-list { border-top: 1px solid var(--hcfa-border); }
.hcfa-download-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--hcfa-border); }
.hcfa-download-row__title { font-size: 17px; margin: 0 0 4px; }
.hcfa-download-row__title a { color: var(--hcfa-dark); }
.hcfa-download-row__title a:hover { color: var(--hcfa-green); }
.hcfa-download-row__meta { font-size: 13px; color: var(--hcfa-muted); white-space: nowrap; }
.hcfa-download-meta { margin: 0 0 24px; }
.hcfa-download-meta li { margin-bottom: 6px; color: var(--hcfa-muted); }

/* =========================================================
   Block editor palette (classic-theme colour classes)
   ========================================================= */
.has-primary-color { color: #2C9942; }
.has-primary-background-color { background-color: #2C9942; }
.has-primary-accent-color { color: #E7F4EA; }
.has-primary-accent-background-color { background-color: #E7F4EA; }
.has-main-color { color: #1A1A1A; }
.has-main-background-color { background-color: #1A1A1A; }
.has-main-accent-color { color: #E6E6E6; }
.has-main-accent-background-color { background-color: #E6E6E6; }
.has-base-color { color: #fff; }
.has-base-background-color { background-color: #fff; }
.has-secondary-color { color: #5F6B63; }
.has-secondary-background-color { background-color: #5F6B63; }
.has-tertiary-background-color { background-color: #F4F7F4; }
.has-border-light-background-color { background-color: #E4E9E4; }

/* =========================================================
   Block-content niceties (front end + editor)
   ========================================================= */
.wp-block-columns { gap: 28px; }
.wp-block-cover { color: #fff; }
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover h3 { color: inherit; }
.wp-block-cover .wp-block-buttons { margin-top: 8px; }
.wp-block-query .wp-block-post-template { gap: 28px; }
.wp-block-query .wp-block-post { display: flex; flex-direction: column; gap: 8px; }
.wp-block-query .wp-block-post img { border-radius: var(--hcfa-radius); }
.wp-block-query .wp-block-post-title a { color: var(--hcfa-dark); }
.hcfa-stat { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: var(--hcfa-green); margin-bottom: 0; }
.wp-block-group.hcfa-section.has-background { padding-left: 24px; padding-right: 24px; }

/* =========================================================
   Hero slider (Swiper)
   ========================================================= */
.hcfa-hero-slider { position: relative; }
.hcfa-hero-swiper .swiper-slide { height: auto; }
.hcfa-hero-swiper .hcfa-hero { min-height: 640px; }
.hcfa-hero--plain::before { display: none; }
.hcfa-hero--link { position: relative; display: block; background-image: none; cursor: pointer; overflow: hidden; }
.hcfa-hero--link picture { position: absolute; inset: 0; display: block; }
.hcfa-hero--link img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) {
	.hcfa-hero-swiper .hcfa-hero { min-height: 0; }
	.hcfa-hero--link picture { position: static; }
	.hcfa-hero--link img { height: auto; }
}
.hcfa-hero-swiper .swiper-pagination { bottom: 24px; left: 0; right: 0; }
.hcfa-hero-swiper .swiper-pagination-bullet {
	width: 34px; height: 4px; border-radius: 2px;
	background: #fff; opacity: .45; margin: 0 5px !important;
}
.hcfa-hero-swiper .swiper-pagination-bullet-active { opacity: 1; }
.hcfa-hero-swiper .swiper-button-prev,
.hcfa-hero-swiper .swiper-button-next { color: #fff; }
.hcfa-hero-swiper .swiper-button-prev::after,
.hcfa-hero-swiper .swiper-button-next::after { font-size: 20px; }
@media (max-width: 767px) {
	.hcfa-hero-swiper .swiper-button-prev,
	.hcfa-hero-swiper .swiper-button-next { display: none; }
}

/* =========================================================
   Homepage — original hcfaglobal.com layout
   ========================================================= */
.home { position: relative; background: #F8F8F8; }

/* Shared headings (green kicker + bold dark line) */
.home .home-cate {
	color: #2C9942; font-weight: 700;
	font-size: 40px; line-height: 1.3333; margin: 0 0 10px;
}
.home .home-tit {
	color: rgba(0, 0, 0, .8); font-weight: 700;
	font-size: 24px; line-height: 1.325; margin: 0;
}

/* ---------- Header over the hero ---------- */
@media (min-width: 1024px) {
	.site-header.is-overlay {
		position: absolute; top: 0; left: 0; width: 100%;
		background: transparent; border-bottom: 0;
	}
	.site-header.is-overlay .nav-list > li > .menu-item-row > a,
	.site-header.is-overlay .search-toggle { color: #fff; }
	.site-header.is-overlay .custom-logo { filter: brightness(0) invert(1); }
	.site-header.is-overlay .nav-list > li > .menu-item-row > a::after {
		height: 3px; bottom: -1px; width: 0;
		background: linear-gradient(252.86deg, #0471FF 13.06%, #52C76A 90.07%);
	}
	.site-header.is-overlay .nav-list > li:hover > .menu-item-row > a::after,
	.site-header.is-overlay .nav-list > li.current-menu-item > .menu-item-row > a::after,
	.site-header.is-overlay .nav-list > li.current-menu-ancestor > .menu-item-row > a::after { width: 100%; }
	.site-header.is-overlay .nav-list > li.current-menu-item > .menu-item-row > a,
	.site-header.is-overlay .nav-list > li.current-menu-ancestor > .menu-item-row > a { color: #fff; font-weight: 700; }

	/* Solid once scrolled */
	.site-header.is-overlay.is-scrolled {
		position: fixed; background: #fff;
		border-bottom: 1px solid var(--hcfa-border);
		box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
	}
	.site-header.is-overlay.is-scrolled .nav-list > li > .menu-item-row > a,
	.site-header.is-overlay.is-scrolled .search-toggle { color: var(--hcfa-dark); }
	.site-header.is-overlay.is-scrolled .nav-list > li.current-menu-item > .menu-item-row > a,
	.site-header.is-overlay.is-scrolled .nav-list > li.current-menu-ancestor > .menu-item-row > a { color: var(--hcfa-green); }
	.site-header.is-overlay.is-scrolled .custom-logo { filter: none; }
}

/* ---------- Hero ---------- */
.home .hcfa-hero-slider { overflow: hidden; }
.home .hcfa-hero-swiper .hcfa-hero { height: 43.75vw; min-height: 360px; max-height: 860px; }
.home .hcfa-hero-swiper .swiper-pagination {
	left: 50%; right: auto; transform: translateX(-50%);
	width: min(var(--hcfa-container), 100%);
	box-sizing: border-box; padding: 0 24px;
	bottom: 60px;
	display: flex; justify-content: flex-start; align-items: center;
}
.home .hcfa-hero-swiper .swiper-pagination-bullet {
	width: 8px; height: 8px; border-radius: 50%;
	background: #E4E4E4; opacity: 1;
	margin: 0 14px 0 0 !important;
	transition: background-color .3s linear;
}
.home .hcfa-hero-swiper .swiper-pagination-bullet-active { background: #2C9942; }
.home .hcfa-hero-swiper .swiper-button-prev,
.home .hcfa-hero-swiper .swiper-button-next { display: none; }

/* ---------- Quick links bar ---------- */
.home .pro-box { position: relative; z-index: 5; background: #fff; }
.home .pro-nav {
	position: relative; top: -55px;
	display: flex; height: 110px;
	background: #fff; border-radius: 6px;
	box-shadow: 0 100px 80px rgba(0, 0, 0, .04);
}
.home .pro-nav__item {
	flex: 1; display: flex; align-items: center; justify-content: center;
	position: relative; height: 110px; border-radius: 6px; overflow: hidden;
}
.home .pro-nav__item::before {
	content: ""; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
	width: 1px; height: 50px; background: #E3E3E3;
}
.home .pro-nav__item:last-child::before,
.home .pro-nav__item:hover::before { display: none; }
.home .pro-nav__img { position: relative; z-index: 5; width: 44px; margin-right: 20px; }
.home .pro-nav__img img { display: block; width: 100%; height: auto; }
.home .pro-nav__img .hl { display: none; }
.home .pro-nav__label { position: relative; z-index: 5; color: #000; font-size: 18px; line-height: 1.3333; }
.home .pro-nav__item:hover { background: linear-gradient(252.86deg, #0471FF 13.06%, #52C76A 90.07%); }
.home .pro-nav__item:hover .nl { display: none; }
.home .pro-nav__item:hover .hl { display: block; }
.home .pro-nav__item:hover .pro-nav__label { color: #fff; font-weight: 700; }

/* ---------- Products ---------- */
.home .home-head { position: relative; z-index: 20; display: flex; justify-content: space-between; align-items: flex-end; margin-top: 37px; }
.home .home-head__left { max-width: 620px; }
.cate-list { display: flex; flex-wrap: wrap; margin-top: 56px; }
.cate-item { display: block; width: calc((100% - 48px) / 3); margin: 0 24px 60px 0; }
/* Original tightens the row gap below 1680px (.cate-list .item margin 40px). */
@media (max-width: 1680px) {
	.cate-item { margin-bottom: 40px; }
}
.cate-item:nth-child(3n) { margin-right: 0; }
.cate-item__img {
	height: 260px; background: #F8F8F8; border-radius: 6px;
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cate-item__img img { display: block; width: auto; max-width: 334px; max-height: 186px; transition: transform .3s linear; }
.cate-item:hover .cate-item__img img { transform: scale(1.1); }
.cate-item__main { display: block; margin-top: 18px; padding: 0 10px; }
.cate-item__title {
	display: flex; justify-content: space-between; align-items: center;
	color: rgba(0, 0, 0, .8); font-weight: 700; font-size: 22px; line-height: 1.3182;
	transition: color .2s linear;
}
.cate-item:hover .cate-item__title { color: #2C9942; }
.cate-item__title .arrow {
	flex: none; width: 24px; height: 24px;
	background: url(assets/images/arrow_br.png) no-repeat center / cover;
}
.cate-item__text { display: block; margin-top: 5px; color: rgba(0, 0, 0, .6); font-size: 15px; line-height: 1.7333; }

/* Decorative corner artwork */
.home .home-block { position: absolute; left: 0; top: 10.6771vw; width: 13.0208vw; z-index: 8; }
.home .rt-block { position: absolute; right: 0; top: 22.8125vw; width: 18.1771vw; z-index: 8; }
.home .home-block img,
.home .rt-block img { width: 100%; height: auto; }
@media (max-width: 1680px) {
	.home .home-block { width: 10.0208vw; top: 12.6771vw; }
}
@media (max-width: 1336px) {
	.home .home-block, .home .rt-block { display: none; }
}

/* ---------- Solutions ---------- */
.home .home-solutions { position: relative; padding: 103px 0 42px; }
.home .home-solutions::before {
	content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 498px;
	background: url(assets/images/solute_bg.jpg) no-repeat center center; background-size: cover;
}
.home .home-solutions::after {
	content: ""; position: absolute; left: 50%; bottom: 0;
	transform: translateX(-50%); margin-left: -92px;
	width: 864px; max-width: 60%; height: 557px;
	background: url(assets/images/solute_color.png) no-repeat center center; background-size: cover;
}
.home .home-solutions > .container { position: relative; z-index: 10; }
.home .home-solutions .home-cate,
.home .home-solutions .home-tit { color: #fff; text-align: center; }
.home .solute-list { display: flex; flex-wrap: wrap; margin-top: 56px; }
.home .solute-item {
	display: block; width: calc((100% - 48px) / 3); margin: 0 24px 35px 0;
	background: #fff; border-radius: 6px; overflow: hidden;
}
.home .solute-item:nth-child(3n) { margin-right: 0; }
.home .solute-item__pic { display: block; height: 244px; overflow: hidden; }
.home .solute-item__pic img { display: block; width: 100%; height: 244px; object-fit: cover; transition: transform .3s linear; }
.home .solute-item:hover .solute-item__pic img { transform: scale(1.1); }
.home .solute-item__main { display: block; background: #fff; padding: 30px 30px 27px; }
.home .solute-item__title { display: block; color: rgba(0, 0, 0, .8); font-weight: 700; font-size: 24px; line-height: 1.3333; transition: color .2s linear; }
.home .solute-item:hover .solute-item__title { color: #2C9942; }
.home .solute-item__txt { display: block; color: rgba(0, 0, 0, .6); font-size: 15px; line-height: 1.7333; margin-top: 16px; }
.home .solute-item__more { display: flex; align-items: center; color: #2C9942; font-size: 15px; line-height: 1.7333; margin-top: 27px; }
.home .solute-item__more i {
	width: 18px; height: 18px; margin-left: 10px;
	background: url(assets/images/link_icon.png) no-repeat center / cover;
}
.home .lineTwo { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* "View more" pill */
.home .learn-more {
	display: flex; align-items: center; justify-content: space-between;
	width: 180px; height: 54px; box-sizing: border-box; padding: 0 18px;
	color: #2C9942; font-size: 15px; font-weight: 700;
	border: 2px solid transparent; border-radius: 27px;
	background-clip: padding-box, border-box; background-origin: padding-box, border-box;
	background-image: linear-gradient(to right, #F8F8F8, #F8F8F8), linear-gradient(235.77deg, #0471FF 7.19%, #52C76A 94.61%);
	transition: .3s linear;
}
.home .learn-more i { width: 18px; height: 18px; background: url(assets/images/link_icon.png) no-repeat center / cover; }
.home .learn-more:hover { background: #2C9942; border-color: #2C9942; color: #fff; }
.home .learn-more:hover i { background-image: url(assets/images/link_w_icon.png); }
.home .home-solutions .learn-more {
	margin: 15px auto 0;
	background-image: linear-gradient(to right, #e9f0ea, #e9f0ea), linear-gradient(235.77deg, #0471FF 7.19%, #52C76A 94.61%);
}

/* ---------- News ---------- */
.home .home-news { position: relative; padding: 136px 0 200px; z-index: 10; overflow: hidden; }
.home .home-news > .container { position: relative; z-index: 10; }
.home .news-list { margin-top: 80px; width: 510px; max-width: 100%; }
.home .news-item { display: block; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.home .news-item:last-child { border-bottom: 0; }
.home .news-item__time { display: flex; align-items: center; color: rgba(0, 0, 0, .4); font-size: 14px; line-height: 1.2857; }
.home .news-item__time::before { content: ""; width: 40px; height: 1px; background: rgba(0, 0, 0, .4); margin-right: 15px; }
.home .news-item__title { display: block; margin-top: 12px; color: rgba(0, 0, 0, .8); font-weight: 700; font-size: 20px; line-height: 1.5; transition: color .2s linear; }
.home .news-item:hover .news-item__title { color: #2C9942; }
.home .news-picture {
	position: absolute; right: 0; bottom: 0; z-index: 1;
	width: 51.25vw; height: 47.2917vw;
	background: url(assets/images/news_bg.png) no-repeat; background-size: cover;
}
.home .news-picture img { position: absolute; height: auto; }
.home .news-picture .move1 { left: 0; top: 23.8542vw; width: 15.9896vw; }
.home .news-picture .move2 { right: 0; top: 4.0104vw; width: 36.4583vw; }
.home .news-picture .move3 { right: 4.1667vw; top: 28.75vw; width: 17.9427vw; }

/* ---------- Homepage responsive ---------- */
@media (max-width: 1023px) {
	.home .home-cate { font-size: 30px; }
	.home .home-tit { font-size: 20px; }
	.home .solute-item { width: calc((100% - 24px) / 2); margin-right: 24px; }
	.home .solute-item:nth-child(3n) { margin-right: 24px; }
	.home .solute-item:nth-child(2n) { margin-right: 0; }
	.cate-item { width: calc((100% - 24px) / 2); margin-right: 24px; }
	.cate-item:nth-child(3n) { margin-right: 24px; }
	.cate-item:nth-child(2n) { margin-right: 0; }
	.cate-item__img { height: 220px; }
	.home .news-list { width: 100%; }
	.home .news-picture { display: none; }
	.home .home-news { padding: 72px 0 80px; }
}
@media (max-width: 767px) {
	.home .hcfa-hero-swiper .hcfa-hero { height: auto; min-height: 0; max-height: none; }
	.home .hcfa-hero-swiper .swiper-pagination { bottom: 18px; }
	.home .pro-nav { top: 0; height: auto; flex-wrap: wrap; padding: 24px 0; border-radius: 0; }
	.home .pro-nav__item { flex: none; width: 50%; height: auto; margin-bottom: 20px; flex-direction: column; }
	.home .pro-nav__item::before { display: none; }
	.home .pro-nav__img { margin: 0 0 8px; }
	.home .pro-nav__label { font-size: 15px; text-align: center; }
	.home .home-head { display: block; margin-top: 24px; }
	.cate-list { margin-top: 24px; }
	.cate-item,
	.home .solute-item { width: 100%; margin-right: 0 !important; }
	.cate-item { margin-bottom: 32px; }
	.cate-item__img { height: 200px; }
	.home .solute-item__pic,
	.home .solute-item__pic img { height: 200px; }
	.home .home-solutions { padding: 64px 0 32px; }
	.home .home-solutions::before { height: 100%; }
	.home .home-solutions::after { display: none; }
	.home .news-list { margin-top: 32px; }
	.home .news-item { margin-bottom: 20px; padding-bottom: 20px; }
	.home .news-item__title { font-size: 17px; }
}

/* =========================================================
   Products landing page (original .sub-main / .product)
   ========================================================= */
.hcfa-site-box { position: relative; padding-top: 30px; }
.hcfa-website { display: flex; align-items: center; }
.hcfa-website a,
.hcfa-website span { display: block; font-size: 14px; line-height: 1.2; }
.hcfa-website a { margin-right: 8px; color: rgba(0, 0, 0, .5); }
.hcfa-website a:hover { color: #2C9942; }
.hcfa-website .hcfa-website__home {
	flex: none; width: 20px; height: 20px; margin-right: 6px;
	background: url(assets/images/home_icon.png) no-repeat center / cover;
}
.hcfa-website span { color: rgba(0, 0, 0, .8); }

.hcfa-main-box { padding: 7.1875vw 0 3.125vw; }
.hcfa-main-box > .container { position: relative; z-index: 10; }

.hcfa-catalog-head { position: relative; z-index: 10; display: flex; justify-content: center; }
.hcfa-catalog-head h1 {
	position: relative; margin: 0;
	font-size: 40px; font-weight: 700; line-height: 1.325; color: rgba(0, 0, 0, .8);
}
/* Brand swoosh sitting behind/right of the title, as in the original. */
.hcfa-catalog-head h1::before {
	content: ""; position: absolute; top: 50%; right: -66px; transform: translateY(-50%);
	width: 120px; height: 88px; z-index: -1;
	background: url(assets/images/tit_bg.png) no-repeat center / cover;
}
.hcfa-catalog-info {
	max-width: 572px; margin: 1.25vw auto 0;
	text-align: center; line-height: 1.625; color: rgba(0, 0, 0, .6);
}

@media (max-width: 767px) {
	.hcfa-site-box { padding-top: 20px; }
	.hcfa-main-box { padding: 40px 0 24px; }
	.hcfa-catalog-head h1 { font-size: 28px; }
	.hcfa-catalog-head h1::before { width: 102px; height: 75px; right: -58px; }
}
